programming

[ubuntu]nvidia 그래픽 드라이버 관련 문제

Mysteryu 2022. 8. 5. 14:53

우분투를 포맷하고 다시 설치한 후 그래픽 드라이버를 설치하고 나면 해상도가 고정되고

 

$ nvidia-smi 입력 시 제대로 출력되지 않는 문제가 발생하였다.

 

원인은 커널 버전에 따른 오류 라고 보고 있으나 확실하진 않고

 

https://forums.developer.nvidia.com/t/ubuntu-20-04-4-hp-zbook-studio-g8-mobile-workstation-driver-fails/208836/3

 

Ubuntu 20.04.4 - HP ZBook Studio G8 Mobile WorkStation - driver fails

Hi @generix Many thanks for your solution, after 2 days now the driver work :) By the way, I tried with the following kernels (5.8.0.50, 5.11.0.44, 5.15.0.23) but they don’t recognize the wifi and the touchpad. Finally, I installed the 5.10.0-1044-oem ke

forums.developer.nvidia.com

위에서 나온 사이트를 참고하여 nouveau 드라이버를 Blacklist에 추가하고

 

$ sudo apt purge nvidia-*

$ sudo apt autoremove

 

를 입력한 후

 

& ubuntu-drivers devices

 

입력 후 추천하는 그래픽 드라이버를 설치한 후에 해상도가 고정되는 문제가 해결되었고

 

nvidia-smi 입력 시 출력도 정상적으로 바뀌었다.

 

다만 우분투 부팅 시 제대로 부팅이 되지 않는다고 느껴지기 때문에 중요한 데이터는 따로 저장해야겠다.