M HYPE SPLASH
// general

AMD GPU driver install problems!

By Michael Henderson

Ubuntu MATE 20.04.3 LTS 6600XT GPU

replacing my old gpu with a new one and having a real hurdle.

downloaded the proper 21.40.2 for ubuntu 20.04.3 file here

Followed directions here

even got the pro package from here and followed the extraction method

ran update, upgrade distro, reboot, and.... nothing. Plugging hdmi into gpu doesn't output video.

i checked software & updates and proprietary drivers are checked, when i check additional drivers, it shows nothing.

running

 lspci -k | grep -A 2 -i "VGA" 

shows that the system recognizes i have the proper gpu in place

running

 sudo ubuntu-drivers devices 

returns nothing

running amdgpu-install and amdgpu-pro-install output:

 user@user-LinuxDesktop:~/Desktop/amdgpu-pro-20.20-1098277-ubuntu-20.04$ ./amdgpu-install -y [sudo] password for user: deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./ Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Hit:4 focal InRelease Hit:5 focal-updates InRelease Hit:6 focal-backports InRelease Hit:7 stable InRelease Hit:8 focal InRelease Hit:9 ubuntu InRelease Hit:10 focal-security InRelease Hit:11 focal InRelease Reading package lists... Done The amdgpu driver is already installed or was not uninstalled correctly. Please fully uninstall the driver before proceeding with installation You can try running the amdgpu-uninstall or amdgpu-pro-uninstall script present in /usr/bin to clean up the previous installation user@user-LinuxDesktop:~/Desktop/amdgpu-pro-20.20-1098277-ubuntu-20.04$ ./amdgpu-pro-install -y deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./ Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg Hit:4 focal InRelease Hit:5 focal-updates InRelease Hit:6 focal-backports InRelease Hit:7 focal InRelease Hit:8 stable InRelease Hit:9 focal-security InRelease Hit:10 ubuntu InRelease Hit:11 focal InRelease Reading package lists... Done The amdgpu driver is already installed or was not uninstalled correctly. Please fully uninstall the driver before proceeding with installation You can try running the amdgpu-uninstall or amdgpu-pro-uninstall script present in /usr/bin to clean up the previous installation

but when i check with dpkg -l amdgpu amdgpu is confirmed but amdgpu-pro is not.

i've updated and upgraded and rebooted and i can't get the gpu to activate and it still does not show up under additional drivers.

any thoughts?

12

1 Answer

This worked for my setup. Maybe this will help someone else.

OS: Ubuntu 20.04 (dual boot) Ubuntu Studio 21.04

Board: ASUS Tuf Gaming B550M-Plus

CPU: AMD Ryzen 9 5900x 12-Core, 24-Thread

RAM: Corsair Vengeance 2x32GB CMK64GX4M2D3600C18

Graphics: XFX Radeon RX 6600XT

If you already have a previous version or prior failed attempt

amdgpu-uninstall -y

MANDATORY Reboot

sudo reboot

Update and Install some packages

sudo apt update && sudo apt install git clinfo darktable -y

Make an (optional) AMD directory

mkdir amd

git clone firmware

cd amd && git clone && cd

Copy over the firmware

sudo cp ~/amd/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v && sudo apt update

Get the recent AMD Driver for Radeon RX 6600xt

wget -P ~/amd/ 

Install the file you just downloaded

cd amd && sudo apt install -y ./amdgpu-install_21.50.2.50002-1_all.deb && cd && sudo apt update

Install the driver (check optional --flags for your use case)

amdgpu-install -y --accept-eula --opencl=rocr,legacy --usecase=graphics,opencl

Add yourself to the Video and Render groups

sudo apt update && sudo usermod -aG video $USER && sudo usermod -aG render $USER

MANDATORY Reboot

sudo reboot

After reboot, run:

clinfo -l

or more verbose

clinfo

Checkout Darktable as well

darktable-cltest

Good talk.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy