##################################################################### # *** NVIDIA Commercial Driver Installation *** # # Quick step by step installation guide # ##################################################################### # This doc was created with the Mandrake Linux distro in mind # # http://www.mandrakelinux.com # ##################################################################### # Generated.......Sun Nov 17 20:20:06 EST 2002 # # Modified........Tue Jul 22 15:04:53 PDT 2003 # ##################################################################### ================================================================ **** I've been hearing a lot of performance/stability complaints about driver version 4191. In my opinion, you should try 4191 first, if it sucks, uninstall the nvidia rpms and follow these instructions again with driver version 3123. **** ================================================================ ================================================================ **** After 4191, Nvidia stopped distributing RPMs which renders this HOWTO useless. Please see the Nvidia driver download page and read the instructions for their new graphical installer.**** ================================================================ Current NVIDIA Linux Display Driver is located at: http://www.nvidia.com/view.asp?IO=linux_display_ia32_1.0-4191 For detailed installation instructions see the official NVIDIA README at: http://download.nvidia.com/XFree86_40/1.0-4191/README (TEXT FILE) http://download.nvidia.com/XFree86_40/1.0-4191/NVLinuxNotes4191.pdf (PDF FILE) Table of contents: I. Pre Install Kernel Prep II. Driver Installation III. XF86Config-4 IV. Tips and Tricks .----------------------------. | I. Pre Install Kernel Prep | `----------------------------' *** NOTE: RUN EACH COMMAND IN NUMERICAL ORDER AS YOU SEE LISTED BELOW *** *** NOTE: THESE COMMANDS NEED TO BE RAN ON THE COMMAND LINE EITHER FROM CONSOLE OR A TERMINAL IN X *** o1.> su (ENTER YOUR ROOT PASSWORD) o2.> In MDK9.1, the kernel-headers package was removed, its files are in the glibc-devel package. Users of MDK releases before 9.1 run: urpmi gcc rpm-build kernel-source kernel-headers Users of MDK 9.1 and later run: urpmi gcc rpm-build kernel-source glibc-devel You need to make sure your kernel-source rpm matches your running kernel 'uname -r' prints your running kernel's version. 'rpm -q kernel-source' prints kernel-source version, for example: $ uname -r 2.4.18-8.1mdk $ rpm -q kernel-source kernel-source-2.4.18-8.1mdk If the kernel-source is higher, ie: 2.4.18-24mdk, and your kernel is lower, ie: 2.4.18-16mdk. Then you haven't installed an updated kernel. Simply type 'urpmi kernel' and reboot. Repeat the test to ensure the kernel-source matches the kernel. If they still don't match, don't bother continueing with these instructions. Find someone on irc.freenode.net/#mandrake to help sort things out. *** NOTE: NEEDED IF YOU'RE USING kernel-secure*mdk, kernel-enterprise*mdk OR kernel-smp*mdk (but it never hurts either) *** o3.> cd /usr/src/linux o4.> make mrproper o5.> cp /boot/config-'uname -r' .config o6.> make oldconfig o7.> vi Makefile (change EXTRAVERSION to match 'uname -r') o8.> make dep .-------------------------. | II. Driver Installation | `-------------------------' *** NOTE: RUN EACH COMMAND IN NUMERICAL ORDER AS YOU SEE LISTED BELOW *** *** NOTE: ENTER COMMANDS FROM A CONSOLE OR TERMINAL IN X *** o1.> su (ENTER YOUR ROOT PASSWORD) o2.> rpm -e NVIDIA_GLX NVIDIA_kernel --nodeps o3.> rm -f /usr/src/RPM/RPMS/i586/NVIDIA*.rpm o4.> urpmi gcc rpm-build kernel-source kernel-headers (ONLY NEEDED IF YOU DIDN'T PREP YOUR KERNEL) o5.> cd ~/tmp o6.> wget http://download.nvidia.com/XFree86_40/1.0-4191/NVIDIA_kernel-1.0-4191.src.rpm o7.> wget http://download.nvidia.com/XFree86_40/1.0-4191/NVIDIA_GLX-1.0-4191.src.rpm o8.> rpm --rebuild NVIDIA*.src.rpm o9.> rpm -ivh /usr/src/RPM/RPMS/i586/NVIDIA*.rpm .-------------------. | III. XF86Config-4 | `-------------------' *** NOTE: XF86Config-4 IS LOCATED IN /etc/X11/XF86Config-4 *** *** NOTE: EXAMPLE TEXT EDITORS ARE 'vi' CONSOLE AND 'kate' KDE GUI EDITOR *** o1.> Use your favorite text editor to edit the XF86Config-4 file. (EX. 'vi /etc/X11/XF86Config-4' OR 'kate /etc/X11/XF86Config-4) o2.> In the "Modules" section, make sure you have: Load "glx" o3.> You should also remove the following lines if they exist: Load "dri" Load "GLcore" o4.> Finally in the "Device" section for your video card, replace the line: Driver "nv" (or Driver "vesa" etc...) with Driver "nvidia" o5.> Save and exit your text editor. (EX. IN 'vi' ESC KEY AND TYPE :wq) o6.> Start and or restart X. (EX. 'startx' IF X ISN'T RUNNING OR Ctrl+Alt+Backspace TO RESTART X WHILE IN X) .---------------------. | IV. Tips and Tricks | `---------------------' *** NOTE: SEE THE OFFICIAL NVIDIA README FOR MORE XF86Config-4 OPTIONS *** o1.> If you encounter lockups and are using AMD hardware add "mem=nopentium" to the append line of your /etc/lilo.conf and run 'lilo' after editing it. o2.> Does the NVIDIA splash logo annoy you ? Feel it takes too long to 'startx' ? then append: Option "NoLogo" "boolean" to your XF86Config-4. o3.> It would help if you read the official NVIDIA README "RTFM" (Read The F@%$ing Manual) o4.> NVIDIA README -> http://download.nvidia.com/XFree86_40/1.0-4191/README