Skip to content

frame-clock: Overhaul dynamic max render time calculation

Take dispatch lateness into account for dynamic max render time.

Simplify dynamic max render time calculation, and make it less prone to short term fluctuations.

Attempt reducing default clutter_max_render_time_constant_us to 1000.

The net result compared to before these changes is slightly higher (by ~0.5 ms) minimum latency for me, as measured by weston-presentation-shm. It should be less vulnerable to frame drops though.

/cc @YaLTeR

Merge request reports