How To Install NVIDIA Display Driver on FC4
From FedoraNEWS.ORG
Written by Carlos Peraza on 2005-06-27
This will guide to install nvidia linux drivers on a laptop using the nvidia chipset.
It was done to a 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.
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 package from fedora core/base repository
3. Open terminal, become root and if your repos are setup run this command:
# yum install kernel-devel
4. Download NVIDIA drivers here. (http://www.nvidia.com/object/unix.html) I am using 32 bit.
Now that were are readay we need to exit X enviroment.
5. In terminal as root run:
# /sbin/telinit 3
6. Run installation command:
# sh NVIDIA-Linux-x86-1.0-7667-pkg1.run
7. 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.
8. Probe nvidia drivers:
# /sbin/modprobe nvidia
9. Restart X enviroment:
# /sbin/telinit 5
10. 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"
to:
Driver "nvidia"
11. Reboot your laptop. You should be able to see and nvidia logo......
12. Run following command to verify *direct rendering*
# glxinfo | grep direct direct rendering: Yes
You can also test the FPS by running: glxgears and make sure to minimize the window!
My results:
# 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).
PLEASE NOTE: that to play some games such as DOOM 3 you will need to change your display depth from 16-bit to 24-bit. You can do this by editing the /etc/X11/xorg.conf and make changes under the "Display Section".
Run:
nvidia-settings
to see a display of your graphic card.

