Do you get OpenCL activated from the standard fedora provided darktable package ?
Just running /usr/bin/darktable-cltest should tell you if that works.
If it works, then I think the best way should be either to compile your own darktable version with CR3 support, or to report a bug to the Darktable and libexif maintainers to get a CR3 enabled version (with a bit of waiting time).
Tell me if that works for you, or I could even look if I could revive my copr build with CR3 enabled (I don’t own Canon hardware so never bothered with that)
@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.