From a16df485db087453a5b0f4b1d533eba4751434d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 8 Jul 2022 12:52:03 +0200 Subject: clutter: Reduce default clutter_max_render_time_constant_us to 1000 Now that dynamic max render time uses a new algorithm and takes dispatch lateness into account, this seems worth a shot. We'll see how it works out in the wild. The net result compared to before these changes is still 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. Part-of: --- clutter/clutter/clutter-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index b6fe18d7a..fbccefc0d 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -93,7 +93,7 @@ guint clutter_pick_debug_flags = 0; /* A constant added to heuristic max render time to account for variations * in the estimates. */ -int clutter_max_render_time_constant_us = 2000; +int clutter_max_render_time_constant_us = 1000; #ifdef CLUTTER_ENABLE_DEBUG static const GDebugKey clutter_debug_keys[] = { -- cgit v1.2.1