Ubuntu – How to disable Nouveau kernel driver

16.04cudanouveaunvidia

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

enter image description here

Then I checked /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and got

enter image description here

Any suggestion to disable Nouveau Kernel Driver?

I found this 2012 discussion but didn't work for me.

Best Answer

  • 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
    

    Read more at: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ixzz4rQODN0jy

  • Related Question