Skip to content

jovian: GE-Proton in Gaming Mode (compat tools in the session environment) - #27

Merged
andrewthomaslee merged 1 commit into
mainfrom
jovian-gaming-mode-compat-tools
Nov 8, 2026
Merged

andrewthomaslee merged 1 commit into
mainfrom
jovian-gaming-mode-compat-tools

Conversation

@andrewthomaslee

Copy link
Copy Markdown
Member

Summary

 programs.steam.package (desktop)   wrapper extraEnv: STEAM_EXTRA_COMPAT_TOOLS_PATHS=…GE-Proton…
 gamescope-session (Gaming Mode)    pkgs.steam, no wrapper
+  jovian.steam.environment.STEAM_EXTRA_COMPAT_TOOLS_PATHS =
+    makeSearchPathOutput "steamcompattool" "" programs.steam.extraCompatPackages

NixOS passes programs.steam.extraCompatPackages only into the programs.steam.package wrapper. Jovian's Gaming Mode launches its own pkgs.steam (gamescope-session → steam-launcher), so it never saw GE-Proton. With per-game mappings to GE-Proton (home's games setting, priority 250), Gaming Mode's Steam had nothing to run those games with.

Evidence

  • Before (kamrui-h1, gamer in Gaming Mode):
    • compat_log: only Processing local tool list at …/compatibilitytools.d/LegacyRuntime, with no GE-Proton. The KDE Steam lists …proton-ge-bin-GE-Proton11-11-steamcompattool.
    • Settings → Compatibility was empty, and Install did nothing (no content-log entry).
    • content_log at 15:21:52, signed in as the owner: AppID 632360 has no changes, 1 active: 632361 (…), 0 target: → … 0 updated, 0 moved, 2829 deleted files. That removed Risk of Rain 2 from the shared library.
  • After: kamrui-h1 built with this branch:
    specialisation/gaming/etc/xdg/gamescope-session/environment:
      export STEAM_EXTRA_COMPAT_TOOLS_PATHS=/nix/store/…-proton-ge-bin-GE-Proton11-11-steamcompattool/:…
    
    The default entry has no Gaming Mode session, unchanged. check → all checks passed. checks.gaming now asserts that the gaming entry and a Deck's default entry pass GE-Proton to Gaming Mode.

Merge Danger

Door: two-way

Revert. It is one environment variable in the Gaming Mode session.

Blast Radius: Gaming-Mode

Gaming Mode's Steam gains the same compatibility tools as desktop Steam. Desktop Steam and the default entry are unchanged.

🤖 Generated with Claude Code

…ment)

programs.steam.extraCompatPackages reach Steam only through the wrapper
around programs.steam.package (STEAM_EXTRA_COMPAT_TOOLS_PATHS in its
extraEnv). Jovian's gamescope-session starts its own pkgs.steam, so
Gaming Mode's Steam registered no GE-Proton: Settings > Compatibility was
empty, and games mapped to GE-Proton (steam-config-nix, priority 250)
had no usable tool. Their Install was disabled, and an update check
found 0 target depots and deleted Risk of Rain 2's files from the shared
library.

Gaming Mode now gets the same STEAM_EXTRA_COMPAT_TOOLS_PATHS through
jovian.steam.environment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewthomaslee
andrewthomaslee merged commit 07dabd3 into main Nov 8, 2026
3 checks passed
andrewthomaslee added a commit to external-systems/home that referenced this pull request Nov 8, 2026
## Summary

```diff
 flake.lock
-  modules 1fa20aa
+  modules 07dabd3   # external-systems/modules#27
```

```diff
 kamrui-h1 specialisation/gaming/etc/xdg/gamescope-session/environment
+  export STEAM_EXTRA_COMPAT_TOOLS_PATHS=/nix/store/…-proton-ge-bin-GE-Proton11-11-steamcompattool/:…
```

## Evidence

- **Before:** in Gaming Mode on kamrui-h1 (`gamer`, both Steam
accounts), Settings → Compatibility was empty, and Install did nothing
for Overwatch and Risk of Rain 2. `compat_log` registered no GE-Proton.
`content_log` at 15:21:52: `AppID 632360 … 0 target:` → `2829 deleted
files` in `/mnt/steam/common/Risk of Rain 2`.
  **After:**
- `nix build
.#nixosConfigurations.kamrui-h1.config.system.build.toplevel` → built
(`g8idpvvd…`, the same system verified on the modules branch).
- Its gaming entry exports `STEAM_EXTRA_COMPAT_TOOLS_PATHS` with
`GE-Proton11-11`, the build desktop Steam registers.
  - `check` → all checks passed.

## Merge Danger

**Door:** two-way

Revert the lock bump.

**Blast Radius:** Gaming-Mode

Only kamrui-h1's Gaming Mode session environment changes; desktop Steam
is unchanged. Until this is deployed, an update check in Gaming Mode can
delete shared game files mapped to GE-Proton (Overwatch).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant