Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-17-04, 12:51 AM   #1
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

I recently upgraded from a fully functional but slow Ti200 board to a Gainward 5700FX board. Despite some changes in XF86Config (mostly just turning off options) I can't get it to work, either with Linux 2.6.5 or 2.6.6. With the FOSS driver ("nv") it doesn't work either, but at least Alt+Ctrl+Bksp gets me back to the vt running startx --nodaemon; with "nvidia" I must reboot (BTW, Alt+Ctrl+Del is still active enough to make that happen).

sshd is still working, so I can snoop around through an ssh term, enough to notice that the startx has crashed. This is confirmed by the error captured in startx.err.

I created a test script, which is attached with everything I could think of as relevant in the zip.

Final insult-to-injury: everything works fine in WinXP, including UT2004demo.
Attached Files
File Type: zip NVidia-Linux-test.zip (13.0 KB, 218 views)
ScottMarks is offline   Reply With Quote
Old 05-17-04, 09:38 AM   #2
rednuht
GeForce FX5600 (1.0-5336)
 
rednuht's Avatar
 
Join Date: Sep 2003
Location: uk
Posts: 164
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

hmmm, call me cynical but if the FOSS nv driver does not work and UT2004 fails in winxp you might have a dodgy ...

nvidia card,
motherboard,
memory,
cooling system,
power supply
or electrical disturbance.

sorry.
rednuht is offline   Reply With Quote
Old 05-18-04, 10:26 AM   #3
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

Perhaps you misunderstood "works fine". I dual-boot via Grub to WinXP or one of several generations of Linux (2.6.4, 2.6.5, 2.6.6). So it's exactly the same hardware that works perfectly under WinXP but is failing under any of the Linuxes. The real villian is almost certainly the 5700FX, because all this worked before with my old Ti200 board.

Unless, that is, someone spots something in the attached listings. That is what I am hoping.
ScottMarks is offline   Reply With Quote
Old 05-18-04, 11:49 AM   #4
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

A tad more info: running xf86config to make a vanilla VGA setup works (big ole grunty X in the middle of my screen on startx). Hence, at least in VGA mode with the vga driver, the hardware does what it's supposed to.
ScottMarks is offline   Reply With Quote
Old 05-18-04, 12:22 PM   #5
Kamel
Hardware Mass Murderer
 
Kamel's Avatar
 
Join Date: Oct 2003
Location: Jacksonville, FL
Posts: 1,035
Send a message via ICQ to Kamel Send a message via AIM to Kamel Send a message via MSN to Kamel Send a message via Yahoo to Kamel Send a message via Skype™ to Kamel
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

i'm not "sure" or anything, but isn't DRI a bit dodgy in the 2.6 kernel? -- i dont know how to get it to work or anything as i dont have an nvidia card, but you should base your results on the 2.4 kernel since it's the best tested and well known to work with DRI.
__________________
hardware murdered so far: geforce 5900u, deceised: sat on it. geforce 6600gt deceised: improperly mounted heatsink. 3 asus a7n8x-e deluxe motherboards, deceised: unsure. mobile amd xp2600 processor, deceised: chipped core due to compusa heatsink. dfi lanparty ultra b, deceised: unsure, third memory bank went out. samsung cd burner 48x40x48, deceised: unsure, will only read pressed cd's very slowly. samsung TH552C dvd burner (dual layer), deceised: same as other samsung . 10gb seagate 5200rpm drive, deceised: tried fixing a pin that was pushed into the drive by inserting an ide cable upside down. 40gb maxtor drive, deceised: maxtor manufacturer. 80gb western digital, deceised: unnatural causes. swan xt10, deceised: brutal pre-meditated murder, even video taped (it wasn't y2k compliant). logitech mx510, deceised: death by electricution. ati remote wonder, deceised: death by electricution.
Kamel is offline   Reply With Quote
Old 05-18-04, 12:47 PM   #6
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

VESA driver works, too.
ScottMarks is offline   Reply With Quote
Old 05-18-04, 05:38 PM   #7
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

I was somewhat wrong about the FOSS "nv" driver not working. It works, but only up to 1280x1024 -- at 1600x1200 it thinks it's working (doesn't fail, no error messages), but the screen is blank. And just for the Dept. of Redundancy Dept., the "nvidia" driver fails right off the bat with XIO: fatal IO error 104, and all resolutions, including 1600x1200, work just fine in WinXP.
ScottMarks is offline   Reply With Quote
Old 05-19-04, 12:37 PM   #8
oyvind
Registered User
 
