Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Nvidia Optimus Laptop with Ubuntu 11.10 and previous i used to blacklist nouveau (by "sudo gedit /etc/modprobe.d/blacklist.conf" and adding "blacklist nouveau" then executing "sudo update-initramfs -u") so the built in Intel graphic was used, it work with Unity 3D.

Now i have installed Ubuntu 12.04 64bit tried to blacklist nouveau nvidia nvidiafb nv and updating ramfs but lsmod still showes that the nvidia module was loaded.

How do i prevent this ?

share|improve this question
up vote 3 down vote accepted

The module name is "nvidia" (which shows up in lsmod), but the actual filename is nvidia-current.ko. Therefore you need to add to blacklist nvidia-current to /etc/modprobe.d/blacklist-nvidia.conf (filename does not matter). After that, run sudo update-initramfs -u.

Do note that this change applies only on the next boot. To unload the module in the current session, run sudo rmmod nvidia.

By the way, when you install Bumblebee, it'll automatically blacklist nvidia and nouveau. See How well do laptops with Nvidia Optimus work?

share|improve this answer
thank you so much! – user58634 May 1 '12 at 13:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.