Centos 7 安装nvidia显卡驱动

若如初见. 提交于 2019-12-04 08:42:16

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!