首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AMD GPU驱动程序安装问题!

AMD GPU驱动程序安装问题!
EN

Ask Ubuntu用户
提问于 2022-02-14 05:29:34
回答 1查看 1.9K关注 0票数 0

Ubuntu MATE 20.04.3 LTS 6600XT GPU

用一个新的gpu代替我的旧gpu,有一个真正的障碍。

为ubuntu20.04.3文件这里下载了正确的21.40.2

遵循方向这里

甚至从这里并遵循提取方法那里得到了专业的软件包

运行更新、升级发行版、重新启动和.没什么。将hdmi插入gpu不会输出视频。

我检查了软件&更新和专有驱动程序被检查,当我检查其他驱动程序时,它没有显示任何内容。

正在运行

代码语言:javascript
复制
  lspci -k | grep -A 2 -i "VGA"  

显示系统识别我有合适的gpu。

正在运行

代码语言:javascript
复制
  sudo ubuntu-drivers devices 

一事无成

运行amdgpu-install和amdgpu-pro-install输出:

代码语言:javascript
复制
  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时,amdgpu amdgpu是确认的,但amdgpu-pro不是。

我已经更新,升级和重新启动,我不能让gpu激活,它仍然没有显示在其他驱动程序下。

有什么想法吗?

EN

回答 1

Ask Ubuntu用户

发布于 2022-04-28 17:50:07

这对我的设计有效。也许这能帮到别人。

操作系统:Ubuntu 20.04 (双引导) Ubuntu Studio 21.04

棋盘:ASUS图文游戏B550M+

CPU:AMD Ryzen 9 5900x12-Core,24-线程

RAM:海盗船复仇2x32GB CMK64GX4M2D3600C18

图形:XFX RadeonRX6600XT

如果您已经有了以前的版本或先前的失败尝试

代码语言:javascript
复制
amdgpu-uninstall -y

强制重新引导

代码语言:javascript
复制
sudo reboot

更新并安装一些软件包

代码语言:javascript
复制
sudo apt update && sudo apt install git clinfo darktable -y

创建一个(可选的) AMD目录

代码语言:javascript
复制
mkdir amd

git克隆固件

代码语言:javascript
复制
cd amd && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git && cd

复制固件

代码语言:javascript
复制
sudo cp ~/amd/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v && sudo apt update

获取最近的Radeon 6600xt的AMD驱动程序

代码语言:javascript
复制
wget -P ~/amd/ https://repo.radeon.com/amdgpu-install/21.50.2/ubuntu/focal/amdgpu-install_21.50.2.50002-1_all.deb

安装刚才下载的文件

代码语言:javascript
复制
cd amd && sudo apt install -y ./amdgpu-install_21.50.2.50002-1_all.deb && cd && sudo apt update

安装驱动程序(选中可选的--用例标志)

代码语言:javascript
复制
amdgpu-install -y --accept-eula --opencl=rocr,legacy --usecase=graphics,opencl

将自己添加到视频和呈现组中

代码语言:javascript
复制
sudo apt update && sudo usermod -aG video $USER && sudo usermod -aG render $USER

强制重新引导

代码语言:javascript
复制
sudo reboot

重新启动后,运行:

代码语言:javascript
复制
clinfo -l

或者更冗长

代码语言:javascript
复制
clinfo

检查暗表以及

代码语言:javascript
复制
darktable-cltest

说得好。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1392780

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档