Difference between revisions of "Wayland latency tuning"
(Created page with "On Wayland, frame latency can be reduced by making the compositor render as late as possible before a vblank. This allows the compositor to show the latest frame available, ju...") |
(No difference)
|
Revision as of 20:04, 30 August 2021
On Wayland, frame latency can be reduced by making the compositor render as late as possible before a vblank. This allows the compositor to show the latest frame available, just in time for the screen refresh. This guide describes how to configure this for certain compositors.
Looking Glass can also be made to render right before the compositor renders, further reducing latency. This is what the win:jitRender
setting does on Wayland. The timing of this is also controlled by the compositor, and thus the configuration is compositor-specific.
Sway
On Sway, this is controlled by the max_render_time
setting. The max_render_time
setting on the output controls how many millisecond the compositor renders before the vblank. Setting max_render_time
on the window controls how many milliseconds the compositor tells windows to render.