Frame synchronisation

Andrzej Korwin-Mikke andrzej.kmikke at
Sat Feb 3 20:52:54 UTC 2018

Greetings, there is virtually no documentation on frame synchronisation on
the Internet, it's mentioned on four blogs with no explanation whatsoever.
How do I know when to draw? If frame callback is the only sensible way,
when should I fetch it and attach a listener? What does that actually do?
Do I really have to do it after every draw cycle? Is there any way to
ensure the frame will not change between wl_surface_frame() and
wl_callback_add_listener() calls?

Right now it seems to simply not work at all, no matter what I try. Is it
even supported anymore? The most up-to-date Wayland documentation is a
tutorial from 2014.

And while we're at it, how are the listener methods actually executed? In a
new thread using the address space of the program? I don't even know what
can I and what can I not use when dealing with them.

It simply baffles me how at the age of information there's virtually no
up-to-date development documentation of the biggest advancement in Linux
GUIs since the 80's. Could we at least set up a p2p information sharing
medium less annoying than a mailing list? An official wiki, forum, even an
IRC channel?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list