LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-07-2003, 12:02 AM   #1
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Lightbulb Slackware and NVIDIA -- Driver Install Guide


I've seen sooo many posts about this in the forum and I decided to write a little how-to for everyone that has trouble installing these drivers. Personally I have a NVIDIA GeForce2 MX400 64mb card and I have never had any trouble installing the proper drivers...

As many of you have seen the install file that NVIDIA has made for you to install the drivers doesn't seem to work on the slackware-based systems, well here's a way around this.

You'll need to go to the NVIDIA site and grab the latest drivers, but here's the trick, get them from here... ftp://download.nvidia.com/XFree86/Linux-x86/ This is the driver source for the latest NVIDIA drivers.

You will need to download: NVIDIA_GLX-1.0-4349.tar.gz
and NVIDIA_kernel-1.0-4349.tar.gz

These are the current drivers at the time of this post ... keep in mind you may be looking for newer ones later on.

Now on to installing them...

You'll need to gunzip and untar them to a directory of your choice and then su to root. Once you are root, cd to the NVIDIA_kernel-1.0-4349 directory and type make then make install

Once this is done do a cd ../NVIDIA_GLX-1.0-4349 and run make and make install

Once this is completed the drivers should be in place though you still need to change a few things. After this is completed run xf86config and select the default nvidia driver that XF86 gives you.

Now you'll have to locate your XF86Config file which is usually located in /etc/X11/XF86Config

Open this file with your favorite editor and search for the text that looks something like Section "Device" or something that says Driver "nv" this can be acomplished with the ctrl+w search feature of pico, possibly close to line 336... Once you find this you'll need to change the Driver "nv" like to resemble Driver "nvidia"

Once you do that, save the file and give a shot at starting X.... that should be all that you need to do other than changing screen resolutions if you havn't done so already. Any questions or concerns about this.... or problems with the method I described let me know please and I'll fix it immediatly.

I hope this helps some of you 's out there in installing these drivers, and anyone else that has some problems...
 
Old 06-07-2003, 12:57 AM   #2
c_you_l8r
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0
Posts: 8

Rep: Reputation: 0
Ok, I'm still having trouble.

I compiled everything just fine, but when I change "nv" to "nvidia" in the XF86Config file, then X simply hangs at a black screen when I try to start it. If I change "nvidia" back to the "nv" it originally was, then everything's great. Maybe I missed something?

Thanks.
 
Old 06-07-2003, 02:06 AM   #3
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
Try adding another user to the system, then logging in as that user and starting X... I've had this problem before wityh my computer but I'm not sure how I fixed it other than removing my username and home dir and readding it.
 
Old 06-07-2003, 10:25 AM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
I have slackware 9.0.

I am using the NVIDIA-Linux-x86-1.0-4363.run driver.

I don't know why it works on some slack systems and not on others.

http://www.nvidia.com/view.asp?IO=li..._ia32_1.0-4363

ftp://download.nvidia.com/XFree86/Li...363/README.txt

regards...
 
Old 06-07-2003, 11:03 AM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Yeah, I just used the regular nvidia driver .run pack, built the kernel module myself (part of the install), and then followed the Nvidia readme, and it worked great. No problems.

This may help people:

If you are having trouble installing the drivers, and it complains about kernel headers. Make sure you install the kernel-headers package from the slackware CD, and the slackware source from the /extra directory on the Slackware FTP.
 
Old 06-07-2003, 11:13 AM   #6
usernamed
LQ Newbie
 
Registered: Jun 2003
Location: By the sea
Distribution: LFS/BLFS
Posts: 24

