AMD GPU 드라이버 설치 문제!

AMD GPU 드라이버 설치 문제!

우분투 메이트 20.04.3 LTS 6600XT GPU

오래된 GPU를 새 GPU로 교체하고 진짜 장애물이 생겼습니다.

우분투 20.04.3 파일에 적합한 21.40.2를 다운로드했습니다.여기

따라온 길여기

심지어 프로 패키지도 받았어요여기에서 추출 방법을 따랐습니다.

업데이트, 배포판 업그레이드, 재부팅 및.... 아무것도 실행하지 않았습니다. HDMI를 GPU에 연결하면 비디오가 출력되지 않습니다.

소프트웨어 및 업데이트를 확인했는데 독점 드라이버가 확인되었습니다. 추가 드라이버를 확인하면 아무것도 표시되지 않습니다.

달리기

  lspci -k | grep -A 2 -i "VGA"  

시스템이 적절한 GPU가 있음을 인식했음을 보여줍니다.

달리기

  sudo ubuntu-drivers devices 

아무것도 반환하지 않음

amdgpu-install 및 amdgpu-pro-install 출력 실행:

  user@user-LinuxDesktop:~/Desktop/amdgpu-pro-20.20-1098277-ubuntu-20.04$ ./amdgpu-install -y
  [sudo] password for user: 
  deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
  Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
  Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
  Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
  Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
  Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
  Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
  Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease
  Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Hit:8 https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal InRelease            
  Hit:9 https://repo.radeon.com/rocm/apt/4.5.2 ubuntu InRelease                  
  Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease              
  Hit:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal InRelease
  Reading package lists... Done                 
  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
  user@user-LinuxDesktop:~/Desktop/amdgpu-pro-20.20-1098277-ubuntu-20.04$ ./amdgpu-pro-install -y
  deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
  Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
  Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease       
  Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B] 
  Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
  Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg            
  Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg       
  Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease 
  Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Hit:6 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Hit:7 https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal InRelease            
  Hit:8 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease               
  Hit:10 https://repo.radeon.com/rocm/apt/4.5.2 ubuntu InRelease                 
  Hit:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal InRelease
  Reading package lists... Done
  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

하지만 dpkg -l amdgpu로 확인하면 amdgpu는 확인되지만 amdgpu-pro는 확인되지 않습니다.

업데이트하고 업그레이드하고 재부팅했는데 GPU를 활성화할 수 없고 여전히 추가 드라이버 아래에 표시되지 않습니다.

이견있는 사람?

답변1

이것은 내 설정에 효과적이었습니다. 아마도 이것은 다른 사람에게 도움이 될 것입니다.

운영체제:우분투 20.04(듀얼 부팅)우분투 스튜디오 21.04

판자:ASUS Tuf 게이밍 B550M-Plus

CPU:AMD Ryzen 9 5900x 12코어, 24스레드

RAM: 커세어 벤전스 2x32GBCMK64GX4M2D3600C18

제도법:XFX 라데온 RX 6600XT

이미 이전 버전이 있거나 실패한 시도가 있는 경우


amdgpu-uninstall -y

필수적인재부팅


sudo reboot

일부 패키지 업데이트 및 설치


sudo apt update && sudo apt install git clinfo darktable -y

(선택 사항) AMD 디렉터리 만들기


mkdir amd

자식 클론 펌웨어


cd amd && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git && cd

펌웨어를 복사하세요.


sudo cp ~/amd/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v && sudo apt update

최근 소식을 받아보세요Radeon RX 6600xt용 AMD 드라이버


wget -P ~/amd/ https://repo.radeon.com/amdgpu-install/21.50.2/ubuntu/focal/amdgpu-install_21.50.2.50002-1_all.deb

방금 다운로드한 파일을 설치하세요.


cd amd && sudo apt install -y ./amdgpu-install_21.50.2.50002-1_all.deb && cd && sudo apt update

드라이버 설치(사용 사례에 따라 옵션 --flags 확인)


amdgpu-install -y --accept-eula --opencl=rocr,legacy --usecase=graphics,opencl

비디오 및 렌더 그룹에 자신을 추가하십시오.


sudo apt update && sudo usermod -aG video $USER && sudo usermod -aG render $USER

필수적인재부팅


sudo reboot

재부팅 후 다음을 실행합니다.


clinfo -l

또는 더 장황한


clinfo

Darktable도 확인해 보세요.


darktable-cltest

좋은 얘기네요.

관련 정보