I know that it’s a recurrent problem, but I have tried to search previous subject to no avail.
I am running dt (4.7.0) on Ubuntu 22.04, have NVIDIA GTX1050Ti and successfully (it seems) installed OpenCL. Still, dt is not using it. Please have a look at the result below:
0.0919 [opencl_init] opencl disabled via darktable preferences
0.0920 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL’
0.0921 [dt_dlopencl_init] could not find default opencl runtime library ‘libOpenCL.so’
0.0923 [opencl_init] opencl library ‘libOpenCL.so.1’ found on your system and loaded, preference ‘default path’
0.1050 [opencl_init] found 1 platform
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: ‘NVIDIA GeForce GTX 1050 Ti’
PLATFORM, VENDOR & ID: NVIDIA CUDA, NVIDIA Corporation, ID=4318
CANONICAL NAME: nvidiacudanvidiageforcegtx1050ti
DRIVER VERSION: 535.154.05
DEVICE VERSION: OpenCL 3.0 CUDA, SM_20 SUPPORT
DEVICE_TYPE: GPU, dedicated mem
GLOBAL MEM SIZE: 4038 MB
MAX MEM ALLOC: 1009 MB
MAX IMAGE SIZE: 16384 x 32768
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 64 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
AVOID ATOMICS: NO
MICRO NAP: 250*
ROUNDUP WIDTH & HEIGHT 16x16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL BUILD DIRECTORY: /snap/darktable/208/usr/share/darktable/kernels
KERNEL DIRECTORY: /home/adam/snap/darktable/common/.cache/darktable/cached_v3_kernels_for_NVIDIACUDANVIDIAGeForceGTX1050Ti_53515405*
CL COMPILER OPTION: -cl-fast-relaxed-math
CL COMPILER COMMAND: -w -cl-fast-relaxed-math -DNVIDIA_SM_20=1 -DNVIDIA=1 -I"/snap/darktable/208/usr/share/darktable/kernels"
0.1669 [opencl_build_program] could not build program: CL_BUILD_PROGRAM_FAILURE
0.1669 [dt_opencl_device_init] failed to compile program `demosaic_ppg.cl’!
[opencl_init] no suitable devices found.
0.1669 [opencl_init] FINALLY: opencl is NOT AVAILABLE and NOT ENABLED.
Could you possibly give me some hints as to what I am doing incorrectly?