Bug 8563 - Glean abort with GLXBadContextTag error
Glean abort with GLXBadContextTag error
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965
x86 (IA32) Linux (All)
: highest major
Assigned To: Eric Anholt
: 8700 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-10-09 01:14 UTC by Shuang He
Modified: 2009-08-24 12:24 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

Xorg log file (70.88 KB, text/plain)
2006-10-09 01:15 UTC, Shuang He
Xorg conf file (2.89 KB, text/plain)
2006-10-09 01:16 UTC, Shuang He
Glean test log (2.65 KB, text/plain)
2006-10-09 01:17 UTC, Shuang He

Note You need to log in before you can comment on or make changes to this bug.
Description Shuang He 2006-10-09 01:14:25 UTC
--Architecture(ia32,ia32e,compatiblity): ia32 & ia32e & compatibility
--2D driver: git(eca082ca0fec12973a4dbb0106b841136b5b6cdb)
--Xorg: 7.1
--Mesa: CVS tip
--OS: FC5
--Kernel: 2.6.17

Glean can't run completely, and get following reports at the beginning:

X Error of failed request:  GLXBadContextTag
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  816
  Current serial number in output stream:  816
Comment 1 Shuang He 2006-10-09 01:15:06 UTC
Created attachment 7299 [details]
Xorg log file
Comment 2 Shuang He 2006-10-09 01:16:36 UTC
Created attachment 7300 [details]
Xorg conf file
Comment 3 Shuang He 2006-10-09 01:17:11 UTC
Created attachment 7301 [details]
Glean test log
Comment 4 Gordon Jin 2006-10-10 19:25:40 UTC
1. This also happens on 915 and 945.
2. This is regression. It was working fine on Sep 28.
Comment 5 Matthias Bläsing 2006-10-11 11:04:18 UTC
Just compiled cvs checkout and running xine -V opengl gives this:

X Error of failed request:  GLXBadContextTag
  Major opcode of failed request:  145 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  2272
  Current serial number in output stream:  2272

similar messages are emitted, when running gmplayer -vo gl2 and gmplayer -vo gl.
But with these two, mplayer dies, when stopping the video - xine dies imediatly.

I'm running a r300 based ATI Radeon - so it may be an error not in the driver
but somewhere higher?!
Comment 6 Gordon Jin 2006-10-12 02:26:22 UTC
Eric, how do you think about the correct place to report this bug?
Comment 7 Jesse Allen 2006-10-16 08:20:05 UTC
Hi all!

I've posted two different patches to bug 8443. Please try them out.
Comment 8 Matthias Bläsing 2006-10-16 09:09:34 UTC
Just tested both patches and both patches (seperately) allowed me to start:

-> xine -V opengl(ok, I got a screewed picture, but that is another field)
-> wine opened C&C RA2 just fine
-> supertux switched to and from opengl just fine

Great work!
Comment 9 Ian Romanick 2006-10-16 10:51:51 UTC
I just commited patch #7429.  Could you verify that it resolves this problem? 
It should be version 1.30 of src/glx/x11/glxext.c.  You'll need to rebuild
libGL, of course.
Comment 10 Gordon Jin 2006-10-17 02:38:59 UTC
Ian, thanks for the fix. Verified.
Comment 11 Michel Dänzer 2006-10-19 00:53:49 UTC
*** Bug 8700 has been marked as a duplicate of this bug. ***
Comment 12 ajax at nwnk dot net 2009-08-24 12:24:34 UTC
Mass version move, cvs -> git