联想Y9000P(3070Ti)双系统centos7安装nvidia显卡驱动
1.驱动下载地址:
https://www.nvidia.cn/geforce/drivers/
2.我选择的驱动
NVIDIA-Linux-x86_64-520.56.06.run
3.驱动安装
sh NVIDIA-Linux-x86_64-520.56.06.run --kernel-source-path=/usr/src/kernels/3.10.0-1160.88.1.el7.x86_64/ -k $(uname -r) -no-x-check
4.驱动安装完报错
[root@localhost ~]# nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
5.问题解决
(1)关闭启动安全模式
(2)将显卡混合模式修改为独立模式
6.卸载驱动重新安装
./NVIDIA-Linux-x86_64-520.56.06.run --uninstall
sh NVIDIA-Linux-x86_64-520.56.06.run --kernel-source-path=/usr/src/kernels/3.10.0-1160.88.1.el7.x86_64/ -k $(uname -r) -no-x-check
#安装过程中有错误提示,忽略直接安装即可。
7.安装完成