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

@@ -1,22 +0,0 @@
package com.droiddeck.launcher.session
import org.junit.Assert.assertEquals
import org.junit.Test
class SteamUiPacingTest {
@Test fun aSixtyOrNinetyHertzScreenIsLeftUncapped() {
assertEquals(0, SessionPrefs.steamUiFpsLimit(60f))
assertEquals(0, SessionPrefs.steamUiFpsLimit(59.94f))
assertEquals(0, SessionPrefs.steamUiFpsLimit(90f))
}
@Test fun fasterScreensGetAnEvenDivisorOfTheirRefresh() {
assertEquals(60, SessionPrefs.steamUiFpsLimit(120f))
assertEquals(60, SessionPrefs.steamUiFpsLimit(119.99f))
assertEquals(60, SessionPrefs.steamUiFpsLimit(120.00001f))
assertEquals(72, SessionPrefs.steamUiFpsLimit(144.00002f))
assertEquals(82, SessionPrefs.steamUiFpsLimit(165f))
assertEquals(61, SessionPrefs.steamUiFpsLimit(185.00002f))
assertEquals(60, SessionPrefs.steamUiFpsLimit(240f))
}
}