Activate OpenCL


I recently moved to Fedora KDE and I can’t get OpenCL activated. I want to use it with darktable.

Furthermore, I started a thread in that can be checked here.

I hope you can help me. Thanks in advance.

-----Extra info-----

Graphics Platform: X11

Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics

Graphics Processor: AMD RENOIR

1 Like

Since I can’t put more than 2 links on my first post, here’s the rest of the info:

My laptop is the Slimbook Pro X 15 with 32GB of ram. I don’t know if it matters, but it can run DaVinci Resolve.

From link you shared from previous discussion site:

0.096445 [opencl_init] discarding device 0 `gfx902:xnack+’ due to insufficient global memory (512MB).

If you’re installing from Fedora Repos, you can change the Darktable memory requirement from file ~/.config/darktable/darktablerc.

Since you’re using flatpak, you can find the config inside /home/<yourusername>/.var/app/org.darktable.Darktable/config/darktable/ and find darktablerc.

Find opencl_memory_requirement=768 and change to 500. And test again. Usually with rpm package we can test with /usr/bin/darktable-cltest but I don’t know how with flatpak. doc source.

Edit: change the doc resource to be more relevant with current Darktable 3.8 version.

1 Like