无法在 Ubuntu 20.04 上安装 amdgpu-pro 18.40

无法在 Ubuntu 20.04 上安装 amdgpu-pro 18.40

我正在尝试amdgpu-pro-18.40在全新的 Ubuntu 20.04 上进行安装,因为使用原始 gpu 驱动程序,我可以在家里的电视上观看慢动作电影。但是我收到此错误:

# ./amdgpu-install 
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://fr.archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:6 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Package: *amdgpu*
Pin: release o=AMD
Pin: version *-697810
Pin-Priority: 1000

Package: *amdgpu*:i386
Pin: release o=AMD
Pin: version *-697810
Pin-Priority: 1000

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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 : Depends: libwayland-amdgpu-client0 (= 1.14.0-697810) but it is not going to be installed
          Depends: libwayland-amdgpu-server0 (= 1.14.0-697810) but it is not going to be installed
          Depends: libgbm1-amdgpu (= 1:18.1.0-697810) but it is not going to be installed
          Depends: libegl1-amdgpu-mesa (= 1:18.1.0-697810) but it is not going to be installed
          Depends: libegl1-amdgpu-mesa-drivers (= 1:18.1.0-697810) but it is not going to be installed
          Depends: libwayland-amdgpu-egl1-mesa (= 1:18.1.0-697810) but it is not going to be installed
 amdgpu-lib32 : Depends: libwayland-amdgpu-client0:i386 (= 1.14.0-697810)
                Depends: libwayland-amdgpu-server0:i386 (= 1.14.0-697810)
                Depends: libgbm1-amdgpu:i386 (= 1:18.1.0-697810)
                Depends: libegl1-amdgpu-mesa:i386 (= 1:18.1.0-697810)
                Depends: libegl1-amdgpu-mesa-drivers:i386 (= 1:18.1.0-697810)
                Depends: libwayland-amdgpu-egl1-mesa:i386 (= 1:18.1.0-697810)
E: Unable to correct problems, you have held broken packages.

我的 GPU 是 Radeon Rx580 8GB

我查看过类似的问题并尝试使用其他标志(如建议的)进行安装,--px--compute都不起作用。

显然这个问题在这里得到解决: https://community.amd.com/t5/drivers-software/can-t-install-amdgpu-drivers-on-ubuntu-20-04-1-5-4-0-56-generic/td-p/426676/page/19 但我无法跟进来回看了 20 页的内容并弄清楚如何解决。

非常感谢您的提示。

答案1

为了避免此类问题,您无法安装适合您当前版本的软件包:

这是 AMD 网站上的链接: https://www.amd.com/en/support/graphics/amd-radeon-6000-series/amd-radeon-6900-series/amd-radeon-rx-6900-xt

适用于 Ubuntu 20.04.4 的 Radeon™ Software for Linux® 安装程序版本 22.10.2

相关内容