Posts Ubuntu 18.04 install nvidia driver
Post
Cancel

Ubuntu 18.04 install nvidia driver

Nvidia driver install

1. Download ubuntu driver

1
sudo apt install -y ubuntu-drivers-common

2. Download & install nvidia graphic driver

1
2
3
4
5
6
7
8
9
10
11
12
13
14
ubuntu-drivers devices

== /sys/devices/pci0000:a0/0000:a0:00.0/0000:a1:00.0 ==
modalias : pci:v000010DEd00001E02sv000010DEsd000012A3bc03sc00i00
vendor   : NVIDIA Corporation
model    : TU102 [TITAN RTX]
driver   : nvidia-driver-470 - distro non-free recommended
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-460 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-495 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builti

b. Download & install driver

1
2
3
4
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

sudo apt install -y nvidia-driver-460 

c. Reboot

1
sudo reboot

d. Checked driver

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.106.00   Driver Version: 460.106.00   CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  TITAN RTX           Off  | 00000000:A1:00.0 Off |                  N/A |
| 41%   32C    P8     3W / 280W |      0MiB / 24220MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 208...  Off  | 00000000:C1:00.0 Off |                  N/A |
| 35%   38C    P8    21W / 250W |      0MiB / 11018MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
This post is licensed under CC BY 4.0 by the author.