When installing CUDA in Ubuntu 16.04 by executing cuda_8.0.44_linux.run,
I got the following error message in /var/log/nvidia-installer.log
Then I checked /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and got
Any suggestion to disable Nouveau Kernel Driver?
I found this 2012 discussion but didn't work for me.
22 Answers
According to the NVIDIA developer zone: Create a file:
sudo nano /etc/modprobe.d/blacklist-nouveau.conf With the following contents:
blacklist nouveau options nouveau modeset=0 Regenerate the kernel initramfs:
sudo update-initramfs -u Finally, reboot:
sudo reboot 5maybe it is too late ,but hope can help for others. the follow tips worked for ubuntu 16.04 and elementary os 0.4.
remove all nvidia packages ,skip this if your system is fresh installed
sudo apt-get remove nvidia* && sudo apt autoremoveinstall some packages for build kernel:
sudo apt-get install dkms build-essential linux-headers-genericnow block and disable nouveau kernel driver:
sudo vim /etc/modprobe.d/blacklist.conf
Insert follow lines to the blacklist.conf:
blacklist nouveau blacklist lbm-nouveau options nouveau modeset=0 alias nouveau off alias lbm-nouveau off save and exit.
Disable the Kernel nouveau by typing the following commands(
nouveau-kms.confmay not exist,it is ok):echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.confbuild the new kernel by:
sudo update-initramfs -ureboot
