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

Newegg Daily Deals

Closed Thread
 
Thread Tools
Old 05-07-05, 10:13 PM   #121
deadhamster
Registered User
 
Join Date: Oct 2002
Posts: 10
Default Re: Trying to make headway into finding the Xid crashes source...

f*** it, I'll buy a playstation

-DH
deadhamster is offline  
Old 05-08-05, 06:51 AM   #122
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: Trying to make headway into finding the Xid crashes source...

Hmm, it seems that strange behavior isn't a nVidia's problem only.

So where is that bug? In X.org?

We would appreciate if zander talks to us about this. Zander, tell us, where do you think is this problem hidden?
LubosD is offline  
Old 05-08-05, 06:57 AM   #123
gilboa
Linux addict...
 
Join Date: Jan 2004
Posts: 540
Default Re: Trying to make headway into finding the Xid crashes source...

In nVidia's defense, the bug can be a result of a hardware problem, configuration problem, kernel bug, driver bug or X.org bug.
Due to the lack of debugging/tracing facilities within the driver, we can't really tell...

Cheers,
__________________
DEV-NG: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX680, F19/x86_64, Dell U2711.
DEV: Intel S5520SC, 2xX5680, 36GB, 5x320GB, GTX550, F19/x86_64, Dell U2711 (^).
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 4x2TB, 9800GTX, F19/x86-64, Dell U2412.
LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F19/x86_64.
gilboa is offline  
Old 05-08-05, 09:45 PM   #124
nukem
Registered User
 
Join Date: Dec 2004
Posts: 226
Default Re: Trying to make headway into finding the Xid crashes source...

So I guess this is a problem with closed source video drivers xorg and the kernel. Any one know how we can get to the root of this problem? Would nvidia be willing to give us some sort of debugging tools or something that can help us get to the root of this?
nukem is offline  
Old 05-08-05, 11:20 PM   #125
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: Trying to make headway into finding the Xid crashes source...

Removed.

Last edited by Ironi; 05-09-05 at 07:45 PM.
Ironi is offline  
Old 05-09-05, 11:57 AM   #126
cpbotha
Registered User
 
Join Date: May 2005
Posts: 7
Default Re: Trying to make headway into finding the Xid crashes source...

I would like to add my 2 euro cents to this problem:

I believe I'm having the same bug that people have described in this thread: the mouse moves (not by much though), but X is completely frozen and consumes 100% CPU. I can still ssh in to the box.

I have a sure-fire way to reproduce the problem: on Ubuntu 5.04 with NVIDIA 7174, I start up an application that opens up multiple glx contexts. If I attempt to close one (glxDestroyContext()), the machine freezes for approximately one minute with the symptoms above. I get the typical Xid messages in dmesg:

NVRM: Xid: 13, 0002 beef9701 00002597 00001d8c ffffff00 00000020
NVRM: Xid: 13, 0002 beef9701 00002597 00001800 00010000 00000800
NVRM: Xid: 6, PE0002 0208 00000128 00000000 06d506d4 fffafe2d
NVRM: Xid: 8, Channel 00000002

After one minute, the window containing the glx context finally disappears and a message such as the following appears in /var/log/xorg.log (or whatever):

(WW) NVIDIA(0): WAIT(0, 6, 0x8000, 0x0000fcc8, 0x0000fcc8, 0)

The box can now be used again, until I try and destroy the next glxContext that is! The previous time, I believed I traced this (with gdb) right into one of the NVIDIA libraries: IIRC the glXDestroyContext() was blocking for the whole minute.

I've disabled RenderAccel with Option "RenderAccel" "False" in the Device section. I've booted with noapic, nolapic and acpi=off. I've tried with agpgart, nvidia agp and also NO agp whatsoever. In my case, I can still reproduce the crash with the multiple context test.

An interesting point is that I DON'T get this crash on Debian Stable with XFree86 4.2.1 (backport) and NVidia driver version 7174.

I hope that someone at NVIDIA can reproduce this. In my case, an application with multiple glxContexts that attempts to destroy one of these contexts does it everytime on a modern linux system.
cpbotha is offline  
Old 05-09-05, 04:25 PM   #127
MNKyDeth
Registered User
 
Join Date: Dec 2003
Location: Michigan
Posts: 44
Send a message via AIM to MNKyDeth
Default Re: Trying to make headway into finding the Xid crashes source...

I have been following this thread and have been trying to experiment on my own aswell. What I find with distro's like gentoo, Ubuntu and various other distro's is I can get this crash bug aswell, but I only seem to get the crash bug using the packaged drivers.

