<div dir="ltr">Hi,<div><br></div><div>Non-work related question... xfwm4 (xfce window manager, from git), have two different implementations to reduce tearing, GL and Present.</div><div><br></div><div>As it now defaults to present, I am receiving more reports of "frozen screens".</div><div><br></div><div>I traced it back to XPresentPixmap() failing with BadWindow (the window being either the COW or the root window, same error)</div><div><br></div><div>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?<br></div><div><div><br></div><div>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 (<a href="https://cgit.freedesktop.org/xorg/proto/presentproto/commit/?id=8405ee">https://cgit.freedesktop.org/xorg/proto/presentproto/commit/?id=8405ee</a>) as the fix.</div></div><div><br></div><div>I cannot tell whether or not this is the fix nor what else could be the problem because I cannot reproduce this issue locally using intel, nouveau or modesettings drivers. Meanwhile I am getting more of those and I have no idea how to debug that further, so I'm open to suggestions...</div><div><br></div><div>(For reference, xfce bug is <a href="https://bugzilla.xfce.org/show_bug.cgi?id=13257">https://bugzilla.xfce.org/show_bug.cgi?id=13257</a>)</div><div><br></div><div>Cheers,</div><div>Olivier.</div></div>