I need some directions on how to activate OpenCL acceleration because Darktable works badly without acceleration. DT is slow and needs a lot of processing power. Flatpak and AppImage are not even an alternative, since performance is bad and OpenCL acceleration is inacessible too.
AMD ROCm is active but all options under OpenCL acceleration are grayed out.
clinfo
Number of platforms: 2
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.1 AMD-APP (3625.0)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.1 Mesa 23.2.1-1ubuntu3.1~22.04.4
Platform Name: Clover
Platform Vendor: Mesa
Platform Extensions: cl_khr_icd
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 0
Platform Name: Clover
Number of devices: 0
I tried to update
sudo apt-get install --only-upgrade mesa-opencl-icd
sudo apt-get install --only-upgrade ocl-icd-libopencl1
but in both cases, drivers are the newest version and don’t need any updates.
darktable-cltest
darktable 5.6.1 [linux]
Copyright (C) 2012-2026 Johannes Hanika and other contributors.
Compile options:
Bit depth -> 64 bit
Exiv2 -> 0.27.5
Lensfun -> 0.3.2
Debug -> DISABLED
SSE2 optimizations -> ENABLED
OpenMP -> ENABLED
OpenCL -> ENABLED
Lua -> ENABLED - API version 9.7.0
Colord -> ENABLED
gPhoto2 -> ENABLED - Camera tethering is available
OSMGpsMap -> ENABLED - Map view is available
GMIC -> ENABLED - Compressed LUTs are supported
GraphicsMagick -> ENABLED
ImageMagick -> DISABLED
libavif -> ENABLED
libheif -> DISABLED
libjxl -> DISABLED
LibRaw -> ENABLED - Version 0.22.0-Release
OpenJPEG -> ENABLED
OpenEXR -> ENABLED
WebP -> ENABLED
AI -> ENABLED
See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.
[dt_get_sysresource_level] switched to `default'
total mem: 31829MB
available mem: 15914MB
singlebuff: 248MB
[opencl_init] opencl disabled via darktable preferences
[opencl_init] opencl library 'libOpenCL' found on your system and loaded, preference 'default path'
[opencl_init] found 2 platforms
[opencl_init] no devices found for Advanced Micro Devices, Inc. (vendor) - AMD Accelerated Parallel Processing (name)
[check platform] platform 'Clover' with key 'clplatform_clover' is NOT active
[opencl_init] found 0 device
[opencl_init] FINALLY: opencl PREFERENCE=NO is NOT AVAILABLE and NOT ENABLED
these lines look interesting:
[opencl_init] no devices found for Advanced Micro Devices, Inc. (vendor) - AMD Accelerated Parallel Processing (name)
[check platform] platform 'Clover' with key 'clplatform_clover' is NOT active
