yarn: drop GE-Proton compat-tool pin from steam-config-nix
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user