centos8.1安装amd显卡驱动操作记录

文章目录

  • 问题描述
  • 问题分析
  • 问题解决

问题描述

开机第一行显示如下:

[ 1.988263]radeon 0000:01:00.0:failed VCE resume(-110).

问题分析

这是AMD显卡驱动没有装好,导致的显卡模块加载错误的问题。
前往AMD官网下载linux显卡驱动。
下载链接https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-20-unified

问题解决

下载完驱动后,解压,安装,记录如下:

[10:38 rliu@study amdgpu-pro-19.20-812932-rhel-8]$./amdgpu-install
[sudo] rliu 的密码:
[amdgpu-pro-local]
Name=AMD amdgpu Pro local repository
baseurl=file:///var/opt/amdgpu-pro-local
enabled=1
gpgcheck=0

Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
仓库 ‘amdgpu-pro-local’ 在配置文件中的名称丢失,使用 ID 代替。
amdgpu-pro-local 59 MB/s | 61 kB 00:00
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
安装:
amdgpu-pro-versionlist x86_64 19.20-812932.el8 amdgpu-pro-local 7.4 k

事务概要
================================================================================
安装 1 软件包

总计:7.4 k
安装大小:7.4 k
确定吗?[y/N]: y
下载软件包:
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : amdgpu-pro-versionlist-19.20-812932.el8.x86_64 1/1
验证 : amdgpu-pro-versionlist-19.20-812932.el8.x86_64 1/1

已安装:
amdgpu-pro-versionlist-19.20-812932.el8.x86_64

完毕!
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
仓库 ‘amdgpu-pro-local’ 在配置文件中的名称丢失,使用 ID 代替。
上次元数据过期检查:0:00:08 前,执行于 2020年02月20日 星期四 10时38分59秒。
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
安装:
amdgpu-dkms noarch 19.20-812932.el8 amdgpu-pro-local 9.0 M
amdgpu x86_64 19.20-812932.el8 amdgpu-pro-local 6.3 k
安装依赖关系:
elfutils-libelf-devel x86_64 0.176-5.el8 base 54 k
zlib-devel x86_64 1.2.11-10.el8 base 56 k
amdgpu-core noarch 19.20-812932.el8 amdgpu-pro-local 8.1 k
libdrm-amdgpu-common noarch 1.0.0-812932.el8 amdgpu-pro-local 8.3 k
amdgpu-lib x86_64 19.20-812932.el8 amdgpu-pro-local 7.0 k
libdrm-amdgpu x86_64 1:2.4.97-812932.el8 amdgpu-pro-local 72 k
libwayland-amdgpu-client x86_64 1.15.0-812932.el8 amdgpu-pro-local 50 k
libwayland-amdgpu-egl x86_64 1.15.0-812932.el8 amdgpu-pro-local 12 k
libwayland-amdgpu-server x86_64 1.15.0-812932.el8 amdgpu-pro-local 65 k
llvm-amdgpu-libs x86_64 1:7.1-812932.el8 amdgpu-pro-local 13 M
mesa-amdgpu-dri-drivers x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 8.4 M
mesa-amdgpu-filesystem x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 6.7 k
mesa-amdgpu-libEGL x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 113 k
mesa-amdgpu-libGL x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 166 k
mesa-amdgpu-libGLES x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 18 k
mesa-amdgpu-libOSMesa x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 3.2 M
mesa-amdgpu-libgbm x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 30 k
mesa-amdgpu-libglapi x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 37 k
mesa-amdgpu-libxatracker x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 1.0 M
mesa-amdgpu-vdpau-drivers x86_64 1:18.3.0-812932.el8 amdgpu-pro-local 2.2 M
xorg-x11-amdgpu-drv-amdgpu x86_64 1:19.0.1-812932.el8 amdgpu-pro-local 71 k
dkms noarch 2.7.1-2.el8 epel 79 k

事务概要
================================================================================
安装 24 软件包

