Set/Ubuntu Set

Install Nvidia driver (Ubuntu 20.04)

JungyunKim 2024. 10. 28. 11:29
반응형

1. Check the Graphics Card and Compatible Drivers for Installation.

ubuntu-drivers devices

2. Install nvidia-driver.

In my case, I will use "nvidia-driver-535"

sudo apt install <Driver Name (ex.nvidia-driver-535)>
sudo reboot

2-1. There is also an option for automatic installation. However, I prefer installing the version I want.

sudo ubuntu-drivers autoinstall
sudo reboot

2-2. Occasionally, I encounter an error message like this: 'I: The initramfs will attempt to resume from /dev/sda2 I: (UUID=7c562eed-5782-45e6-8acd-e99d2cb20d8e) I: Set the RESUME variable to override this.'

echo "RESUME=UUID=7c562eed-5782-45e6-8acd-e99d2cb20d8e" | sudo tee /etc/initramfs-tools/conf.d/resume
sudo update-initramfs -u -k all
reboot
반응형

'Set > Ubuntu Set' 카테고리의 다른 글

CPU 및 GPU 정보 확인  (0) 2024.10.30
Install CUDA  (0) 2024.10.28
conda 가상환경 설정  (0) 2024.10.28
Anaconda(Ubuntu 20.04)  (0) 2024.10.28
AnyDesk(Ubuntu 20.04)  (0) 2024.10.28