SUMMARY I've installed latest Nvidia drivers + CUDA + CuDNN SDK as described in https://www.digikam.org/news/2025-06-30-8.7.0_release_announcement/ But for some reason I can't use my GPU with the option "Use OpenCL acceleration for AI models". Also the "Help ‣ Components Information" information for OpenCV says "No" How to troubleshoot why it's not working? STEPS TO REPRODUCE 1. Installed latest drivers + CuDNN SDK, checked that OpenCL is availble for GPU (driver khronos 3.0) 2. Testing OpenCL AI function in digikam 8.7.0 3. Shows "OpenCL is not avaialable on the system" OBSERVED RESULT OpenCL isn't used EXPECTED RESULT OpenCL can be used for AI model SOFTWARE/OS VERSIONS Windows: WIN10 macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Using Win10, Nvidia Gefore GTX1650
CuDNN SDK is already present in the windows install. This can explain the dysfunction.
*** Bug 506689 has been marked as a duplicate of this bug. ***
(In reply to caulier.gilles from comment #1) > CuDNN SDK is already present in the windows install. This can explain the > dysfunction. OpenCL didn't worked in digikam before and after the manual CuDNN SDK installation.
*** Bug 508199 has been marked as a duplicate of this bug. ***
**Added To Duplicate 508199** HI. I did some additional digging around after reaching out to another user. I had to redownload DNNs that were not included with the installation package, and I was able to get the test to confirm my GPU. Got them at : https://files.kde.org/digikam/facesengine/dnnface/ https://files.kde.org/digikam/facesengine/shape-predictor/ A suggestion would be to have these included within the Installation Package of the software, to prevent this from occurring for other users. Kind Regards Alan
@Alan, The digiKam 8.8.0 pre-release Windows installer will be updated from Qt framework 6.8.3 to 6.9.0 in one hour. I removed the NVIDIA drivers from this bundle. The file will be available soon at this place: https://files.kde.org/digikam/ Please test give us a feedback to see if the dysfunction still reproducible. Thanks in advance Gilles Caulier
Having the same problem: OpenCL availability: no I'm running digikam 8.8.0 on Windows 11 on a Lenovo P14s Gen3 with a built-in Intel GPU and a NVIDIA T550 Laptop GPU. With other applications I can use CUDA and OpenCL without any problems. Any ideas why digikam cannot use the OpenCL? Must I download and install some files manually? Or should digikam support OpenCL out of the box?
OpenCL checks are provided by OpenCV framework. In fact, in digiKam, It's OpenCV which uses OpenCL at all. With 8.7.0, i includ the NVIDIA dlls for the OPenCL/DNN stuff. This make a mess with the version already installed by the users. So in 8.8.0, i removed this layer. Please try with 8.8.0 pre-release available here : https://files.kde.org/digikam/ Best regards Gilles Caulier
Just confirming that the 8.8 pre-release package worked for me. I needed to clear the facesengine directory and redownload the binaries first, then OpenCL support worked after restarting the application.
Thanks Joseph for the feedback. I close this file now.