总计:38 M
总下载:189 k
安装大小:38 M
确定吗?[y/N]: y
下载软件包:
(1/3): elfutils-libelf-devel-0.176-5.el8.x86_64 130 kB/s | 54 kB 00:00
(2/3): zlib-devel-1.2.11-10.el8.x86_64.rpm 127 kB/s | 56 kB 00:00
(3/3): dkms-2.7.1-2.el8.noarch.rpm 178 kB/s | 79 kB 00:00
--------------------------------------------------------------------------------
总计 424 kB/s | 189 kB 00:00
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
运行脚本: amdgpu-core-19.20-812932.el8.noarch 1/24
安装 : amdgpu-core-19.20-812932.el8.noarch 1/24
运行脚本: amdgpu-core-19.20-812932.el8.noarch 1/24
安装 : mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 2/24
运行脚本: mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 2/24
安装 : llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 3/24
运行脚本: llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 3/24
安装 : libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 4/24
运行脚本: libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 4/24
安装 : mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64 5/24
安装 : libdrm-amdgpu-common-1.0.0-812932.el8.noarch 6/24
安装 : libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 7/24
运行脚本: libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 7/24
安装 : mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 8/24
运行脚本: mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 8/24
安装 : libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 9/24
运行脚本: libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 9/24
安装 : mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 10/24
运行脚本: mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 10/24
安装 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64 11/24
安装 : mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 12/24
运行脚本: mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 12/24
安装 : mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 13/24
运行脚本: mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 13/24
安装 : mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 14/24
运行脚本: mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 14/24
安装 : mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64 15/24
安装 : mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 16/24
运行脚本: mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 16/24
安装 : mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 17/24
运行脚本: mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 17/24
安装 : libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 18/24
运行脚本: libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 18/24
安装 : amdgpu-lib-19.20-812932.el8.x86_64 19/24
安装 : zlib-devel-1.2.11-10.el8.x86_64 20/24
安装 : elfutils-libelf-devel-0.176-5.el8.x86_64 21/24
安装 : dkms-2.7.1-2.el8.noarch 22/24
运行脚本: dkms-2.7.1-2.el8.noarch 22/24
运行脚本: amdgpu-dkms-19.20-812932.el8.noarch 23/24
安装 : amdgpu-dkms-19.20-812932.el8.noarch 23/24
运行脚本: amdgpu-dkms-19.20-812932.el8.noarch 23/24
Loading new amdgpu-19.20-812932.el8 DKMS files…
Building for 4.18.0-147.el8.x86_64
Building initial module for 4.18.0-147.el8.x86_64
Error! Bad return status for module build on kernel: 4.18.0-147.el8.x86_64 (x86_64)
Consult /var/lib/dkms/amdgpu/19.20-812932.el8/build/make.log for more information.
警告:%post(amdgpu-dkms-0:19.20-812932.el8.noarch) 脚本执行失败,退出状态码为 10

Error in POSTIN scriptlet in rpm package amdgpu-dkms
安装 : amdgpu-19.20-812932.el8.x86_64 24/24
运行脚本: amdgpu-19.20-812932.el8.x86_64 24/24
验证 : elfutils-libelf-devel-0.176-5.el8.x86_64 1/24
验证 : zlib-devel-1.2.11-10.el8.x86_64 2/24
验证 : amdgpu-core-19.20-812932.el8.noarch 3/24
验证 : amdgpu-dkms-19.20-812932.el8.noarch 4/24
验证 : libdrm-amdgpu-common-1.0.0-812932.el8.noarch 5/24
验证 : amdgpu-19.20-812932.el8.x86_64 6/24
验证 : amdgpu-lib-19.20-812932.el8.x86_64 7/24
验证 : libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 8/24
验证 : libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 9/24
验证 : libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 10/24
验证 : libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 11/24
验证 : llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 12/24
验证 : mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 13/24
验证 : mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64 14/24
验证 : mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 15/24
验证 : mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 16/24
验证 : mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 17/24
验证 : mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 18/24
验证 : mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 19/24
验证 : mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 20/24
验证 : mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 21/24
验证 : mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64 22/24
验证 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64 23/24
验证 : dkms-2.7.1-2.el8.noarch 24/24

