Weston screenshooter blocks the display for over a second

CHUCO POGA chcepogadowski at gmail.com
Mon Oct 28 17:43:02 UTC 2019


When attempting to make a screenshot under weston with Mod + S
(weston-screenshooter), the entire display get's blocked for over a second.
That causes an ugly jitter on the screen when displaying dynamic content
(such as movies)

I have looked into the screenshooter client code and did some performance
measurements, and it appears that the while(!buffer_copy_done) loop which
calls wl_display_roundtrip takes a second to finish. Is there any way to
make the screenshot async, to not interfere the currently displayed
content? Or is it the way the protocol works under the hood?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20191028/83b8cd7d/attachment.html>


More information about the wayland-devel mailing list