diff --git a/README.md b/README.md index 2745fc67..ca1778a2 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,15 @@ Then, on headset, launch WiVRn from the App Library, in "unknown sources" sectio You should now see your server in the list, click connect, screen will show "waiting for video stream". Now on your computer you can run an OpenXR application, and it will show on your headset, enjoy! +### 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 Wine/Proton, it will probe for OpenVR at startup, so even for OpenXR applications, OpenComposite is required. + +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`. + ### Audio When headset is connected, wivrn-server will create a virtual output device named WiVRn. It is not selected as default and you should either assign the application to the device when it is running, or mark it as default. To do so you can use `pavucontrol` or your desktop environment's configuration panel. Please note that in `pavucontrol` it will appear as a virtual device.