piorunz writes:

On 17/10/2021 21:50, Linux-Fan wrote:

There, the suggested fix is to switch to amdgpu-pro (which seems to
remedy the issue but not entirely...) which lead me to try the `.deb`
files from AMD. I downloaded
`amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz` and it seems to have
installed just fine.

Can't install that on my Debian Bullseye. I have clean system with
nothing modified or added from outside of Debian.

Result:
sudo ./amdgpu-install --opencl=legacy,rocr
(...)
Loading new amdgpu-5.11.19.98-1290604 DKMS files...
                               ^^^^^^^

Our driver versions seem to differ. I have 5.11.5.30-1292797 rather than 5.11.19.98-1290604. It has the following SHA-256 sum:

ef242adeaa84619cea4a51a2791553a7a7904448dde81159ee2128221efe8e50
amdgpu-pro-21.20-1292797-ubuntu-20.04.tar.xz

Back then, I got it from https://www.amd.com/en/support/professional- graphics/radeon-pro/radeon-pro-w5000-series/radeon-pro-w5500 under "Radeon(TM) Pro Software for Enterprise on Ubuntu 20.04.2" and the download still seems to point to a file with the same SHA-256 sum.

It could be worth trying the exact same version that I used?

[...]

I tried various attempts:
sudo ./amdgpu-install --opencl=rocr --headless
sudo ./amdgpu-install
sudo ./amdgpu-install --opencl=rocr

Same result each time, something with compiling amdgpu-dkms.

I used ./amdgpu-pro-install without additional arguments. It is a symlink to the same script but the script executes different code if invoked with the `-pro` inserted. Not sure if it will make a difference, though.

After successful installation with `./amdgpu-pro-install` I installed additional packages from the repository added by the `amdgpu-pro-install` in order to enable the OpenCL features.

As a result, I should be running the proprietary driver now and thus
have OpenCL running -- I only ever tested it with a demo application,
though...

I'd love that, but it fails on my system. What system do you have? How
did you do it?

[...]

Debian 11 Bullseye. Before writing this post, I was still on kernel
5.10.0-8-amd64, but I just upgraded and the DKMS compiled successfully for the new 5.10.0-9-amd64.

Differences between our systems seem to be as follows:

- Minor version difference in proprietary drivers
- I installed by using the symlink with `-pro` in its name

I might add that I have installed a bunch of firmware from non-free and am running ZFS on Linux as provided by non-free package `zfs-dkms`.

HTH
Linux-Fan

ΓΆΓΆ

Attachment: pgpKCdX0RatVL.pgp
Description: PGP signature

Reply via email to