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!