Bug 505506

Summary: OpenCV not detected at startup
Product: [Applications] digikam Reporter: MassimoS <massimo>
Component: Faces-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin, michael_miller
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.7.0
Sentry Crash Report:
Attachments: setting that gets reset

Description MassimoS 2025-06-12 07:59:53 UTC
Created attachment 182217 [details]
setting that gets reset

SUMMARY
Almost every time I open digiKam the Use OpenCL hardware acceleration for AI Models is disabled.
I have to click Test GPU comptability and the it get enabled

STEPS TO REPRODUCE
1. install digiKam, dowload all models
2. open digiKam, configure digikam - miscellaneous -> Test GPU comptability
3. close digiKam
4. open digiKam -> configure digiKam -> Use OpenCL hardware acceleration for AI Models  should be enabled


OBSERVED RESULT
Use OpenCL hardware acceleration for AI Models  is not enabled when I open again digiKam

EXPECTED RESULT
Use OpenCL hardware acceleration for AI Models  to be enabled if was enabled when I closed digiKam

SOFTWARE/OS VERSIONS
Windows: 24H2 26100.4202

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2025-06-12 08:26:33 UTC
The corresponding settings is certainly not properly registered in the configuration file to be restored between sessions.
Comment 2 Maik Qualmann 2025-06-12 18:29:53 UTC
This is not a bug, you must first successfully complete the OpenCL for AI models test, only then will the checkbox remain permanently activated.

Maik