By HolyLiaison at 2004-02-11 04:13
First off, go to the following site: http://www.nvidia.com/object/linux.html
Download the right Nvidia installer. More than likely it'll be the IA32 file, unless you have a 64bit processor, or FreeBSD. Also, if you're running any kernels released after January 26th 2004, make sure you have the kernel source downloaded and installed correctly. The installer will need it to compile the drivers correctly.
Once you have that all setup you'll want to login as root.
Step 1 - Editing Module section in XF86Config:
Open up /etc/X11/XF86Config in your favorite editor. Make sure to save a backup of the file before editing it. XF86Config.backup, or something easy to remember. Once you've done that, open up /etc/X11/XF86Config again then browse to the section that looks similar to this:
If you see Load "dri" or Load "GLcore" you'll want to remove them and add Load "glx". After you've done that it should look similar to this:
Step 2 - Editing Device section in XF86Config:
Once you've got the Modules section setup correctly you'll want to scroll down to the device section, which will look somewhat like this:
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
All you have to change here is the Driver line. You'll want to change it to look like this:
Once you've changed the line save your XF86Config file and close it.
Step 3 - Shutting down X Server:
Now we have to shut down the X server so we can install the drivers. This will bring you to a black screen with a terminal prompt. To do this open a terminal and type:
[root@localhost *****]# init 3
Once you've done that you should have a black screen with a terminal prompt. Now browse to the directory you downloaded the Nvidia driver file.
Step 4 - Installing the drivers:
Once you're in the directory you downloaded the Nvidia drivers to
all you have to type is:
[root@localhost *****]# sh NVIDIA-Linux-x86-1.0-****-pkg1.run
The install should start, it'll run you through everything. If everything was setup and installed correctly it should remind you to edit your XF86Config. But you shouldn't have to do this, since we already did it. After that it should return you to the Terminal prompt.
Step 5 - Restarting X Server:
At the Terminal prompt type the following:
[root@localhost *****]# init 5 (note: this will be init 4 for some distros, such as Slackware)
It should now boot back in to X Server, greeting you with a Nvidia logo. If it doesn't, use your backup of XF86Config and boot back in to X and figure out what you did wrong.
If you find something wrong with this How-To please tell me so I can change it. All my contact info is available in my profile.