Debian 13 trixie

NVIDIA : Install Graphic Driver2025/10/02

 

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/ trixie main non-free-firmware  contrib non-free
deb http://security.debian.org/debian-security trixie-security main non-free-firmware  contrib non-free
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware  contrib non-free
deb http://deb.debian.org/debian/ trixie-backports main non-free-firmware  contrib non-free

root@dlp:~#
apt update

root@dlp:~#
apt -y install nvidia-driver firmware-misc-nonfree linux-headers-$(uname -r) 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:~#
# verify installation to show Graphic cards status

root@dlp:~#
nvidia-smi

Wed Oct  1 00:36:00 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.163.01             Driver Version: 550.163.01     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        On  |   00000000:05:00.0 Off |                  N/A |
|  0%   45C    P8             10W /  170W |       2MiB /  12288MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

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