Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #257546

OpenCL with Radeon GPU

From Arno Lehmann <al@its-lehmann.de>
Newsgroups linux.debian.user
Subject OpenCL with Radeon GPU
Date 2023-04-24 20:10 +0200
Message-ID <Go8Nr-4eYT-3@gated-at.bofh.it> (permalink)
Organization IT-Service Arno Lehmann

Show all headers | View raw


Hi all,

I'm currently trying to set up a new workstation and wanted to enable 
OpenCL for future use.

GPU hardware is an AMD Radeon RX 6750 XT.

I have a base installation of Debian 12 up and running, kernel 6.1.0.7 
including amdgpu and Mesa 22.3.

Any attempt to actually run any OpenCL program results in an error:

fatal error: cannot open file 
'/usr/lib/clc/gfx1030-amdgcn-mesa-mesa3d.bc': No such file or directory

which is depending on the using program reported more or less easily 
visible. clinfo is sufficient to show this.

Trying to diagnose this with available documentation I learned that
- I am not even able to determine if OpenCL itself should work,
- if it should work with the hardware I have here,
- which versions of amdgpu, xserver, Mesa, llvm or clang I need or which 
particular drivers / packages to install

I have tried several versions of the possible packages, but lacking 
documentation that makes sense to me that was more like blindly poking 
in the dark.

I even tried following some advice to use AMD's out-of-kernel driver 
pack, but the installation script stumbles over dependencies (which may 
or may not be due to the not-yet-stable base distro).

Anyway, the current state is less than satisfying, because I don't even 
understant if OpenCL with Radeon RX 6xxx GPU can even work on Linux.

I would give a different distro a try, but as a mostly-Debian-person I'm 
not really inclined to start learning to maintain more distros. Just 
using Windows would be a solution I would not appreciate at all...

So, my question here: Can anybody confirm this can work in general, or 
even point me to a place for current, correct documentation?

Alternatively, a pointer to where I short report those problems -- 
Debian bug (which package?), freedesktop.org's mesa, Linux kernel 
developers would be appreciated.


Thanks,

Arno


-- 
Arno Lehmann

IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück

Back to linux.debian.user | Previous | NextNext in thread | Find similar | Unroll thread


Thread

OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-24 20:10 +0200
  Re: OpenCL with Radeon GPU Sarunas Burdulis <sarunas@math.dartmouth.edu> - 2023-04-24 22:10 +0200
    Re: OpenCL with Radeon GPU Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-04-24 23:40 +0200
      Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-25 00:10 +0200
        Re: OpenCL with Radeon GPU Yvan Masson <yvan@masson-informatique.fr> - 2023-04-25 11:10 +0200
          Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-25 12:40 +0200
            Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-25 16:40 +0200
              Re: OpenCL with Radeon GPU Sarunas Burdulis <sarunas@math.dartmouth.edu> - 2023-04-26 18:20 +0200
                Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-05-08 13:50 +0200
  Re: OpenCL with Radeon GPU Jörg-Volker Peetz <jvpeetz@web.de> - 2023-04-25 11:30 +0200
    Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-25 13:00 +0200
      Re: OpenCL with Radeon GPU Jörg-Volker Peetz <jvpeetz@web.de> - 2023-04-26 11:40 +0200
        Re: OpenCL with Radeon GPU Arno Lehmann <al@its-lehmann.de> - 2023-04-26 15:50 +0200
          Re: OpenCL with Radeon GPU Yvan Masson <yvan@masson-informatique.fr> - 2023-04-26 17:00 +0200

csiph-web