LINUX.ORG.RU

_NET_WM_FRAME_TIMINGS

 


0

1

Нашел вот случайно, читая комментарии в psychtoolbox-3

https://fishsoup.net/misc/wm-spec-synchronization.html

аж с 2013-го есть, но кроме mutter (gnome3) вроде как нигде больше не поддерживается, что может быть одной из причин странного поведения gtk3 вне Гноме-3

https://gitlab.xfce.org/xfce/xfwm4/-/issues/619

https://mail.gnome.org/archives/wm-spec-list/2013-January/msg00000.html

https://gitlab.gnome.org/GNOME/gtk/-/issues/4971

Matthias Clasen @matthiasc 1 year ago

The X11 backend will only do a framerate other than 60 if the compositor supports the frame sync protocol (ie _NET_WM_FRAME_DRAWN and _NET_WM_FRAME_TIMINGS messages)

https://todo.sr.ht/~db47h

What’s interesting is that Cinnamon supports _NET_WM_FRAME_DRAWN and _NET_WM_FRAME_TIMINGS! The first one is what we need to sync drawing with the WM. So I read the docs again and it turns out that it’s not mandatory for the WM to advertise _NET_WM_SYNC_REQUEST, only _NET_WM_FRAME_DRAWN. There’s still hope for Cinnamon :)

https://lists.x.org/archives/xorg-devel/2016-December/051947.html

On Wed, 30 Nov 2016 15:12:54 -0500 Owen Taylor wrote:

Hi Pekka,

I don’t have a lot of of commentary to add here. Certainly getting the frame-sync protocols right does require integration between Xwayland and the compositing manager. I don’t think there’s that much virtue in spending time on the extended version of the sync protocol and _NET_WM_FRAME_TIMINGS, because, to my knowledge, those are implemented only by GTK+ 3, and most GTK+ 3 apps will be running as native Wayland apps. On the other hand, gtk2 and qt4 X clients will be around to exercise the basic version of the protocol for the forseeable future.

★★★★

Ответ на: комментарий от monkdt

да вроде моргает/тормозит при ресайзе в некоторых случаях? (возможно еще и от темы зависит, у меня вроде не мигает на Слаквари-15)

В другом багрепорте говорится что без поддержки этих расширений гтк4 не будет обновлятся быстрее 60 гц в x11.

Andrew-R ★★★★
() автор топика