OPenCL use disappeared

I installed a new Linux kernel (6.15.1) this morning and it occurred to me that I should check on the functioning of OpenCL. What I discovered was

Number of platforms 0

ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.3
ICD loader Profile OpenCL 3.0
[root@tux ~]# clinfo
Number of platforms 0

ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.3
ICD loader Profile OpenCL 3.0

So, at the OS level, OpenCL is installed, but it does not ā€œseeā€ darktable (and darktable is running).

When I go to darktable Settings >> Processing, section OpenCL GPU acceleration shows ā€œactivate OpenCL supportā€ as ā€œnot availableā€ and ā€œOpenCL scheduling profileā€ as ā€œnot availableā€. Section OpenCL drivers shows ā€œNVidia cudaā€ as checked.

OpenCL for darktable used to work on my system. I do not know when it stopped working. But, since it does not allow me to activate OpenCL support, what do I do?

try renaming ~/.cache/darktable to ~/.cache/dartable-old or just removing it. This will nuke your thumbnails, but should also get rid of the compiled openCL kernels, which will need to be rebuilt.

1 Like

Ok, it is rebuilding the thumbnails. I started darktable with ā€œ-d openclā€, but the setup properties are still showing that it will not allow me to activate openCL support.

My openCL packages are clinfo, ocl-icd, and opencl-nvidia. My system is completely updated.

I’ll start investigating from the Arch Linux side.

Thank you.

Try restarting the OS. Sometimes it helps with the nvidia drivers.

Ok, from looking at the darktable_old cache, the last time it cached a kernel for NVIDIACUDANVIDIAGeForceRTX2060 was June 6, which was the last 6.14 kernal installation date. Something did indeed change with today’s 6.15 kernel.

Half an hour ago, opencl-nvidia was updated. Maybe that’s the solution.

Some ā€˜older’ Nvidia cards (like my 1060) are only supported by an nvidia package that has ā€˜server’ in the name. I’m sorry, I’m not at my computer.

Found it on the forum: it was nvidia-driver-550-server at the time.

Well, It is fixed, now. Although I had done a full system upgrade at 8 AM, I just did (12:30 PM) another one, and two of the opencl packages were upgraded. And now it’s all working, again.

Thanks for everyone’s input.

PS - I run the proprietary nvidia driver.

1 Like

classic arch linux!

1 Like