Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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'd like to blacklist a couple of modules, namely drm, drm_kms_helper, i2c_algo_bit and i915 to forbid my integrated Intel GPU to be used, but to use my Nvidia MXM card instead.

I inserted the following lines into /etc/modprobe.d/blacklist.conf:

blacklist i915
blacklist drm
blacklist drm_kms_helper
blacklist i2c_algo_bit

Despite the above right after rebooting my laptop and typing lsmod I can see these modules loaded.

Why does my blacklist get utterly disrespected and what can I do about it?

share|improve this question
does this link help? – fossfreedom Jun 30 '11 at 21:31
up vote 10 down vote accepted

After modifications in /etc/modprobe, you need to run:

sudo update-initramfs -u

I would be careful with disabling drm etc. I wouldn't be surprised if the nvidia driver depends on it (check with modinfo nvidia). Also, should you have any problems with your nvidia driver, then you will have a low resolution screen which might not support the GUI login at all.

Why would you disable the iGPU? The processor is already in use so I doubt if it saves any power or resources.

share|improve this answer
Thanks a lot, update-initramfs did the trick! – László Monda Jul 1 '11 at 10:10
I wanted to deactivate the iGPU because I use the eGPU all the time and resume from suspend doesn't work. I thought that if I can remove these modules then the iGPU won't activate upon resume and I'll be able to successfully resume my laptop. Unfortunately, even though I can successfully blacklist the modules of the iGPU I cannot make resume work. – László Monda Jul 1 '11 at 13:26
You should create a new question for that, please include your hardware with the exact model type if possible. – Lekensteyn Jul 1 '11 at 20:41
There's at least 5 blacklisting questions on here that could be answered by this. – austinmarton Jun 23 '15 at 2:14
@austinmarton Which one exactly? You can also flag a post for moderator attention if you feel that it is a duplicat.e – Lekensteyn Jun 23 '15 at 6:15

In a similar situation to the OP, and heeding all of @Lekensteyn's good advice, blacklist i915 silently appeared to do nothing for me, even though lsmod said nothing was using i915, but install i915 /bin/false did the trick, causing Gnome 3 to automatically fall back to using llvmpipe.

share|improve this answer

None of these solutions worked on 16.04 LTS for i915.ko.

Even using module_to_blacklist.blacklist=yes or modprobe.blacklist=module_to_blacklist on the kernel commandline of grub did not work.

The (dirty) solution I found was to rename /lib/modules/4.4.0-22-generic/kernel/drivers/gpu/drm/i915/i915.ko and /usr/lib/xorg/modules/drivers/ and /usr/lib/xorg/modules/drivers/

Unfortunately, external VGA screen is not recognized anymore :{

share|improve this answer
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review – Tim Jun 7 at 16:02

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.