Skip to content

Steam Wine

Drackrath edited this page Nov 30, 2026 · 1 revision

Steam-Wine: Setup Guide

Aurelia can host a self-contained Windows Steam client inside Wine (a "master prefix") purely to satisfy the Steamworks/DRM handshake that some Windows games need, without a host Steam client. The game itself is still launched directly by Aurelia (never through a steam://run handoff).

This guide is the exact, tested setup. For the command reference, see the Steam-Wine page of the Usage reference.

Have host Steam already? You probably don't need this. Set aurelia config steam-wine-policy off and use aurelia play <APPID> --steam. It bridges to your host Steam client and needs none of the setup below. Steam-Wine is for machines without a host Steam client.

Linux and macOS hosts. On Windows, Aurelia uses your installed Steam client instead; the steam-wine install|repair|login commands refuse there. On macOS the Steam-Wine client is also how Windows builds run at all, see On macOS.


The recipe

# 1. One-time: a Wine/Proton runner that bundles DXVK + vkd3d (GE-Proton does).
aurelia proton install GE-Proton9-20          # skip if already installed
aurelia config steam-wine-runner GE-Proton9-20

# 2. Install the Windows Steam into the master prefix.
aurelia steam-wine install

# 3. Sign in to the in-Wine Steam (a window appears — sign in, incl. Steam Guard).
aurelia steam-wine login
aurelia steam-wine stop                    # optional: close it once signed in

# 4. Route games through the Steam-Wine client.
aurelia config steam-wine-policy on        # global default …
#   … or per game:  aurelia config game <APPID> --steam-wine on

# 5. Launch a WINDOWS game (native-Linux games bypass the Steam-Wine client entirely).
aurelia play <WINDOWS_APPID>

Steps 1–3 are one-time. Check the result with aurelia steam-wine status: Saved login: yes means the prefix remembers your account, Logged in: yes that the client is running and signed in right now. After that, launching is just step 5. The in-Wine Steam keeps its own login in the master prefix and is started silently in the background for each launch that needs it (re-run steam-wine login if that session ever expires). In headless mode it signs in with your Aurelia login instead.

On macOS

There is no Proton on macOS, so step 1 differs: point the runner at a macOS Wine build (for example from Game Porting Toolkit, CrossOver or Wine Staging) by path, then continue with step 2.

aurelia config steam-wine-runner /path/to/wine/bin/wine64   # a wine binary, or a folder with bin/wine64
aurelia steam-wine install
aurelia steam-wine login
aurelia play <WINDOWS_APPID>      # Windows builds always go through the in-Wine Steam here

Step 4 isn't needed on macOS: every Windows build is handed to the in-Wine Steam (steam.exe -applaunch), and --steam-mode host/none are refused. Native macOS builds run directly and never use the Steam-Wine client.


What the machine actually needs

On Linux:

  1. Working Vulkan. The whole thing hinges on it: Steam's CEF UI (the login window and client) renders through DXVK → Vulkan. Confirm with:

    vulkaninfo --summary        # must list your GPU

    A bare-Wine prefix on wined3d alone crashes Chromium's GPU process. Aurelia works around this by giving the prefix DXVK (see below), which requires Vulkan.

  2. A DXVK + vkd3d-bundling runner as steam_wine_runner: GE-Proton, or any Proton / wine-tkg tree containing files/…/dxvk and files/…/vkd3d. Aurelia copies those DLLs into the master prefix automatically on install/login/launch (ensure_steam_wine_prefix_libs). A plain upstream Wine without them will not render the Steam UI.

  3. A display: X11, or Wayland with XWayland. Both are fine.

Everything else that used to break the in-Wine Steam is handled automatically now:

Handled for you Why it mattered
DXVK/vkd3d copied into the prefix dxgi → wined3d → libvkd3d was missing under bare Wine → Chromium GPU process crash-loop → "please reinstall".
lsteamclient disabled for the client GE-Proton's game-bridge lsteamclient hijacked the client's CLIENTENGINE interface → InternalAPI_Init assert.
GUI commands run locally, not via the daemon A daemon-spawned Steam had a stale session env and the window never appeared.
XAUTHORITY forwarded to the Wine launch Cookie-auth X servers otherwise rejected Wine's window → invisible client.
Startup log redirected off the terminal Wine fixme: / Steam bootstrapper spam. Capture it with AURELIA_DIAGNOSE_INSTALL=1.

Caveats that will bite people

  • Native Linux and macOS games never use the Steam-Wine client. The policy has no effect on them. They run natively regardless. Test the Steam-Wine client with a Windows-only title.
  • The account you sign the in-Wine Steam into must own / have access to the game, or the DRM handshake fails.
  • First install/login self-updates Steam and takes a couple of minutes, which is normal.
  • The in-Wine login is separate from aurelia login (which is Aurelia's own session for the library/downloads). See Steam-Wine authentication.

Games installed through the in-Wine Steam (incl. Family-Shared)

Some titles can only be installed by a real Steam client, most notably Family-Shared games, which Aurelia can't download itself (they need the owner's authorisation). For those, sign in to the in-Wine Steam (aurelia steam-wine login) and install the game from its window, into the in-Wine Steam's own library inside the master prefix.

Aurelia discovers those installs and flags them in list with a [wine] tag:

  2874130  installed   family-shared  -   Berserk or Die [wine]

aurelia play <APPID> handles them automatically: instead of the Proton pipeline, it hands the game to the in-Wine Steam (steam.exe -applaunch), exactly as launching it from that Steam's own library would, which is the only way its Steamworks/DRM handshake succeeds. A one-line warning notes this, because:

  • Aurelia's Proton/DXVK per-game settings don't apply. The in-Wine Steam runs it in the master prefix with that prefix's DXVK.
  • Aurelia doesn't own the process, so session tracking is best-effort (it waits for the game to exit, then reports "Finished playing").

Games you install with aurelia install <APPID> land in Aurelia's own library instead, run through the normal Proton pipeline, and carry no [wine] tag. The Steam-Wine client is then only their DRM backend.

Choosing where Steam comes from (steam-wine-policy)

A launch that asks for Steam (play --steam, or forced for Family-Shared games) resolves its Steam client from a policy (per-game first, then the global default):

Policy Behavior
auto (default) Host Steam if installed, else fall back to the Steam-Wine client.
on Always the Steam-Wine client, even if host Steam exists.
off Host Steam only, never the Steam-Wine client.
aurelia config steam-wine-policy on            # global default
aurelia config game <APPID> --steam-wine on    # per-game override (wins)

Troubleshooting

Almost every failure is Vulkan or the runner. Triage:

vulkaninfo --summary                              # GPU present & Vulkan OK?

# Capture the in-Wine Steam's real output to a log instead of /dev/null:
AURELIA_DIAGNOSE_INSTALL=1 aurelia steam-wine login

# Steam's own logs live in the master prefix:
SL="$HOME/.config/Aurelia/master_steam_prefix/pfx/drive_c/Program Files (x86)/Steam/logs"
grep -i "GPU process exited"  "$SL/cef_log.txt"       # GPU crash-loop?  → Vulkan/runner
grep -i "InternalAPI_Init"    "$SL"/../dumps/*.dmp     # client init assert
tail -n 20 "$SL/connection_log.txt"                   # is it reaching Steam?
  • GPU process exited unexpectedly repeatedly: the prefix isn't getting DXVK, or Vulkan doesn't work. Confirm vulkaninfo, and that your runner bundles dxvk/vkd3d.
  • Client corrupt / "please reinstall": start clean.
    aurelia steam-wine install --reinstall     # wipes the prefix, installs fresh
  • Steam won't render at all despite working Vulkan: that machine's Wine can't run Chromium. Use host Steam instead (config steam-wine-policy off).

Useful commands

aurelia steam-wine status                  # prefix, steam.exe, running, logged in, saved login, runner
aurelia steam-wine stop                    # kill the in-Wine Steam session
aurelia steam-wine login                   # re-open to sign in / switch accounts
aurelia steam-wine uninstall               # remove the master prefix entirely

Clone this wiki locally