In this guide, we will show you how to install Nvidia drivers in Fedora. Before we proceed, we recommend that you try first to install using RPMs. if RPMs don't work for you or you don't like to use them, then follow these instructions:

1. First, you need to download the latest Nvidia driver for your graphics card here and place the downloaded file in a folder of your choice.

2.  Now print the instructions given below or write it down in a sheet of paper because we need to close X server, Fedora graphical interface.

3. Open the terminal, then run this command in order to become root:

su -l

4. Let's now close X server by running this command:

telinit 3

5. Enter now your root login and password, then access the directory where you have downloaded your Nvidia driver.

6. Here are the commands you should run:

sh NVIDIA-Linux-x86-1.0-6106-pkg*.run
cp -a /dev/nvidia* /etc/udev/devices/
chown root: /etc/udev/devices/nvidia*

7. You need to follow all instructions proposed by Nvidia setup wizard in order to install your new driver.

8. It's time now to delete some files that may cause conflicts, run this command:

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

This step is optional because some users find it unnecessary to delete these files. 

9. Run now this command:

modprobe nvidia

10. To restart X server, execute this command:

telinit 5

11. To test if the kernel module is running properly, then open the terminal, then execute this command:

glxinfo | grep direct

If you get this message: direct rendering: Yes, then everything is alright.

Post a Comment

  1. In my case I am using Fedora 14
    'telinit 3' -OR- 'init 3' were not able to stop the X. I came to know about it when after struggling I went to Nvidia website, and used there executable to find that X-server was running.
    here is what worked for me :
    1) downloaded the driver *.run package
    2) used chmod 766 to make that *.run file executable (It will be in /home/YourUserName/Download folder by default)
    3) then changed to root at command prompt by typing
    >> su
    >> --Entered my password--
    4) Edited the /etc/inittab file but before that
    I took the back first:
    >>cd /etc/inittab
    >>cp inittab inittab_bkup
    5) To edit inittab I use vi editor so I typed:
    >> vi /etc/inittab
    >> < Edit the last line to change the number from 5 to 3 i.e it became > id:3:iddefaultlevel
    For those who don't know vi (move cursor using arrow keys and locate it below 5, hit r, type 3. To save type :wq and hit enter- Note : will move the cursor to bottom right corner)
    6) restart by issueing
    7) Now the completely DOS like window will appear next time system boots. That is X-server is OFF. use your login name and then give password (Change to superuser by
    8) change directory to location where *.run file is downloaded (By default it will be /home/YOURUSERNAME/Downloads)
    9) Execute the binary file >>./*.run (Enter)
    This execution may halt giving you some error and will ask to install missing things like in my case it is a new installation and I was asked to install: binutils, gcc, kernel-devel.etc. In short, every time it fails use
    >>yum install package_name
    and then retry by
    10) At the end I was give successful installation note.
    11) Again I did repeat step 5) to revert back to 5 in place of 3
    11) >>reboot
    And ta daaa You see the nice screen again