Centos 7 安裝nvidia顯卡驅動


----系統版本: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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM