Commit Graph
310 Commits
Author SHA1 Message Date
Sapphire b29abf073e Fix call to ipc_server_main, add config options for debug GUI and steamvr_lh
* Add config option for SteamVR lighthouse device support

* Add dashboard toggles for debug window and steamvr_lh

* clang-format

* Hide advanced toggles if not enabled during build
2025-05-21 04:58:06 -05:00
Patrick Nicolas acd35e3ebd Add null to disable OpenVR configuration 2025-04-29 19:40:35 +02:00
Guillaume Meunier 5cf1697c5d Fix connection issue when several network interfaces are connected on the same network 2025-04-27 16:03:27 +02:00
Patrick Nicolas e8c76f43cd Increase "in flight" frames in pacer
This should allow the server to keep track of data even when latency
becomes high.
2025-04-11 18:39:58 +02:00
Guillaume Meunier 57a0cf1d4b Display the last connection time in dashboard/wivrnctl 2025-03-25 21:15:01 +01:00
peelz 48cf51afc1 Use push_event helper in wivrn_session 2025-03-23 23:20:25 +01: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
Patrick Nicolas dfcaa74e41 Log if automatic refresh rate is enabled 2025-03-19 18:39:01 +01:00
Patrick Nicolas 119e0a4336 Control automatic refresh rate adjustment
If an OpenXR application requests a specific frame rate, use that one.
In order to revert to automatic adjustment, an application shall request
a 0 refresh rate (no preference).
2025-03-19 17:43:37 +01:00
Patrick Nicolas d3517ae88a Reset refresh rate adjuster on reconnect 2025-03-19 17:43:37 +01:00
Patrick Nicolas 6fa3b72f8b Prevent frequent framerate changes 2025-03-19 17:43:37 +01:00
Patrick Nicolas 63913b09a1 Enable automatic refresh rate adjustment 2025-03-19 17:43:37 +01:00
Patrick Nicolas 92d910f5c8 Separate last app display time and compositor display time 2025-03-19 17:43:37 +01:00
Patrick Nicolas df920b49e4 Use immediate wake instead of throttling 2025-03-19 17:43:37 +01:00
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00
Patrick Nicolas dcc808981f Print log when refresh rate changes 2025-03-19 17:43:36 +01:00
Patrick Nicolas a75f42ff46 Update framerate for encoders 2025-03-19 17:43:36 +01:00
Patrick Nicolas d61932cc1c Fix frame interval not updated on refresh rate change 2025-03-19 17:43:36 +01:00
galister aa491ab39f fix forced extensions not working for face 2025-03-06 21:04:32 +01:00
Patrick Nicolas 206fc162f1 cleanup hmd constructor 2025-03-02 20:34:32 +01:00
Patrick Nicolas 25e7ee3354 remove wivrn_hmd_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas c7ee7246c4 auto get_visibility_mask 2025-03-02 20:34:32 +01:00
Patrick Nicolas e86ebfdadd auto wivrn_hmd_get_battery_status 2025-03-02 20:34:32 +01:00
Patrick Nicolas 098642bcc5 auto wivrn_hmd_get_view_poses 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1ecd14b615 auto wivrn_hmd_get_tracked_pose 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1f29bf8253 remove wivrn_hmd_update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas c4601a6f0b remove wivrn_controller_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas 8a757cb612 auto cast for set_output 2025-03-02 20:34:32 +01:00
Patrick Nicolas c0a74ebb48 auto cast for get_hand_tracking 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7b5923495b auto cast for update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7a788c42af auto cast for get_tracked_pose 2025-03-02 20:34:32 +01:00
peelz fe8859d30b fix: destroy devices on session shutdown 2025-03-02 17:01:13 +01:00
Patrick Nicolas 3e6b53e163 Hold the pacer lock a little less 2025-02-27 11:24:45 +01:00
Patrick Nicolas dbcab721af Only update bindings if we are active controllers 2025-02-26 17:32:46 +01:00
Patrick Nicolas f102c62ae7 Always expose palm pose
Same as grip if the headset doesn't support it
2025-02-23 20:55:11 +01:00
TheRainTrain 467d3aad88 Use correct enum name in get_name 2025-02-23 14:05:12 +01:00
TheRainTrain f108c26dd5 Add Pico 4s/4 Ultra/A9210 interaction profile (non-breaking change) 2025-02-23 14:05:12 +01:00
Patrick Nicolas 058b345a82 Revert "Set wivrn hmd as last xdev"
This reverts commit b337800146.
2025-02-21 21:54:14 +01:00
Patrick Nicolas be7c0862bb Some wivrn_controller refactoring 2025-02-21 18:42:26 +01:00
Patrick Nicolas 3f6ca12cb0 rename WiVRn controllers 2025-02-21 18:42:26 +01:00
Patrick Nicolas 9fdb972fb2 Log interaction profile change 2025-02-21 18:42:26 +01:00
Patrick Nicolas 86a12d27dc Add definitions for more interaction profiles 2025-02-21 18:42:26 +01:00
Patrick Nicolas ad9020193d Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2025-02-21 18:42:26 +01:00
Patrick Nicolas b337800146 Set wivrn hmd as last xdev
This fixes an issue when other devices are detected as HMD, for instance
with the lighthouse driver.
2025-02-21 11:57:02 +01:00
Patrick Nicolas 4238c9ad50 Fix pacer being updated every frame 2025-02-17 18:28:14 +01:00
Guillaume Meunier 23785eb02e Update flatpak runtime 2025-02-17 13:46:41 +01:00
Patrick Nicolas b87345a180 Release lock before calling exit() 2025-02-15 10:08:18 +01:00
Patrick Nicolas 0dbc4a5ef4 Compute extrapolation time with actual samples 2025-02-14 21:15:51 +01:00
Patrick Nicolas ffabc94aee Discard outdated tracking data 2025-02-14 21:03:30 +01:00
Patrick Nicolas d46d5b7bc5 Fix pacer broken by 5b6de6 2025-02-12 10:12:19 +01:00