[nvidia-glx-legacy] xorg freezes when using nvidia-legacy driver

Bug #35173 reported by Jorge Juan
10
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-71 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

xorg freezes while resizing windows using the nvidia-legacy driver (TNT2 card).

kernel issues:
NVRM: Xid: 13, 0000 02004200 00000042 00000304 20002000 00000002

After the freeze it is possible to recover through stop gdm, kill X server (kill -9) and start gdm again from a ssh connection.

It can be easily reproduced (in my system) by doing:

1. Open a terminal and a calculator (for example)
2. Open an OpenOffice window (also works with firefox) and put on top of ther previous windows.
3. Hold the right side of the window and resize continously for some time. Xorg hangs after a few seconds of doing so.

I suspect of a bug in the nvidia-legacy driver when heavily loaded do to continuous window re-draw.

Simmilar problem seen at:

http://www.nvnews.net/vbulletin/showthread.php?t=47502

Setting:
Option "RenderAccel" "false"
in xorg.conf does not help.

I know supporting nvidia drivers is not ubuntu task, but a known workaround would be useful.

System info follows:

# uname -a
Linux valhalla 2.6.15-18-686 #1 SMP PREEMPT Thu Mar 9 15:29:22 UTC 2006 i686 GNU/Linux

ii linux-image-2.6.15-17-686 2.6.15-17.26 Linux kernel image for version 2.6.15 on PPro/Celeron/PII/PIII/PIV SMP/U
ii linux-image-2.6.15-18-686 2.6.15-18.27 Linux kernel image for version 2.6.15 on PPro/Celeron/PII/PIII/PIV SMP/U

ii nvidia-glx-legacy 1.0.7174+2.6.15.7-1 NVIDIA binary XFree86 4.x/X.Org 'legacy' dri
ii nvidia-kernel-common 20051028+1 NVIDIA binary kernel module common files

## dmesg ##########################
...
[4342941.800000] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[4342941.801000] agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
[4342941.801000] agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
[4342942.142000] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[4342942.143000] agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
[4342942.143000] agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
[4343038.731000] NVRM: Xid: 13, 0000 02004200 00000042 00000304 20002000 00000002
...

## lspci ###########################
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 10
        Memory at d6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d4000000 (32-bit, prefetchable) [size=32M]
        Expansion ROM at d7000000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
        Capabilities: [44] AGP version 2.0

## Xorg.0.log ########################
--Nothing relevant--

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Gah a Xid. The only people who can really help you with that are nvidia (since they are the only ones who know what Xids actually mean).

Your best bet of having this fixed is to contact nvidia. See this post in the thread you gave for details: http://www.nvnews.net/vbulletin/showpost.php?p=571109&postcount=23 If nvidia release a new driver with a fix then Ubuntu can support it.

Of course one workaround is to use the nv driver...

Revision history for this message
Oliver Brakmann (obrakmann) wrote :

Just for the record, I can confirm this. My workaround is to disable drawing window contents while resizing.

Revision history for this message
Matthew Lange (matthewlange) wrote :

Hmm, for the record, is this nvidia-glx-legacy? Or is it going to stay in linux-restricted-modules?

Changed in linux-restricted-modules-2.6.12:
status: Unconfirmed → Confirmed
Revision history for this message
Oliver Brakmann (obrakmann) wrote :

Well, I can't say if it's the fault of the kernel module or the X11 driver. If I had to take a guess, it'd be the X11 driver, nvidia-glx-legacy. But l-r-m-2.6.12 is wrong for sure, since both the orignal reporter and me are using Dapper's 2.6.15 kernel.
I haven't had one freeze since using the above mentioned workaround, btw.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Moving to linux-restricted-modules-2.6.15 because the reporter was using dapper (most other nvidia binary driver bugs are in this paackage).

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Oliver:
Are you using a TNT2 card too?

Revision history for this message
Oliver Brakmann (obrakmann) wrote :

Whoops, sorry for not replying earlier, I wasn't subscribed any longer.
No, I was not using a TNT2, my card was a Geforce2 Pro GTS (NV15). I bought myself an intel-based system a year ago, though, so I can't offer any further help, sorry.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Do you still have this issue on 8.04?

Changed in linux-restricted-modules-2.6.15:
status: Confirmed → Incomplete
Revision history for this message
Jorge Juan (jjchico) wrote :

Hi!

I changed my system and do not have access to the TNT2 any longer. If a can get to one I'll check.

Revision history for this message
Leon van der Ree (lvanderree) wrote :

I got Xid errors in Hardy with openoffice sometimes when scrolling though my document.

I've got an ASUSTeK GeForce 7600 GS

Aug 16 17:39:03 leon-desktop kernel: [23274.522247] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080
Aug 16 17:40:10 leon-desktop kernel: [23341.093161] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080
Aug 16 17:40:14 leon-desktop kernel: [23345.285381] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080
Aug 16 17:40:18 leon-desktop kernel: [23349.498905] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080
Aug 16 17:41:14 leon-desktop kernel: [23404.737002] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080
Aug 16 17:41:18 leon-desktop kernel: [23408.958546] NVRM: Xid (0006:00): 13, 0000 01013900 00000039 00000328 00000000 00000080

The screen will go blank and then return to the normal display (so gnome with openoffice and all other applications which are open)

It happens in Openoffice when for certain pages sometimes, when scrolling from one page to the other (not consistent though) and when scrolling it is very slow drawing the next/previous page.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

This bug was reported a while ago and there hasn't been any activity in it recently so we are closing this bug report. If you are still experiencing this bug with the latest release of Ubuntu please feel free to reopen this bug report. You can click on the current status, under the Status column, and change the Status back to "New". Thanks again and don't hesitate to submit bug reports in the future.

Changed in nvidia-graphics-drivers-71:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.