Bug 3333

Summary: XOrg hangs with GeForce 6200 and 6600
Product: xorg Reporter: Ben <solnul>
Component: Driver/nVidia (open)Assignee: Aaron Plattner <aplattner>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: aplattner
Version: 6.8.2Keywords: want-backtrace
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Proposed fix none

Description Ben 2005-05-18 19:05:28 UTC
The nv driver is somewhat broken for the new GeForce 6200 and 6600. Loading any
GTK program hangs the machine (can't even switch to another VT or
control-alt-backspace).

SUSE 9.3 resorted to making XaaNoScreenToScreenCopy the default for these cards.
I can confirm that this works, but is obviously not ideal. XaaNoOffscreenPixmaps
does not fix this.

(See also: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157715)

Thanks for looking into this.
Comment 1 Ben 2005-05-19 11:05:59 UTC
Also, this seems to be a recent bug. Older Xorg such as that in FC3 are not
affected.
Comment 2 Chris Lee 2005-07-04 16:15:33 UTC
Is there any way you could get us a backtrace from the server when it freezes  
up? 
 
Also, can you check to see if this still happens with the nv driver from CVS 
HEAD? 
Comment 3 Mike A. Harris 2005-07-08 18:49:11 UTC
Same driver is in both FC3 and FC4, so if the issue only occurs in FC4,
then the driver probably uses non-portable C, or has undefined behaviour
that just happens to work in FC3's compiler.  (Just an assumption).

This problem occurs on lots of GeForce 6x00 cards and is often reported.
For now, we're disabling ScreenToScreenCopy to work around the problem,
as there doesn't seem to be a real solution available.



Clee:

It also occurs with CVS head, users have confirmed in our bugzilla.
(I updated the rawhide driver to CVS HEAD's driver)

Also, a backtrace is not possible.  The machine completely hangs
with zero response.  Even if it didn't hang, getting a backtrace
from X requires recompiling a static server, or using CVS head
Xserver with dllmodules.

My assumption currently, is that we'll have to disable the broken
primitives until Mark or someone at Nvidia can diagnose the problem
with in depth knowledge of the driver and hardware.
Comment 4 Bart Verwilst 2005-09-21 01:45:40 UTC
Hi! 
 
Tried to install ubuntu breezy preview, and when X starts, everything hangs. 
All i can see are black/white lines distorted on the screen.. I'm using a 
Geforce 6600GT..  
 
Thanks in advance! 
 
Kind regards, 
 
Bart Verwilst 
Comment 5 Aaron Plattner 2005-09-28 00:27:24 UTC
Created attachment 3417 [details] [review]
Proposed fix

Does the attached patch help?
Comment 6 Aaron Plattner 2005-09-28 10:23:08 UTC
CVSROOT:	/cvs/xorg
Module name:	xc
Changes by:	aplattner at gabe.freedesktop.org	05/09/28 10:18:02

Log message:
  * programs/Xserver/hw/xfree86/drivers/n/nv_hw.c:
      Bug #3333 <https://bugs.freedesktop.org/show_bug.cgi?id=3333>
      Patch #3417 <https://bugs.freedesktop.org/attachment.cgi?id=3417>
  
      Fix a hang during screen-to-screen blits on certain GeForce 6xxx
      and Quadro FX 540 graphics cards.

Modified files:
      xc/programs/Xserver/hw/xfree86/drivers/nv/:
        nv_hw.c 
  
  Revision      Changes    Path
  1.10          +5 -1      xc/programs/Xserver/hw/xfree86/drivers/nv/nv_hw.c
  http://cvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_hw.c

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.