XPresentPixmap() fails on some driver, not sure why.
Michel Dänzer
michel at daenzer.net
Mon Jun 12 02:56:03 UTC 2017
On 09/06/17 09:07 PM, Olivier Fourdan wrote:
> Hi,
>
> Non-work related question... xfwm4 (xfce window manager, from git), have
> two different implementations to reduce tearing, GL and Present.
>
> As it now defaults to present, I am receiving more reports of "frozen
> screens".
>
> I traced it back to XPresentPixmap() failing with BadWindow (the window
> being either the COW or the root window, same error)
>
> The funny thing is when catching the XError, the resource id is 0, so if
> this is correct, no wonder this would cause a BadWindow - But why would
> it use 0 instead of the given COW or root window id?
>
> Now, for that particular bug, the issue is said to have been solved with
> an update of presentproto headers version 1.1, pointing commit 8405ee
> (https://cgit.freedesktop.org/xorg/proto/presentproto/commit/?id=8405ee)
> as the fix.
That's probably it; specifically, libXpresent.so.1 needs to be built
against presentproto with that fix.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list