LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-02-2009, 05:38 PM   #16
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Rep: Reputation: 15

I'm still a Slackware 'newbie' and can only report my travels. I attempted as well to install Nvidia drives from their website without success. However with the gentle nudging from nice folk on this site I was encouraged to go to http://slackbuilds.org/ and follow the instructions. After many tears, cries of anguish and swearing off computers forever I eventually 'got it' and was able to install my Nvidia drivers.

The answer is there and it will all make sense on the other side......I promise.
 
Old 01-02-2009, 06:41 PM   #17
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
Sorry, should have been more specific. The NVidia driver in particular has different flags to switch back and forth between the 'nv' and 'nvidia' driver, and you must hand configure the xorg.conf file. I adjusted xorg.conf manually per the README at nvidia.com, but I had no success, and I really wasn't sure that I was doing it correctly even though everything built and installed ok.

This is the first time I've had any issues with an NVidia driver on Slackware. I actually have an older NVidia driver that I backed up prior to upgrading from version 12.0, and it no longer works either. I'm guessing something changed with Slackware between then and now. I'll do more hunting around tomorrow and post back if I find anything.

Last edited by Maestro485; 01-02-2009 at 06:52 PM.
 
Old 01-02-2009, 08:28 PM   #18
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
The nvidia driver is a kernel module, so every time you change your kernel (which you do if you upgrade Slack) you need to recompile the nvidia driver.

To switch between nv and nvidia you just need to edit the "Driver" line in the appropriate "Device" section of your xorg.conf.

Really, just use the ones on slackbuilds.org and you'll have no problem.

Brian

Last edited by BCarey; 01-02-2009 at 08:30 PM.
 
Old 01-02-2009, 08:41 PM   #19
jmhet42
Member
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD
Posts: 30

Rep: Reputation: 16
Maestro485

Get the beta:

NVIDIA-Linux-x86-173.14.15-pkg1.run.
 
Old 01-02-2009, 08:55 PM   #20
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
I absolutely agree. However, the nvidia driver script attempts to compile a module for the current kernel. It fails with the log file that I provided earlier.