If I use the drivers from nvidia's site and install them manually instead of using a package manager I no longer have the crashing issue. I know this sounds weird but is there something happening differently with straight nvidia drivers vs a packaged nvidia driver from say Ubunut or gentoo?

Btw, machine specs are:
A64 3400+ socket 754
Asus GFFX 5800nu
SB Audigy2zs
promise S150 TX4
Chaintech ZNF-150 mobo
MNKyDeth is offline  
Old 05-09-05, 06:46 PM   #128
nukem
Registered User
 
Join Date: Dec 2004
Posts: 226
Default Re: Trying to make headway into finding the Xid crashes source...

cpbotha: I would write a bug report to nvidia linux-bugs@nvidia.com If you could also provide some simple source code(to the forum and nvidia) to reproduce the bug that would be helpful to.

MNKyDeth: hmmm interesting I know that gentoo does patch the nvidia driver and glx. Ill try to remove the patched in the ebuild and see what happens.
nukem is offline  

Old 05-09-05, 10:29 PM   #129
bitter
Registered User
 
Join Date: Sep 2004
Posts: 32
Default Re: Trying to make headway into finding the Xid crashes source...

Here's my 2c, don't ask for specific details, I'm too lazy.

I bought a Geforce 5200fx and used it in a cheap MB for a few months in a mythtv box zero problems. That's with emulators like epsxe, mupen64 etc, so it has been stressed. Then I exchanged it with an older geForce 440 MX, seemed to work fine for a few days then out of the blue it would freeze religiously when scanning the hd in myth for new 'videos' (people using mythtv will know what I mean). The exact same errors mentioned here. After some research and about a day of this I turned off renderaccel, and for the last 2 weeks not one freeze, and thats the computer on 24/7.

I don't know how to interperet this, but I changed almost nothing when putting the new card in (with the only exception of switching from video to svideo out). So at least for me it seems to be a problem based on cards...
bitter is offline  
Old 05-10-05, 05:17 AM   #130
cpbotha
Registered User
 
Join Date: May 2005
Posts: 7
Default Re: Trying to make headway into finding the Xid crashes source...

Quote:
Originally Posted by cpbotha
An interesting point is that I DON'T get this crash on Debian Stable with XFree86 4.2.1 (backport) and NVidia driver version 7174.
Whoops, sorry about that. I CAN reproduce the same crash on Debian Stable with NVidia driver 7174 with the same multiple context test. With 4496 I never had these crashes.

To reiterate: NVidia 7174 can freeze Ubuntu 4.10, Ubuntu 5.04 (X.org, kernel 2.6) as well as Debian Stable (XFree86 4.2.1, kernel 2.4). Reproduce this by creating multiple glxContexts in a single application and then destroying one of them. In general the freeze lasts for up to three minutes, during which XFree86 or X.org consumes 100% CPU and after which the window containing the glxContext actually disappears.

If I have time, I will make or look for a small application with which others can try and reproduce this.
cpbotha is offline  
Old 05-10-05, 08:06 AM   #131
LubosD
Registered User
 
Join Date: Jan 2005
Location: Czech Republic
Posts: 451
Send a message via ICQ to LubosD
Default Re: Trying to make headway into finding the Xid crashes source...

@cpbotha: I tried to create my own crashing application, but it doesn't crash for me. Am I doing it right? Source code is included...

UPDATE: @*: You can compile the file by renaming to main.c and exec'ing this command:
Code:
gcc -o nvcrash main.c -lGL
Attached Files
File Type: txt main.c.txt (1.2 KB, 354 views)

Last edited by LubosD; 05-10-05 at 09:29 AM.
LubosD is offline  
Old 05-10-05, 10:18 AM   #132
Saulzar
Registered User
 
Join Date: Apr 2005
Posts: 20
Default Re: Trying to make headway into finding the Xid crashes source...

While I haven't tried the glx context create-destroy on my dodgy 6600GT I can safely run it with my 5200 without any issues (in fact anything runs fine with this card.) The same identical code will freeze with the 6600GT, so it cannot be a purely system-software issue (ie. it's not just an issue with with X).

cpbotha - with the 6600GT a call to glReadPixels() is a sure fire way to freeze the system up, amongst others - does this cause a freeze for you?
(I tried this with a friends computer/same card and it didn't freeze.)
Saulzar is offline  
Closed Thread


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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM

All times are GMT -5. The time now is 10:18 PM.


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