I think the Intel GPU was blacklisted by darktable due to OpenCL issues. I think you can set a flag to enable.
But there current master code has a lot of improvements to OpenCL. And getting more folks willing to test the Intel with it can help remove it from the blacklist.
Does clinfo work for you? I think I have the same issue with Intel HD 520 on fedora 36. Darktable won’t start with opencl (–disable-opencl works fine) and clinfo puts out some info followed by a segfault.
clinfo is also reporting an error (same as darktable-cltest):
[ml@ml-dell-fedora ~]$ sudo clinfo
Abort was called at 39 line in file:
/builddir/build/BUILD/compute-runtime-22.11.22682/shared/source/built_ins/built_ins.cpp
Abandon
Thanks for pointing me to this bug report. I guess we’ll have to wait for this to be resolved… unless there is some workaround?
About the mentioned compiler problem: dt uses the systems default llvm compiler and trusts everything up to 13 as correct.
Also - and probably more important - Fedora 36 is not stable atm. This is one of the errors that can be expected on a beta system as only a few applications make use of OpenCl so a bug might get un-noticed longer than others. Also, the linux kernel used is very fresh and intel regularly contributes with OpenCl and driver fixes.
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.
#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