已安装:
amdgpu-dkms-19.20-812932.el8.noarch
amdgpu-19.20-812932.el8.x86_64
elfutils-libelf-devel-0.176-5.el8.x86_64
zlib-devel-1.2.11-10.el8.x86_64
amdgpu-core-19.20-812932.el8.noarch
libdrm-amdgpu-common-1.0.0-812932.el8.noarch
amdgpu-lib-19.20-812932.el8.x86_64
libdrm-amdgpu-1:2.4.97-812932.el8.x86_64
libwayland-amdgpu-client-1.15.0-812932.el8.x86_64
libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64
libwayland-amdgpu-server-1.15.0-812932.el8.x86_64
llvm-amdgpu-libs-1:7.1-812932.el8.x86_64
mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64
xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64
dkms-2.7.1-2.el8.noarch

完毕!
WARNING: amdgpu dkms failed for running kernel

注意看最后一句,还是没有安装成功。
百度一下,原来是19.20版驱动有bug,且并不支持centos8.1系统,需要更新的驱动程序,修改下载链接,下载19.50版驱动:https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-50-unified
重新安装。
卸载原驱动:

[12:21 rliu@study amdgpu-pro-19.50-967956-rhel-8.1]$./amdgpu-install -y
[sudo] rliu 的密码:
[amdgpu-pro-local]
name=AMD amdgpu Pro local repository
baseurl=file:///var/opt/amdgpu-pro-local
enabled=1
gpgcheck=0

The amdgpu driver is already installed or was not uninstalled correctly.
Please fully uninstall the driver before proceeding with installation
You can try running the amdgpu-uninstall or amdgpu-pro-uninstall script
present in /usr/bin to clean up the previous installation
[12:22 rliu@study amdgpu-pro-19.50-967956-rhel-8.1]$amdgpu-uninstall
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
模块依赖问题

问题 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020191114030811:073fa5fe-0.x86_64
问题 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64
问题 3: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
移除:
amdgpu-core noarch 19.20-812932.el8 @amdgpu-pro-local 0
移除依赖的软件包:
amdgpu x86_64 19.20-812932.el8 @amdgpu-pro-local 0
libdrm-amdgpu x86_64 1:2.4.97-812932.el8 @amdgpu-pro-local 235 k
libwayland-amdgpu-client x86_64 1.15.0-812932.el8 @amdgpu-pro-local 131 k
libwayland-amdgpu-egl x86_64 1.15.0-812932.el8 @amdgpu-pro-local 13 k
libwayland-amdgpu-server x86_64 1.15.0-812932.el8 @amdgpu-pro-local 178 k
mesa-amdgpu-libEGL x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 303 k
mesa-amdgpu-libGL x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 570 k
mesa-amdgpu-libGLES x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 55 k
mesa-amdgpu-libgbm x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 66 k
mesa-amdgpu-libglapi x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 268 k
mesa-amdgpu-libxatracker x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 3.3 M
清除未被使用的依赖关系:
amdgpu-dkms noarch 19.20-812932.el8 @amdgpu-pro-local 137 M
amdgpu-lib x86_64 19.20-812932.el8 @amdgpu-pro-local 0
dkms noarch 2.7.1-2.el8 @epel 219 k
elfutils-libelf-devel x86_64 0.176-5.el8 @base 32 k
libdrm-amdgpu-common noarch 1.0.0-812932.el8 @amdgpu-pro-local 7.0 k
llvm-amdgpu-libs x86_64 1:7.1-812932.el8 @amdgpu-pro-local 49 M
mesa-amdgpu-dri-drivers x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 27 M
mesa-amdgpu-filesystem x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 0
mesa-amdgpu-libOSMesa x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 11 M
mesa-amdgpu-vdpau-drivers x86_64 1:18.3.0-812932.el8 @amdgpu-pro-local 7.0 M
xorg-x11-amdgpu-drv-amdgpu x86_64 1:19.0.1-812932.el8 @amdgpu-pro-local 221 k
zlib-devel x86_64 1.2.11-10.el8 @base 138 k

