How to install Ubuntu NVidia Driver
우분투에 NVidia 설치하기. 우분투 버전마다 맞는 버전이 있음. 지금 19.04 사용중이미만 다 적용가능.
* 우분투 공식버전 설치
sudo ubuntu-drivers autoinstall
or if you know the version, Ubuntu 19.04 is v418
sudo apt install nvidia-driver-418
sudo reboot
https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-19-04-disco-dingo-linux
How to install the NVIDIA drivers on Ubuntu 19.04 Disco Dingo Linux - LinuxConfig.org
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ - requires given linux commands to be executed as a regular non-privileged user
linuxconfig.org
* NVidia.com에서 다운받아 최근것 설치하기
1. 자기 그래픽카드 버전 확인하고
$ lshw -numeric -C display
or
$ lspci -vnn | grep VGA
or
$ ubuntu-drivers devices
2. NVidia.com에서 최근버전 download받고
3. 필요한 패키지 설치하고, 이거 안하면 워닝/에러남. Warning/Error: Unable to find suitable destination to install 32-bit compatibility libraries
$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install build-essential libc6:i386
4. Disable old Nouveau Nvidia Driver
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo update-initramfs -u
sudo reboot
5. Stop Desktop Manager
sudo telinit 3
log into TTY1 session
sudo update-initramfs -u
sudo reboot
6. Install Nvidia Driver
sudo bash NVIDIA-Linux-x86_64-418.40.run
sudo reboot