----系統版本:CentOS Linux release 7.7.1908
----顯卡:P1000
1、添加ELRepo源
$ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
$rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
不同操作系統添加源請看此處
2、安裝顯卡檢測程序
$ yum install nvidia-detect
3、檢測顯卡
$ nvidia-detect -v
Probing for supported NVIDIA devices...
[10de:1cb1] NVIDIA Corporation GP107GL [Quadro P1000]
This device requires the current 430.40 NVIDIA driver kmod-nvidia
WARNING: Xorg log file /var/log/Xorg.0.log does not exist
WARNING: Unable to determine Xorg ABI compatibility
WARNING: The driver for this device does not support the current Xorg version
4、根據檢測的版本安裝顯卡驅動程序
$ yum install nvidia-x11-drv-430.40
版本號要一致
6、重啟,運行命令,查看狀態
$ nvidia-smi