事务概要
================================================================================
移除 24 软件包

将会释放空间:237 M
确定吗?[y/N]: y
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
运行脚本: amdgpu-19.20-812932.el8.x86_64 1/1
删除 : amdgpu-19.20-812932.el8.x86_64 1/24
删除 : amdgpu-lib-19.20-812932.el8.x86_64 2/24
运行脚本: amdgpu-dkms-19.20-812932.el8.noarch 3/24

------------------------------
Deleting module version: 19.20-812932.el8
completely from the DKMS tree.
------------------------------
Done.

删除 : amdgpu-dkms-19.20-812932.el8.noarch 3/24
运行脚本: mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 4/24
删除 : mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 4/24
删除 : mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 5/24
运行脚本: mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 5/24
删除 : mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64 6/24
删除 : mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 7/24
运行脚本: mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 7/24
删除 : mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 8/24
运行脚本: mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 8/24
删除 : mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 9/24
运行脚本: mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 9/24
删除 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64 10/24
删除 : mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 11/24
运行脚本: mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 11/24
删除 : libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 12/24
运行脚本: libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 12/24
删除 : mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 13/24
运行脚本: mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 13/24
删除 : libdrm-amdgpu-common-1.0.0-812932.el8.noarch 14/24
删除 : mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64 15/24
运行脚本: dkms-2.7.1-2.el8.noarch 16/24
删除 : dkms-2.7.1-2.el8.noarch 16/24
运行脚本: dkms-2.7.1-2.el8.noarch 16/24
删除 : elfutils-libelf-devel-0.176-5.el8.x86_64 17/24
删除 : mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 18/24
运行脚本: mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 18/24
删除 : libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 19/24
运行脚本: libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 19/24
删除 : llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 20/24
运行脚本: llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 20/24
删除 : libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 21/24
运行脚本: libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 21/24
删除 : libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 22/24
运行脚本: libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 22/24
删除 : amdgpu-core-19.20-812932.el8.noarch 23/24
运行脚本: amdgpu-core-19.20-812932.el8.noarch 23/24
删除 : zlib-devel-1.2.11-10.el8.x86_64 24/24
运行脚本: zlib-devel-1.2.11-10.el8.x86_64 24/24
验证 : amdgpu-19.20-812932.el8.x86_64 1/24
验证 : amdgpu-core-19.20-812932.el8.noarch 2/24
验证 : amdgpu-dkms-19.20-812932.el8.noarch 3/24
验证 : amdgpu-lib-19.20-812932.el8.x86_64 4/24
验证 : dkms-2.7.1-2.el8.noarch 5/24
验证 : elfutils-libelf-devel-0.176-5.el8.x86_64 6/24
验证 : libdrm-amdgpu-1:2.4.97-812932.el8.x86_64 7/24
验证 : libdrm-amdgpu-common-1.0.0-812932.el8.noarch 8/24
验证 : libwayland-amdgpu-client-1.15.0-812932.el8.x86_64 9/24
验证 : libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64 10/24
验证 : libwayland-amdgpu-server-1.15.0-812932.el8.x86_64 11/24
验证 : llvm-amdgpu-libs-1:7.1-812932.el8.x86_64 12/24
验证 : mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64 13/24
验证 : mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64 14/24
验证 : mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64 15/24
验证 : mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64 16/24
验证 : mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64 17/24
验证 : mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64 18/24
验证 : mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64 19/24
验证 : mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64 20/24
验证 : mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64 21/24
验证 : mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64 22/24
验证 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64 23/24
验证 : zlib-devel-1.2.11-10.el8.x86_64 24/24

