can you tell me what I have to do to blacklist the nouveau driver? I saw this code online.
Verify Nouveau is not loaded
Code:
lsmod | grep nouveau
We need to disable Nouveau. Try a one-time blacklisting from the GRUB command line before creating a permanent blacklist rule.
In the boot menu, edit the Fedora boot line, and add to the kernel (linux) entry the following string:
Code:
rdblacklist=nouveau.
Resume the boot. If the system enters the graphical session, and the Nvidia driver is properly loaded, then all is well. You will just need to add a manual rule that blacklists Nouveau from loading. Again, this can be done permanently by editing the GRUB command line, or by creating a module blacklist rule. For the first, you have more than extremely detailed GRUB and GRUB2 tutorials to get the desired results.
For the second, here's how it's done - backup and new initramfs creation:
Code:
mv /boot/initramfs-$(uname -r).img \
/boot/initramfs-$(uname -r).bak.img
dracut --omit-drivers nouveau \
/boot/initramfs-$(uname -r).img $(uname -r)
This method will have to be executed every time there's a kernel update. A more elegant way is a permanent blacklist. Every time dracut runs, it will consult the following list and make the necessary exceptions when creating the initramfs image. Of course, you will need to make the initramfs file the first time after creating the blacklist rule. Personally, I recommend the GRUB change, because it is so very easily reversible. And don't forget backups, because if something goes wrong, you will be able to recover easily.
Code:
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
ln -s /etc/modprobe.d/blacklist.conf \
/usr/lib/modprobe.d/blacklist.conf
dracut /boot/initramfs-$(uname -r).img $(uname -r)