I got a Quest 3 and wanted PC VR on Linux without SteamVR. It works better than I expected.

The stack

  • WiVRn is the streaming server on the PC and the client app on the Quest. It works over WiFi or a USB cable, and I use the cable.
  • xrizer translates OpenVR (the SteamVR API) to OpenXR for games that use OpenVR. It’s registered as the system’s OpenVR runtime. Games that use OpenXR natively talk to WiVRn directly.
  • Games run through umu and Proton, like my flat games. Three VR games are in Lutris, the rest come from the same game launcher as the flat games.

I don’t use Steam, SteamVR or ALVR. The chain is either game → Proton → xrizer → WiVRn → headset or, for OpenXR games, game → Proton → WiVRn → headset.

What runs

GameAPINotes
Ghost Town VROpenXRSound has to be routed to the headset once (see below).
Red Matter 2OpenXRNeeds the -hmd=OpenXR launch argument.
Wanderer: The Fragments of FateOpenXRUse the custom graphics preset. The top preset crashes the GPU.
Half-Life: AlyxOpenVR → xrizerNeeds the -vr launch argument and texture memory one step below max, or it runs out of VRAM.
SpaceEngineOpenVR → xrizerVR is a setting in its config, not a launch flag. The working directory must be the game root.
Gunman ContractsOpenVR → xrizerRan without changes.

Half-Life: Alyx, SpaceEngine and Gunman Contracts ran this way in Lutris. They moved to the other launcher recently, and I haven’t tried them in the headset since.

SpaceEngine crashed at random on startup. Turning off LoaderAsyncShaders in its config fixed that. At high settings it also took so much VRAM that WiVRn couldn’t create its stream, so its texture cache is capped.

Standalone on the Quest

The Simpsons: Hit & Run has a fan port that runs on the Quest itself. You copy your own game files onto the headset, and they have to be unmodified. If yours come with a mod launcher installed, remove it first.

Desktop in the headset

wayvr shows my Linux desktop in the headset as floating windows, and WiVRn starts it automatically. I use it to check something without taking the headset off.

Watching on the projector

People in the living room can watch along. Sunshine on the PC streams the desktop, including the game’s mirror window, to Moonlight on the living-room PC and the projector.

Audio needs one extra step. When a stream starts, Sunshine makes its own sink the default, games follow the default, and the headset goes silent. Routing the game’s audio to both the headset and the stream fixes it, and WirePlumber remembers that per game.

What doesn’t work

  • HITMAN 3 needs an OpenVR function (GetPosesForFrame) that xrizer, OpenComposite and VapoR don’t implement.
  • Hogwarts Legacy with UEVR: the mod injects, but no frames reach the headset. It’s a DX12 game, and that’s where it fails.

Both are uninstalled.

Settings

  1. Check which API a game uses before setting it up. An openvr_api.dll in the game folder means OpenVR (→ xrizer). An openxr_loader.dll without OpenVR means native OpenXR (→ no xrizer).
  2. Set WiVRn’s encoder to nvenc. On auto it picked a software encoder and the headset only showed black.
  3. Turn Gamescope off for VR games. Otherwise the game ends up in a nested compositor and never reaches the headset.
  4. Set PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES=1 so the game can see WiVRn from inside Proton’s container. Don’t point XR_RUNTIME_JSON at a host path.
  5. Launch the real exe. Unreal games often have a small launcher in the root folder, so point the launcher at ...-Win64-Shipping.exe instead.
  6. Open the firewall port (9757) for WiFi. The headset finds the PC over mDNS and then waits forever if the port is blocked. Over USB this doesn’t matter.
  7. If there’s no sound in the headset, the game’s audio went to the default output. Move it to wivrn.sink once (pactl move-sink-input) and WirePlumber remembers it.
  8. Keep an eye on VRAM. A big game, WiVRn’s encoder and the desktop fill the card quickly, and that shows up as texture glitches, judder or a dropped stream rather than an error.
  9. Turn off automatic hand tracking on the Quest. Otherwise your hands disappear whenever it switches from controllers to hand tracking.