CentOS Stream 10

NVIDIA : Install Graphic Driver2025/08/07

 

If your Computer has NVIDIA Graphic cards, Install NVIDIA Graphic Driver to improve Graphics related performance.

[1]

If you are using Desktop Environment, change to CUI login, refer to here.
It's OK to fall back to GUI login after finishing setting up Graphic Driver.

[2] Install required packages.
# enable EPEL to install dkms

[root@dlp ~]#
dnf --enablerepo=epel -y install kernel-devel-$(uname -r) kernel-headers-$(uname -r) dkms
# setup NVIDIA official repository

[root@dlp ~]#
dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cuda-rhel10.repo

Adding repo from: http://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cuda-rhel10.repo
[3] 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

07:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060] (rev a1)
# install driver

[root@dlp ~]#
dnf -y install nvidia-driver nvidia-driver-cuda
# load [nvidia] driver

[root@dlp ~]#
nvidia-modprobe && nvidia-modprobe -u
# restart if [nouveau] driver is loaded

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

[root@dlp ~]#
nvidia-smi

Thu Aug  7 11:37:24 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.65.06              Driver Version: 580.65.06      CUDA Version: 13.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 RTX 3060        Off |   00000000:07:00.0 Off |                  N/A |
| 30%   38C    P8              9W /  170W |       1MiB /  12288MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

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