AMDGPU-Pro 驅動程式在 Ubuntu 16.04 上安裝失敗,如何修復?

AMDGPU-Pro 驅動程式在 Ubuntu 16.04 上安裝失敗,如何修復?

我嘗試在 Ubuntu 16.04 LTS 上安裝 AMDGPU-pro 驅動程序,但無論我嘗試哪個版本,它都會失敗並出現相同的錯誤。

我正在從實時持久 USB 運行 Ubuntu,否則該 USB 似乎運行正常。

我更新了我的系統(新增了Universe,apt更新,apt升級),重新啟動。

我從 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

相關內容