已移除:
amdgpu-core-19.20-812932.el8.noarch
amdgpu-19.20-812932.el8.x86_64
libdrm-amdgpu-1:2.4.97-812932.el8.x86_64
libwayland-amdgpu-client-1.15.0-812932.el8.x86_64
libwayland-amdgpu-egl-1.15.0-812932.el8.x86_64
libwayland-amdgpu-server-1.15.0-812932.el8.x86_64
mesa-amdgpu-libEGL-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libGL-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libGLES-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libgbm-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libglapi-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libxatracker-1:18.3.0-812932.el8.x86_64
amdgpu-dkms-19.20-812932.el8.noarch
amdgpu-lib-19.20-812932.el8.x86_64
dkms-2.7.1-2.el8.noarch
elfutils-libelf-devel-0.176-5.el8.x86_64
libdrm-amdgpu-common-1.0.0-812932.el8.noarch
llvm-amdgpu-libs-1:7.1-812932.el8.x86_64
mesa-amdgpu-dri-drivers-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-filesystem-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-libOSMesa-1:18.3.0-812932.el8.x86_64
mesa-amdgpu-vdpau-drivers-1:18.3.0-812932.el8.x86_64
xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-812932.el8.x86_64
zlib-devel-1.2.11-10.el8.x86_64

完毕!
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
模块依赖问题

问题 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020191114030811:073fa5fe-0.x86_64
问题 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64
问题 3: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
移除:
amdgpu-pro-versionlist x86_64 19.20-812932.el8 @amdgpu-pro-local 2.6 k

事务概要
================================================================================
移除 1 软件包

将会释放空间:2.6 k
确定吗?[y/N]: y
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
删除 : amdgpu-pro-versionlist-19.20-812932.el8.x86_64 1/1
验证 : amdgpu-pro-versionlist-19.20-812932.el8.x86_64 1/1

已移除:
amdgpu-pro-versionlist-19.20-812932.el8.x86_64

完毕!
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
缓存已过期
56 文件已删除

然后安装新驱动

[12:23 rliu@study amdgpu-pro-19.50-967956-rhel-8.1]$./amdgpu-install -y
[amdgpu-pro-local]
name=AMD amdgpu Pro local repository
baseurl=file:///var/opt/amdgpu-pro-local
enabled=1
gpgcheck=0

Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
CentOS-8 - AppStream 323 kB/s | 6.4 MB 00:20
CentOS-8 - Base - mirrors.aliyun.com 458 kB/s | 5.0 MB 00:11
CentOS-8 - Extras - mirrors.aliyun.com 7.9 kB/s | 2.1 kB 00:00
AMD amdgpu Pro local repository 61 MB/s | 62 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 278 kB/s | 5.8 MB 00:21
google-chrome 6.1 kB/s | 3.5 kB 00:00
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
安装:
amdgpu-pro-versionlist x86_64 19.50-967956.el8 amdgpu-pro-local 7.4 k

事务概要
================================================================================
安装 1 软件包

总计:7.4 k
安装大小:7.4 k
下载软件包:
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : amdgpu-pro-versionlist-19.50-967956.el8.x86_64 1/1
验证 : amdgpu-pro-versionlist-19.50-967956.el8.x86_64 1/1

已安装:
amdgpu-pro-versionlist-19.50-967956.el8.x86_64

