WiVRn only provides an OpenXR runtime. For games that use OpenVR, OpenComposite 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
/usrare mapped into/run/host/usr, if OpenComposite or WiVRn are installed there, make sure thatXR_RUNTIME_JSONuses/run/host/usrprefix and thatVR_OVERRIDEor~/.config/openvr/openvrpaths.vrpathalso 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.
By default, WiVRn attempts to automatically find OpenComposite in a number of places:
- When WiVRn is shipped as a flatpak, it uses a provided copy of OpenComposite by default.
- WiVRn attempts to autodetect OpenComposite in a number of places (see
OVR_COMPAT_SEARCH_PATHinCMakeLists.txt). - The
openvr-compat-pathconfiguration may be used for an unexpected install location.
If it is found, WiVRn adjusts the openvrpaths.vrpath file, and includes whitelisting the OpenComposite path and setting VR_OVERRIDE in the environment variables.