Hello.
I’m using a Radeon 550 graphics card.
With F43 (and rocm 6.x), Darktable was able to use the OpenCL interface.
After updating to F44 (and rocm 7.x), Darktable can no longer use OpenCL.
Running clinfo produces the following output:
$ clinfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3581.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] <error: no devices in non-default plaforms>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
ICD loader properties
ICD loader Name Khronos OpenCL ICD Loader
ICD loader Vendor Khronos Group
ICD loader Version 3.0.7
ICD loader Profile OpenCL 3.0
Running rocminfo produces the following output:
$ rocminfo
ROCk module is loaded
hsa api call failure at: /builddir/build/BUILD/rocminfo-7.1.0-build/rocminfo-rocm-7.1.0/rocminfo.cc:1324
Call returned HSA_STATUS_ERROR: A generic error has occurred.
Running modinfo amdgpu produces the following output:
$ modinfo amdgpu
filename: /lib/modules/7.1.8-200.fc44.x86_64/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.xz
license: GPL and additional rights
description: AMD GPU
author: AMD linux driver team
… skipped …
As far as I understand, there were no restrictions (e.g., the removal of a GPU) compared to rocm 6.x.
Uninstalling and reinstalling rocm (using dnf install rocm) did not change the situation.
Can someone explain to me what I need to do to make OpenCL available again for Darktable?
Unfortunately, buying new hardware isn’t an option right now.
Thank you very much.
Ronald