there's an ugly hack in GL/dri/dri.c to take the drawable lock on every ValidateTree. really we only need to do that when we're updating DRI drawables specifically, but simply undefining DRI_BROKEN doesn't work because the logic is wrong.
Created attachment 3212 [details] [review] dri-not-really-broken-1.patch move the drawable lock acquisition into ClipNotify and only run it when touching a DRI window. mark drawable lock acquisition on a per-screen basis (instead of once globally, which is wrong) and release it in the BlockHandler if necessary.
applied to head, closing
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.