From 8be3f0e324f80c8a83a910a9895cc2f834ddf855 Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Sun, 22 May 2022 05:07:51 +0900 Subject: [PATCH] sweet: Set debug.sf.frame_rate_multiple_threshold to 60 by default If the device only have 60 and 120 Hz in the config group, 60 Hz won't be used when watching a 24 fps video and instead 120 Hz will be used because it is perfectly divisible by 24. This is a publicly documented AOSP behavior [1], but it simply does not make any practical sense and trades off significant amount of power for a very-hard-to-notice jitter-free experience. Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this behavior to 60 or lower fps. [1] https://source.android.com/devices/graphics/multiple-refresh-rate Change-Id: I66353abc46ad16e63b2c9188794469ad71f2192e Signed-off-by: Juhyung Park Signed-off-by: donjohanliebert --- properties/vendor.prop | 1 + 1 file changed, 1 insertion(+) diff --git a/properties/vendor.prop b/properties/vendor.prop index 4ac6d6c..0774ae3 100644 --- a/properties/vendor.prop +++ b/properties/vendor.prop @@ -8,6 +8,7 @@ vendor.audio.feature.compr_voip.enable=false vendor.voice.path.for.pcm.voip=true # Display +debug.sf.frame_rate_multiple_threshold=60 ro.surface_flinger.set_idle_timer_ms=4000 ro.surface_flinger.set_touch_timer_ms=4000 ro.surface_flinger.set_display_power_timer_ms=1000