Ubuntu 18.04
Sponsored Link

Install NVIDIA Graphic Driver2018/05/23

 
If your Computer has NVIDIA Graphic cards, Install NVIDIA Graphic Driver to improve Graphics related performance.
[1] Disable nouveau driver which is loaded by default as general graphic driver.
root@dlp:~#
lsmod | grep nouveau

nouveau              1716224  0
mxm_wmi                16384  1 nouveau
wmi                    24576  2 mxm_wmi,nouveau
video                  40960  1 nouveau
i2c_algo_bit           16384  1 nouveau
ttm                   106496  1 nouveau
drm_kms_helper        167936  1 nouveau
drm                   401408  4 nouveau,ttm,drm_kms_helper

root@dlp:~#
vi /etc/modprobe.d/blacklist-nouveau.conf
# add to the end (create new if it does not exist)

blacklist nouveau
options nouveau modeset=0
root@dlp:~#
update-initramfs -u
root@dlp:~#
reboot
[2] NVIDIA Driver is provided on Ubuntu official repository easily with apt command.
Before installing, make sure the Driver Version for your Graphic Card on NVIDIA official site below.
⇒ https://www.nvidia.com/Download/index.aspx?lang=en
# confirm the cards on your computer

root@dlp:~#
lspci | grep VGA

03:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
# install the driver for your card

root@dlp:~#
apt -y install nvidia-driver-390
# verify installation to show Graphic cards' status

root@dlp:~#
nvidia-smi

Thu May 24 20:03:36 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.48                 Driver Version: 390.48                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:03:00.0 Off |                  N/A |
|  0%   52C    P5    13W / 120W |      0MiB /  6077MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
Matched Content