darktable and opencl on Fedora with Intel Iris plus

OK, while we wait for this bug to be resolved, here’s a temporary workaround to activate opencl on Fedora for Intel cards, based on packages available here: jdanecki/intel-opencl-ci Copr

Tested and working on Fedora 36 (beta) with darktable 3.8.1.

Here’s how to proceed.

#Enable intel-opencl repository
sudo dnf copr enable jdanecki/intel-opencl

#Enable intel-opencl-ci repository
sudo dnf copr enable jdanecki/intel-opencl-ci

#Install the specific working version of intel-opencl package
sudo dnf install intel-opencl-21.38.21026

#Add the following line to /etc/dnf/dnf.conf to exclude these packages from future upgrade so they won’t be replaced with the newest-buggy ones, until the bug is resolved
exclude=intel-opencl intel-gmmlib

2 Likes