https://bugs.kde.org/show_bug.cgi?id=516875

            Bug ID: 516875
           Summary: OpenCL not detected on AMD RADEON RX 470 card
    Classification: Applications
           Product: digikam
      Version First 8.8.0
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Maintenance-AutoTags
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
On my Ubuntu 24.04 LTS client system with an AMD Radeon RX 470 card the "Test
GPU AI Compatibility" in system settings fails

STEPS TO REPRODUCE
1. Install an AMD RADEON RX 470 on Asus Z170-A motherboard
2. Install and run Ubuntu 24.04 LTS
3. Download digiKam 8.8.0 AppImage
4. Download AMD Software and driver from
https://www.amd.com/en/resources/support-articles/release-notes/RN-AMDGPU-UNIFIED-LINUX-25-35.html
5. Follow the AMD instructions and install software with the amdgpu-install
script, i.e. amdgpu-install --usecase=rocm --no-dkms
6. add user to video and render group
7. Start digiKam on Wayland or X11
8. In digiKam open system settings and run the test

OBSERVED RESULT
Output of test is 
Starting OpenCV OpenCL DNN test...
Checking for OpenCL GPU acceleration compatibility with AI models...
Fehler: Auf Ihrem System steht OpenCL nicht zur Verfügung.

Test failed. Your system may not be able to use GPU acceleration for the AI
models.

EXPECTED RESULT
Test should end with success and hardware acceleration should be enabled for
auto tagging.


SOFTWARE/OS VERSIONS
Operating System: Ubuntu Studio 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-101-lowlatency (64-bit)
Graphics Platform: offscreen
Processors: 4 × Intel® Core™ i5-6400 CPU @ 2.70GHz
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon ™ RX 470 Graphics


ADDITIONAL INFORMATION

Motherboard/CPU has also an CPU graphik unit. I never used a graphik card on
linux and habe less knowlede about. I'm not sure it i installed the right
usecase of the amd software. The are a lot of usecases listed with the command
"amdgpu-install --list-usecase".

When I start digiCam appimage in terminal window I also get
MESA-LOADER: failed to open radeonsi....
MESA-LOADER: failed to open zink...
MESA-LOADER: failed to open kms_swrast
MESA-LOADER: failed to open swrast

I left also a comment on Bug https://bugs.kde.org/show_bug.cgi?id=511487

eglinfo -B when runing without sudo prints an error message:
GBM platform:
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.

when run as sudo no error. But this seem to be off topic. See here:
https://bbs.archlinux.org/viewtopic.php?id=304742

running the amd installer script without --no-dkms installs kernel driver but
then logging in to wayland fails/stops. So I deinstalled and installed leaving
the original kernel drivers untouched.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to