Any of you with an AMD GPU and Centos Stream 8.0 (or 7.7)?

heelix

[H]ard|Gawd
Joined
Aug 2, 2004
Messages
1,080
I thought I had this licked. Was gifted a small stack of AMD RX580's and was trying to set up AMD's driver. On a stock Centos 8 Streams install on a 1950x. (Box does double duty for work... so yes, I do run the free RHEL OS rather than some versions)

sudo yum update -y
(reboot)

sudo yum install -y kernel-headers-`uname -r` kernel-devel-`uname -r`

sudo dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm

sudo dnf config-manager --enable PowerTools
sudo yum -y install dkms
(reboot)

tar -Jxvf amdgpu-pro-19.30-934563-rhel-8.tar.xz
cd amdgpu-pro-19.30-934563-rhel-8/
./amdgpu-pro-install -y​

And things are great. I install steam and can even play some games. When I reboot... things are not so great. Logging in and attempting to launch anything but the terminal pops me back to the login. Going into the classic mode (not Wayland) works... but not for games. (States OpenGL GLX context is not using direct rendering)

From what I gather, the 4.18.x kernel does not use dkms.... Just got to wonder if I'm missing something basic/obvious.
 
I thought I had this licked. Was gifted a small stack of AMD RX580's and was trying to set up AMD's driver. On a stock Centos 8 Streams install on a 1950x. (Box does double duty for work... so yes, I do run the free RHEL OS rather than some versions)

sudo yum update -y
(reboot)

sudo yum install -y kernel-headers-`uname -r` kernel-devel-`uname -r`

sudo dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm

sudo dnf config-manager --enable PowerTools
sudo yum -y install dkms
(reboot)

tar -Jxvf amdgpu-pro-19.30-934563-rhel-8.tar.xz
cd amdgpu-pro-19.30-934563-rhel-8/
./amdgpu-pro-install -y​

And things are great. I install steam and can even play some games. When I reboot... things are not so great. Logging in and attempting to launch anything but the terminal pops me back to the login. Going into the classic mode (not Wayland) works... but not for games. (States OpenGL GLX context is not using direct rendering)

From what I gather, the 4.18.x kernel does not use dkms.... Just got to wonder if I'm missing something basic/obvious.

did you disable nouveau driver in the grub boot menu?
 
I tried a bunch of stuff. Using Centos 8, the video works, but steam won't log in/connect. Using Centos 8 Streams, not so much. Steam works with Centos Streams and the video drivers, until a reboot, then the video drivers cause it to bounce back to a login prompt each access.. Looks like the steam fix is in the new kernel, but I just need to wait until they patch Centos 8. Damned if I picked one, darned if I did the other. Tried the no dkms without joy and I'm just not clever enough to make the RX580- work with Centos.

I'll give grub a closer looking at this weekend. Had not thought about that.
 
I don't use Centos, it doesn't have a packaged AMD driver? Usually it's a bad idea to install a non-packaged driver.
 
Sorry, my brain just translated to just video driver and not AMD video hehe.

I don't use Centos, it doesn't have a packaged AMD driver? Usually it's a bad idea to install a non-packaged driver.

I don't think so, honestly I have never looked. I can't say for sure, but I don't know that the rx580 driver has wayland support. Does it? I know the Vega64 does, but I THINK for some reason that that generation was the first to get it.
 
AMD updated their drivers to 19.50 and Centos bumped the build up to 1911. This works:

sudo yum update -y
(reboot)

sudo yum install -y kernel-headers-`uname -r` kernel-devel-`uname -r`
sudo dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
sudo dnf config-manager --enable PowerTools
sudo yum -y install dkms
sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-steam.repo
sudo dnf -y install steam kernel-modules-extra libva-intel-driver
(reboot) ( https://www.amd.com/en/support, grabbing the RX580 driver)

tar -Jxvf amdgpu-pro-19.50-967956-rhel-8.1.tar.xz
cd amdgpu-pro-19.50-967956-rhel-8.1/
./amdgpu-pro-install -y (reboot)
 
Back
Top