weston-init: add repaint-window=10 to [core] config
PATCH 1/1 weston-init: add repaint-window=10 to [core] config
Weston's default repaint-window is 7ms. At 60 fps the vsync interval is ~16ms. Under load (multi-surface composition or 4K fullscreen weston-simple-egl), the compositor cannot complete repaints within this window, causing up to 50% FPS drops.
Changing repaint-window to 10ms gives the compositor sufficient time to complete repaints before vblank while retaining a 6ms buffer acquisition window, improving frame delivery consistency without introducing additional frame latency.
Signed-off-by Yash Gupta <[email protected]>
--- meta/recipes-graphics/wayland/weston-init/weston.ini | 1 + 1 file changed, 1 insertion(+)
meta/recipes-graphics/wayland/weston-init/weston.ini +1 -0
@@ -5,6 +5,7 @@ #shell=desktop-shell.so #gbm-format=xrgb2101010 require-input=false +repaint-window=10 #[shell] #background-image=/usr/share/backgrounds/gnome/Aqua.jpg
Signature · 1 line
2.34.1