Howto: Install Nvidia driver for Fedora 13

May-28th-2010

If you’re wanting to use the nvidia proprietary driver, rather than the nouveau driver provided by default in Fedora 13, then do the following:

1. Add this to the end of the kernel line (without quotes) in /etc/grub.conf -> “rdblacklist=nouveau vga=0×318″

2. Command:  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”

3. Command: yum update

4. For 64bit Users, Command: yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64

5. A) For 32bit Users, Command: yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
5. B) For 32bit Users using the PAE kernel, Command: yum install kmod-nvidia-PAE.i686 xorg-x11-drv-nvidia-libs.i686

6. Reboot, and you’re done !

Note: If this doesn’t seem to work for you, in step one, instead of “rdblacklist=nouveau”, try “nouveau.modeset=0″

Comments

  1. Techwatch Said,

    thanks very much that is very clear

  2. Linux Software Blog » Blog Archive » SOLVED Fedora 12 + Nvidia installation problems Said,

    [...] NOTE: If you need the tutorial for Fedora 13, go here: http://linuxsoftwareblog.com/?p=516 [...]

  3. PAUL Said,

    Thankyou very much for this!

    I’ve tried several other guides but everyone seems to be too distracted by the new opensource drivers lately!

  4. dev Said,

    One that worked….thanks.

  5. cemetery Said,

    Very informative it’s about time there’s a tutorial for Fedora nvidia drivers that minimize headaches.

  6. Fedora 13 and CUDA « hobiger.org Blog Said,

    [...] followed installation of NVIDIA driver as described here [...]

  7. andrew Said,

    I got this for 64 bit
    [root@localhost ~]# yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64
    Loaded plugins: presto, refresh-packagekit
    fedora/metalink | 28 kB 00:00
    fedora | 4.3 kB 00:00
    fedora/primary_db | 13 MB 00:06
    updates/metalink | 24 kB 00:00
    updates | 4.5 kB 00:00
    updates/primary_db | 1.7 MB 00:00
    Setting up Install Process
    No package kmod-nvidia available.
    No package xorg-x11-drv-nvidia-libs.i686 available.
    No package xorg-x11-drv-nvidia-libs.x86_64 available.
    Nothing to do
    [root@localhost ~]#

  8. Rob Said,

    Hi Andrew,

    it seems that you have not successfully completed parts 2 and 3. In the list of checked repositories in your list, the rpmfusion repository is not mentioned. Please ensure that you do parts 2 and 3.

  9. turgut kalfaoglu Said,

    In my case, I had to add nouveau to /etc/modprobe.d/blacklist.conf
    file, otherwise kernel kept loading it and ignoring the kernel line.

    Then I did a telinit 2 to drop to command line, and installed the NVIDIA drivers I downloaded from Nvidia.. worked like a charm..glxgears went from 900 to 5000.. -t

  10. Remi Said,

    Good stuff, thanks !

  11. Marcelo Said,

    I followed those steps and the installation went correctly, bu recently the software update installed an update for the fedora 13 kernel and my system doesn’t boot anymore, it’s stop at the loading screen on the boot process. and every time a reinstall fedora, install the driver and eventually update the system it happens again, so what can i do to correct this?

  12. Rob Said,

    Hi Marcelo. Can I have a guess that, at some point in the past, you have used the NVidia driver, (ending in .sh) rather than the RPMFusion package? I have noticed that, where this is the case, there is an issue with the soft link to the libGL.so.1 file. Do the following as root at your own risk (though I’ve done it successfully elsewhere):
    Change lib to lib64 accordingly for 64 bit systems.
    1. rm /usr/lib/libGL.so.1
    2. ln -s /usr/lib/nvidia/lbGL.so.1 /usr/lib/libGL.so.1

    You may notice that the existing soft link is pointing to an old NVidia driver e.g. 185.* in /usr/lib/

  13. Al Said,

    This works fine, but I had to install system-config-display-2.2.1.fc12.i686 to resolve all dependencies of xorg-x11-drv-nvidia-libs.i686

    Thanks!

  14. NVIDIA Officially Sucks! « rnd()ness Said,

    [...] code for the fedora kernel in case you wanted to recompile your own kernel.  Also, I found another great page with instructions on how to install the rpmfusion’s version of the NVIDIA [...]

  15. a-nony-mus Said,

    How do I reverse this? I did it and then I messed up the resolution of the screen, and it says it is on maximum.

  16. hercufles Said,

    Sorry im a bit new with linux but how do part 1 i dont know how to edit grub.conf

  17. fadsas Said,

    su: invalid option — ‘U’

    That’s what I get.

  18. Rob Said,

    @hercufles
    Perhaps, you could run “gedit grub.conf” from the command line. You’ll be presented with a text editor to make the necessary changes

  19. Rob Said,

    @fadsas
    I suggest trying to type the command in manually, rather than copying and pasting (the HTML may be rendering inaccurately). Good luck.

  20. Chaos Said,

    Thanks a lot.

  21. Ratfink Said,

    Thanks for the nice guide! I’ll do this tomorrow, after I update the >700 packages that need updating.

    Just for future reference, the real file is /boot/grub/grub.conf now. /etc/grub.conf is just a symbolic link. Less to type, but maybe that symlink might disappear eventually.

  22. SmartViking Said,

    Thank you this worked like a charm. =)

  23. Rob Said,

    @ Ratfink, thanks, updated.

  24. Shady Said,

    hey,
    i have the same problem as Andrew,

    [root@soslemachine etc]# yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686
    Loaded plugins: presto, refresh-packagekit
    Setting up Install Process
    No package kmod-nvidia available.
    No package xorg-x11-drv-nvidia-libs.i686 available.
    Error: Nothing to do

    I explicitly did your step 2 and step 3.

  25. Rob Said,

    @ shady

    Can you please run ‘ ls /etc/yum.repos.d/ ‘

    Then ‘ cat /etc/yum.repos.d/rpmfusion-nonfree.repo ‘

    And post those outputs. Running ‘ yum update’ one more time won’t do any harm, either.

  26. ankush Said,

    hey, m havin problem … as i m new to linux i hope u will help me in this..

    [tils@tils ~]$ yum update
    Loaded plugins: presto, refresh-packagekit
    You need to be root to perform this command.

  27. Rob Said,

    @ankush you first of all need to run:
    su

    and type in your root password. Then run “yum update”

  28. Paul Said,

    Many thanks!
    Worked like a charm – output form glxgears went from approximately 790 FPS to approximately 2,600 FPS with GeForce 8600 GT video card. 3D desktop effects finally works
    uname -a output follows:
    Linux kodiak 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

  29. ankush Said,

    hey… very thanx for helping me out…. nw its working fine..
    thnx a lot again .

Add A Comment

By Rob