centos7安装cuda9.0驱动出错

在CentOS7中安装CUDA9.0时遇到错误,提示Nouveau驱动与NVIDIA驱动不兼容。为解决此问题,需要查看并禁用Nouveau模块。首先查看当前加载的Nouveau模块,然后将其添加到黑名单配置文件中。接着,重建initramfs image文件,并重启服务器。完成这些步骤后,Nouveau模块将被禁用,CUDA9.0驱动安装可以顺利进行。
摘要由CSDN通过智能技术生成

执行安装出错

# sh cuda_9.0.176_384.81_linux.run 

Installing the NVIDIA display driver...

A system reboot is required to continue installation. Please reboot then run the installer again. An attmept has been made to disable Nouveau. If this message persists after reboot, please see the display driver log file at /var/log/nvidia-installer.log for more information.

 

查看日志信息

# cat /var/log/nvidia-installer.log

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.

WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Ple

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值