Bug 8010

Summary: Assertion in glxgears fails
Product: Mesa Reporter: Stanislav Nikolov <stanley_87>
Component: Drivers/DRI/i915Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: alanh, stefan
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stanislav Nikolov 2006-08-25 15:41:13 UTC
When I try to start glxgears on Intel GMA 950, Xorg 7.1 and Mesa 6.5.1_rc1 
(from hanno-xgl's Gentoo overlay), the gears start spinnging for a second and 
then they crash with the following error:

glxgears: intel_ioctl.c:62: intelEmitIrqLocked: Assertion `((*(int 
*)intel->driHwLock) & ~0x40000000U) == (0x80000000U|intel->hHWContext)' failed.
Comment 1 Xavier 2006-08-26 00:54:21 UTC
I also get the same problem after upgrading mesa to a 20060825 cvs snapshot,
with an intel 855gm and Xorg 7.1
The amount of time needed for glxgears to crash was between 5sec and 30sec using
a 2.6.18-rc4-ck1 kernel. It seems it lasts much longer using debian 2.6.17
kernel, but I can accelerate this by moving the glxgears window.
I was also able to reproduce this playing one game (xmoto) for several minutes,
but not others (armagetron, ppracer, neverball), but I probably didn't play
these long enough.
I wish I could provide more informations.
Comment 2 Xavier 2006-08-26 09:49:33 UTC
After doing a bit of regression testing, it seems that the 2006-08-18 version
works, and the 2006-08-19 doesn't.
This seem to correspond to this commit from alanh :

Fix writemasks on texture arb fp instructions.
Cleanup invarient state emission.

Thanks to MrCooper on #debian-x channel for his big help :)
Comment 3 Alan Hourihane 2006-08-26 14:23:38 UTC
Should be fixed now in CVS. Reopen if there's still troubles.
Comment 4 Xavier 2006-08-26 15:15:22 UTC
(In reply to comment #3)
> Should be fixed now in CVS. Reopen if there's still troubles.

Right, it seems to be fixed, at least I can't reproduce it anymore using the
same method. Thanks a lot.

Though there is something bugging me, there is no way I could reproduce this on
xorg 7.0 with the 1.5.1.0 driver. This only happened with xorg 7.1 with 1.6.1 -
1.6.5 drivers, but I even recompiled 1.5.1.0 against xorg 7.1 and it locked again.

Another question : I used to get between 1000 and 1200 fps before in glxgears
(probably previous xorg version, like 6.8.2 or even xfree86 one), but now I'm
only getting half that. Nothing to worry about ? (unfortunately, I don't
remember any numbers from gl games..)
Comment 5 Paul Sladen 2006-10-10 11:34:11 UTC
Alanh: what was the patch to fix this?  Or at least CVS revision numbers to try
and cherry-pick the solution from?
Comment 6 Adam Jackson 2009-08-24 12:24:13 UTC
Mass version move, cvs -> git

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.