[Mesa-dev] [PATCH v4 0/3] asynchronous pbo transfer with glthread

Michel Dänzer michel at daenzer.net
Thu Apr 20 01:56:34 UTC 2017


On 20/04/17 01:43 AM, gregory hainaut wrote:
> Hello All,
> 
> I ported PCSX2 to xcb (at least the non-glx part). Crash is gone :)
> So I can send the v5 with the hash delete fix.
> 
> However, Mesa might receive crash bug report when glthread is enabled
> on a random app that doesn't use xcb/XinitThread properly.

This means it's still a bug in Mesa, you're just working around it in
your application.

As we've explained, Mesa's glthread cannot make any libX11 API calls.


> Maybe it would be better to always enable the XInitThread mode by default on the X11 library.
> If performance of X11 is critical, it would be better to switch to xcb anyway.

There has been talk about making that change, but there's not even a
specific plan yet for making it happen upstream. It doesn't change the
situation with currently shipping libX11.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list