Debian 12 bookworm
Sponsored Link

NVIDIA : Install Graphic Driver2023/07/14

 
If your Computer has NVIDIA Graphic cards, Install NVIDIA Graphic Driver to improve Graphics related performance.
[1] Install NVIDIA Driver.
After installing, restart the computer to switch to load default generic [nouveau] driver to new NVIDIA driver.
root@dlp:~#
vi /etc/apt/sources.list
# add [contrib], [non-free] to each line

deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
deb http://deb.debian.org/debian/ bookworm-backports main non-free-firmware contrib non-free

root@dlp:~#
LINUX_HEADERS=$(uname -r)

root@dlp:~#
apt update

root@dlp:~#
apt -y install nvidia-driver firmware-misc-nonfree linux-headers-$LINUX_HEADERS dkms
# default [nouveau] driver is disabled

root@dlp:~#
cat /etc/modprobe.d/nvidia-blacklists-nouveau.conf

# You need to run "update-initramfs -u" after editing this file.

# see #580894
blacklist nouveau

root@dlp:~#
reboot
# verify installation to show Graphic cards status

root@dlp:~#
nvidia-smi

Fri Jul 14 01:36:33 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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 ...  On   | 00000000:05:00.0 Off |                  N/A |
|  0%   54C    P0    27W / 120W |      1MiB /  6144MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

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