完毕!
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
上次元数据过期检查:0:00:02 前,执行于 2020年02月20日 星期四 12时25分34秒。
依赖关系解决。
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
安装:
amdgpu-dkms noarch 19.50-967956.el8 amdgpu-pro-local 6.7 M
amdgpu x86_64 19.50-967956.el8 amdgpu-pro-local 6.3 k
安装依赖关系:
elfutils-libelf-devel x86_64 0.176-5.el8 base 54 k
zlib-devel x86_64 1.2.11-10.el8 base 56 k
amdgpu-core noarch 19.50-967956.el8 amdgpu-pro-local 8.1 k
amdgpu-dkms-firmware noarch 19.50-967956.el8 amdgpu-pro-local 6.6 M
dkms noarch 2.7.1-2.el8 amdgpu-pro-local 79 k
libdrm-amdgpu-common noarch 1.0.0-967956.el8 amdgpu-pro-local 8.4 k
amdgpu-lib x86_64 19.50-967956.el8 amdgpu-pro-local 7.0 k
libdrm-amdgpu x86_64 1:2.4.99-967956.el8 amdgpu-pro-local 85 k
libwayland-amdgpu-client x86_64 1.15.0-967956.el8 amdgpu-pro-local 50 k
libwayland-amdgpu-egl x86_64 1.15.0-967956.el8 amdgpu-pro-local 12 k
libwayland-amdgpu-server x86_64 1.15.0-967956.el8 amdgpu-pro-local 65 k
llvm-amdgpu-libs x86_64 1:9.0-967956.el8 amdgpu-pro-local 15 M
mesa-amdgpu-dri-drivers x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 9.5 M
mesa-amdgpu-filesystem x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 6.8 k
mesa-amdgpu-libEGL x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 118 k
mesa-amdgpu-libGL x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 168 k
mesa-amdgpu-libGLES x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 18 k
mesa-amdgpu-libOSMesa x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 3.6 M
mesa-amdgpu-libgbm x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 32 k
mesa-amdgpu-libglapi x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 38 k
mesa-amdgpu-libxatracker x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 1.1 M
mesa-amdgpu-vdpau-drivers x86_64 1:19.2.2-967956.el8 amdgpu-pro-local 2.6 M
xorg-x11-amdgpu-drv-amdgpu x86_64 1:19.0.1-967956.el8 amdgpu-pro-local 72 k

事务概要
================================================================================
安装 25 软件包

