Disable nouveau on Fedora 18

Author: | Posted in howto No comments

If you use the Nvidia driver on Fedora 18 you must have learned by now that it conflicts with the nouveau driver which is the accelerated open source driver for Nvidia cards, so you shouldn’t run both modules at the same time. There are several ways to disable nouveau, some of them worked fine until Fedora 18 was released. Some still do but there’s too much manual work involved (e.g. switch to runlevel 3, remove nouveau from /libs/modules/$(uname -r), re-run dracut etc.).

Those steps were necessary up until recently because there was a bug in dracut that caused it to ignore /etc/modprobe.d/blacklist.conf. The error was supposedly fixed with the release of dracut-024-18, but It still didn’t work out of the box (at least on my machine), there were still some minor tweaks needed.

That said, if you want to disable nouveau completely without having to perform all those manual tasks each time you update the kernel, here’s what you need to do (This only works for future kernel updates and it assumes nouveau is already disabled for the running kernel. If it isn’t, follow this guide to disabled it manually):


  • step 1: blacklist nouveau
grep -i "blacklist nouveau" /etc/modprobe.d/blacklist.conf 1>/dev/null \
|| echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf


  • step 2: link the blacklist file to the only folder where dracut looks for exceptions when running in generic mode:
cd /usr/lib/modprobe.d/
sudo ln -s /etc/modprobe.d/blacklist.conf .


That’s it. From now on, when you install a new kernel dracut will read this file and exclude all modules (including nouveau) from blacklist.conf when creating the initramfs for the new kernel.

Hope this helps.

Add Your Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.