Rep: Reputation: 15
I used the executable that NVIDIA are now providing on their drivers page. It came up with the common 'couldn't find kernel headers' error the first time I ran it, but there's a command-line switch you can add to point the setup program at the kernel headers (to get the advanced options when running the NVIDIA installer, type 'sh NVIDIA-Linux-x86-1.0-4363.run -A)

I believe the exact command line I used to install the kernel headers was 'sh NVIDIA-Linux-x86-1.0-4363.run --kernel-include-path=/usr/src/linux-2.4.20'

The above worked for me, I said no to trying to find kernel headers on the nvidia website, and it then went ahead and built what it needed from my kernel headers installed locally.

Please bear in mind with the nvidia driver that if you recompile your kernel for any reason, you will subsequently have to re-run the nvidia setup program so that the correct modules are re-inserted into your new kernel.

Hope this is of some help,

Mark

P.S. cyoul8r, if you're still having problems, try looking into /var/log/XFree86.0.log and posting up any lines that begin with (EE). The (EE) lines are errors being reported by XFree86.

Last edited by usernamed; 06-07-2003 at 11:17 AM.
 
Old 06-07-2003, 01:23 PM   #7
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
Yeah ok, this tutorial/how-to was written to use the DRIVER SOURCE and NOT the stupid .RUN file...
 
Old 06-07-2003, 02:04 PM   #8
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Astro,
I realized that about your thread. And it's a good thing. For my part, I was just putting in a little counter to the part that said:

Quote:
...the install file that NVIDIA has made for you to install the drivers doesn't seem to work on the slackware-based systems
And, it's mostly just for the benefit of those searching on the subject later.

I guess, and this is from a new user of slack, that your 'howto' is probably a better thing to know than the "stupid .RUN file" thing. And, I'll probably go with that on my next slack install. Which won't be long, given my maniacal penchant for reformatting and reinstalling.

regards...
 
Old 06-07-2003, 04:04 PM   #9
c_you_l8r
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0
Posts: 8

Rep: Reputation: 0
I tried making a new user. No good.

After you compile the kernel and everything, where does it stick it? Shouldn't I have another entry in Lilo or something?

I also tried to grab the header files and use the .run, but I couldn't figure out which stuff I actually needed to download. I don't have kernel source in /usr/source. Just a /rpm directory.

Thanks for all your help with this...

(I feel like such a N00B)
 
Old 06-07-2003, 04:07 PM   #10
c_you_l8r
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 9.0
Posts: 8

Rep: Reputation: 0
Oh, and I tried to look through the log. No lines with EE. It's completely hanging, and I have to hard reboot the system once it hangs. It also seems to be writing over the XF86Config file with html garbage when I have to hard restart as well.
 
Old 06-07-2003, 04:12 PM   #11
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
Try grabbing the kernel source and installing it then reinstalling the drivers how I stated in the first post.
 
Old 06-08-2003, 08:26 PM   #12
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
Hi All

Dunno if this has actually got anything to do with this, but i'm starting to run out of ideas.

Got an AMD AthlonXP 2400+, 512DDR (dual channel configured), on a Soltek 74FRN2-L mobo (nvidia2 chipset), and a Abit Siluro GeForce 4 Ti4200 OTES

Everything runs ok, X starts, UT2K3 runs, BUT the framerate is way down, going as low as 12 FPM. This is a new problem, SuSE didn't have the issue, despite using the same kernel package (in other words the downloaded self compiled one, rather than the distro supplied tarball).

Whilst i acknowledge, life could be worse, with X not running at all, i know that this should be working.

I've tracked the primary effect to be:
bash-2.05b# cat /proc/driver/nvidia/agp/status
Status: Disabled

as a result i have searched to find something to change said status to Enabled, with all the associated bells and whistles (read better performance). Instead I found that agpgart is part of the problem. Recompiling the kernel, making agpgart a module, or not yields nothing. Additionally i've found that dmesg's out put ends with:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4363 Sat Apr 19 17:46:46 PDT 2003

I am going to do a source code install of the NVidia drivers, as described here, since this has previously worked cure some SuSE issues (read failure of X to start). But frankly it seems that there is something else amiss.
 
Old 06-09-2003, 03:37 AM   #13
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
Hi Chakkerz.
One thing you have to do is using Nvidia AGP driver (it is already part of the driver, just must be activated), as kernel's AGP driver doesn't support nForce2 chipset. To activate it you have to insert "option "nvAGP" "1""(or something similar, check in readme)in XF86Config, it forces X to use Nvidia AGP driver. I have near the same computer configuration and have about 3000 fps with Nvidia driver (500 fps full screen 1024x768).
 
Old 06-09-2003, 06:42 AM   #14
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
Hmm

Yeah i tried that ("NvAGP" "1" which forces the use of NVidia's AGP driver ... or rather "tries" to use NVidia's) but the XFree86 log still states:
(WW) NVIDIA(0): Failed to verify AGP usage
and agp ain't enabled according to /proc/... either (framerates in UT2K3 support the off notion)

Here is something else i just noticed that's odd:
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24

This is odd, because i'm running at 24bit, according to /etc/X11/XF86Config

Am i missing something about Slackware?? in SuSE and debian the XF86Config file had a -4 postfix, in Slackware it doesn't. And in either of those distro's a simple install yielded working results, in the GFX department ... ok debian was a struggle, but no problem like this. SuSE first up though.
 
Old 06-09-2003, 09:27 AM   #15
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
Have you uncomented "load glx" in XF86Config?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware Install Guide? carlosinfl Slackware - Installation 5 12-11-2005 04:57 PM
ATI, Slackware 10 and 2.6.7 INSTALL GUIDE sovietpower Slackware 75 12-28-2004 06:21 PM
Have Slackware - need help to install nvidia 5200 driver ignorant Linux - Newbie 6 05-06-2004 03:59 PM
Guide Kernal Config/Driver install for NF7-S Rev 2.0 in Slackware 9.1 jimdaworm Slackware 0 02-09-2004 11:40 AM
Slackware 8.0 install guide Colonel Panic Linux - Software 3 09-15-2001 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration