I want to use DigiKam facial recognition software on my desktop machine. I have made a start at this, but I have run into a problem. Following is a description of my system and the problem, which I believe has to do with recognition of my GPU by AMD’s RocM software and the OpenCL software.
Software and Hardware Status:
I have installed dependencies that I am aware of. -
sudo apt install rocm-opencl ocl-icd-libopencl1
I am using DigiKam as an AppImage:
digiKam: 9.0.0
KDE Frameworks: 6.20.0
Qt: Using 6.10.1 and built against 6.10.1
AppImage
Ubuntu 24.04.4 LTS (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.11.0-29-generic
I have created the following environment variable:
OPENCV_OPENCL_DEVICE=AMD:GPU:0
The Problem:
The OpenCL software does not appear to recognize my AMD GPU. Using clinfo I see the following.
“ 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, …) AMD Accelerated Parallel Processing
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, …) No devices found in platform [AMD Accelerated Parallel Processing?]
clCreateContext(NULL, …) [default] No devices found in platform
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 OpenCL ICD Loaderns
ICD loader Vendor OCL Icd free softwarens
ICD loader Version 2.3.2ns
ICD loader Profile OpenCL 3.0ns
”
This is confirmed in DigiKam settings:
I’m hoping that someone can offer assistance, for which I will be very thankful.