总计:46 M
总下载:110 k
安装大小:46 M
下载软件包:
(1/2): zlib-devel-1.2.11-10.el8.x86_64.rpm 150 kB/s | 56 kB 00:00
(2/2): elfutils-libelf-devel-0.176-5.el8.x86_64 91 kB/s | 54 kB 00:00
/-------------------------------------------------------------------------------
总计 185 kB/s | 110 kB 00:00
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
运行脚本: amdgpu-core-19.50-967956.el8.noarch 1/25
安装 : amdgpu-core-19.50-967956.el8.noarch 1/25
运行脚本: amdgpu-core-19.50-967956.el8.noarch 1/25
安装 : mesa-amdgpu-libglapi-1:19.2.2-967956.el8.x86_64 2/25
运行脚本: mesa-amdgpu-libglapi-1:19.2.2-967956.el8.x86_64 2/25
安装 : llvm-amdgpu-libs-1:9.0-967956.el8.x86_64 3/25
运行脚本: llvm-amdgpu-libs-1:9.0-967956.el8.x86_64 3/25
安装 : libwayland-amdgpu-server-1.15.0-967956.el8.x86_64 4/25
运行脚本: libwayland-amdgpu-server-1.15.0-967956.el8.x86_64 4/25
安装 : mesa-amdgpu-filesystem-1:19.2.2-967956.el8.x86_64 5/25
安装 : libdrm-amdgpu-common-1.0.0-967956.el8.noarch 6/25
安装 : libdrm-amdgpu-1:2.4.99-967956.el8.x86_64 7/25
运行脚本: libdrm-amdgpu-1:2.4.99-967956.el8.x86_64 7/25
安装 : mesa-amdgpu-libgbm-1:19.2.2-967956.el8.x86_64 8/25
运行脚本: mesa-amdgpu-libgbm-1:19.2.2-967956.el8.x86_64 8/25
安装 : libwayland-amdgpu-client-1.15.0-967956.el8.x86_64 9/25
运行脚本: libwayland-amdgpu-client-1.15.0-967956.el8.x86_64 9/25
安装 : mesa-amdgpu-libEGL-1:19.2.2-967956.el8.x86_64 10/25
运行脚本: mesa-amdgpu-libEGL-1:19.2.2-967956.el8.x86_64 10/25
安装 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-967956.el8.x86_64 11/25
安装 : mesa-amdgpu-dri-drivers-1:19.2.2-967956.el8.x86_64 12/25
运行脚本: mesa-amdgpu-dri-drivers-1:19.2.2-967956.el8.x86_64 12/25
安装 : mesa-amdgpu-libGL-1:19.2.2-967956.el8.x86_64 13/25
运行脚本: mesa-amdgpu-libGL-1:19.2.2-967956.el8.x86_64 13/25
安装 : mesa-amdgpu-libxatracker-1:19.2.2-967956.el8.x86_64 14/25
运行脚本: mesa-amdgpu-libxatracker-1:19.2.2-967956.el8.x86_64 14/25
安装 : mesa-amdgpu-vdpau-drivers-1:19.2.2-967956.el8.x86_64 15/25
运行脚本: mesa-amdgpu-vdpau-drivers-1:19.2.2-967956.el8.x86_64 15/25
安装 : mesa-amdgpu-libOSMesa-1:19.2.2-967956.el8.x86_64 16/25
运行脚本: mesa-amdgpu-libOSMesa-1:19.2.2-967956.el8.x86_64 16/25
安装 : mesa-amdgpu-libGLES-1:19.2.2-967956.el8.x86_64 17/25
运行脚本: mesa-amdgpu-libGLES-1:19.2.2-967956.el8.x86_64 17/25
安装 : amdgpu-dkms-firmware-19.50-967956.el8.noarch 18/25
安装 : libwayland-amdgpu-egl-1.15.0-967956.el8.x86_64 19/25
运行脚本: libwayland-amdgpu-egl-1.15.0-967956.el8.x86_64 19/25
安装 : amdgpu-lib-19.50-967956.el8.x86_64 20/25
安装 : zlib-devel-1.2.11-10.el8.x86_64 21/25
安装 : elfutils-libelf-devel-0.176-5.el8.x86_64 22/25
安装 : dkms-2.7.1-2.el8.noarch 23/25
运行脚本: dkms-2.7.1-2.el8.noarch 23/25
运行脚本: amdgpu-dkms-19.50-967956.el8.noarch 24/25
安装 : amdgpu-dkms-19.50-967956.el8.noarch 24/25
运行脚本: amdgpu-dkms-19.50-967956.el8.noarch 24/25
Loading new amdgpu-19.50-967956.el8 DKMS files…
Building for 4.18.0-147.el8.x86_64
Building initial module for 4.18.0-147.el8.x86_64
Done.
Forcing installation of amdgpu

amdgpu.ko.xz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.18.0-147.el8.x86_64/extra/

amdttm.ko.xz:
Running module version sanity check.
/- Original module
/- No original module exists within this kernel
/- Installation
/- Installing to /lib/modules/4.18.0-147.el8.x86_64/extra/

amdkcl.ko.xz:
Running module version sanity check.
/- Original module
/- No original module exists within this kernel
/- Installation
/- Installing to /lib/modules/4.18.0-147.el8.x86_64/extra/

amd-sched.ko.xz:
Running module version sanity check.
/- Original module
/- No original module exists within this kernel
/- Installation
/- Installing to /lib/modules/4.18.0-147.el8.x86_64/extra/
Adding any weak-modules

depmod…

Backing up initramfs-4.18.0-147.el8.x86_64.img to /boot/initramfs-4.18.0-147.el8.x86_64.img.old-dkms
Making new initramfs-4.18.0-147.el8.x86_64.img
(If next boot fails, revert to initramfs-4.18.0-147.el8.x86_64.img.old-dkms image)
dracut…

DKMS: install completed.

