Bug 508199 - Miscellaneous Settings > System > Use OpenCL Hardware Acceleration Issues
Summary: Miscellaneous Settings > System > Use OpenCL Hardware Acceleration Issues
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (other bugs)
Version First Reported In: 8.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-13 15:31 UTC by Alan
Modified: 2025-10-14 13:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2025-08-13 15:31:21 UTC
Hi, 

My system is an ASUS VivoBook i9 with an NVIDIA RTX4070 GPU and an Intel HDR Onboard Graphics Card, and the NVIDIA Card is OpenGL/CL Compatible, as this feature is being used by other applications with no issues. However when I look to activate it in DigiKam 8.7.0 and "Test For GPU AI Compatibility", I get an error message returned stating:

"Starting OpenCV OpenCL DNN test...
Checking for OpenCL GPU acceleration compatibility with AI models...
Error: OpenCL is not available on this system."
"Test failed. Your system may not be able to use GPU acceleration for the AI models."

OpenCL IS Available and working. It is even diagnosed as functional via my NVIDIA Maintenance Checks.  This appears to be an application bug, so can someone please look into getting this fixed asap?

Kind Regards

Alan


***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
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
Comment 1 Maik Qualmann 2025-08-13 15:35:39 UTC

*** This bug has been marked as a duplicate of bug 506535 ***
Comment 2 Alan 2025-08-13 16:21:27 UTC
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
Comment 3 Maik Qualmann 2025-08-14 06:19:33 UTC
Again, I don't want to leave the incorrect information here.
digiKam automatically detects whether DNN model files are missing; this is checked every time digiKam is started. A download dialog will then appear. No one needs to do this manually. The dialog won't appear if the corresponding feature has been disabled; all AI features are enabled by default.

Nobody wants to download an additional 1GB or so of data in the installation bundle every time a new digiKam version is installed.

Maik
Comment 4 caulier.gilles 2025-10-14 13:48:01 UTC
Fixed with bug 506535