Bug detailed description:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 137 (DRI2)
Minor opcode of failed request: 4 (DRI2DestroyDrawable)
Resource id in failed request: 0x400003
Serial number of failed request: 39
Current serial number in output stream: 50
Bisect find the first bad commit is 16887d042a917fa4773e4d853f50051b54e9948c.
Author: Kristian HÃ¸gsberg <firstname.lastname@example.org>
AuthorDate: Fri Aug 27 12:40:11 2010 -0400
Commit: Kristian HÃ¸gsberg <email@example.com>
CommitDate: Wed Sep 8 09:20:42 2010 -0400
glx: Drop broken drawable garbage collection
Doesn't work for pixmaps, was looking up the GLX XID and was never thread
safe. Instead, just destroy the client side structures when the
drawable is no long current for a context.
1. start X
2. run oglc case
Marking as blocker as it blocks all of our oglconform testing including GLSL.
(In reply to comment #1)
> Marking as blocker as it blocks all of our oglconform testing including GLSL.
I don't see the oglc failure - is there a specific test case that fails? I do see other bugs with this commit though, and I'll attach the patch I'm planning to use here.
Created attachment 38599 [details] [review]
Delay destroying legacy DRI2 drawables
Here's the patch, it should bring us closer to the old behavior, but without the silly garbage collection.
*** Bug 30114 has been marked as a duplicate of this bug. ***
(In reply to comment #3)
> Created an attachment (id=38599) [details]
> Delay destroying legacy DRI2 drawables
> Here's the patch, it should bring us closer to the old behavior, but without
> the silly garbage collection.
I've just hit this issue too and your patch fixes it for me. Please let me know if you need anything.
I confirm this patch fixes the problem.
Thanks for the feedback, I just pushed the commit.
Works fine, verified.