我正在尝试在 Ubuntu 16.04 LTS 上安装 AMDGPU-pro 驱动程序,但无论我尝试哪个版本,都会失败并出现相同的错误。
我正在通过实时持久 USB 运行 Ubuntu,它似乎运行正常。
我更新了我的系统(添加了 universe、apt update、apt upgrade),然后重新启动。
我从 AMD 网站下载了驱动程序,解压缩并尝试按照此处文档中的建议进行安装:
https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx#
通过运行:
./amdgpu-pro-install
它总是失败:
...
Reading package lists... Done
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-pro-lib32 : Depends: libdrm-amdgpu-pro-amdgpu1:i386 (= 1:2.4.82-492261)
Depends: libgbm1-amdgpu-pro:i386 (= 17.40-492261)
Depends: libgl1-amdgpu-pro-glx:i386 (= 17.40-492261)
Depends: libgl1-amdgpu-pro-dri:i386 (= 17.40-492261)
Depends: libegl1-amdgpu-pro:i386 (= 17.40-492261)
Depends: libgles2-amdgpu-pro:i386 (= 17.40-492261)
Depends: vulkan-amdgpu-pro:i386 (= 17.40-492261)
Depends: libvdpau-amdgpu-pro:i386 (= 1:17.0.1-492261)
Depends: libopencl1-amdgpu-pro:i386 (= 17.40-492261)
Depends: opencl-amdgpu-pro-icd:i386 (= 17.40-492261)
E: Unable to correct problems, you have held broken packages.
我尝试了 16.5、16.4 和 17.4 版本,都同样失败。
我重建了 USB 驱动器等,没有变化......无论我是否更新系统。
我该如何修复此问题以便驱动程序能够安装?
答案1
尝试添加 i386 架构:
sudo dpkg --add-architecture i386
然后再次尝试设置。
答案2
对我来说,这有帮助:
如果您在使用 AMD R9 390 系列显卡时遇到问题 [5],请将其设置
radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dpm=1 amdgpu.dc=1
为内核参数,以强制使用 amdgpu 驱动程序而不是 radeon。如果仍然不起作用,请尝试通过将内核参数设置为禁用 DPM:
radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1
来源: https://wiki.archlinux.org/index.php/AMDGPU#R9_390_series_poor_performance_and/or_instability