[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenCL with Radeon GPU



Hi Jörg-Volker,

Am 25.04.2023 um 11:19 schrieb Jörg-Volker Peetz:
Hi,

which mesa packages do you have installed?

None providing OpenCL capabilities at that time, but if you followed this thread, you are aware of this already:

# LANG=C dpkg -l '*mesa*' | cut -c 1-72
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version                      Archite
+++-===============================-============================-=======
ii  libegl-mesa0:amd64              22.3.6-1+deb12u1             amd64
un  libegl1-mesa-dev                <none>                       <none>
un  libgl1-mesa-dev                 <none>                       <none>
ii  libgl1-mesa-dri:amd64           22.3.6-1+deb12u1             amd64
un  libgl1-mesa-glx                 <none>                       <none>
ii  libglapi-mesa:amd64             22.3.6-1+deb12u1             amd64
un  libgles2-mesa-dev               <none>                       <none>
ii  libglu1-mesa:amd64              9.0.2-1.1                    amd64
ii  libglx-mesa0:amd64              22.3.6-1+deb12u1             amd64
un  libwayland-egl1-mesa            <none>                       <none>
ii  mesa-amdgpu-common-dev          1:22.3.0.50403-1538762.20.04 amd64
ii  mesa-amdgpu-omx-drivers:amd64   1:22.3.0.50403-1538762.20.04 amd64
ii  mesa-amdgpu-va-drivers:amd64    1:22.3.0.50403-1538762.20.04 amd64
ii  mesa-amdgpu-vdpau-drivers:amd64 1:22.3.0.50403-1538762.20.04 amd64
ii  mesa-common-dev:amd64           22.3.6-1+deb12u1             amd64
un  mesa-opencl-icd                 <none>                       <none>
ii  mesa-utils                      8.5.0-1                      amd64
ii  mesa-utils-bin:amd64            8.5.0-1                      amd64
un  mesa-utils-extra                <none>                       <none>
ii  mesa-va-drivers:amd64           22.3.6-1+deb12u1             amd64
ii  mesa-vdpau-drivers:amd64        22.3.6-1+deb12u1             amd64
ii  mesa-vulkan-drivers:amd64       22.3.6-1+deb12u1             amd64
un  mesag3                          <none>                       <none>
un  xlibmesa3                       <none>                       <none>


In Debian testing I see the package `mesa-opencl-icd`.
I have no experience with opencl and AMD graphic cards but are very interested how it works in Debian.

That's more or less where I am myself... seems a bit too complex for me, at this time ;-)

As I trust the documentation in general, I am kind of confident that the problems I see derive from my usage of a too recent GPU; the older Radeon Architectures probably works out of the box.

The wiki page https://wiki.debian.org/AtiHowTo would deserve a bit of an overhaul, I think, seeing that it does not mention OpenCL at all, for example. If I just knew what to put there, I'd be happy to suggest something...

Best results so far are with the AMD vendor drivers which are *not* intended to be used on Debian:

# LANG=C dpkg -l '*rocm*' | cut -c 1-72
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version               Architecture Description
+++-=====================-=====================-============-===========
un  procmail              <none>                <none>       (no descrip
ii  rocm-core             5.4.3.50403-121~20.04 amd64        Radeon Open
ii  rocm-device-libs      1.0.0.50403-121~20.04 amd64        Radeon Open
ii  rocm-language-runtime 5.4.3.50403-121~20.04 amd64        Radeon Open
ii  rocm-ocl-icd          2.0.0.50403-121~20.04 amd64        opencl buil
ii  rocm-opencl           2.0.0.50403-121~20.04 amd64        opencl buil
ii  rocm-opencl-runtime   5.4.3.50403-121~20.04 amd64        Radeon Open


Cheers,

Arno

Regards,
Jörg.


--
Arno Lehmann

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


Reply to: