feat(performance): switch to turn off idle game memory compression (#2346)

* feat(performance): add idle zram compression toggle

* Gate the idle compression toggle on memory cap support and refresh counters first

* fix(zram): retain launcher reclaim when idle compression is off

* test(memory): verify launcher-only reclaim signals

* fix(performance): keep game reclaim when focus is unknown

* fix(performance): say when to turn idle compression off and that it applies on the next session

---------

Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
This commit is contained in:
MaxsTechReviewandKurt Himebauch authored and GitHub committed 2026-11-15 10:09:38 -05:00
1 parent a62933d023
commit 2e64ae7575
41 files changed
+141 -4

No files matched your search

+2
View File
@@ -632,6 +632,8 @@
<string name="perf_cap_off">Vypnuto</string>
<string name="perf_cap_auto">Výchozí ovladače</string>
<string name="perf_zram_client">Komprimovat Steam během hry</string>
<string name="perf_zram_idle">Komprimovat neaktivní paměť hry</string>
<string name="perf_zram_idle_hint">Při nedostatku RAM stránkuje neaktivní paměť hry. Vypněte to, pokud hry zhruba každou půlminutu na několik sekund zamrznou. Projeví se při příštím spuštění relace.</string>
<string name="perf_zram_client_hint">20 s po spuštění hry se klient Steam zkomprimuje do zRAM, aby hře zbylo více paměti, a po zavření hry se načte zpět. Vypněte, pokud se relace krátce po spuštění her zavírá. Limit RAM výše stále komprimuje Steam, když ho relace překročí.</string>
<string name="perf_ram_cap">Limit RAM</string>
<string name="perf_ram_cap_hint">Platí, když běží klient Steam, v režimu Steam nebo z Plochy. Když relace použije víc, zkomprimuje se do zRAM Steam a poté další podporované procesy relace. Měkký limit: nic se nezavře, ale hry mohou trhat, než se stránky načtou zpět.</string>