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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-06-06, 04:21 PM   #1
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default 1.0-9526 occasional few second freeze with freeciv

Running freeciv under FC5, with 1.0-9526, causes occasional hangs, usually few seconds, and then recovery. Still occasionally the screen flashes to black, very likely loss of sync (it's a CRT).
This happens almost sistematically when selecting a city and opening the related window (with the city options).
Of course, crashes apart, this makes the game unplayable...
freeciv is set with no "fog of war" and with "grid map on".
With 1.0-8774 situation is worse, I got a complete freeze after a couple of black flashes.

I noticed this errors, with dmesg (also with 8774, before hang):

...
NVRM: Xid (0001:00): 8, Channel 00000000
NVRM: Xid (0001:00): 13, 0000 01013900 00000039 00000328 00000000 00000100
NVRM: Xid (0001:00): 8, Channel 00000000
NVRM: Xid (0001:00): 13, 0000 01013900 00000039 00000328 00000000 00000100
NVRM: Xid (0001:00): 8, Channel 00000000
...

and also in Xorg.0.log:

...
(WW) NVIDIA(0): WAIT (0, 7, 0x8000, 0x000078f4, 0x000078f4)
(II) NVIDIA(0): The NVIDIA X driver has encountered an error; attempting to
(II) NVIDIA(0): recover...
(II) NVIDIA(0): Error recovery was successful.
(II) NVIDIA(0): The NVIDIA X driver has encountered an error; attempting to
(II) NVIDIA(0): recover...
(II) NVIDIA(0): Error recovery was successful.
...

Attached is the bug report, with -logverbose 5.

Final note, I tried the option nvagp 1, which should use the internal NVidia AGP gart, but it seems it does not work. Reason of failure is the agpgart is loaded.
Which might be obvious, but how could I avoid it? Should be the kernel compiled without agpgart module at all? Or there is a way to prevent the module being loaded?
The BIOS is the latest for the MB.
Graphic card is FX5200 based.

Hints or suggestions? Anything to try?
Thanks.
Attached Files
File Type: gz nvidia-bug-report.9625.log.gz (26.0 KB, 109 views)
pgs is offline   Reply With Quote
Old 10-06-06, 04:33 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 1.0-9526 occasional few second freeze with freeciv

What you're experiencing is the driver detecting a specific class of errors and attempting to recover from them. This is a new feature in 1.0-9625 which was not present in the 1.0-8xxx (and earlier) drivers. This is why the problem is much worse for you in 1.0-8774.

The official FC kernels have AGP support compiled in, which is why you cannot use the nvidia driver's internal AGP support.

If you set NvAGP to 0, does that have any impact on the instability?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 10-06-06, 04:39 PM   #3
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Quote:
Originally Posted by netllama
What you're experiencing is the driver detecting a specific class of errors and attempting to recover from them. This is a new feature in 1.0-9625 which was not present in the 1.0-8xxx (and earlier) drivers. This is why the problem is much worse for you in 1.0-8774.

The official FC kernels have AGP support compiled in, which is why you cannot use the nvidia driver's internal AGP support.

If you set NvAGP to 0, does that have any impact on the instability?

Thanks,
Lonni
Thanks for the quick answer.
I suspected the new feature, which is pretty interesting.
I would be curious to know which "class" is this one... :-)

About the kernel, it's not an official FC, but a vanilla 2.6.18 with agpgart compiled as module. What I suspect is that the module (probably the intel_agp) is loaded by udev, I was just wondering if there is a way to avoid this (or if something else is the cause).

I'll try NvAGP 0 and let you know.

Thanks again.
pgs is offline   Reply With Quote
Old 10-06-06, 04:49 PM   #4
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

I tried NvAGP 0, it does not improve the situation.
It seems (but I cannot measure) I get more flash to black (sync loss) and fewer freezes, but the error:

NVRM: Xid (0001:00): 13, 0000 01013900 00000039 00000328 00000000 00000100
NVRM: Xid (0001:00): 8, Channel 00000000

appears as well.

I must say that, time to time, this kind of behaviour happened with the browser (firefox) scrolling pages with "busy" content.
Very seldom also with other applications, but still during scrolling.
It seems to me 2D related...

Thanks.
pgs is offline   Reply With Quote
Old 10-09-06, 10:36 AM   #5
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

