fix: Steam's UI runs at the panel's full refresh rate again (#1841)

#1809 held Steam's own UI to an even share of the refresh near 60 fps whenever it had focus. On 120 Hz and faster screens Big Picture then felt locked at 60 while games ran at the full rate, and players reported it as a regression. The compositor now releases Steam UI buffers unpaced again, like a game's. The larger swapchain stays limited to games, so the client UI still uses gamescope's default image count.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-30 11:10:03 -04:00
1 parent bc1a010411
commit 41615d2460
4 files changed
+7 -60

No files matched your search

@@ -1103,15 +1103,6 @@ object SessionPrefs {
else -> minOf(mirrorRefreshLimit, sessionLimit)
}
private const val STEAM_UI_FPS = 60f
fun steamUiPacing(context: Context): Boolean = prefs(context).getBoolean("steamUiPacing", true)
fun steamUiFpsLimit(refreshHz: Float): Int {
val steps = ((refreshHz + 0.5f) / STEAM_UI_FPS).toInt()
return if (steps < 2) 0 else (refreshHz / steps + 0.01f).toInt()
}
val upscalerChoices = listOf(
0 to "Linear", 2 to "Nearest", 4 to "AMD FSR 1", 3 to "Snapdragon GSR",
8 to "Snapdragon GSR (quality)", 7 to "NVIDIA NIS", 6 to "Sharpen only",