Bug 9032

Summary: fix DRI locking in tdfx
Product: xorg Reporter: Svante Signell <svante.signell>
Component: Driver/tdfxAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high CC: alexdeucher
Version: 7.1 (2006.05)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6666    
Attachments:
Description Flags
untested patch. none

Description Svante Signell 2006-11-14 14:29:35 UTC
As reported to the Debian bugtracker (see link below) the latest tdfx driver
1.2.1 and xorg 7.1 hangs when launching 3D applications with DRI enabled. SW
rendering is OK. For example glxgears hangs after the window is created, staying
black. tdfx 1.1.1.3 and xorg 7.0 did work without problems. This bug is probably
related to #7967 and #7271. I have tried to check out the versions 1.1.1 (tag
XORG-7_0) 1.2.0 (tag 1_2_0), 1.2.1 from Debian unstable and 1.2.2 (latest) from
CVS. All fail in the same way, except 1.2.0 which freezes the computer. I have
not backed to the Xserver to 7.0 though (since it is no longer available in
Debian unstable). Latest findings, reported in Debian bug #395044 are the strace
and gdb outputs and a spurious output from Xorg.0.log. For me to help finding
the causes of the errors, please advice how to best debug this driver? 

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395044 for further information.
Comment 1 Alex Deucher 2006-11-15 11:59:06 UTC
This sounds like a DRI locking bug.  See bug 6357
Comment 2 Alex Deucher 2006-11-15 13:58:42 UTC
Created attachment 7798 [details] [review]
untested patch.

should do the trick
Comment 3 Svante Signell 2006-11-15 15:26:51 UTC
I have now tested the patch. It works! Please increment also the patchlevel. I
think many people will be happy to see a working tdfx driver again for xorg 7.1
since tdfx 1.1.1.3 and xorg 7.0.
Comment 4 Alex Deucher 2006-11-20 10:38:56 UTC
leaving open until the patch hits tdfx git.
Comment 5 Alex Deucher 2006-11-22 08:46:47 UTC
committed

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.