I must add something.
The sync loss sometimes occurs also when I have two partially overlapping windows which are updated.
One case was with xawtv partially covered by alevt (the teletext application), both windows were updated, xawtv by xv overlay (alevt I don't know), and sometimes the screen was flashing to black. Checking with the monitor, it seemed a loss of sync. This was with 8178 (the last were xv overlay worked with v4l). Difficult to reproduce sistematically.
With 9625 I did not notice the issue.
Any ideas?
pgs is offline   Reply With Quote
Old 10-16-06, 02:53 PM   #6
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Hi again.
I just experieced the very same problem while browsing and scrolling (up/down) on ebay.
This was not the case with 8178 (drivers in between I don't know, I did not use them due the v4l <-> xv problem).

Any ideas?

Last time I checked the PC memory it was OK, I plan to repeat the test (but not soon), in the meantime is there any test to check the HW of the graphic card?
Or something else?

Thanks again.
pgs is offline   Reply With Quote
Old 01-22-07, 04:57 AM   #7
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Hi all,

I continue to see this problem with the latest driver (9746, I guess).
It is even more annoying, since it happens while browsing, quite reproducible with http://www.imdb.com (which is pretty bad, I must add).

I'm going to try to disable AGP again, and see the results (I suspect in the previous test I was using NvAGP 1, not NvAGP 0, we'll see...).

I also re-tested the system memory, with no problems reported.

Does anyone know how to test the graphic card memory?
And how to test the AGP?

Thanks.
pgs is offline   Reply With Quote
Old 01-22-07, 10:32 AM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 1.0-9526 occasional few second freeze with freeciv

There's no direct means of testing the framebuffer on the graphics card. However, setting NvAGP to 0 would be a useful test as that would disable AGP support, and slow down the traffic between the graphics card and the rest of the system.
netllama is offline   Reply With Quote

Old 01-23-07, 03:33 AM   #9
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Hi all.
Well, it seems that without AGP the problem is not anymore there.
The impression is, of course, that the 2D graphics is a bit slow.

I'll now try again with NvAGP 1, in order to see if the nVidia AGP backend works better than the Linux one. With the previous driver this was not the case.

At this point, has anybody any suggestions on how to proceed?

Thanks.
pgs is offline   Reply With Quote
Old 01-23-07, 12:29 PM   #10
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Hi again.
I'm right now trying NvAGP 1, with mixed results.
It seems that browsing is doing fine, no "sync jumps" so far.
It also seems that the "Xid" reports are a little bit harder to get, but, with freeciv, still loss of sync occurs and, after a while, the "Xid"s reappear together with few second system freeze (only mouse pointer moves).

So, IMHO, the 9746 seems to have improved something on the AGP side, but still not perfect.

Other suggestions?
pgs is offline   Reply With Quote
Old 01-23-07, 12:47 PM   #11
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 1.0-9526 occasional few second freeze with freeciv

You could try lower AGP rates (see the driver README). However, all of this suggests that your motherboard has issues at fast(er) AGP rates.
netllama is offline   Reply With Quote
Old 01-29-07, 07:41 AM   #12
pgs
Registered User
 
Join Date: Apr 2006
Posts: 73
Default Re: 1.0-9526 occasional few second freeze with freeciv

Hi again.

I used this weekend to do some systematic test on the system.

The problem was reproduced (or probed) using only freeciv, typically with multiple windows open (game + city windows).

First test was with NvAGP 1 (nVidia AGP backend, so intel_agp module not loaded). AGP was set to 2x (from default 4x) in BIOS, confirmed in /proc/driver/nvidia/agp/status.
This test case showed the problem. Freezes and Xvid errors.

Second test, as above, but with USWC (Uncacheable Speculative Write Combining) disabled (UC only). Problem still occurring.

Third test, as above, but with AGP aperture reduced from 64MB to 32MB. Problem still occurring, maybe even more often.

Fourth test, with all enabled, but with NvAGP 0, which should be no AGP at all (if I understood it correctly). Problem still occurring. Note that I was wrong when I wrote that this setting was not showing the issue, actually freeciv was causing the freeze and Xvid as usual.

Fifth test, with all enabled, but with the "nv" driver. No problem at all. Even if I must say that, maybe, some black flashing might have occurred, eventually like video refresh not VSync'ed. In any case no freezing and not real sync loss. At least not clearly visible.

Now, from all this I can see that AGP 2x or 4x makes no difference, but also no AGP at all makes no difference, while the "nv" showed no issue, thus leading to the suspect that something in the driver might be the cause.

I have another note. It seems to me that this issue popped up after Xorg 7.0 (or 7.1), so it might be related to the driver-server interaction.

I also saw, here and there in the forum, problems which could look similar to this one, but maybe showing up differently.

Is there anything else that could be tested in order to narrow down this issue?
For freeciv is not much of a problem, but since it occurs while browsing, it becomes pretty pretty annoying.

Thanks.
pgs 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


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


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