Again, I should've been more clear. I have a fresh Slackware 12.2 install that the NVidia driver doesn't like. (I didn't "upgrade" per se, I just installed the new version). Slackware 12.0 worked fine with it.

Anytime I switched the driver in 'xorg.conf' to 'nvidia' I had problems, but like I said, the documentation wasn't perfect and I wasn't sure if it was my error or something else. The slackbuild README for the nvidia kernel/driver is lacking, but I gave it a shot.

I've used slackbuilds.org for many programs, so I'm fairly sure that isn't the problem unless the nvidia-driver/nvidia-kernel has extra parameters that I might have missed.

Thanks for the input,
Matt
 
Old 01-02-2009, 09:10 PM   #21
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
I'll try the beta tomorrow, it's a bit late in the eastern USA right now. Thanks!
 
Old 01-03-2009, 12:43 AM   #22
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Hi
I had the same problem as Maestro485, I just installed NVIDIA-Linux-x86-173.14.15-pkg1.run beta version without problems. Worked for me, might work for you as well.
One question though. Does anyone know what cause this problem?

Last edited by Nikosis; 01-03-2009 at 12:47 AM.
 
Old 01-03-2009, 05:18 AM   #23
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
The slackbuild README for the nvidia kernel/driver is lacking
Can you describe in a little more detail what exactly is lacking?
FWIW, nvidia-driver.SlackBuild builds only the userspace part of the nvidia-graphics-driver. It shouldn't ever fail. nvidia-kernel.SlackBuild builds the required kernel module for it, AND transparently patches the module if you use a kernel that is not supported by upstream yet (if a patch has been found). That is of course not
documented in the README as it doesn't matter for the user of the SlackBuilds. Everybody who cares can still take a look at the SlackBuilds themselves.
 
Old 01-03-2009, 10:52 AM   #24
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
OK, let me also be clearer:

As ppr:kut has pointed out, there are two parts to the nvidia "driver", the userspace part and the kernel module. They are both compiled and installed together if you use the .run file downloaded from nvidia. On slackbuilds they are seperated.

The failures are coming from the kernel module compilation. The slackbuild for the kernel module includes a patch. So, please, try the slackbuild for the kernel module and post any error messages which result from that compilation.

I assume you are using the generic 2.6.27.7 smp kernel and have installed the kernel sources. If so, do the following:

Code:
cd /your/builds/directory
wget http://slackbuilds.org/slackbuilds/12.2/system/nvidia-legacy173-kernel.tar.gz
tar xfv nvidia-legacy173-kernel.tar.gz
cd nvidia-legacy173-kernel
wget http://us.download.nvidia.com/XFree86/Linux-x86/173.14.12/NVIDIA-Linux-x86-173.14.12-pkg1.run
su -c "sh nvidia-legacy173-kernel.SlackBuild"
Brian
 
Old 01-03-2009, 11:18 AM   #25
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
I actually grabbed the beta and it worked perfectly. Thanks a lot for all the help!
 
Old 01-06-2009, 11:53 PM   #26
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Debian GNU/Linux bookworm/sid
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
Thumbs up

Quote:
Originally Posted by tdtooke View Post
This probably isn't relevant at all to your problem, but I had to use a beta driver to get things working right myself. The legacy driver which I have to use since I have an old GeForce FX 5200 wouldn't even build with the new kernel. What I used can be found here. Somebody here probably needs that.
thanks mate, I have the same card, and I am trying the beta, will notify the results.
 
Old 01-07-2009, 12:16 AM   #27
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
ATTN: Kernel 2.6.28 Users

The SlackBuild nvidia kernel driver will not work with the latest 2.6.28 kernel, it needs to be patched.

Rather than patch it, I am using the beta from nvidia with no issues at all.
 
Old 01-07-2009, 03:58 AM   #28
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
The SlackBuild nvidia kernel driver will not work with the latest 2.6.28 kernel, it needs to be patched.
I have made a private update to nvidia-kernel, which includes a patch for 2.6.28. I'll submit it as soon as I can test it myself. In the meantime you can get it here:
nvidia-kernel.tar.gz
 
Old 01-19-2009, 04:11 PM   #29
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
I have the NVIDIA driver working fine from the nvidia website installation programme on two different Slack 12.1 machines and had it also on an 11.0 machine. However that machine now has a 12.2 Slackware installation and the latest NVIDIA driver installation gives me an unstartable X session. I have not tried the version from Slackbuilds. The "nv" driver works fine, as does the VESA driver. The problem with the NVIDIA driver is that X tries to start but three messages indicating that KDE startup fails (first one is something like "cannot start kconfigstart". Also simply changing back to nv or VESA drivers by editing xorg.conf does not get X working again - you have to do the entire NVIDIA driver uninstall. Then everything works again. I presume that an nvidia kernel module gets loaded which screws things up.

Bogzab
 
Old 02-14-2009, 12:24 AM   #30
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
I'm jammed.. can anybody post a step by step description?
we have two slackbuilds - "kernel" and "driver" right?
then, we unpack them, put, say "NVIDIA-Linux-x86-96.43.07-pkg1.run' in each folder, right? then we get two tgz packages -
"nvidia-legacy96-driver-96.43.07-i586-1_SBo.tgz"
and
"nvidia-legacy96-kernel-96.43.07_2.6.27.7_smp-i486-1_SBo.tgz".
Ok here. I install them. Now what?
Sorry, but I'm really jammed right now. Show me the proper way cause I'm eager to use 12.2.
 
  


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
nVidia driver problem in BlueWhite64 (Slackware) UNHleaSHD Linux - Software 6 09-12-2008 11:37 PM
NVIDIA driver problem on slackware 10.1 kernel 2.6.12.5 kuronyu Linux - Hardware 20 10-24-2005 01:12 PM
Problem in slackware 10 with nvidia driver SlackwareMan Linux - Games 8 05-19-2005 04:31 PM
Nvidia video driver - audio problem Johng Linux - Hardware 3 05-28-2004 06:45 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM

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

All times are GMT -5. The time now is 04:52 AM.

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