mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2025-07-01 17:25:31 +02:00
Add information about WiVRn to Asahi Linux doc
More information, now that I've setup a test environment for WiVRn.
This commit is contained in:
parent
50037030b9
commit
e1d8b09df4
1 changed files with 28 additions and 6 deletions
|
@ -58,11 +58,6 @@ On my machine, the launch arguments look like: `PRESSURE_VESSEL_FILESYSTEMS_RW=/
|
||||||
There is some extra complication caused my muvm putting its `XDG_RUNTIME_DIR` in a weird spot interfering with monado's ability to connect to itself.
|
There is some extra complication caused my muvm putting its `XDG_RUNTIME_DIR` in a weird spot interfering with monado's ability to connect to itself.
|
||||||
Therefore, my reccomended launch order is as follows:
|
Therefore, my reccomended launch order is as follows:
|
||||||
|
|
||||||
Launch steam from inside a terminal (so that you can see logs when things inevitably work incorrectly):
|
|
||||||
```sh
|
|
||||||
steam
|
|
||||||
```
|
|
||||||
|
|
||||||
Lanuch monado-service:
|
Lanuch monado-service:
|
||||||
```sh
|
```sh
|
||||||
muvm -it -- bash
|
muvm -it -- bash
|
||||||
|
@ -75,6 +70,33 @@ chmod 700 /run/user/1000/
|
||||||
XDG_RUNTIME_DIR=/run/user/1000/ ./monado-service
|
XDG_RUNTIME_DIR=/run/user/1000/ ./monado-service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Launch Steam.
|
||||||
|
|
||||||
|
Optionally, `tail -f ~/.steam/steam/logs/console-linux.txt` so you can see errors when a game fails to do the correct thing.
|
||||||
|
|
||||||
Ensure that `openvrpaths.vrpath` has the correct contents and hasn't been overwritten by steam.
|
Ensure that `openvrpaths.vrpath` has the correct contents and hasn't been overwritten by steam.
|
||||||
|
|
||||||
Launch a game.
|
Launch a game.
|
||||||
|
|
||||||
|
## wivrn
|
||||||
|
|
||||||
|
Due to <https://github.com/AsahiLinux/muvm/issues/177>, the terminal that you're running WiVRn within *must* be the one that's starting the VM.
|
||||||
|
Therefore, you should start wivrn before you start steam.
|
||||||
|
|
||||||
|
There are also some extra considerations, such as the avahi daemon not being visible within the VM.
|
||||||
|
|
||||||
|
Here's what I did that worked:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
muvm -it -p 9757/udp -p 9759 -- bash
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
mkdir -p /run/user/1000/
|
||||||
|
chmod 700 /run/user/1000/
|
||||||
|
# setup the rest of the environment variables, ensuring XRT_DEBUG_UI is *not* enabled.
|
||||||
|
XDG_RUNTIME_DIR=/run/user/1000/ ./wivrn-server --no-publish-service --no-manage-active-runtime
|
||||||
|
```
|
||||||
|
|
||||||
|
On my machines, for some reason, WiVRn produced different commit hashes when applying patches, even though the base monado commit and wivrn commit were the same.
|
||||||
|
If this happens to you, you can workaround it by adding `IPC_IGNORE_VERSION=1` to your steam launch arguments, *but you should verify that everything was built off of the same commit first.*
|
Loading…
Add table
Add a link
Reference in a new issue