ubuntu22.04 server安装nvidia cuda 12.08提示Nouveau 驱动已经在用
安装驱动日志显示
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.
- First step is to open a command line terminal and type the following commands in order to blacklist the Nvidia nouveau driver.
$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" $ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
- Confirm the content of the newly created modeprobe file
blacklist-nvidia-nouveau.conf:$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf blacklist nouveau options nouveau modeset=0
- Enter the following Linux command to update kernel
initramfs:$ sudo update-initramfs -u - Last step is to reboot your system for the changes to take effect:
$ sudo reboot重启后运行cuda 12.08安装成功。
浙公网安备 33010602011771号