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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-19-02, 08:43 PM   #1
chazmati
ABit Siluro GF4 Ti4200
 
Join Date: Aug 2002
Posts: 9
Default SMP system hangs with OpenGL

I recently built a dual Athlon box (Tyan Tiger MPX) and my GF4 Ti4200 just hung the system when I tried an OpenGL visualization plugin through XMMS. Damn. Cursor still worked, but everything else was frozen. Anyone else have this problem? I had the same thing years ago on my dual-Celeron box with a PCI Riva TNT card. I figured by now this would be fixed.

System is Red Hat 7.3 with 2.4.18-5 kernel, SMP kernel and GLX drivers.

Any tips would be appreciated. Like is this a kernel problem, or a driver problem? Are there some BIOS settings that might help? I'm running with the 'mem=nopentium' option, by the way. Given some pointers I'll even start trying to fix this myself, I'm that desperate.

Chaz
chazmati is offline   Reply With Quote
Old 08-20-02, 02:05 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

It might be that dual athlon stuff isn't that stable yet. It took a long time before normal intel cpu's were stable in SMP mode. Bug report to: linux-bugs@nvidia.com
Thunderbird is offline   Reply With Quote
Old 08-20-02, 08:26 PM   #3
chazmati
ABit Siluro GF4 Ti4200
 
Join Date: Aug 2002
Posts: 9
Default Stable in SMP mode?

Maybe, although I haven't seen any other stability issues with this system. It's not overclocked, I didn't 'cheat' by using a pair of Athlon XP processors... so why doesn't this work?

My old dual Intel box could handle neither the xmms visualization plugin nor the OpenGL xscreensaver modes

I ran through a couple levels of Quake3 last night, and that worked fine. So maybe the issue is with the xmms plugin code and not with the NVdriver or the GLX stuff. Frustrating.

Thanks for your reply.
chazmati is offline   Reply With Quote
Old 08-21-02, 12:47 AM   #4
gbrauer
Registered User
 
Join Date: Aug 2002
Location: San Francisco, CA
Posts: 5
Default

The linux kernel does not yet work stably on Athlons with AGP enabled. You can either:

a) Disable AGP by adding

Option "NvAgp" "0"

to the device section of your XF86Config-4 file, or

b) Patch your kernel with either the experimental patch from AMD. An article on it is here:

http://www.linuxjournal.com/modules/...ter/6148s1.php

And the patch is here:
ftp://ftp.suse.com/pub/people/ak/v2....-2.4.19pre10-2
gbrauer is offline   Reply With Quote
Old 08-21-02, 08:51 AM   #5
chazmati
ABit Siluro GF4 Ti4200
 
Join Date: Aug 2002
Posts: 9
Talking

Great linkage, thanks much. Required reading for anyone with a dual Athlon system + nVidia card.

Chaz
chazmati is offline   Reply With Quote
Old 08-21-02, 11:21 PM   #6
chazmati
ABit Siluro GF4 Ti4200
 
Join Date: Aug 2002
Posts: 9
Default

Just wanted to follow up on the SMP stability issue.

Disabling AGP sounded like a performance hit, so I read through the AMD issue report--which was awesome--and applied the patch to the 2.4.18-10 kernel, which RedHat released today.

So basically what I did was to grab "kernel-source-2.4.18-10" via up2date and apply the patch (see gbrauer's post for the link) to /usr/src/linux-2.4/arch/i386/kernel/setup.c before building a custom kernel. Red Hat's instructions were very clear although I encountered one error compiling the "transparent decompression extension" to the iso9660 filesystem. I disabled this option and was able to make bzImage/modules etc.

I rebooted into that kernel 30 minutes ago and haven't had a crash yet. During this time XMMS has been running that OpenGL plugin that quickly crashed my system under the stock 2.4.18-5 kernel.

Thanks again for the valuable information, hope this helps other people in the same situation.
chazmati is offline   Reply With Quote
Old 08-22-02, 01:34 AM   #7
gbrauer
Registered User
 
Join Date: Aug 2002
Location: San Francisco, CA
Posts: 5
Default

Glad to be of help... it took me weeks to find that info. However....

I just noticed in the changelog for RH kernel-2.4.18-10 this change:

* Tue Jun 11 2002 Benjamin LaHaise <bcrl@redhat.com>

- add linux-2.4.19-pageattr.patch to fix the cache attribute conflict problem


I *believe* this is a backport of the AGP speculative caching fix from the 2.5 kernel. The patch I linked to above is a workaround that works by disabling speculative caching. This patch may actually fix the architectural problems in the kernel. You may have "double fixed" your problem by patching RH 2.4.18-10.

AMD claims the workaround patch only adds a 2-3% performance hit, but you may want to try running the stock 2.4.18-10 kernel and see if you're still stable.
gbrauer is offline   Reply With Quote
Old 08-25-02, 01:12 AM   #8
crazyowl
Registered User
 
Join Date: Aug 2002
Posts: 13
Default

can u plz clearly explain how to apply this patch .. preet preety please :-)
crazyowl is offline   Reply With Quote

Old 08-26-02, 07:37 AM   #9
chazmati
ABit Siluro GF4 Ti4200
 
Join Date: Aug 2002
Posts: 9
Default

You need the kernel sources, obviously. And you have to edit the filename in the patch:

--- linux/arch/i386/kernel/setup.c-pre10 Sun Jun 16 21:34:48 2002
+++ linux/arch/i386/kernel/setup.c Sun Jun 16 21:50:53 2002

I removed the "-pre10" from the first line. Then

# cd /usr/src/linux-2.4/arch/i386/kernel
# patch -p4 < /path/to/patchfile/you/just/edited

Then follow the instructions to recompile a custom kernel (edit the /usr/src/linux-2.4/Makefile and add "Extraversion=<something>" so you don't overwrite your vendor kernel).

gbrauer mentioned the RedHat 2.4.18-10 kernel seems to have a (better?) patch for this, so you may not need this, but you might want to try it just to cover all bases.
chazmati is offline   Reply With Quote
Old 08-26-02, 09:28 AM   #10
tedkaz
Registered User
 
Join Date: Aug 2002
Posts: 4
Default What a saga :-)

I went through hell with this, with RHL 7.2 I and
the 2880 it was ok with my dual athlon on a Tyan
S2462. Upograde to RHL 7.3 and 2.4.18-3,4,5 it was hosed. But I am now on 2.4.18-10 kernel and I seem to be ok. I never could make it through one round of Tuxracer before. Time permitting I will dig into this some more, it definelty seems to be a big performance hit with any of the open gl stuff going. ANyway, great thread with a great link.
tedkaz 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
December 2012 OpenGL status News Archived News Items 0 12-30-12 10:20 AM
The Evolution of PhysX System Software News Archived News Items 0 10-07-12 07:40 AM
DOE Doles Out Cash to AMD, Whamcloud for Exascale Research News Archived News Items 0 07-12-12 07:50 PM
Max Payne 3 system requirements updated, new PC screenshots released News Archived News Items 0 05-28-12 06:49 AM
Strange RedHat 7.3 issues with A7N266-C nforceuser NVIDIA Linux 8 09-27-02 03:16 PM

All times are GMT -5. The time now is 05:47 PM.


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