add section about startvr

This commit is contained in:
galister 2024-02-16 11:13:26 +00:00
parent a9ebd4a72e
commit b1e24e67df

View file

@ -45,3 +45,25 @@ For many games, you might want to turn on "Legacy Reprojection" in the per-app v
Your best bet is [the latest ALVR release](https://github.com/alvr-org/ALVR/releases) Your best bet is [the latest ALVR release](https://github.com/alvr-org/ALVR/releases)
Also check the [ALVR wiki](https://github.com/alvr-org/ALVR/wiki) Also check the [ALVR wiki](https://github.com/alvr-org/ALVR/wiki)
## Auto-Restart Script
The `startvr` script [here](https://gist.github.com/galister/a85135f4a3aca5208ba4091069ab2222) is meant to make launching SteamVR less tedious.
It can be used with both ALVR and wired headsets.
What it does:
- Whitelist drivers for SpaceCal and ALVR so these will never get blocked
- Apply bindings spam patch by Plyshka
- Setcap the compositor after a SteamVR update
- Start SteamVR and restart it for you in case of a crash
Extra steps when using with ALVR:
- Under `Installation` tab, register the ALVR driver
- Under `Settings`, `Steamvr Launcher` section, set `Driver launch action` to `No action`.
If you've installed Steam in a non-standard location, change the variable on the top of the script.
To use the script, simply launch it from a terminal. It will ask for sudo password in case your SteamVR has been freshly installed or updated and it needs to `setcap` the compositor.
If you need to restart SteamVR, simply exit it using your overlay and it'll be restarted for you. To really exit SteamVR, first Ctrl-C the script.