EWMH 1.6 with frame synchronization?

Jonas Ådahl jadahl at gmail.com
Fri Nov 25 09:32:24 UTC 2022


On Fri, Nov 25, 2022 at 05:13:45PM +0800, Po Lu wrote:
> Jonas Ådahl <jadahl at gmail.com> writes:
> 
> > The confusion is that the timestamps can't be generated "directly" but
> > must still wrap in the same way X server timestamps. In other words,
> > it's fine to source your timestamps directly from the monotonic clock,
> > if it's concluded that the X server uses it, but you must still make
> > sure you wrap the values as if the milli second part is encoded using a
> > unsigned 32 bit integer. Mutter got this wrong in the past, and it
> > results in wierd bugs with frozen GTK frame clocks after almost two
> > months of uptime.
> 
> Yes, that's what I said ought to be clarified.  I'm sorry I wasn't too
> clear there.
> 
> So aside from that, what else is preventing the protocol from being
> included in the wm-spec?

I have no idea.

> And how can I help get it included?

Perhaps open a merge request adding it to
https://gitlab.freedesktop.org/xdg/xdg-specs/-/blob/master/wm-spec/wm-spec.xml,
but you should probably familiarize with what happened the last time it
was attempted, which was in 2011:

https://mail.gnome.org/archives/wm-spec-list/2011-October/msg00006.html

But you can just as well go and implement it anyway, if you need this
kind of frame synchronization on X11; it's unrealistic that adding it to
wm-spec.xml would mean any changes were to be made to it anyway.


Jonas

> 
> Thanks a lot in advance.


More information about the xdg mailing list