The desktop runs CachyOS and Hyprland on an NVIDIA card with three monitors. Windows games run through umu and Proton, not through Steam. Steam is there for native Linux games like Dota 2 and for a few games I own there.

The stack

  • Most single-player games come from a separate game launcher that downloads, verifies and updates them, and starts each one with umu and proton-cachyos-slr. Per-game settings like environment variables, MangoHud and GameMode live in that launcher.
  • Lutris is left for Battle.net, WoW and Hearthstone, two Steam games, and three VR games that have their own page.
  • proton-cachyos-slr is the CachyOS package, so it updates with the rest of the system.
  • ntsync is on by default in the CachyOS kernel, so I don’t have to touch esync or fsync.
  • VRR is off on every monitor. With VRR at 144 Hz one monitor kept blacking out on the NVIDIA driver.
  • Lutris’s GPU option has to stay on Auto. The kernel’s card numbers change between boots, and a pinned card once sent every Lutris game to the CPU’s integrated graphics.

A workspace per game

Every umu/Proton game gets the window class steam_app_default, and real Steam games get steam_app_<id>. One Hyprland rule matches both and makes every game fullscreen on the center monitor. A second rule leaves launchers and installers out, so those stay windowed.

A small Lua handler in my Hyprland config also gives every game launch a new workspace on the center monitor, and the workspace goes away when the game closes. Two games never end up on top of each other, and I don’t need a rule per game.

Native Linux games from Steam keep their own window class (Dota 2 is just dota2). Steam does put SteamAppId into the environment of everything it launches, so the handler reads /proc/<pid>/environ and picks those up as well.

Launchers are recognised by the Windows exe in /proc/<pid>/cmdline (Battle.net.exe, Agent.exe, the Epic and Ubisoft launchers). Their login windows, popups and friends lists share the game’s window class, so without that check they were fullscreened like games. Now a launcher gets its own workspace and stays windowed.

Battle.net

WoW, Hearthstone and Battle.net share one prefix, and Battle.net causes most of the trouble:

  • Wine apps use the old XEmbed tray icons, and my bar only supports the newer StatusNotifier protocol. xembedsniproxy translates between them. Only one instance of it can run.
  • Battle.net, WoW and Hearthstone all set the same GAMEID in Lutris, so they share one window class (steam_app_battlenetlocal). Whichever starts first decides the class, and the dock maps it to a Battle.net icon.
  • Closing Battle.net from the tray used to leave its update agent running, which kept the prefix alive and gave the next game a fake GPU. A post-exit hook in Lutris shuts the prefix down.
  • For weeks it showed a crash dialog on every launch. An old --runonstartup argument from the Lutris install script was swallowing the next argument, and removing it fixed the crash.
  • After a suspend, Battle.net kept using its old, dead connection for about 16 minutes. Lowering net.ipv4.tcp_retries2 to 8 makes the kernel give up after about 100 seconds, and it reconnects.
  • My WoW files are the EU build. “Locate game” refused them, but “Install” pointed at the existing folder took them over and only patched the difference.
  • WoW betas need PROTON_VERB=run, because the default verb hangs while Battle.net holds the prefix. One build also hung the GPU when entering the world. Entering at the lowest graphics preset and raising it afterwards works.
  • Hearthstone sometimes loses permissions on its own game folder. A one-line chmod as the Lutris pre-launch command fixes that before every start.
  • Hearthstone Deck Tracker runs next to it (a Linux fork), and the Hyprland config keeps its overlay pinned over the game.

Fixes for single games

  • Binding of Isaac saw my controller twice and mixed up the sticks. Disabling the duplicate DirectInput device in the prefix’s registry fixed it. Disabling dinput8 completely stops the game from starting.
  • Dota 2 runs natively through Steam, with Minify for mods and cosmetics.

Windows for anti-cheat

Games with kernel anti-cheat, like Battlefield 6 and Call of Duty, don’t run under Proton. They sit on a separate Windows partition and I boot into Windows for them. Linux mounts that partition too, but nothing on Linux runs from it.

Streaming to the living room

The desktop runs Sunshine, which I only start when I need it. The living-room PC runs Moonlight.

  • When a stream starts, a script turns off the two side monitors and sets the center one to 60 Hz. The full layout comes back when the stream ends.
  • The stream stays at native resolution and Sunshine scales it down for the TV, so games behave the same streamed or local.
  • Sunshine’s app list has the desktop, the game launcher and the Lutris VR games. A small wrapper keeps Sunshine attached to a running Lutris game, so “quit app” in Moonlight closes the game.

The living-room PC

It’s a separate mini PC running Bazzite in Gaming Mode, used only with a controller.

  • It boots into a library with three tiles. That needed a Decky plugin for the tab order and a small script that clicks through Steam’s UI over its debug port once Steam has loaded.
  • YouTube is the TV app (youtube.com/tv) in a kiosk Firefox with a smart-TV user agent and an ad blocker, mapped to the controller with a custom Steam Input layout.
  • The Xbox controller wakes it from suspend.
  • For watching at night, a PipeWire filter chain with a compressor keeps explosions from getting loud while dialogue stays audible at low volume. Left and right are swapped because the soundbar sits behind the couch.