Personal tools
You are here: Home Fedora Solved Video Solutions Installing the Drivers as Provided by nVidia

Installing the Drivers as Provided by nVidia

by bobjensen last modified Sep 30, 2009 12:50 PM
Contributors: daMaestro
— filed under:

We suggest using the nVidia rpms from the RPMFusion repository. Some people report problems once in a great while. If you are one of those people here's how to install the nVidia drivers if the RPM doesn't work (or if you don't want to use the RPM). NEVER use these instructions with out trying the RPMs first:

Requirements

These instructions should work for any Linux machine with a modern nVidia graphics card. As always our instructions are geared to a Fedora install.

Doing the work

  1. Get the lastest linux drivers.

  2. Now print this out, or write it down, because we're going to close X, the graphical part of Linux.

  3. Open a Terminal.

  4. Become root:

    su -l
  5. Shut down X:

    telinit 3
  6. Now, you will have a "Login:" prompt. Log in as root and go to the directory where you downloaded the nVidia drivers.

  7. Type:

    sh NVIDIA-Linux-x86-1.0-6106-pkg*.run
  8. Type:

    cp -a /dev/nvidia* /etc/udev/devices/
  9. Type:

    chown root: /etc/udev/devices/nvidia*
  10. Follow nVidia's instructions to set up the driver. (Read the "EDITING YOUR X CONFIG FILE" section.)

  11. Now, we need to remove some conflicting files:

    rpm -e --nodeps xorg-x11-Mesa-libGL

     WARNING: If you update any "xorg-x11" package with up2date or yum, you will have to do the above command again.

     INFO: Some users report that removing this package is not necessary for them.

  12. Type:

    modprobe nvidia
  13. You can now restart X by typing:

    telinit 5

Troubleshooting

How to test

  1. Log in and verify that the kernel module is functioning properly by opening a terminal window and running the following command.
    glxinfo | grep direct
  2. If the response is "direct rendering: Yes" you are good to go

Common problems and fixes

 WARNING: You must re-do these steps every time you install a new kernel with yum or up2date.

More Information

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net

Added Reading 

 
Document Actions
Log in


Forgot your password?
New user?