cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

pioruns
Adept II

Re: openCL linux debian bullseye / sid

Debian maintainers are working with AMD to solve this:

https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/1296835-deb...

 

I hope will have working OpenCL in Debian soon!

0 Likes
alainbrest29200
Adept II

Re: openCL linux debian bullseye / sid

here is the solution I found so far :

openCL Debian with script  


on the other hand, the solution with AMD sources does not work under debian and badly under ubuntu 20.04.3 LTS.
but maybe it comes from the v.m. (for ubuntu under  virtualbox) ?

0 Likes
Bret397458
Journeyman III

Re: openCL linux debian bullseye / sid

Bullseye is now stable and the following used to work

./amdgpu-install --opencl=legacy --headless --no-dkms

using the ubuntu 21.30 drivers.

Bookworm is now sid and installing 21.30 drivers causes the desktop environment to crash on boot. 

I can't find a place to download the new drivers, 21.40, to try them.  There is only the 14kb file at: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580.

Attempting to use this file in the following way causes failures:

 

Spoiler

amdgpu-install --opencl=legacy --no-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package opencl-orca-amdgpu-pro-icd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package amdgpu-lib
E: Unable to locate package amdgpu-lib32
E: Unable to locate package rocm-hip-runtime
E: Unable to locate package clinfo-amdgpu-pro
E: Package 'opencl-orca-amdgpu-pro-icd' has no installation candidate

amdgpu-install --usecase=opencl --no-dkms --no-32
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package rocm-opencl-runtime

amdgpu-install --usecase=rocm --no-dkms --no-32
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package rocm-dev

Is there a place where I can download the actual driver so that I can try to install them???

 

0 Likes
alainbrest29200
Adept II

Re: openCL linux debian bullseye / sid

hi , bret397458 .

you can use these two scripts :

for installation :

firefox https://drive.google.com/file/d/1yJA2dej3A2Vda8cy1GlaAWXKkFqlXrl4/view?usp=sharing

to uninstall :

firefox https://drive.google.com/file/d/1tElemvFCCjWh8S1nXlgBhbQY_Y0QPaRT/view?usp=sharing

it will automatically download , decompress and install the 21.30 OpenCL drivers archive .

the second link will fully uninstall OpenCL from being installed with the previous link .

use "clinfo" to control the installation process once done this .

 

0 Likes
Bret397458
Journeyman III

Re: openCL linux debian bullseye / sid

Alain,

Please reread my post.  The 21.30 drivers don't work on bookworm/gnome 41.  The DE crashes on startup.  I'm looking for the 21.40 drivers.  Thanks!

0 Likes
alainbrest29200
Adept II

Re: openCL linux debian bullseye / sid

Hello Bret397458.

on my configuration (bookworm/sid), I have very few problems.
everything seems to work fine.
I have minor screen refreshment problems.
I have to restart the desktop.
but on the whole everything is fine.
I don't have any desktop crashes at startup.
the solution I submitted to you works well for me.
I thought it would be the same for you.
I didn't manage to do it, sorry.

I wish you good luck in your research and thank you for your participation.
It brings me some thoughts that I will dig up soon.
while waiting for the solution.

Happy Christmas and New Year's Eve.

with kind regards .

 

Translated with www.DeepL.com/Translator (free version)

0 Likes
Bret397458
Journeyman III

Re: openCL linux debian bullseye / sid

Alain,

You have it working on bookworm, interesting.  My experience was that after upgrading my bullseye to bookworm my pc would crash on start.  I didn't know what the problem was so I reformatted and reinstalled bookworm.  Everything was fine and then I installed 21.30 opencl and it crashed on boot but when i purged all amd* then it booted fine.  I tried multiple times so I just assumed that it was borked for bookworm.  I will it your way exactly when I get back home for the holidays.  Thanks, and Merry Christmas and a Happy New Year to you as well!!

-Bret

0 Likes
alainbrest29200
Adept II

Re: openCL linux debian bullseye / sid

I did not understand.
What do you mean?
what did you do?
"but when i purged all amd* then it booted fine"

I would have tried to help you but this is not the place to do it.
I wonder if your desk is not a little too heavy for your configuration.
what version of gnome do you have?
Upgrading to higher versions of gnome is sometimes not done without some bumps and problems.
if I'm not mistaken, I think that my move to gnome 41 brought me some problems.
It took me a good month to understand how to use it.
I was completely confused.

good luck.

late, merry christmas.
and happy new year .

friendly
alain

 

Translated with www.DeepL.com/Translator (free version)

 

0 Likes
talAMD
Journeyman III

Re: openCL linux debian bullseye / sid

Running into the exact same issue on PopOS 21.10 with an RX580.

I see people with more recent cards having better support like here

It would nice from AMD to confirm whether they are going to end support on the polaris cards as it seems that it might be the signal being sent here.

From my experience, I can get the 21.40.1 installer working only if I have done the installation of the drivers using the 21.20 non-apt-based installer (old method compared to that new one). 

I cannot find the version of the amdgpu driver I have on my system as 'modinfo amdgpu | grep -i version' does not report anything other than srcversion: and vermagic:

If I try to use the installer on an Ubuntu derivative system with no previously installed amdgpu driver, the new installer fails due to missing packages that only previously installer seems to have installed with proper dependencies.

After a bit more investigation for my use case in connection with Blender, I found the following documentation for ROCm installation instructions pointing at a more recent amdgpu-install version from the 6th of December 2021.

https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation_new.html#ubuntu-20-04

I installed both and the installation completed however I have yet to get OpenCL working in Blender.

Following discussions on this Blender devtalk thread for updates:

https://devtalk.blender.org/t/cycles-amd-hip-device-feedback/21400/54

0 Likes
alainbrest29200
Adept II

Re: openCL linux debian bullseye / sid

there is still no functional solution for debian .

even the sources.deb in 20.04.2 does not bring any serious answer.

AMD would brocard Debian ?

the persistence to make drivers only for 3 or 4 linux distributions and not for deb and rpm package managers, much more generic and standard, borders on software aggression and bad faith.

Why do you want to **bleep** open source in the bud?

I repeat: AMD doesn't provide any support for Debian, even though it's the mother distribution from which ubuntu comes.
This is discouraging.

AMD would like to force us to use Windows instead of Linux, but it would not do it otherwise.

friendly,
respectfully.

 

Translated with www.DeepL.com/Translator (free version)

0 Likes