6. [Ubuntu 18.04] nvidia graphic driver 쉽게 설치하기!
[문제] unreal engine을 실행시키려는데, 그래픽 드라이버가 없어서 버퍼링이 심했다.
[해결방법]
1. Add NVIDIA package repositories
$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.243-1_amd64.deb
$ sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
$ sudo dpkg -i cuda-repo-ubuntu1804_10.1.243-1_amd64.deb
$ sudo apt-get update
$ wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
$ sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
$ sudo apt-get update
2. Install NVIDIA driver
$ sudo apt-get install --no-install-recommends nvidia-driver-450
**nvidia driver는 각자 가지고 있는 하드웨어 추천하는 드라이버로 설치하면 된다! 나는 450을 추천했다.
( $ ubuntu-drivers devices 로 확인 가능)
3. Reboot. Check that GPUs are visible using the command
$ nvidia-smi
설치완료~~~ 룰루랄라~~