【发布时间】:2019-01-18 05:49:27
【问题描述】:
我正在尝试在 Ubuntu 18.04 上安装 CUDA 9.2,遵循 this 网站:
我已经下载了 NVIDIA CUDA Toolkit(shell 脚本 cuda_9.2.88_396.26_linux),但是当我运行它时($sudo sh cuda_9.2.88_396.26_linux),我得到了:
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.
所以,我重新启动并再次运行 shell 脚本 ($sudo sh cuda_9.2.88_396.26_linux),我得到了相同的消息。这就是 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: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf. Please be sure you have rebooted your system since these files were written. If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
-> For some distributions, Nouveau can be disabled by adding a file in the modprobe configuration directory. Would you like nvidia-installer to attempt to create this modprobe file for you? (Answer: Yes)
-> One or more modprobe configuration files to disable Nouveau have been written. For some distributions, this may be sufficient to disable Nouveau; other distributions may require modification of the initial ramdisk. Please reboot your system and attempt NVIDIA driver installation again. Note if you later wish to reenable Nouveau, you will need to delete these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
我已经安装了我的 nvidia 驱动程序。
【问题讨论】:
-
也许你应该关注this。
标签: cuda driver nvidia ubuntu-18.04