Well, finally, the drivers issues I met first, quite a while ago, on Fedora Core 3 have… just got bigger. To make a long story short, Fedora 12 comes with a new driver called “nouveau” (actually, it’s not exactly new, it was already here in some previous versions but didn’t cause problems yet) which loads itself very early during the boot, preventing another driver from taking its place. As more accurate details may be found on the previous tutorials (FC3 Fedora 11), I’ll just list the steps (and only detail the new ones).
- Get the required dependencies:
yum install kernel-devel gcc
- Grab the proper NVIDIA drivers there
- Get rid of nouveau. That’s the hard part. I found several methods but none of them worked. Most notably, most or all of them required me to install NVIDIA’s drivers (they propose to use the RPM Fusion repository, but I wanted to use the drivers straight from nvidia.com, in order to be more easily up-to-date) then follow some instructions to make it beat nouveau. The problem is: NVIDIA’s drivers from nvidia.com refused to install with nouveau already running, so I had to kill it first. The solution I found was:
- blacklist it: edit
blacklist nouveauat the end
- blacklist it again in Grub: edit
rdblacklist=nouveauat the end of the line starting with “kernel” in the proper section (
NB: I have this file because I’m using Grub from an old Ubuntu installation, but I was told that Fedora 12 uses Grub 2, which has a totally different configuration file structure… I don’t know it, sorry)
- set the default init level to 3 (otherwise, nouveau will load when the GUI gets loaded): edit
This is the only working solution I found. As long as the GUI gets loaded, nouveau will get loaded too and the NVIDIA drivers will refuse to install. You will easily know if nouveau is loaded by the size of the font in the console: if it’s a large font it’s okay, if it’s a small font because the console is like in high-resolution, you did something wrong and most likely NVIDIA’s drivers will refuse to install
- blacklist it: edit
- run the NVIDIA drivers installer (during the process, when it asks you whether it should try to update config files, say yes)
You’re now done. I chose to let the default init level to 3 because with every kernel update we have to reinstall the NVIDIA drivers (the version installed for the previous kernel will crash with a various severity, most likely preventing you from running the installer). To load the graphical desktop after booting in init level 3, just log in as root and type
Sources I used:
- Fedora 12 – Nouveau + Nvidia Driver Solution
- Howto install nVidia driver on Fedora 12 (and just disable the nouveau driver)
- RPM fusion – nVidia – Nouveau compatibility
- RPM fusion – nVidia – Fedora 12
- Gnome Fedora 12 (Xorg 1.7.1) + 190.42 + Xv = instability
- Installing the Drivers as Provided by nVidia
Update (20 June 2010): added dependencies, this also works for Fedora 13.
Update (7 December 2010): this should work for Fedora 14 too but I didn’t test it, notably I don’t know if they finally used Grub 2 or if they’re still on the much easier Grub 1.