AMD GPU驅動安裝問題!

AMD GPU驅動安裝問題!

Ubuntu MATE 20.04.3 LTS 6600XT GPU

用新的 GPU 替換舊的 GPU 是一個真正的障礙。

下載適用於 ubuntu 20.04.3 的正確 21.40.2 文件這裡

遵循指示這裡

甚至還得到了專業包這裡並遵循提取方法

運行更新,升級發行版,重新啟動,然後......什麼都沒有。將hdmi插入GPU不會輸出影片。

我檢查了軟體和更新並檢查了專有驅動程序,當我檢查其他驅動程式時,它沒有顯示任何內容。

跑步

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

顯示系統識別出我有合適的 GPU

跑步

  sudo ubuntu-drivers devices 

什麼也不返回

執行 amdgpu-install 和 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

但是當我檢查 dpkg -l amdgpu amdgpu 已確認但 amdgpu-pro 未確認。

我已經更新、升級並重新啟動,但無法啟動 GPU,而且它仍然沒有顯示在其他驅動程式下。

有什麼想法嗎?

答案1

這對我的設定有用。也許這會幫助別人。

作業系統:烏班圖20.04(雙啟動)烏班圖工作室 21.04

木板:華碩 Tuf Gaming B550M-Plus

中央處理器:AMD 銳龍 9 5900x 12 核心、24 線程

記憶體:海盜船復仇 2x32GBCMK64GX4M​​2D3600C18

圖形:XFX Radeon RX 6600XT

如果您已經有先前的版本或先前失敗的嘗試


amdgpu-uninstall -y

強制的重啟


sudo reboot

更新並安裝一些軟體包


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

建立一個(可選)AMD 目錄


mkdir amd

git 克隆固件


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

複製韌體


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

獲取最近的Radeon RX 6600xt 的 AMD 驅動程式


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

安裝剛下載的文件


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

安裝驅動程式(檢查您的用例的可選 --flags)


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

將自己加入影片和渲染組


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

強制的重啟


sudo reboot

重啟後,運行:


clinfo -l

或者更詳細


clinfo

也可以看 Darktable


darktable-cltest

講得好。

相關內容