Join Date: May 2004
Location: Norway
Posts: 117
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

All FC2 and _vanilla_ kernels from 2.6.5 up are not compatible with the latest nVIDIA(5336) driver because of changes in kernel stack size (4K stacks) and some other ABI stuff. In pre-2.6.5 vanilla kernels there are options to disable these new features, which will make the nVIDIA driver work again.

(I wonder sometimes why the 2.6-series of kernels is called stable, in the sense of new features and development.. Seems like they're still treating it like the 2.5-kernel. throwing in and changing stuff all the time. But, I guess it's all for the better, so..

The closest I've come to making it work with FC2 was to reverse a patch applied to the FC2 official kernel (kernel-2.6.5-1.358) called "nostack-[something].patch" by downloading the SRPM of the kernel, and snagging the patch from it, then using the -R[everse] switch of `patch' to remove this from the installed kernel sources, then recompiling kernel + nVIDIA driver.

The result was disappointing: It worked for a few minutes, before X went cold and died (taking the whole machine with it). So I don't recommend doing this, because of poor stability. However, without doing this, X always freezes during boot, so it's a little bit better I guess, but no real alternative.

I personally am using the "nv"-driver at the moment (very stable, some performance problems, no 3D), while I patiently wait for nVIDIA to release an update. I guess if you're desperate you could try a vanilla 2.6.3 or 2.6.4, that should work.
oyvind is offline   Reply With Quote

Old 05-19-04, 05:37 PM   #9
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

When I look at /usr/src/linux/.config using "make menuconfig", in the Kernel hacking section, it has a checkbox for 4KB stacks, which is unchecked. Sure enough, in .config I find the corresponding "# CONFIG_4KSTACKS is not set". The help in menuconfig says:
Quote:
If you say Y here the kernel will use a 4Kb stacksize for the kernel stack attached to each process/thread. This facilitates ...."
with the heading "Use 4Kb for kernel stacks instead of 8Kb". Call me naive, but to me that strongly indicates that unless I check that box and get CONFIG_4KSTACKS #defined, I should expect the kernel to use the old 8Kb stacks. Is that assumption wrong?
ScottMarks is offline   Reply With Quote
Old 05-20-04, 04:26 AM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

Unless you build 2.6.6 with CONFIG_4KSTACKS, it will use the conventional 8K stacks; the Fedora Core 2 kernel is different in that the stack size is no longer configurable, though it is possible to restore the vanilla configuration option as oyvind suggested - doing that and configuring/rebuilding the kernel accordingly restores compatibility.
zander is offline   Reply With Quote
Old 05-21-04, 01:42 AM   #11
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

I got it to work -- all of it. 2.6.6 kernel, either FX5700 or FX5900XT board, 3D, glx of 6500 on the 5900 board -- woo hoo!

The trick was to go let XFree86 talk to the driver and make a starting point XF86Config by using XFree86 -configure. Then I worked from there.

The big problem was that on my Ti200, if I didn't tell it to ignore the CRT and TV outputs, it took literally minutes to settle on using the DFP. However, that same option is DEATH on the new driver, at least with these two boards:

Code:
Option "IgnoreDisplayDevices" "CRT, TV"
I've attached my XF86Config (in a .zip) for anyone who might be interested.
Attached Files
File Type: zip XF86Config.zip (6.8 KB, 209 views)
ScottMarks is offline   Reply With Quote
Old 05-21-04, 01:43 AM   #12
ScottMarks
FX5900XT :)
 
Join Date: May 2004
Posts: 18
Default Re: No-go w/ 5700FX, Linux 2.6.6, drivers 1.0.5336

BTW, Gentoo Linux -- of course.
ScottMarks is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to quickly Install NVIDIA R302.11 Drivers Under Linux Mint 13 News Archived News Items 0 06-12-12 07:40 AM
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 01:52 PM
EA gains Linux Attention. Better Quality Drivers Please! Ruinairas NVIDIA Linux 4 05-09-12 02:12 PM
NVIDIA Drivers + Linux 7.3 Works once then quits Yupper3d NVIDIA Linux 3 08-01-02 05:03 AM
LCD DVI support in Linux drivers? salobaas NVIDIA Linux 1 07-31-02 04:29 AM

All times are GMT -5. The time now is 10:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.