AMD GPU ドライバーのインストールに問題があります。

AMD GPU ドライバーのインストールに問題があります。

Ubuntu MATE 20.04.3 LTS 6600XT 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

これは私の設定ではうまくいきました。他の人にも役立つかもしれません。

OS:ウブントゥ 20.04(デュアルブート)Ubuntu Studio 21.04

ボード:ASUS Tuf ゲーミング B550M-Plus

CPU:AMD Ryzen 9 5900x 12コア、24スレッド

RAM: Corsair Vengeance 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

いい会話。

関連情報