Probleme bei der Installation des AMD-GPU-Treibers!

Probleme bei der Installation des AMD-GPU-Treibers!

Ubuntu MATE 20.04.3 LTS 6600XT GPU

Ich möchte meine alte GPU durch eine neue ersetzen und stehe vor einer echten Hürde.

die richtige 21.40.2 für Ubuntu 20.04.3 Datei heruntergeladenHier

Befolgte AnweisungenHier

habe sogar das Pro-Paket vonhier und folgte der Extraktionsmethode

habe Update ausgeführt, Distribution aktualisiert, neugestartet und … nichts. Beim Anschließen von HDMI an die GPU wird kein Video ausgegeben.

ich habe Software und Updates geprüft und proprietäre Treiber geprüft. Wenn ich zusätzliche Treiber überprüfe, wird nichts angezeigt.

läuft

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

zeigt, dass das System erkennt, dass ich die richtige GPU installiert habe

läuft

  sudo ubuntu-drivers devices 

gibt nichts zurück

Ausführen von amdgpu-install und amdgpu-pro-install gibt aus:

  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 http://us.archive.ubuntu.com/ubuntu focal InRelease
  Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Hit:8 https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal InRelease            
  Hit:9 https://repo.radeon.com/rocm/apt/4.5.2 ubuntu InRelease                  
  Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease              
  Hit:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu 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 http://us.archive.ubuntu.com/ubuntu focal InRelease 
  Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Hit:7 https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal InRelease            
  Hit:8 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease               
  Hit:10 https://repo.radeon.com/rocm/apt/4.5.2 ubuntu InRelease                 
  Hit:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu 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

aber wenn ich mit dpkg -l amdgpu überprüfe, wird amdgpu bestätigt, amdgpu-pro jedoch nicht.

ich habe ein Update, ein Upgrade und einen Neustart durchgeführt, aber ich kann die GPU nicht aktivieren und sie wird immer noch nicht unter den zusätzlichen Treibern angezeigt.

irgendwelche Gedanken?

Antwort1

Das hat bei meinem Setup funktioniert. Vielleicht hilft es jemand anderem.

Betriebssystem:Ubuntu 20.04(Dual-Boot)Ubuntu Studio 21.04

Planke:ASUS Tuf Gaming B550M-Plus

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

Arbeitsspeicher: Corsair Vengeance 2x32GBCMK64GX4M2D3600C18

Grafik:XFX Radeon RX 6600XT

Wenn Sie bereits eine frühere Version oder einen früheren Fehlversuch haben


amdgpu-uninstall -y

OBLIGATORISCHNeustart


sudo reboot

Aktualisieren und installieren Sie einige Pakete


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

Erstellen Sie ein (optionales) AMD-Verzeichnis


mkdir amd

Git-Klon-Firmware


cd amd && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git && cd

Kopieren Sie die Firmware


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

Holen Sie sich die neuestenAMD-Treiber für Radeon RX 6600xt


wget -P ~/amd/ https://repo.radeon.com/amdgpu-install/21.50.2/ubuntu/focal/amdgpu-install_21.50.2.50002-1_all.deb

Installieren Sie die gerade heruntergeladene Datei


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

Installieren Sie den Treiber (überprüfen Sie optionale --flags für Ihren Anwendungsfall).


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

Fügen Sie sich selbst zu den Gruppen „Video“ und „Render“ hinzu


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

OBLIGATORISCHNeustart


sudo reboot

Führen Sie nach dem Neustart Folgendes aus:


clinfo -l

oder ausführlicher


clinfo

Schauen Sie sich auch Darktable an


darktable-cltest

Gutes Gespräch.

verwandte Informationen