Quadro P4000 显卡在 centos7 安装
官网下载对应 redhat 驱动: https://www.dell.com/support/home/cn/zh/cnbsd1/product-support/servicetag/2xhzrt2/drivers
执行:
[root@localhost ~]# sh NVIDIA-Linux-x86_64-396.37.run
出现如下报错:
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how
to correctly disable the Nouveau kernel driver.
解决方法:
[root@localhost ~]# cd /etc/modprobe.d/
[root@localhost modprobe.d]# ls
dccp-blacklist.conf firewalld-sysctls.conf tuned.conf
[root@localhost modprobe.d]# cp dccp-blacklist.conf blacklist.conf
[root@localhost modprobe.d]# vim blacklist.conf
# DCCP is considered a potential security liability: prevent socket layer
# from automatically loading related modules using their aliases
blacklist dccp
blacklist dccp_diag
blacklist dccp_ipv4
blacklist dccp_ipv6
blacklist nouveau
#添加此配置,把nouveau
加入黑名单
[root@localhost modprobe.d]# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak # #使用dracut重新建立 initramfs image file
[root@localhost modprobe.d]# dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
#使用dracut重新建立 initramfs image file #重新建立the initramfs file
reboot
重启
查看进程是否还有:
[root@localhost ~]# lsmod | grep nouveau
执行下一步:
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于