Update README

This commit is contained in:
Guillaume Meunier
2024-10-11 19:02:52 +02:00
parent 9b01dbde68
commit 18a9865a9f
3 changed files with 64 additions and 36 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
# Configurable items:
# Configurable items
Configuration is done on server side, in `$XDG_CONFIG_HOME/wivrn/config.json` or if `$XDG_CONFIG_HOME` is not set, `$HOME/.config/wivrn/config.json`.
All elements are optional and have default values.
## `scale`
Default value: `0.5`, `0.35` if headset supports eye tracking
+9
View File
@@ -0,0 +1,9 @@
# Notes for OpenVR and Steam
WiVRn only provides an OpenXR runtime. For games that use OpenVR, [OpenComposite](https://gitlab.com/znixian/OpenOVR/) should be used to translate the APIs.
If using Steam, games will be sandboxed by pressure vessel, which is not OpenXR aware yet.
- Files under `/usr` are mapped into `/run/host/usr`, if OpenComposite or WiVRn are installed there, make sure that `XR_RUNTIME_JSON` uses `/run/host/usr` prefix and that `VR_OVERRIDE` or `~/.config/openvr/openvrpaths.vrpath` also uses this configuration.
- WiVRn uses a socket to communicate between the application and the server process, this socket needs to be whitelisted as `PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/wivrn/comp_ipc`.