linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:32:10 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info
Installing NVIDIA Drivers for Mandrake
Written By: Avatarx

First off, this is what worked for me on Mandrake 7. I cannot say for sure it will work on any other Linux distribution. Also, there may be a few unneeded steps, but like I said, this is how *I* got it to work.

From a fresh install of Mandrake 7.0:

Go to ftp://ftp.xfree86.org/pub/XFree86/4.0.1/binaries/Linux-ix86-glibc21/


If you want to update to 4.01 instead use: ftp://ftp.xfree86.org/pub/XFree86/4.0.1/binaries/Linux-ix86-glibc21/

Download the following the directory of your choice:

Xinstall.sh
extract
Xbin.tgz
Xlib.tgz
Xman.tgz
Xdoc.tgz
Xfnts.tgz
Xfenc.tgz
Xetc.tgz
Xvar.tgz
Xxserv.tgz
Xmod.tgz

Also download the NVIDIA drivers to the directory of your choice. Pick up the non-RPM based files.

Download those drivers here:
http://www.nvidia.com/Products/pages.nsf/pages/NVIDIA_Drivers

NVIDIA_kernel-0.9.tar.gz
NVIDIA_GLX-0.9.tar.gz

Exit out of X, (if you're are still in it) and get to the command line only.

From the directory you downloaded the XFree86 4.0 files to, enter the following command:

sh Xinstall.sh

This will start the install. Other than the first question, I just kept the defaults answers. (I did try it the other way around, letting the install script overwrite everything, but got a big mess I didn't care to mess with.)

Next, run xf86config and set up our card, monitor, etc. I picked out card # 412 since my GeForce wasn't listed. (GeForce II) As long as it will use the "nv" driver, we're good to go.

Go to the directory you down loaded the NVIDIA driver files to.

First, we have to deal with the kernel driver. Start with the following commands:

gunzip NVIDIA_kernel-0.9.tar.gz
tar -xvf NVIDIA_kernel-0.9.tar

You should now have a directory call NVIDIA_kernel-0.9 Change to the new directory.

Now to compile the kernel driver: make SYSINCLUDE=/usr/src/linux/include

The compile should complete without resulting in an error. If you do get an exit on error, make sure you got your spelling/caps right etc.

That should install the kernel driver. Now for the GLX.

Hop back to the directory where you downloaded the NVIDIA_GLX driver to and follow these commands:

gunzip NVIDIA_GLX-0.9.tar.gz
tar -xvf NVIDIA_GLX-0.9.tar

Now, you should have a directory called NVIDIA_GLX-0.9

First, we need to rid ourselves of some Mesa items that will get in the way.

cd /usr/X11R6/lib/modules/extensions
mv libGLcore.a libGLcore.a.mesa
mv libglx.a libglx.a.mesa
cd /usr/X11R6/lib
mv libGL.so libGL.so.mesa
mv libGL.so.1 libGL.so.1.mesa
mv libGL.so.1.0 libGL.so.1.0.mesa
mv libGL.so.1.2 libGL.so.1.2.mesa
mv libGL.so.1.2.0 libGL.so.1.2.0.mesa

Now we are going to actually install the GLX. Change to the NVIDIA_GLZ-0.9 directory. (Where ever it was that you put it.) Execute the following:

make

You should see no errors when the install is finished.

Edit your XF86Config file (mcedit /etc/X11/XF86Config). Get rid of the "#" in front of the line that reads "Load "glx"" and change the driver from "nv" to "nvidia" to enable the new driver. Save the file and exit the editor. (F2, enter, F10).

All done! Personally, I would reboot at this point though it may not be "necessary." Originally I didn't and Q3 got hung up on me when I first tried to run it, forcing me to do a manual reset. After a reboot, everything worked flawlessly though.

Good luck!

We would like to hear your feedback.
[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif