Howto: Not have Nouveau kernel module take over nVidia drivers

Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module “nouveau” by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary driver either. I also didn’t not have “xserver-xorg-video-nouveau” installed.

Here is the work around I used to resolve the problem.

If you use grub2 then edit

/etc/default/grub

then add

nouveau.modeset=0

to the end of the line that reads

GRUB_CMDLINE_LINUX_DEFAULT=”quiet”

(“quiet” seems a typical default option), so that that line now reads

GRUB_CMDLINE_LINUX_DEFAULT=”quiet nouveau.modeset=0″

run

update-grub2

and reboot.

Now go through and install you nVidia drivers as per normal.

Leave a Reply