Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 12-31-2005, 12:14 AM   #1
LQ Newbie
Registered: Sep 2004
Location: California
Distribution: Fedora Core
Posts: 22

Rep: Reputation: 15
How to install NVIDIA drivers in laptops and desktops.

This will help you install nvidia drivers for laptops and desktops.
I did ti for Compaq R3000 with nvidia geforce 2 (32MB) with fedora core 4. If you are a newbie I strongly suggest to create a backup of your /etc/X11/xorg.conf file.

TIP: Everytime there is a new fedora kernel the nvidia drivers need to be re-installed.

1. Make sure you have gcc installed. If not you can install it from System Settings >Add/Remove Apps. >Development Tools...install everything if you want.

2. You will need the kernel source code AKA kernel-devel you can install using the livna repo.
yum install kernel-devel
3. Download Nvidia linux drivers ( I am using x86 so I am linking to that ).

Now that were are readay we need to exit X enviroment.
4. Open terminal, become root (su + password) and run:
/sbin/telinit 3
After issuing the above command you may get a blank screen so just hit ctrl+alt+F1 which will take you to the text login prompt. Login as regular user and then become root.

5. Run installation command and NOTE you may be using a different linux version or latets:
I am using latest version so keep an eye on the version you have or downloaded.

6. Accept agreement, in second window select NO, next window select OK, next window OK...and it that should do it. You will get a message that installation is complete.

7. Probe nvidia drivers:
/sbin/modprobe nvidia
8. Restart X enviroment:
/sbin/telinit 5
9. Now we need to edit the xorg.conf file:
gedit /etc/X11/xorg.conf
and remove these 2 lines under "Module":
#Load "dri"
#Load "GLcore"
and add this line: Load "glx" and in the Section "Device"
change from:
Driver "nv"
Driver "nvidia"

10. Reboot your laptop. You should be able to see and nvidia logo......

11. Once logged in lets make sure every is OK, open terminal and run:
MINIMIZE glxgears window, I have a 32mb geforce and this is my result:
[root@localhost imdeemvp]# glxgears
6180 frames in 5.0 seconds = 1236.000 FPS
6517 frames in 5.0 seconds = 1303.400 FPS
16292 frames in 5.0 seconds = 3258.400 FPS
18234 frames in 5.0 seconds = 3646.800 FPS
18240 frames in 5.0 seconds = 3648.000 FPS
18246 frames in 5.0 seconds = 3649.200 FPS
18042 frames in 5.0 seconds = 3608.400 FPS
18036 frames in 5.0 seconds = 3607.200 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
[root@localhost imdeemvp]#
12. Run:
glxinfo | grep direct
results should be:
[root@localhost imdeemvp]# glxinfo | grep direct
direct rendering: Yes
[root@localhost imdeemvp]#
If you want to check your nvidia settings simply run:
and you will see a nvidia linux logo with the graphics card information.

If you dont want to see the Nvidia Logo during bootup just add this line to your xorg.conf. Like this:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX"
Option "NoLogo" "true"
Old 12-31-2005, 05:55 AM   #2
Senior Member
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
The latest version is and it now modifies xorg.conf for you automagically. So you could really go from step #6 straight to step #10 by issuing the reboot at a command prompt with:
shutdown -r now
Old 01-04-2006, 10:21 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 12

Rep: Reputation: 0
Install of fails

Hi, I'm trying to install the latest NVIDIA driver and it fails telling me that the compiler has the wrong version number (gcc 4). When I try to install the livna kernel-module-nidia and nvidia-glx that goes ok but when I start it (init 5) it does nothing and the log tells me that no usable screens were found, but it loads everything and there are no erros listed in the log.

The glx module is loaded. Should I comment it out.
Old 01-06-2006, 11:23 PM   #4
Registered: Jul 2003
Distribution: Ubuntu
Posts: 64

Rep: Reputation: 15
Or just add the Livna repository, that's alot simpler....
Old 01-07-2006, 09:26 AM   #5
LQ Newbie
Registered: Jan 2006
Posts: 12

Rep: Reputation: 0
The problem was that my yum had not updated my gcc to 4.02 and with my 4.01 I could not get either livna or NVIDIA native drivers to work. Trying NVIDIA it would complain about not having the right gcc and with livna it installed ok but then it would not load and there was no message in the Xorg log except that there were no usuable screens.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
If desktops are refered to as boxes do you also refer to laptops as boxes? dr_zayus69 General 14 12-24-2005 04:46 PM
are laptops much different from desktops when choosing linux hardware? darkleaf Linux - Laptop and Netbook 8 07-25-2005 12:30 PM
Can't install nvidia drivers.. porrblomman Linux - Newbie 1 12-20-2004 12:59 PM
for fun! infrastructure: 25 desktops + 25 laptops + tons 'o money; what would you do? glock27linux Linux - Networking 1 07-18-2003 02:53 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration