Skip to contentSkip to conversation

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

PATCH New Yash Gupta 1 participant 1 message Apr 6

lore
Share & tools
lore

Yash Gupta

author
#0 lore raw

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.

---
 meta/recipes-graphics/wayland/weston-init/weston.ini | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/wayland/weston-init/weston.ini +1 -0
index 0ec70c3ef3..c2f9d19c01 100644
@@ -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