无法安装 AMD 驱动程序

无法安装 AMD 驱动程序

我对 Linux 和 ubuntu 还很陌生。我正在尝试学习所有这些的工作原理,但坦率地说,这有点难。

我有 4 张 RX 580 AMD 卡,正在尝试为这些卡安装驱动程序。

我正在使用 ubuntu 20.04.3 LTS

我下载的驱动程序版本是

amdgpu-install_21.40.1.40501-1_all.deb

我按照 amd 说明找到这里

当我使用命令时

amdgpu-install --usecase=graphics,opencl

事情是这样的:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-5.13.0-28-generic is already the newest version (5.13.0-28.31~20.04.1).
linux-headers-5.13.0-28-generic set to manually installed.
linux-modules-extra-5.13.0-28-generic is already the newest version (5.13.0-28.31~20.04.1).
linux-modules-extra-5.13.0-28-generic set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 amdgpu-lib : Depends: libwayland-amdgpu-client0 but it is not going to be installed
              Depends: libwayland-amdgpu-server0 but it is not going to be installed
              Depends: libgbm1-amdgpu but it is not going to be installed
              Depends: libegl1-amdgpu-mesa but it is not going to be installed
              Depends: libegl1-amdgpu-mesa-drivers but it is not going to be installed
              Depends: xserver-xorg-amdgpu-video-amdgpu but it is not going to be installed
 amdgpu-lib32 : Depends: libwayland-amdgpu-client0:i386
                Depends: libwayland-amdgpu-server0:i386
                Depends: libgbm1-amdgpu:i386
                Depends: libegl1-amdgpu-mesa:i386
                Depends: libegl1-amdgpu-mesa-drivers:i386
E: Unable to correct problems, you have held broken packages.

答案1

按照此操作,我能够让一切正常工作。我还学到了很多有关 Windows 驱动程序和 Linux 驱动程序之间的差异。

https://community.amd.com/t5/drivers-software/amdgpu-pro-20-45-amdgpu-dkms-fails-error-solution-for-ubuntu-20/td-p/458997

相关内容