Fedora 12 + Nvidia

By default Fedora 12 comes with the nouveau driver.. which is awesome, but my machine at work needed a bit more video card grunt so I needed to install the Nvidia driver.

Now I’m new to Fedora.. as in installed it an hour before I wrote this post, so thought I’d document here how to do it.
It wasn’t as straight forward as it _should_ have been, as apparently there is a bug in the current (at time of writing) version of Xorg, which causes X to run really slow. Anyway this is what you do:

  1. Add the rpmfusion repositories (to gain access to proprietary and other packages not supported by Fedora).
    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  2. Update yum:
    sudo yum update
  3. Now install the Nvidia drivers:
    sudo yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64
  4. This should blacklist the nouveau, but doesn’t remove it from the initrd, so we run:
    sudo dracut -f /boot/initramfs-$(uname -r).img $(uname -r)
  5. Then we can restart, or just restart X (sudo pkill kdm) to see the new Nvidia card in action.

You should now been using the new nvidia module, however on my Fedora 12 KDE installation the X response time was really slow. However on a friends Fedora 12 Gnome installation there wasn’t an issue.
Apparently it is a bug in Xorg, but seeing as it doesn’t effect a friend it makes me wonder if it is a KDE/Xorg/Nvidia bug.

Anyway to fix it up we need to install a patched Xorg:

  1. First we need to add a repository:
    sudo vim /etc/yum.repos.d/xorgFix.repo
    And paste the contents:
    name=xorg-x11-server rebuilds for nvidia users
  2. Run ‘yum update’  again, and it should need to update Xorg. Update it then restart X.

X should now run correctly. Phew.. not too hard right.


#1 Fedora 12 and NVIDIA driver at the blog of Chris on 12.10.09 at 2:07 pm

[…] has a post over on his blog about how to get the NVIDIA driver working under Fedora 12. I currently use the Nouveau driver, but I’m sure it’ll come in handy in the future. […]

#2 Slash on 12.11.09 at 5:46 am

Thanks a lot! This worked like a charm, I now have the nvidia drivers running! 🙂

#3 orowatun on 12.11.09 at 11:23 am

It worked on my nvidia geforce 100.

Thank you.

[newt@komo ~]$ uname -r

#4 Rudy Rodriguez on 12.18.09 at 12:47 pm

LIFE SAVER!!!! Thanks!!

AMD Athlon Thunderbird / Asus A7N8X / GeForce 6200

#5 dudko on 12.30.09 at 12:22 am

This totorial helped me to. Thanks.

#6 NejiHyuga on 02.21.10 at 8:52 pm

Excellent tutorial. My Geforce 6600 now works great, no choppy movements,

Best guide i’ve foound and there are a lot on the web which get it wrong, ths doesnt.

#7 Samsung R480 laptop LCD brightness « the blog of Chris on 07.10.10 at 5:35 pm

[…] after switching to the NVIDIA driver, the laptop brightness was immutable until I discovered a post with the solution. Simply adding the […]

Leave a Comment