在 ubuntu 20.04 上安装 AMD Ryzen 5800H 集成驱动程序

在 ubuntu 20.04 上安装 AMD Ryzen 5800H 集成驱动程序

我有一台带有 Radeon 显卡的 AMD Ryzen 5800H,我希望安装与其相关的驱动程序。

首先,我想知道我的 GPU 是否正常工作,以及与其相关的驱动程序是否存在。(我不知道该怎么做。)

我去了 AMD 官方网站并找到了这个Radeon™ Software for Linux® version 20.20 for Ubuntu 20.04,我提取了它并尝试运行安装脚本(amdgpu-install 和 amdgpu-pro-install),但由于存在一些错误而无法安装。

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmw
are.0.crash'
Error! Bad return status for module build on kernel: 5.11.0-37-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.6.0.15-1098277/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
 installed amdgpu-dkms package post-installation script subprocess returned error 
exit status 10
dpkg: dependency problems prevent configuration of amdgpu:
 amdgpu depends on amdgpu-dkms (= 1:5.6.0.15-1098277); however:
  Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu (--configure):
 dependency problems - leaving unconfigured
Setting up xserver-xorg-amdgpu-video-amdgpu (1:19.1.0-1098277) ...
No apport report written because the error message indicates its a followup error 
from a previous failure.
                        Setting up mesa-amdgpu-omx-drivers:amd64 (1:20.0.5-1098277
) ...
Setting up libegl1-amdgpu-mesa:amd64 (1:20.0.5-1098277) ...
Setting up libegl1-amdgpu-mesa:i386 (1:20.0.5-1098277) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:20.0.5-1098277) ...
Setting up libgl1-amdgpu-mesa-glx:i386 (1:20.0.5-1098277) ...
Setting up libgles2-amdgpu-mesa:amd64 (1:20.0.5-1098277) ...
Setting up libgles2-amdgpu-mesa:i386 (1:20.0.5-1098277) ...
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:20.0.5-1098277) ...
Setting up libgl1-amdgpu-mesa-dri:i386 (1:20.0.5-1098277) ...
Setting up libosmesa6-amdgpu:amd64 (1:20.0.5-1098277) ...
Setting up libosmesa6-amdgpu:i386 (1:20.0.5-1098277) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:20.0.5-1098277) ...
Setting up libegl1-amdgpu-mesa-drivers:i386 (1:20.0.5-1098277) ...
Setting up amdgpu-lib (20.20-1098277) ...
Setting up amdgpu-lib32 (20.20-1098277) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
E: Sub-process /usr/bin/dpkg returned an error code (1)

我不知道这是否是我首先应该安装的。

非常感谢您的帮助!

相关内容