AMD GPU 공식드라이버 설치하기 (RHEL8/centos8/rockylinux8)
개요
- 날짜 : 2022.06
- OS : rockylinux-8.6
- 드라이버버전 : amdgpu-core-22.10.3.50103
파일 다운로드 및 설치
https://repo.radeon.com/amdgpu-install/
무턱대고 latest 에서 받으면 안됨
2022.06.11 기준 latest 하단에는 rhel-8.6 디렉토리가 없어서
최신버전의 rhel은 설치가 되지 않음
https://repo.radeon.com/amdgpu-install/22.10.3/
여기로 가야 8.6 디렉토리가 있으며
또한 amdgpu-install 의 버전이 latest 보다 높은것이 있었음
amd측에서 패키지 관리를 제대로 안하는듯
파일 설치
dnf install amdgpu-install-22.10.3.50103-1420322.el8.noarch
패키지 설치
# amdgpu-install amdgpu-core-22.10.3.50103-1420322.el8.noarch rocm-core-5.1.3.50103-66.el8.x86_64 llvm-amdgpu-libs-1:13.0.50103-1420322.el8.x86_64 mesa-amdgpu-libglapi-1:22.0.0.50103-1420322.el8.x86_64 comgr-2.4.0.50103-66.el8.x86_64 libwayland-amdgpu-server-1.19.0.50103-1420322.el8.x86_64 mesa-amdgpu-filesystem-1:22.0.0.50103-1420322.el8.x86_64 clang-resource-filesystem-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 libdrm-amdgpu-common-1.0.0.50103-1420322.el8.noarch libdrm-amdgpu-1:2.4.109.50103-1420322.el8.x86_64 mesa-amdgpu-libgbm-1:22.0.0.50103-1420322.el8.x86_64 hsakmt-roct-devel-20220128.1.7.50103-66.el8.x86_64 hsa-rocr-1.5.0.50103-66.el8.x86_64 rocminfo-5.0.0-2.el8.x86_64 libwayland-amdgpu-client-1.19.0.50103-1420322.el8.x86_64 mesa-amdgpu-libEGL-1:22.0.0.50103-1420322.el8.x86_64 hsa-rocr-devel-1.5.0.50103-66.el8.x86_64 xorg-x11-amdgpu-drv-amdgpu-1:24.1.0-1420322.el8.x86_64 mesa-amdgpu-dri-drivers-1:22.0.0.50103-1420322.el8.x86_64 mesa-amdgpu-libGL-1:22.0.0.50103-1420322.el8.x86_64 mesa-amdgpu-libxatracker-1:22.0.0.50103-1420322.el8.x86_64 mesa-amdgpu-vdpau-drivers-1:22.0.0.50103-1420322.el8.x86_64 compiler-rt-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 libomp-devel-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 libomp-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 clang-libs-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 clang-13.0.1-1.module+el8.6.0+825+7e27476a.x86_64 rocm-device-libs-5.0.2-1.el8.x86_64 rocm-language-runtime-5.1.3.50103-66.el8.x86_64 rocm-llvm-14.0.0.22114.50103-66.el8.x86_64 hip-runtime-amd-5.1.20532.50103-66.el8.x86_64 rocm-ocl-icd-2.0.0.50103-66.el8.x86_64 rocm-opencl-2.0.0.50103-66.el8.x86_64 libwayland-amdgpu-egl-1.19.0.50103-1420322.el8.x86_64 dkms-3.0.3-1.el8.noarch amdgpu-dkms-firmware-1:5.13.20.22.10.50103-1420322.el8.noarch mokutil-1:0.3.0-11.el8.x86_64 amdgpu-dkms-1:5.13.20.22.10.50103-1420322.el8.noarch
패키지 제거
# amdgpu-uninstall 종속성이 해결되었습니다. ================================================================================================================================================================================================================================================================================ 꾸러미 구조 버전 레포지터리 크기 ================================================================================================================================================================================================================================================================================ 삭제 중: amdgpu-core noarch 21.40.1.40501-1337797.el8 @amdgpu 0 amdgpu-dkms noarch 1:5.11.32.40501-1337797.el8 @amdgpu 263 M amdgpu-dkms-firmware noarch 1:5.11.32.40501-1337797.el8 @amdgpu 57 M rocm-core x86_64 4.5.1.40501-84.el8 @rocm 102 종속 꾸러미지 제거: amdgpu-lib x86_64 21.40.1.40501-1337797.el8 @amdgpu 0 libdrm-amdgpu x86_64 1:2.4.107.40501-1337797.el8 @amdgpu 230 k libwayland-amdgpu-client x86_64 1.18.0.40501-1337797.el8 @amdgpu 77 k libwayland-amdgpu-egl x86_64 1.18.0.40501-1337797.el8 @amdgpu 9.4 k libwayland-amdgpu-server x86_64 1.18.0.40501-1337797.el8 @amdgpu 102 k mesa-amdgpu-libEGL x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 324 k mesa-amdgpu-libGL x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 560 k mesa-amdgpu-libGLES x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 55 k mesa-amdgpu-libgbm x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 70 k mesa-amdgpu-libglapi x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 307 k mesa-amdgpu-libxatracker x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 8.9 M rocm-hip-runtime x86_64 4.5.1.40501-84.el8 @rocm 9 rocm-opencl-runtime x86_64 4.5.1.40501-84.el8 @rocm 9 사용하지 않는 종속 꾸러미 제거: clang x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 180 k clang-libs x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 112 M clang-resource-filesystem x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 0 comgr x86_64 2.1.0.40501-84.el8 @rocm 105 M compiler-rt x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 43 M dkms noarch 3.0.3-1.el8 @epel 148 k hip-runtime-amd x86_64 4.4.21432.40501-84.el8 @rocm 12 M hsa-rocr x86_64 1.4.0.40501-84.el8 @rocm 2.9 M hsa-rocr-devel x86_64 1.4.0.40501-84.el8 @rocm 486 k hsakmt-roct-devel x86_64 20210902.7.5.40501-84.el8 @rocm 343 k libdrm-amdgpu-common noarch 1.0.0.40501-1337797.el8 @amdgpu 8.8 k libomp x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 2.9 M libomp-devel x86_64 13.0.1-1.module+el8.6.0+825+7e27476a @appstream 179 k llvm-amdgpu-libs x86_64 1:12.0.40501-1337797.el8 @amdgpu 71 M mesa-amdgpu-dri-drivers x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 39 M mesa-amdgpu-filesystem x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 0 mesa-amdgpu-vdpau-drivers x86_64 1:21.3.0.40501-1337797.el8 @amdgpu 14 M rocm-device-libs x86_64 5.0.2-1.el8 @epel 3.3 M rocm-language-runtime x86_64 4.5.1.40501-84.el8 @rocm 9 rocm-llvm x86_64 13.0.0.21432.40501-84.el8 @rocm 2.4 G rocm-opencl x86_64 2.0.0.40501-84.el8 @rocm 1.4 M rocminfo x86_64 5.0.0-2.el8 @epel 58 k xorg-x11-amdgpu-drv-amdgpu x86_64 1:24.1.0-1337797.el8 @amdgpu 221 k 연결 요약 ================================================================================================================================================================================================================================================================================ 삭제 40 꾸러미 사용 가능한 공간 : 3.1 G 진행 할 까요? [y/N]:
드라이버 업데이트
amdgpu-uninstall dnf remove amdgpu-install-21.40.1.40501 dnf install amdgpu-install-22.10.50100-1.el8.noarch.rpm amdgpu-install