There are 2 requirements:
1) The NVidia Drivers
2) Your kernel's source
To find out your kernel make, type this in the terminal:
uname -r
To get your kernel's source package, simply type this in the terminal:
(it will ask for your root password, type it in)
It will come up with about 18 packages. Whatever kernel you are using, choose the corresponding src package. For example, I am using 2.6.4-1.tmb.5mdk, so the source I chose was 2.6.4-1.src.tmb (something like that...)
After you have done the above, you are set to begin the NVidia installation. Press CTRL + ALT + F1 to exit X. Then type
This will stop all of your system processes that are running. Then type
Now you are in the run level where you can install the driver. CD to the folder where the NVIDIA-Linux-BLAHBLAH.run is located.
For example:
Code:
cd /home/YOUR USERNAME/
Then type:
It will show you all the files in the directory, including the one you need, NVIDIA-Linux-blah.run
Now type:
Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
If that is not the name of your file, you probably have an older version and just replace it with your NVIDIA-Linux-BLAH package name.
It will start the installation. Choose Accept and press Enter. Go through the installation, pretty much answering "Yes" to anything that will get it installed. Meaning, if it says it can't find the module for the kernel and it asks to build a module, tell it yes. This is where your kernel's source comes into play ;-)
After it is done installing it will say Installation Successful (or something like that). You will still be in run level 2, so type the following to get back to your X enviroment:
It will load up to the login screen, unless you set it to automatically login, in which case you will start KDE or Gnome, whichever is your default. Now open KEdit. Choose to open a file, and browse to:
/etc/X11/XF86Config-4 (if XF86Config-4 exists, choose it. If not, choose XF86Config)
Now find where it says
Here is what mine looks like (I am also using GeForce4 MMX 440 128MB DDR):
Code:
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
All you should have to do is delete the ## in front of Load 'glx'
Find where it says Driver 'nv' or whatever for your graphics card, and replace it with:
Save it, and you have now successfully installed and configured NVidia drivers. You should now restart your computer for the changes to take affect (you can restart X, but just go ahead and restart your computer... its easier)