You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenXR runtimes not enabled by default in pressure vessel #831
PRESSURE_VESSEL_IMPORT_OPENXR_1_RUNTIMES has been available since the 20250616 release, when using WiVRn we instruct users to add that to games launch commands.
When installing WiVRn through the AUR package, the variable is set at system level. The Gentoo ebuild does the same.
So far we have not had any report of issues when doing so.
Are there plans to enable this feature by default? This would reduce friction when using FOSS OpenXR runtimes.
Reacted by SpookySkeletons and Jonathan Steffan
Reacted by Cadence Ember, notfranko-web, Helooprototo, Mats Huesmann and SpookySkeletons
For completeness: OpenXR layers aren't "captured" by default, either.
Are there plans to enable this feature by default?
The cost/risk of enabling "capture" of more driver stacks by default is that the more driver stacks we pull in, the more risk there is of one of them having a dependency that breaks the ABI presented to games - either by having an incompatible behaviour change without a SONAME bump, or by breaking our ability to identify which version is newer, or by having a "family" of related libraries that need to be upgraded-or-not as a unit.
(For example #825 is an example of the Nvidia graphics drivers' dependencies having unintended consequences, and the Nvidia drivers generally have very conservative dependencies, probably more so than OpenXR stacks.)
Runtimes (and layers) can mitigate this risk by trying to keep their library dependencies minimal, do as little work as is feasible to do (for example only the performance-critical parts) in-process in the game, and do as much of the work as possible by communicating with a system-wide service on the host instead.
I think capturing all OpenXR runtimes (and, especially, layers) by default would be quite risky, especially if they start to be sufficiently widely-adopted that distros install them by default. One possible route forward would be to have a mechanism to allowlist runtimes (and layers) that are believed to be well-behaved and not have problematic dependencies, and "capture" those by default.
An allowlist could be a solution, currently, both Monado and WiVRn identify themselves with "name": "Monado" in the manifest.
This seems bad: Wivrn should identify itself as itself, particularly if it's functionally different (which it does seem to be: you'll see that in pv_wrap_add_openxr_args(), pressure-vessel has to look for a different IPC socket for it).
@xytovl, if you're involved with Wivrn upstream, please could you give it a different name? It doesn't necessarily need to be committed or in releases, but the upstream developers should agree on "if we had a unique name, this is what it would be".
I wouldn't want to add an allowlist of known-well-behaved runtimes without including Wivrn in it under its own name!
all of that looks fine with the possible exception of libcjson.so.1... but as it happens, we don't seem to ship libcjson in any runtimes, so it shouldn't be able to conflict.
I will open a merge request in Monado so that downstream projects can easily customize the "name" field.
Note that the xr library referenced in the WiVRn manifest is build from unmodified Monado code, with only build configuration options: socket name, path and version identifier.
Activity
smcv commentedon Jun 17, 2026
For completeness: OpenXR layers aren't "captured" by default, either.
The cost/risk of enabling "capture" of more driver stacks by default is that the more driver stacks we pull in, the more risk there is of one of them having a dependency that breaks the ABI presented to games - either by having an incompatible behaviour change without a SONAME bump, or by breaking our ability to identify which version is newer, or by having a "family" of related libraries that need to be upgraded-or-not as a unit.
(For example #825 is an example of the Nvidia graphics drivers' dependencies having unintended consequences, and the Nvidia drivers generally have very conservative dependencies, probably more so than OpenXR stacks.)
Runtimes (and layers) can mitigate this risk by trying to keep their library dependencies minimal, do as little work as is feasible to do (for example only the performance-critical parts) in-process in the game, and do as much of the work as possible by communicating with a system-wide service on the host instead.
I think capturing all OpenXR runtimes (and, especially, layers) by default would be quite risky, especially if they start to be sufficiently widely-adopted that distros install them by default. One possible route forward would be to have a mechanism to allowlist runtimes (and layers) that are believed to be well-behaved and not have problematic dependencies, and "capture" those by default.
xytovl commentedon Jun 17, 2026
For runtimes only, I don't know if there's anything else than SteamVR and Monado (+ derived).
WiVRn (derived from Monado):
SteamVR:
Pressure vessel already has some knowledge of Monado and WiVRn: https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/blob/main/pressure-vessel/wrap-openxr.c?ref_type=heads#L37-42
An allowlist could be a solution, currently, both Monado and WiVRn identify themselves with
"name": "Monado"in the manifest.smcv commentedon Jun 24, 2026
This seems bad: Wivrn should identify itself as itself, particularly if it's functionally different (which it does seem to be: you'll see that in
pv_wrap_add_openxr_args(), pressure-vessel has to look for a different IPC socket for it).@xytovl, if you're involved with Wivrn upstream, please could you give it a different
name? It doesn't necessarily need to be committed or in releases, but the upstream developers should agree on "if we had a uniquename, this is what it would be".I wouldn't want to add an allowlist of known-well-behaved runtimes without including Wivrn in it under its own name!
Great, this looks non-problematic.
Also this (the dependency on
libuuid.so.1is a bit strange but should hopefully be harmless).For completeness:
all of that looks fine with the possible exception of
libcjson.so.1... but as it happens, we don't seem to ship libcjson in any runtimes, so it shouldn't be able to conflict.xytovl commentedon Jun 24, 2026
I will open a merge request in Monado so that downstream projects can easily customize the "name" field.
Note that the xr library referenced in the WiVRn manifest is build from unmodified Monado code, with only build configuration options: socket name, path and version identifier.
For libcjson, this is a build option in https://gitlab.freedesktop.org/monado/monado/-/blob/c9ae292ca624fe32f2f095dfd2591d412fc03425/CMakeLists.txt#L262
xytovl commentedon Jul 30, 2026
I have made the changes to set the name in WiVRn/WiVRn@8c8bd6b
Starting from next release, the manifest for WiVRn will look like this:
{ "file_format_version": "1.0.0", "runtime": { "name": "WiVRn", "library_path": "../../../lib64/wivrn/libopenxr_wivrn.so", "MND_libmonado_path": "../../../lib64/wivrn/libmonado_wivrn.so" } }xytovl commentedon Sep 12, 2026
I have just released WiVRn 26.9, it now has
"name": "WiVRn"as described in previous message. The set of needed libraries is unchanged.