perf: leave Turnip sysmem off by default again; it gained nothing on an Adreno 740 and only the 710-720 drivers need it

This commit is contained in:
xXJsonDeruloXx committed 2026-09-29 18:04:41 -04:00
1 parent 1e804562b1
commit f3c923b472
3 files changed
+3 -3

No files matched your search

@@ -124,7 +124,7 @@ class MainActivity : ComponentActivity() {
private var clientOverride by mutableStateOf(false)
private var clientCores by mutableStateOf<Set<Int>>(emptySet())
private var gameCores by mutableStateOf<Set<Int>>(emptySet())
private var tuSysmem by mutableStateOf(true)
private var tuSysmem by mutableStateOf(false)
private var zinkLazy by mutableStateOf(false)
private var noXalia by mutableStateOf(true)
private var gamescopeRealtime by mutableStateOf(false)
@@ -253,7 +253,7 @@ object SessionPrefs {
}
/** Turnip's sysmem rendering (TU_DEBUG=sysmem) for the runtime's driver: bypasses GMEM tiling. */
fun tuSysmem(context: Context): Boolean = prefs(context).getBoolean("tuSysmem", true)
fun tuSysmem(context: Context): Boolean = prefs(context).getBoolean("tuSysmem", false)
fun setTuSysmem(context: Context, on: Boolean) {
prefs(context).edit().putBoolean("tuSysmem", on).apply()
@@ -107,7 +107,7 @@ fun PerformancePage(
SettingsGroup("Session fixes") {
ToggleRow(
host, "sysmem", "Turnip: sysmem rendering",
"On by default, as in WinNative. Required on Adreno 710/720/722; turn off to try GMEM tiling on other Adreno GPUs.",
"Required on Adreno 710/720/722. May fix corruption on other Adreno GPUs, but can reduce performance.",
tuSysmem, onChange = onTuSysmem,
)
ToggleRow(