From 774d748bfebd23800d42dcb1f79954b648dac1d7 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sun, 3 May 2026 00:42:07 -0400 Subject: [PATCH] yarn: drop GE-Proton compat-tool pin from steam-config-nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nixpkgs' proton-ge-bin (the package wired into programs.steam.extra- CompatPackages via modules/desktop-steam.nix) registers in Steam's compat-tool list under its versioned id, currently GE-Proton10-34. steam-config-nix's README example uses the unversioned string "GE-Proton", which on a fresh boot wrote that literal value into localconfig.vdf — Steam resolved it to no installed tool and silently fell back to bundled Proton 10. FH5 then launched on stock Proton, which doesn't pick up PROTON_FSR4_UPGRADE the way GE does. Drop both `compatTool` (per-app) and `defaultCompatTool` (global). The wrapper-based launchOptions.env path is unaffected — env vars still pass through to whatever Proton Steam ends up using. Tool selection goes back to manual Steam UI > Properties > Compatibility. A versioned pin (`compatTool = "GE-Proton10-34";`) would work but couples the host config to whatever the proton-ge-bin nixpkgs entry ships this week; not worth the maintenance. --- hosts/yarn/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/hosts/yarn/default.nix b/hosts/yarn/default.nix index 0e1154a..bf548b8 100644 --- a/hosts/yarn/default.nix +++ b/hosts/yarn/default.nix @@ -159,17 +159,21 @@ }; }; - # Steam launch options + per-app compat-tool pin via steam-config-nix - # (different-name/steam-config-nix). The patcher runs as a system oneshot - # at activation; closeSteam = true ensures Steam is shut down before the - # localconfig.vdf write so Steam can't clobber it on its next exit. + # Steam launch options via steam-config-nix (different-name/steam-config- + # nix). The patcher runs as a system oneshot at activation; closeSteam = + # true ensures Steam is shut down before the localconfig.vdf write so Steam + # can't clobber it on its next exit. + # + # No declarative compat-tool pin: nixpkgs' proton-ge-bin registers under + # its versioned tool id (e.g. GE-Proton10-34), not the generic "GE-Proton" + # string steam-config-nix's README assumes, so writing the latter resolved + # to no installed tool and silently fell back to bundled Proton. Pick the + # tool in Steam UI > Properties > Compatibility instead. programs.steam.config = { enable = true; closeSteam = true; - defaultCompatTool = "GE-Proton"; apps."fh5" = { id = 1551360; - compatTool = "GE-Proton"; launchOptions.env = { # OptiScaler FSR 4 INT8 path on this RDNA 3 (Navi 32) box. # PROTON_FSR4_UPGRADE opts FH5 into Proton's FSR 4 DLL upgrade;