LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-30-2004, 10:56 PM   #1
tfdml37
Member
 
Registered: Feb 2004
Location: California
Distribution: Gentoo, Fedora Core 2, SuSE?
Posts: 47

Rep: Reputation: 15
Fedora Core 2 and Nvidia drivers (5336) cause X to hang


I've been running FC2 for a month now on an 1.8 gig anthlon and geforce 2mx with no problems what so ever. I decided to try and see if I could get rtcw to run on FC2, so I tried to install the nvidia drivers (the current ones on the nvidia site). The driver appeared to install fine but when I changed driver "nv" to driver "nvidia" (etc) in xorg.conf, I restarted and everything hung right after it switched to runlevel 5. Hung as in ctrl-alt-backspace and ctrl-alt-delete didnt do anything. I had to use the rescue mode on the install disk to get back in and change driver back to 'nv'. I've read elsewhere that this was a problem between nvidia and some new kernel features and that it was up to nvidia to fix. Any have any ideas to get around this?
 
Old 05-31-2004, 03:45 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
You need to recompile the kernel and set the kernel stack at 8k on the kernel debuging menu. Fedora have applied a patch so that if you use the kernel source supplied by fedora the option to enable an 8k stack doesn't even appear (tricksy little hobbitses stole it from us my precious...). So you'll need to get a kernel from kernel.org. I couldn't get the kernel to build with the Fedora config, I got errors building NFS support and something to do with security to so I used make menuconfig to turn off support for NFS and the whole security menu. Then it built and everything worked.
 
Old 05-31-2004, 09:58 AM   #3
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Alternatively:

http://www.linuxant.com/driverloader...ernel-i686.php
 
Old 05-31-2004, 11:25 AM   #4
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
Thanks lupin

I downloaded the compiled rpm and the source rpm ( for the nvidia installer to build against). Ran the rpms and ran the nvidia installer. Now glxgears on my laptop is 186 fps. Don't think it could've been much easier unless nvidia were more Linux friendly. Also the standard bluecurve background with its blue gradient looked funny without the nvidia driver, sort of like a 256k color setup, but it's also fixed.

My desktop with an ATI Radeon 8500 worked fine with the default FC2 install. No bad color gradients and good glxgears fps. Tuxracing with no effort. I'm not quite sure why, but I've gotten the idea from things that I've read that nvidia was supposed to be preferrable to ATI. Does that mean for gamers using the binary drivers that one is indeed better than the other?
 
Old 05-31-2004, 01:53 PM   #5
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
Re: Thanks lupin

Quote:
Originally posted by flysideways

My desktop with an ATI Radeon 8500 worked fine with the default FC2 install. No bad color gradients and good glxgears fps. Tuxracing with no effort. I'm not quite sure why, but I've gotten the idea from things that I've read that nvidia was supposed to be preferrable to ATI. Does that mean for gamers using the binary drivers that one is indeed better than the other?
The Open Source 'radeon' driver accelerates ATI cards up to the 9100. Believe me, if you had a 9800 you'd be having some serious fun right now
 
Old 05-31-2004, 04:34 PM   #6
saposmak
Member
 
Registered: Sep 2003
Distribution: Redhat
Posts: 72

Rep: Reputation: 15
lupin_the_3rd, has the rpm you've pointed to worked for you?
 
Old 06-01-2004, 01:30 PM   #7
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
perfectly... and saved me time by not having to recopile my own... you actually don't need the .src.rpm just the kernel because the source is the kernel source included for the stock FC2 kernel.
 
Old 06-01-2004, 04:40 PM   #8
tfdml37
Member
 
Registered: Feb 2004
Location: California
Distribution: Gentoo, Fedora Core 2, SuSE?
Posts: 47

Original Poster
Rep: Reputation: 15
Woot, yeah, that worked great for me too lupin. Nice nice nice.. now if I could just get gnome2.6's load file dialog back to the way it was in fc1...

thanks again
 
Old 06-02-2004, 10:42 AM   #9
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
lupin is correct

I didn't need the src.rpm. For some reason(n00b) I thought that the installer would need that when it built the module for the new kernel.

I swithed around some video cards here to get an Nvidia card into my Linux Desktop and then installed the drivers without the src and all went well. I replaced a Radeon 8500 with a GeForce FX 5200. I've lost track of how the various video cards rank but the Nvidia card with the nvidia driver has about the same glxgears frame rate as the Radeon did with the linux drivers.

UT2004demo runs at about 45fps @ 1024x768. It's an ECS K7S5A w/XP2000 and 512MB DDR.
 
Old 06-03-2004, 09:44 AM   #10
Didou
LQ Newbie
 
Registered: Feb 2004
Location: Brussels
Distribution: RedHat / LFS
Posts: 10

Rep: Reputation: 0
Hello all,

That modified i686 kernel works pretty well but I have another machine ( a k6-2 with a gf2mx ) & wish to recompile a new kernel for it ( 2.6.6 from kernel.org ).

Which options in the kernel am I supposed to leave out to make sure I don't run into any problems with the nVidia drivers ? Will setting the kernel stack to 8K suffice ?
 
Old 06-04-2004, 12:53 AM   #11
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
Didou

#4KSTACKS = NO
REGPARM = NO

http://www.linuxquestions.org/questi...hlight=REGPARM

That thread has a how-to for compiling 2.6.6 and installing nVidia drivers.
 
Old 06-04-2004, 05:22 AM   #12
Didou
LQ Newbie
 
Registered: Feb 2004
Location: Brussels
Distribution: RedHat / LFS
Posts: 10

Rep: Reputation: 0
Thanks for the link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 drivers on fedora core 3 srasiroslayer Linux - Software 2 12-31-2004 11:17 AM
fedora core 3 nvidia drivers doralsoral Linux - Software 4 12-03-2004 08:58 PM
New Nvidia Drivers - Fedora Core 2 JustOl'Bob Linux - Newbie 10 07-08-2004 05:28 PM
Black bar on right side of screen after installing NVidia 5336 drivers CarletonKnight Linux - Laptop and Netbook 5 07-06-2004 08:06 PM
Nvidia 5336 Drivers Problem Scorched Linux - Newbie 8 03-02-2004 11:14 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration