@42578
One thing which I noticed was the following in the output from darktable-cltest
0.096445 [opencl_init] discarding device 0 `gfx902:xnack+' due to insufficient global memory (512MB).
I don’t know in the BIOS of your computer you can increase the amount of memory devoted to the onboard GPU, but it could be the fact that the 512MB of memory allocated to the onboard graphics isn’t sufficient for OpenCL to be enabled? Try upping it to 2GB of reserved ram for the onboard GPU.
On my laptop with an AMD CPU and a separate GPU (RX5700M), on fedora 35 I just used the official AMD provided OpenCL package; but just that one, not the graphic driver.
Basically, I’ve gone to their support download area to find the link to their latest drivers.
Current driver installation package is : http://repo.radeon.com/amdgpu-install/21.40.2/rhel/8.5/amdgpu-install-21.40.2.40502-1.el8.noarch.rpm
that package contains 2 config for AMD provided package repositories and a shell script to install various part of their graphic stack.
if you look at the install script, it can be simplified to dnf install rocm-opencl-runtime.
So, for me , the first thing to do is to be sure OpenCL works on your system.
If it does not work with darktable nor blender, don’t blame those softwares but the openCL driver install.
Errors during downloading metadata for repository 'amdgpu':
- Status code: 404 for https://repo.radeon.com/amdgpu/21.40.2/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: amdgpu
I wasn’t aware of that, but what can I say is that darktable editing process is slower on Fedora when compared to Arch. I don’t remember what I have done to make it work, but I think that I installed the AUR package mentioned by @sushey.
I uninstalled darktable and then reinstalled it via: flatpak and rpm from Fedora; flatpak from Flathub. I uninstalled darktable before install it from another package. As I said on the other thread, I can only view CR3 files if I install darktable’s flatpak package from Flathub.
How did you manage to do that? I’ve bought a second SSD to have Windows on one of them and Linux on the other. My choice was Fedora 35 and I tried regular install from GNOME Software Manager (RPM package) and from build.opensuse - in both cases opencl in preferences is grayed out.
I’ve also installed packages for opencl & headers, still no luck.
My GPU is Gigabyte GTX 1050 Ti G1, Nvidia’s proprietary 510 drivers.
The same version of drivers and darkatble (3.8.1) under Windows work like a charm.