I can't activate OpenCL. Win10, AMD RX 6700 XT (Resolved)

hello,
I have a new graphics card Amd RX6700 xt. I can’t activate OpenCL in Darktable. Win 10, Darktable 3.4.1.1. Drivers reinstalled, tested and PRO version. Older version also tested. Can you advise please?

0.046877 [opencl_init] opencl related configuration options:
0.046877 [opencl_init]
0.046877 [opencl_init] opencl: 1
0.046877 [opencl_init] opencl_scheduling_profile: ‘default’
0.046877 [opencl_init] opencl_library: ‘’
0.046877 [opencl_init] opencl_memory_requirement: 768
0.046877 [opencl_init] opencl_memory_headroom: 400
0.046877 [opencl_init] opencl_device_priority: ‘/!0,///!0,*’
0.062503 [opencl_init] opencl_mandatory_timeout: 200
0.062503 [opencl_init] opencl_size_roundup: 16
0.062503 [opencl_init] opencl_async_pixelpipe: 0
0.062503 [opencl_init] opencl_synch_cache: active module
0.062503 [opencl_init] opencl_number_event_handles: 25
0.062503 [opencl_init] opencl_micro_nap: 1000
0.062503 [opencl_init] opencl_use_pinned_memory: 0
0.062503 [opencl_init] opencl_use_cpu_devices: 0
0.062503 [opencl_init] opencl_avoid_atomics: 0
0.062503 [opencl_init]
0.062503 [opencl_init] found opencl runtime library ‘OpenCL.dll’
0.062503 [opencl_init] opencl library ‘OpenCL.dll’ found on your system and loaded
0.078128 [opencl_init] found 1 platform
0.078128 [opencl_init] found 1 device
0.078128 [opencl_init] device 0 gfx1031' supports image sizes of 16384 x 16384 0.093755 [opencl_init] device 0 gfx1031’ allows GPU memory allocations of up to 10431MB
[opencl_init] device 0: gfx1031
GLOBAL_MEM_SIZE: 12272MB
MAX_WORK_GROUP_SIZE: 256
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 1024 1024 1024 ]
DRIVER_VERSION: 3516.0 (PAL,LC)
DEVICE_VERSION: OpenCL 2.0 AMD-APP (3516.0)
0.417683 [opencl_init] options for OpenCL compiler: -w -DAMD=1 -I"C:\Program Files\darktable\share\darktable\kernels"
0.417683 [opencl_init] compiling program demosaic_ppg.cl' .. 0.417683 [opencl_load_program] loaded cached binary program from file 'C:\Users\David\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_gfx1031_35160PALLC\demosaic_ppg.cl.bin' MD5: '879ca4f3549fb2daae6619ac1944893d' 0.417683 [opencl_load_program] successfully loaded program from 'C:\Program Files\darktable\share\darktable\kernels\demosaic_ppg.cl' MD5: '879ca4f3549fb2daae6619ac1944893d' 0.433308 [opencl_build_program] successfully built program 0.433308 [opencl_build_program] BUILD STATUS: 0 0.433308 BUILD LOG: 0.433308 0.433308 [opencl_init] compiling program atrous.cl’ …
0.433308 [opencl_load_program] loaded cached binary program from file ‘C:\Users\David\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_gfx1031_35160PALLC\atrous.cl.bin’ MD5: ‘c5a6162e3ef2815846df5f641ced8b20’
0.433308 [opencl_load_program] successfully loaded program from ‘C:\Program Files\darktable\share\darktable\kernels\atrous.cl’ MD5: ‘c5a6162e3ef2815846df5f641ced8b20’
0.448935 [opencl_build_program] successfully built program
0.448935 [opencl_build_program] BUILD STATUS: 0
0.448935 BUILD LOG:
0.448935
0.448935 [opencl_init] compiling program basic.cl' .. 0.448935 [opencl_load_program] loaded cached binary program from file 'C:\Users\David\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_gfx1031_35160PALLC\basic.cl.bin' MD5: 'ef9a1e44633ebe79fac50e4819ff4cb0' 0.448935 [opencl_load_program] successfully loaded program from 'C:\Program Files\darktable\share\darktable\kernels\basic.cl' MD5: 'ef9a1e44633ebe79fac50e4819ff4cb0' 0.464561 [opencl_build_program] successfully built program 0.464561 [opencl_build_program] BUILD STATUS: 0 0.464561 BUILD LOG: 0.464561 0.464561 [opencl_init] compiling program blendop.cl’ …
0.464561 [opencl_fopen_stat] could not open file `C:\Users\David\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_gfx1031_35160PALLC\blendop.cl.bin.a6228a26b8cb78814b2d97daf62a49d6’!
0.480186 [opencl_load_program] could not load cached binary program, trying to compile source
0.480186 [opencl_load_program] successfully loaded program from ‘C:\Program Files\darktable\share\darktable\kernels\blendop.cl’ MD5: ‘a6228a26b8cb78814b2d97daf62a49d6’
1.356830 [opencl_build_program] could not build program: -11
1.356830 [opencl_build_program] BUILD STATUS: -2
1.356830 BUILD LOG:
1.356830 lld: error: undefined hidden symbol: rgb_to_JzCzhz

referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced 9 more times

lld: error: undefined hidden symbol: get_rgb_matrix_luminance

referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced by C:\Users\David\AppData\Local\Temp\comgr-481bbc\input\linked.bc.o:(blendop_display_channel)
referenced 1 more times
Error: Creating the executable from LLVM IRs failed.

1.388081 [opencl_init] failed to compile program `blendop.cl’!
1.388081 [opencl_init] no suitable devices found.
1.388081 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
1.388081 [opencl_init] initial status of opencl enabled flag is OFF.

press any key to exit

Why darktable 3.4? Try 4.2.1 from darktable.org

I know there is a new version. I am finishing several years of work. I have hidden installation 3.4.1.1, so should I test version 4.x.x.x?

Massive amount of refinement since then esp for handling video card and opencl…

OK, with the new version of Darktable OpenCL is functional, you can see it in the performance. Thank you

1 Like