安装 : amdgpu-19.50-967956.el8.x86_64 25/25
运行脚本: amdgpu-19.50-967956.el8.x86_64 25/25
验证 : elfutils-libelf-devel-0.176-5.el8.x86_64 1/25
验证 : zlib-devel-1.2.11-10.el8.x86_64 2/25
验证 : amdgpu-core-19.50-967956.el8.noarch 3/25
验证 : amdgpu-dkms-19.50-967956.el8.noarch 4/25
验证 : amdgpu-dkms-firmware-19.50-967956.el8.noarch 5/25
验证 : dkms-2.7.1-2.el8.noarch 6/25
验证 : libdrm-amdgpu-common-1.0.0-967956.el8.noarch 7/25
验证 : amdgpu-19.50-967956.el8.x86_64 8/25
验证 : amdgpu-lib-19.50-967956.el8.x86_64 9/25
验证 : libdrm-amdgpu-1:2.4.99-967956.el8.x86_64 10/25
验证 : libwayland-amdgpu-client-1.15.0-967956.el8.x86_64 11/25
验证 : libwayland-amdgpu-egl-1.15.0-967956.el8.x86_64 12/25
验证 : libwayland-amdgpu-server-1.15.0-967956.el8.x86_64 13/25
验证 : llvm-amdgpu-libs-1:9.0-967956.el8.x86_64 14/25
验证 : mesa-amdgpu-dri-drivers-1:19.2.2-967956.el8.x86_64 15/25
验证 : mesa-amdgpu-filesystem-1:19.2.2-967956.el8.x86_64 16/25
验证 : mesa-amdgpu-libEGL-1:19.2.2-967956.el8.x86_64 17/25
验证 : mesa-amdgpu-libGL-1:19.2.2-967956.el8.x86_64 18/25
验证 : mesa-amdgpu-libGLES-1:19.2.2-967956.el8.x86_64 19/25
验证 : mesa-amdgpu-libOSMesa-1:19.2.2-967956.el8.x86_64 20/25
验证 : mesa-amdgpu-libgbm-1:19.2.2-967956.el8.x86_64 21/25
验证 : mesa-amdgpu-libglapi-1:19.2.2-967956.el8.x86_64 22/25
验证 : mesa-amdgpu-libxatracker-1:19.2.2-967956.el8.x86_64 23/25
验证 : mesa-amdgpu-vdpau-drivers-1:19.2.2-967956.el8.x86_64 24/25
验证 : xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-967956.el8.x86_64 25/25

已安装:
amdgpu-dkms-19.50-967956.el8.noarch
amdgpu-19.50-967956.el8.x86_64
elfutils-libelf-devel-0.176-5.el8.x86_64
zlib-devel-1.2.11-10.el8.x86_64
amdgpu-core-19.50-967956.el8.noarch
amdgpu-dkms-firmware-19.50-967956.el8.noarch
dkms-2.7.1-2.el8.noarch
libdrm-amdgpu-common-1.0.0-967956.el8.noarch
amdgpu-lib-19.50-967956.el8.x86_64
libdrm-amdgpu-1:2.4.99-967956.el8.x86_64
libwayland-amdgpu-client-1.15.0-967956.el8.x86_64
libwayland-amdgpu-egl-1.15.0-967956.el8.x86_64
libwayland-amdgpu-server-1.15.0-967956.el8.x86_64
llvm-amdgpu-libs-1:9.0-967956.el8.x86_64
mesa-amdgpu-dri-drivers-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-filesystem-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libEGL-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libGL-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libGLES-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libOSMesa-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libgbm-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libglapi-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-libxatracker-1:19.2.2-967956.el8.x86_64
mesa-amdgpu-vdpau-drivers-1:19.2.2-967956.el8.x86_64
xorg-x11-amdgpu-drv-amdgpu-1:19.0.1-967956.el8.x86_64

完毕!

重启,没有问题,搞定!

你可能感兴趣的:(linux)