was made on a debian system, but can be easily adapted to other systems aswell.
*The x on the kernel package you need to replace with yor kernel version.
-First you need to get some packages from yor update system (using apt here) :
apt-get install kernel-headers-2.6.x kernel-source-2.6.x gcc nvidia-glx
-After those packages are installed via yor update system you will go and compile
yor kernel from those sources you've just downloaded (go here for details on howto compile a kernel) and in the compilation of the kernel you must disable rivafb module otherwise it may conflict with the NVIDIA drivers.
-Boot up with yor new compiled and installed kernel.
-Get the latest NVIDIA driver from their page: http://www.nvidia.com/object/linux.html
When downloading of the drivers is complete open a terminal and (as root) type telinit 1
it will take you to into single user console mode.
-Run the NVIDIA installer ./NVIDIA-Linux-x86-1.0-6629-pkg1.run
-After the instalation process is finished it's time to edit yor /etc/X11/XF86Config-4
or /etc/X11/X.org file if you are using the X.org Xserver. nano /etc/X11/XF86Config-4 or nano /etc/X11/X.org
Comment or remove Load "GLcore" and Load "dri", also be sure to have Load "glx" on it.
Should look like this after editing:
CODE
Section "Module"
# Load "GLcore"
# Load "dri"
Load "glx"
# Load "GLcore"
# Load "dri"
Load "glx"
Replace the "nv" driver with the "nvidia" driver on the Device section:
CODE
Section "Device"
Identifier "NVIDIA Corporation"
Driver "nvidia"
In this section you can also have twinview enabled, and a bunch of other options (read the README file from NVIDIA for more details).
Save the file (on nano you press Ctrl+X to save files).
-Edit the file /etc/udev/links.conf ( nano /etc/udev/links.conf ) and add the following lines:
CODE
M nvidia0 c 195 0
M nvidia1 c 195 1
M nvidiactl c 195 255
(this is done because the nvidia devs don't get created fast enough by udev at startup)
Save the file.
Start yor Xserver by typing startx and enjoy a full hardware accel Linux desktop.
*/suggestion: apt-get install tuxracer