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 <qkrwngud825@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Juhyung Park 2022-05-22 05:07:51 +09:00 committed by donjohanliebert
parent 895454905a
commit 8be3f0e324

View File

@ -8,6 +8,7 @@ vendor.audio.feature.compr_voip.enable=false
vendor.voice.path.for.pcm.voip=true vendor.voice.path.for.pcm.voip=true
# Display # Display
debug.sf.frame_rate_multiple_threshold=60
ro.surface_flinger.set_idle_timer_ms=4000 ro.surface_flinger.set_idle_timer_ms=4000
ro.surface_flinger.set_touch_timer_ms=4000 ro.surface_flinger.set_touch_timer_ms=4000
ro.surface_flinger.set_display_power_timer_ms=1000 ro.surface_flinger.set_display_power_timer_ms=1000