diff mbox series

weston-init: add repaint-window=10 to [core] config

Message ID 20260402073243.672322-1-ygupt@qti.qualcomm.com
State New
Headers show
Series weston-init: add repaint-window=10 to [core] config | expand

Commit Message

Yash Gupta April 2, 2026, 7:32 a.m. UTC
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 <ygupt@qti.qualcomm.com>
---
 meta/recipes-graphics/wayland/weston-init/weston.ini | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/wayland/weston-init/weston.ini b/meta/recipes-graphics/wayland/weston-init/weston.ini
index 0ec70c3ef3..c2f9d19c01 100644
--- a/meta/recipes-graphics/wayland/weston-init/weston.ini
+++ b/meta/recipes-graphics/wayland/weston-init/weston.ini
@@ -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