NVIDIA : Install Graphic Driver2024/06/21 |
If your Computer has NVIDIA Graphic cards, Install NVIDIA Graphic Driver to improve Graphics related performance. |
|
[1] | Disable [nouveau] driver that is loaded by default as generic graphic driver. |
root@dlp:~# lsmod | grep nouveau nouveau 3096576 0 mxm_wmi 12288 1 nouveau drm_gpuvm 45056 1 nouveau drm_exec 16384 2 drm_gpuvm,nouveau gpu_sched 61440 1 nouveau drm_display_helper 253952 1 nouveau i2c_algo_bit 16384 1 nouveau video 73728 1 nouveau wmi 32768 3 video,mxm_wmi,nouveau drm_ttm_helper 12288 3 bochs,drm_vram_helper,nouveau ttm 114688 3 drm_vram_helper,drm_ttm_helper,nouveau
root@dlp:~#
vi /etc/modprobe.d/blacklist-nouveau.conf # add to last line (create new if it does not exist)
blacklist nouveau
options nouveau modeset=0
root@dlp:~#
root@dlp:~# update-initramfs -u
reboot
|
[2] | NVIDIA Driver is provided on Ubuntu official repository. 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 00:01.0 VGA compatible controller: Device 1234:1111 (rev 02) 05:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060] (rev a1) # verify installation to show Graphic cards' status root@dlp:~# nvidia-smi Fri Jun 21 01:53:00 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.90.07 Driver Version: 550.90.07 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | 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 NVIDIA GeForce RTX 3060 Off | 00000000:05:00.0 Off | N/A | | 30% 40C P0 35W / 170W | 1MiB / 12288MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | No running processes found | +-----------------------------------------------------------------------------------------+ |
Sponsored Link |