HOW TO INSTALL NVIDIA DRIVER IN MANDRAKE 10.1

1. Download latest driver at http://www.nvidia.com/object/linux.html

2. Install the kernel-source
A. urpmi kernel-source OR
B. Go to mandrake control center > software management >install >search and type kernel and download
This is the correct kernel source: kernel-source-2.6-2.6.8.1-12mdk
[imdeemvp@localhost imdeemvp]$ uname -r
2.6.8.1-12mdk
[imdeemvp@localhost imdeemvp]$ rpm -qa | grep kernel-*
kernel-2.6.8.1.12mdk-1-1mdk
kernel-2.4.27.0.pre2.1mdk-1-1mdk
kernel-source-2.6-2.6.8.1-12mdk
[imdeemvp@localhost imdeemvp]$

3. Installation, open terminal and become root:
su
-->enter password<--
init 3
________

sh NVIDIA-Linux-x86-1.0-6629-pkg1 (or whatever version)
./NVIDIA-Linux-x86-1.0-6629-pkg1


QUOTE
Please read the following LICENSE and then select either "Accept" to accept the license and continue with
the installation, or select "Do Not Accept" to abort the installation.

Accept Do Not Accept

When done init 5

4. Edit
This worked for me. These two things I had to do after installing:

- add "nvidia" in /etc/modprobe.preload (I used gedit OR vi if your in terminal and text mode)
- change driver "nv" to "nvidia" in /etc/X11/XF86Config

NOW TEST FOR 3D acceleration
[imdeemvp@localhost imdeemvp]$ glxgears
11687 frames in 5.0 seconds = 2337.400 FPS
35236 frames in 5.0 seconds = 7047.200 FPS
35238 frames in 5.0 seconds = 7047.600 FPS
35181 frames in 5.0 seconds = 7036.200 FPS
35222 frames in 5.0 seconds = 7044.400 FPS
35211 frames in 5.0 seconds = 7042.200 FPS
35180 frames in 5.0 seconds = 7036.000 FPS
35286 frames in 5.0 seconds = 7057.200 FPS
35235 frames in 5.0 seconds = 7047.000 FPS
34910 frames in 5.0 seconds = 6982.000 FPS
35240 frames in 5.0 seconds = 7048.000 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
[imdeemvp@localhost imdeemvp]$

[imdeemvp@localhost imdeemvp]$ glxinfo | grep direct
direct rendering: Yes
[imdeemvp@localhost imdeemvp]$