Commit Graph
26 Commits
Author SHA1 Message Date
Patrick Nicolas 9574cf4b97 first flatpak multilib prototype 2025-12-20 18:26:49 +01:00
Sapphire 65a02bb04f Fix setting active runtime in Flatpak 2025-12-19 02:24:13 -06:00
Patrick Nicolas 8940220fc2 Add support for per-ABI OpenXR manifest 2025-12-16 23:11:28 +01:00
Patrick Nicolas ed51bcc3b6 Fix leftover active_runtime.json after crash
If the server hard crashes (kill -9, system reboot etc), the
active_runtime.json remains there and will be preserved thanks to the
backup mechanism. If this happens, detect that it's already a symlink
and prevent doing the backup instead.
2025-10-01 14:17:52 +02:00
Patrick Nicolas 46ffc444f0 Default to xrizer 2025-08-06 20:19:59 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Patrick Nicolas acd35e3ebd Add null to disable OpenVR configuration 2025-04-29 19:40:35 +02:00
Patrick Nicolas 28943c117f Don't mark openvrpath as readonly 2025-04-15 12:25:01 +02:00
t20kdc 0e9b72c776 Add OpenVR runtime override as a setting, add --early-active-runtime to test this (rv2)
I ran into some trouble debugging issues with Vivecraft because my OpenVR runtime setup was being automatically overridden by WiVRn.

It would be nice to attach a UI to this option, but I'm not sure on the details there and I'd like to keep the PR small and easily reviewed.

Being able to set the compat path is more useful than simply disabling compat override because of things like pressure-vessel bypass, which are finicky to get right.
2025-03-21 22:40:48 +01:00
Sapphire 5b49e2fc9f Add xrizer support 2025-02-16 13:27:26 +01:00
Patrick Nicolas dd0c9e2eae Fix OpenXR -> OpenVR typo in error message 2025-02-01 22:56:21 +01:00
Patrick Nicolas fc3265d2cf Don't follow symlinks when checking if file exists 2024-12-05 11:18:29 +01:00
Patrick Nicolas 3124d3792a Use empty path if active runtime is not managed 2024-12-01 18:29:36 +01:00
Patrick Nicolas cf55ff9b3a Explicit full path for OpenComposite search 2024-11-30 17:15:07 +01:00
Patrick Nicolas 2dd30c4fae Remove write permission on openvr manifest 2024-11-23 13:37:44 +01:00
Patrick Nicolas 64d36a7927 Search for OpenComposite and write manifest on connect 2024-11-23 13:37:44 +01:00
Patrick Nicolas 597390ab9f Move openvr logic into wivrn-server 2024-11-23 13:37:44 +01:00
Patrick Nicolas 8400a03fde More accurate flatpak info parser 2024-11-07 19:41:35 +01:00
Patrick Nicolas 19a399640a Move flatpak utils into common 2024-11-07 19:41:33 +01:00
Patrick Nicolas 1fb1b7049b Always replace active_runtime.json 2024-10-27 10:55:48 +01:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Guillaume Meunier 5e6512d825 Fix various warnings 2024-10-01 23:04:19 +02:00
Patrick Nicolas 9be5440d88 Add instructions for Steam on start 2024-08-13 18:15:07 +02:00
Patrick Nicolas 973456513d Write correct symlink when in a flatpak 2024-08-13 14:27:52 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 9efe3852f4 Set the current active runtime when a headset connects 2024-02-19 23:36:28 +01:00