[SOLVED] Sigh..... Cannot use Open CL - darktable, linux, NVIDIA 3060 GPU

Thanks in advance for the help!
Pop_OS 22.04LTS
AMD CPU
Nvidia 3060 GPU running 545.29.06
Darktable 4.2

This is a newly built setup. I cannot enable Open CL, and I’ve researched forums with no clear answer. this is a bit beyond my understanding.
In terminal I tried darktable-cltest and get the following (even though I have darktable installed and running)
Command darktable-cltest not found, but can be installed with: sudo apt install darktable.
So I don’t know what’s going on or what I am missing.
I actually have two installations of darktable - Flatpak ( from the Pop_OS repo) and Snap.
thanks for the help!
SOLUTION - It turned out to be a Flatpak permissions issue. I downoladed FlatSeal (a FlatPak permissions manager in the Pop_Os repository) and enabled GPU acceleration. Rebooted the computer and problem solved. I have OpenCL listed in Darktable, and it is functioning.

For opencl… I would suggest you use neither flatpak or snap. You can use opencl in them, but you need to enable the drivers within the flatpak environment.

Your best bet is to use OBS… Click on latest release and add the repository for Ubuntu (I think pop os is Ubuntu based).

I don’t use it much anymore but I dual booted a windows box to popos installed with the included nvidia version of popos and the only difference was I built DT on that os but it worked fine with no issues on my 3060TI… so once you get the DT install sorted I think you will be fine or its really not hard to spend a few min. Cut and paste a few commands and be setup to build DT…

how do I enable the drivers in the flatpak version. the option is greyed out in Darktable. Thanks

I don’t know. On Fedora I think you go to the flatpak permissions on settings…

You will have an easier experience using the OBS instead of flatpak.

OK, so I’ve tried three different installs, flatpak, Snap (now deleted) and the Ubuntu version from darktable website. None of them will allow me to enable OpenCL. the option is greyed out. I am using NVIDIA drivers from the POP Shop.
Any ideas??
thanks

No clue. Check pop os forum or bug reports. Is this lts version of pop os?

Nvidia-smi should share some info.

tried one more thing. Since darktable is a flatpak version, I downloaded FlatSeal; and enabled GPU acceleration. I did not see anything about enabling OpenCL. It made no difference, until I rebooted my computer. Now I have Open CL available in Darktable.
I’ll post back in a couple days of testing to see if it holds. I may have found the solution by enabling GPU acceleration through FlatSeal.

1 Like

Should have explained FlatSeal is a permissions manager for Flatpak - allows one to tweak all kinds of settings for Flatpak installed applications.

1 Like

My guess is that you do not have OpenCL libraries installed. What is the output of this command?

clinfo -l

Regards

I did not read that you have it working.

So enjoy it if it’s working for you :slight_smile:

Rafa - thank you for the reply and the suggestion.
Yes it is working now, but for my own education here is the result :
Platform#0 NVIDIA CUDA
Device #0 NVIDIA GeForce RTX 3060