https://bugs.kde.org/show_bug.cgi?id=506663
Charlie Gorichanaz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Charlie Gorichanaz <[email protected]> --- This issue was brought up a few times on the digikam-users mailing list (Topic: "Still cant figure out face recognition under 8.7"). One user reported recognition not working on Windows 11 digikam 8.7. Two users (myself included) report the issue on Arch Linux. I did recently configure my system to use the discrete NVIDIA GeForce RTX 4070 Laptop GPU for digikam, previously I was using the CPU only on my laptop with an Intel Core Ultra 9 185H CPU. I did this by installing some packages related to "PRIME render offload" (https://wiki.archlinux.org/title/PRIME#PRIME_render_offload) and set an alias in my environment as: digikam='prime-run digikam'. I thought this allowed digiKam to report that it was using the GPU when I clicked the "Test GPU AI compatibility" button under Misc > System, but now I am looking at that output and am not certain. It says it can use GPU but also reporting Intel ARC Graphics. ``` Starting OpenCV OpenCL DNN test... Checking for OpenCL GPU acceleration compatibility with AI models... OpenCL is available on this system. OpenCL acceleration device is available. Using device: Intel(R) Arc(TM) Graphics Loading test image... Preparing the image for processing... Initializing face detection model... Running face detection... Initializing feature extraction model... Preparing face for feature extraction... Extracting face features... All tests completed successfully! Test completed successfully! Your system can use GPU acceleration for the AI models. ``` I run nvtop and it is not showing my NVIDIA graphics card as being used. So I may have a misconfiguration that cropped up and will need to debug later. I'm not sure if this is helpful, but here is what my terminal logs back when I launch digikam and run a "Recognize faces only" scan on a few albums where I have not yet recognized faces: ``` $ prime-run digikam digikam: /usr/lib/libgphoto2_port.so.12: no version information available (required by /usr/lib/libdigikamgui.so.8.7.0) digikam.facesengine: FaceClassifier::loadTrainingData: exception: OpenCV(4.12.0) /usr/include/opencv4/opencv2/core/mat.inl.hpp:921: error: (-215:Assertion failed) (unsigned)(pt.x * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at' qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n7.1.1 GPL version 3 or later kf.xmlgui: Unhandled container to remove : Digikam::DigikamApp ``` The output is exactly the same when I do not launch with prime, `command digikam`. But if digikam is not actually using my discrete GPU, I guess I wouldn't expect anything different anyway. -- You are receiving this mail because: You are watching all bug changes.
