¡Problemas de instalación del controlador AMD GPU!

¡Problemas de instalación del controlador AMD GPU!

Ubuntu MATE 20.04.3 LTS 6600XT GPU

Reemplazar mi vieja GPU por una nueva y tener un verdadero obstáculo.

descargué el archivo 21.40.2 adecuado para ubuntu 20.04.3aquí

Instrucciones seguidasaquí

Incluso obtuve el paquete profesional deaquí y seguí el método de extracción

ejecuté la actualización, actualicé la distribución, reinicié y... nada. Conectar hdmi a gpu no genera video.

Verifiqué el software y las actualizaciones y los controladores propietarios están verificados; cuando reviso controladores adicionales, no muestra nada.

correr

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

muestra que el sistema reconoce que tengo la gpu adecuada en su lugar

correr

  sudo ubuntu-drivers devices 

no devuelve nada

ejecutando amdgpu-install y amdgpu-pro-install salida:

  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

pero cuando verifico con dpkg -l amdgpu amdgpu se confirma pero amdgpu-pro no.

Actualicé, actualicé y reinicié y no puedo activar la gpu y todavía no aparece en controladores adicionales.

¿Alguna idea?

Respuesta1

Esto funcionó para mi configuración. Quizás esto ayude a alguien más.

SO:ubuntu 20.04(arranque dual)Ubuntu Estudio 21.04

Junta:ASUS Tuf Gaming B550M-Plus

UPC:AMD Ryzen 9 5900x 12 núcleos, 24 hilos

RAM: Corsair Venganza 2x32GBCMK64GX4M2D3600C18

Gráficos:XFXRadeon RX 6600XT

Si ya tienes una versión anterior o un intento fallido anterior


amdgpu-uninstall -y

OBLIGATORIOReiniciar


sudo reboot

Actualizar e instalar algunos paquetes


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

Cree un directorio AMD (opcional)


mkdir amd

firmware de clonación de git


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

Copiar sobre el firmware


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

Obtenga lo recienteControlador AMD para 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

Instale el archivo que acaba de descargar


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

Instale el controlador (marque --flags opcionales para su caso de uso)


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

Agréguese a los grupos de Vídeo y Renderizado


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

OBLIGATORIOReiniciar


sudo reboot

Después de reiniciar, ejecute:


clinfo -l

o más detallado


clinfo

Consulte también Darktable


darktable-cltest

Buena charla.

información relacionada