Disable nouveau driver on hybrid graphics cards laptop

I had some problems with the plymouth boot screen in the past few days. In fact, the problems come again from guess what? Yes, my hybrid graphics cards in my laptop! ;)

I found that simply blacklisting the nouveau driver was not enough, it was still there after a reboot. That seems to cause a distorted boot screen from time to time.

So, here is what I did to be sure that nouveau is not used at all, just the Intel driver (all these steps must be done as a privileged user) :

  • First, blacklist the nouveau driver :

echo “blacklist nouveau” >> /etc/modprobe.d/blacklist-nouveau.conf

  • Add rdblacklist=nouveau to the end of your grub.conf kernel parameters list
  • Rebuild you initrd with this command :

mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)

After that, you should reboot and see your boot screen come out clean each time. Also, you should notice that lsmod don’t report nouveau as being loaded anymore, just the Intel one.

If you have any other ways to fix this issue, I welcome any improvements!

About these ads

5 thoughts on “Disable nouveau driver on hybrid graphics cards laptop

  1. Could you please file a bug to the bugzilla (component xorg-x11-drv-nouveau), please? Don’t forget to attach /var/log/Xorg.0.log, /etc/X11/xorg.conf, and output of dmesg command after the boot process is done WITHOUT your modifications (i.e., when the issue happens). Thank you very much.

  2. Hi.

    Thank you for your guide! I did almost the same on Fedora 20, but for the boot parameters I did it this way:
    – appended “rdblacklist=nouveau” to “GRUB_CMDLINE_LINUX” parameter of “/etc/default/grub” file;
    – updated grub files with (for UEFI systems):
    # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
    for legacy BIOS systems command should be:
    # grub2-mkconfig -o /boot/grub2/grub.cfg

    Bye,
    Diego

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s