How to disable Nouvea before Linux boots

30,637

Solution 1

Newer Linux kernals are given the job of setting video modes ( archlinux.org... ) and as such, Nouveau is being used at boot time ( even without an X server ).

In order to disable Nouveau and boot use the argument nomodeset in your Grub configuration. ubuntuforums.org...

Solution 2

Adding nouveau.blacklist=1 on the linux line might help, or...

$ cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

The linux line is what I have seen earlier, that has obviously changed...
the '...disable-nouveau.conf' file is what there is now.

Oh, if you try to install the driver from the Text login (CTRL-ALT-F1) then you need to sudo -i and then do

stop lightdm # or whatever window manager you have
init 3

before you attempt to install/uninstall.


For what it is worth:
I'm on Ubuntu 14.04.2, 3.16 kernel, with a GTX 780, v352.30 proprietary driver

I normally boot into rescue mode to remedy problems with the driver, lately that has most often been as simple as
bash NVIDIA...run --uninstall immediately followed by a
bash NVIDIA...run and necessary only as some sort of graphics system component, or kernel, has been updated.

Share:
30,637

Related videos on Youtube

Carl
Author by

Carl

Dabble in a bit of everything, c, c++, ruby, rails.

Updated on September 18, 2022

Comments

  • Carl
    Carl over 1 year

    I am trying to install the proprietary Nvidia driver on my linux machine ( Nvidia GeForce GTX 750, Debian w/Linux 4.1.2.1 ). In order to use Nvidia's .run file, I need to disable nouveau. The .run creates a file that will do this task, but a reboot is required. However, disabling nouveau has broken the boot cycle. What am I supposed to do?

  • Carl
    Carl almost 9 years
    nouveau.blacklist=1 --> unknown parameter 'blacklist' ...ignored
  • Carl
    Carl almost 9 years
    I've solved my problem and then asked the question a little better ( I hope ). I also supplied an answer ( which I apparently have to wait a while before accepting :) ). Thanks
  • Hannu
    Hannu almost 9 years
    =) - I'll leave this as is, maybe someone else finds it useful.