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


Groups > linux.debian.user > #241432

Re: AMD OpenCL support

From Linux-Fan <Ma_Sys.ma@web.de>
Newsgroups linux.debian.user
Subject Re: AMD OpenCL support
Date 2021-10-18 00:40 +0200
Message-ID <D9mYV-2OA-1@gated-at.bofh.it> (permalink)
References <D8ZpE-4Lc-3@gated-at.bofh.it> <D99oZ-2E1-1@gated-at.bofh.it> <D9d9f-4Xr-5@gated-at.bofh.it> <D9lq9-1L0-3@gated-at.bofh.it> <D9mvT-2Fk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

öö

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


Thread

AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-16 23:30 +0200
  Re: AMD OpenCL support didier gaumet <didier.gaumet@gmail.com> - 2021-10-17 10:10 +0200
    Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-17 14:10 +0200
      Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-17 23:00 +0200
        Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:10 +0200
          Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 00:40 +0200
            Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-18 00:50 +0200
              Re: AMD OpenCL support Linux-Fan <Ma_Sys.ma@web.de> - 2021-10-18 15:10 +0200
                Re: AMD OpenCL support piorunz <piorunz@gmx.com> - 2021-10-19 02:20 +0200

csiph-web