Hello
I’m at a desktop machine with an Intel Arc A750 discrete gpu that was running Fedora 38 and had intel-compute-runtime and OpenCL worked fine in Darktable. It was last updated about a year ago and when I updated it today to the latest F38 clinfo
started saying there were 0 platforms, even when intel-compute-runtime was installed. Darktable saw no OpenCL support either.
So I updated the machine to F40 and the latest packaged DT and intel-compute-runtime and since I asked DT to use Intel drivers for OpenCL it will not start, it merely says
RequiresExtension: Feature requires the following SPIR-V extension:
SPV_KHR_non_semantic_info
clinfo
(which now reports a platform) gives the same info toward the end of its default output:
Max work item sizes 1024x1024x1024
Max work group size 1024
Preferred work group size multiple (device) 64
RequiresExtension: Feature requires the following SPIR-V extension:
SPV_KHR_non_semantic_info
If I start darktable with darktable -d opencl
it says
0,0193 [dt_get_sysresource_level] switched to 1 as `default'
0,0193 total mem: 15844MB
0,0193 mipmap cache: 1980MB
0,0193 available mem: 7922MB
0,0193 singlebuff: 123MB
0.0204 [opencl_init] opencl disabled via darktable preferences
0.0205 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL'
0.0205 [dt_dlopencl_init] could not find default opencl runtime library 'libOpenCL.so'
0.0208 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded, preference 'default path'
0.0455 [opencl_init] found 1 platform
[opencl_init] found 1 device
[dt_opencl_device_init]
DEVICE: 0: 'Intel(R) Arc(TM) A750 Graphics'
PLATFORM, VENDOR & ID: Intel(R) OpenCL Graphics, Intel(R) Corporation, ID=32902
CANONICAL NAME: intelropenclgraphicsintelrarctma750graphics
DRIVER VERSION: 24.09.28717.17
DEVICE VERSION: OpenCL 3.0 NEO
DEVICE_TYPE: GPU, dedicated mem
GLOBAL MEM SIZE: 7722 MB
MAX MEM ALLOC: 3861 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 1024 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
USE HEADROOM: 600Mb
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH & HEIGHT 16x16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL BUILD DIRECTORY: /usr/share/darktable/kernels
KERNEL DIRECTORY: /home/to/.cache/darktable/cached_v3_kernels_for_IntelROpenCLGraphicsIntelRArcTMA750Graphics_24092871717
CL COMPILER OPTION:
CL COMPILER COMMAND: -w -DINTEL=1 -I"/usr/share/darktable/kernels"
RequiresExtension: Feature requires the following SPIR-V extension:
SPV_KHR_non_semantic_info
This might be a query more for …hmm pixls or perhaps phoronix; I don’t know whether it is strictly a Fedora issue. It could be most suitable as an issue for the intel-compute-runtime repo I suppose. Though if anyone else on Fedora has an Intel Arc GPU it they might have seen this. Thanks for reading anyhow : )