I have installed a Geforce 1050 TI card in my WINDOWS system (I had previously a 1650 Super which is better but I needed it for other tasks).
Its specs say that it is opencl 3.0 compatible.
I have upgraded to DT 3.6.
But now I cannot activate opencl in darktable, as there are some issue compiling base.cl
I have tried to reinstall nvidia drivers (uninstalled them and reinstall the latests one for this card) and reinstall DT 3.6 too.
I have deletede the INETCache\darktable directory were the compiled versions of opencl programs seem to reside.
But it seems that there is some kind of issue compiling basic.cl it seems there is an external function that is not found (__nv_fast_log2f).
May somebody help me with this problem?
this is the log when I run darktable-cltest from the cmd line (windows 10 21H1)
C:\Program Files\darktable\bin>darktable-cltest
0.075464 [opencl_init] opencl related configuration options:
0.081372 [opencl_init]
0.083394 [opencl_init] opencl: 1
0.086325 [opencl_init] opencl_scheduling_profile: ‘default’
0.091772 [opencl_init] opencl_library: ‘’
0.095170 [opencl_init] opencl_memory_requirement: 768
0.099526 [opencl_init] opencl_memory_headroom: 400
0.104102 [opencl_init] opencl_device_priority: ‘/!0,///!0,*’
0.109625 [opencl_init] opencl_mandatory_timeout: 200
0.114892 [opencl_init] opencl_size_roundup: 16
0.118902 [opencl_init] opencl_async_pixelpipe: 0
0.123881 [opencl_init] opencl_synch_cache: active module
0.128544 [opencl_init] opencl_number_event_handles: 25
0.133421 [opencl_init] opencl_micro_nap: 1000
0.137149 [opencl_init] opencl_use_pinned_memory: 0
0.141534 [opencl_init] opencl_use_cpu_devices: 0
0.146111 [opencl_init] opencl_avoid_atomics: 0
0.149951 [opencl_init]
0.153947 [opencl_init] found opencl runtime library ‘OpenCL.dll’
0.159546 [opencl_init] opencl library ‘OpenCL.dll’ found on your system and loaded
0.324208 [opencl_init] found 2 platforms
0.328729 [opencl_init] found 2 devices
0.332432 [opencl_init] device 0 NVIDIA GeForce GTX 1050 Ti' has sm_20 support. 0.339091 [opencl_init] device 0
NVIDIA GeForce GTX 1050 Ti’ supports image sizes of 16384 x 32768
0.347796 [opencl_init] device 0 NVIDIA GeForce GTX 1050 Ti' allows GPU memory allocations of up to 1024MB [opencl_init] device 0: NVIDIA GeForce GTX 1050 Ti GLOBAL_MEM_SIZE: 4096MB MAX_WORK_GROUP_SIZE: 1024 MAX_WORK_ITEM_DIMENSIONS: 3 MAX_WORK_ITEM_SIZES: [ 1024 1024 64 ] DRIVER_VERSION: 471.11 DEVICE_VERSION: OpenCL 3.0 CUDA 0.459666 [opencl_init] options for OpenCL compiler: -w -cl-fast-relaxed-math -DNVIDIA_SM_20=1 -DNVIDIA=1 -I"C:\Program Files\darktable\share\darktable\kernels" 0.474526 [opencl_init] compiling program
demosaic_ppg.cl’ …
0.482824 [opencl_load_program] loaded cached binary program from file ‘C:\Users\ferna\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_NVIDIAGeForceGTX1050Ti_47111\demosaic_ppg.cl.bin’ MD5: ‘1638526f3388d9ec24a72781f0c8eee9’
0.503779 [opencl_load_program] successfully loaded program from ‘C:\Program Files\darktable\share\darktable\kernels\demosaic_ppg.cl’ MD5: ‘1638526f3388d9ec24a72781f0c8eee9’
0.519646 [opencl_build_program] successfully built program
0.525175 [opencl_build_program] BUILD STATUS: 0
0.529600 BUILD LOG:
0.531342
0.532596 [opencl_init] compiling program `atrous.cl’ …
0.537770 [opencl_load_program] loaded cached binary program from file ‘C:\Users\ferna\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_NVIDIAGeForceGTX1050Ti_47111\atrous.cl.bin’ MD5: ‘ff8767a64c66af1d0299155750560036’
0.559687 [opencl_load_program] successfully loaded program from ‘C:\Program Files\darktable\share\darktable\kernels\atrous.cl’ MD5: ‘ff8767a64c66af1d0299155750560036’
0.574941 [opencl_build_program] successfully built program
0.579779 [opencl_build_program] BUILD STATUS: 0
0.584564 BUILD LOG:
0.586333
0.587486 [opencl_init] compiling program basic.cl' .. 0.592331 [opencl_fopen_stat] could not open file
C:\Users\ferna\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_NVIDIAGeForceGTX1050Ti_47111\basic.cl.bin.7b2495982937640eebcc3989e0df1d3c’!
0.610326 [opencl_load_program] could not load cached binary program, trying to compile source
0.618259 [opencl_load_program] successfully loaded program from ‘C:\Program Files\darktable\share\darktable\kernels\basic.cl’ MD5: ‘7b2495982937640eebcc3989e0df1d3c’
1.590050 [opencl_build_program] could not build program: -9999
1.596010 [opencl_build_program] BUILD STATUS: -2
1.600142 BUILD LOG:
1.602129 ptxas fatal : Unresolved extern function ‘__nv_fast_log2f’
1.608143 [opencl_init] failed to compile program basic.cl'! 1.613254 [opencl_init] discarding device 1
Intel(R) UHD Graphics 630’ because the driver `OpenCL 3.0 NEO ’ is blacklisted.
1.624540 [opencl_init] no suitable devices found.
1.628848 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
1.635877 [opencl_init] initial status of opencl enabled flag is OFF.
press any key to exit