Problemas de instalação do driver da GPU AMD!

Problemas de instalação do driver da GPU AMD!

Placa de vídeo Ubuntu MATE 20.04.3 LTS 6600XT

substituindo meu gpu antigo por um novo e tendo um verdadeiro obstáculo.

baixou o arquivo 21.40.2 adequado para Ubuntu 20.04.3aqui

Instruções seguidasaqui

até recebi o pacote profissional deaqui e segui o método de extração

executei atualização, atualização da distribuição, reinicialização e ... nada. Conectar HDMI ao GPU não gera vídeo.

verifiquei o software e as atualizações e os drivers proprietários foram verificados. Quando verifico drivers adicionais, não mostra nada.

correndo

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

mostra que o sistema reconhece que tenho o GPU adequado instalado

correndo

  sudo ubuntu-drivers devices 

não retorna nada

executando a saída amdgpu-install e amdgpu-pro-install:

  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

mas quando verifico com dpkg -l amdgpu amdgpu está confirmado, mas amdgpu-pro não.

atualizei, atualizei e reiniciei e não consigo ativar o GPU e ele ainda não aparece em drivers adicionais.

Alguma ideia?

Responder1

Isso funcionou para minha configuração. Talvez isso ajude outra pessoa.

SO:Ubuntu 20.04(Bota dupla)Ubuntu Studio 21.04

Quadro:ASUS Tuf Gaming B550M-Plus

CPU:AMD Ryzen 9 5900x 12 núcleos, 24 threads

Memória RAM: Corsair Vengeance 2x32GBCMK64GX4M2D3600C18

Gráficos:Radeon RX 6600XT da XFX

Se você já possui uma versão anterior ou tentativa anterior com falha


amdgpu-uninstall -y

OBRIGATÓRIOReinício


sudo reboot

Atualize e instale alguns pacotes


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

Crie um diretório AMD (opcional)


mkdir amd

firmware clone git


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

Copie o firmware


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

Obtenha o recenteDriver 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 o arquivo que você acabou de baixar


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

Instale o driver (marque --flags opcionais para seu caso de uso)


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

Adicione-se aos grupos Vídeo e Renderização


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

OBRIGATÓRIOReinício


sudo reboot

Após a reinicialização, execute:


clinfo -l

ou mais detalhado


clinfo

Confira Darktable também


darktable-cltest

Boa conversa.

informação relacionada