Commit Graph
185 Commits
Author SHA1 Message Date
Sapphire ab768fa62b Add wivrnctl subcommand to switch between headset and external tracking 2026-04-10 15:16:02 -05:00
Patrick Nicolas 1edae28630 Send video description on reconnect 2026-03-31 09:06:27 +02:00
Patrick Nicolas 22a819b8c8 Implement main compositor
Replace the patches to Monado's main compositor with a local
implementation, reusing code when relevant.

The layer squasher is very close to comp_render_cs, while distortion is
completely replaced by foveation.
2026-03-31 09:06:27 +02:00
Sapphire 456d65ef8c Use method_pointer to initialise wivrn_session function pointers 2026-03-22 12:50:02 -05:00
Sapphire 902a665c36 Use u_str_xrt_result for pretty-printing xrt_result 2026-03-21 12:26:01 -05:00
Sapphire 515010aeab C++ify wivrn_comp_target 2026-03-18 21:06:00 -05:00
Patrick Nicolas 26f21348f3 Export current client tab on dbus 2026-03-14 18:20:32 +01:00
Patrick Nicolas 7d9031e843 Rework stream tabs management 2026-03-14 17:29:21 +01:00
Patrick Nicolas be75748d5c Fix connection rejecton on headset feature change 2026-03-02 11:52:03 +01:00
caszuu 93ee0cc577 add minimal feedback to reconnect errors 2026-02-27 16:03:18 +01:00
caszuu 9a2f31e011 set user presence on session pause / resume 2026-02-27 16:03:18 +01:00
caszuu b5e93607df set refresh rate on session pause / resume 2026-02-27 16:03:18 +01:00
caszuu 9a81bc8213 ignore network errors instead of crashing
wrap some code paths which could cause uncaught
exceptions if called from one of the monado owned
threads.
2026-02-27 16:03:18 +01:00
caszuu a823df96d3 add server error messages 2026-02-27 16:03:18 +01:00
caszuu c44940d004 add server messages (with toasts!) 2026-02-27 16:03:18 +01:00
caszuu 7d11674b2a respect current client selection on session resume
this fixes a bug where non-current non-overlay
clients could get up to the focused session state
when a reconnect occured.
2026-02-27 16:03:18 +01:00
caszuu adf4b1fc84 verify headset compatibility on reconnect 2026-02-27 16:03:18 +01:00
caszuu 5b6e172b41 skip encoding when session paused
this is already done by `offset_est.reset()` as a
side-effect but it's implemented formally in case
that breaks by future changes.
2026-02-27 16:03:18 +01:00
caszuu a8504545e9 refactor reconnect logic
try to merge as much code between the first-time
connect and reconnects under `resume_session()`
without changing current behavior.
2026-02-27 16:03:18 +01:00
Patrick Nicolas 6c202db59e Update derived poses 1s after interaction profile
Also ignore it for hand interaction
2026-02-15 00:02:17 +01:00
Patrick Nicolas 0b7cf25a93 Use inplace_vector for body trackers 2026-02-13 15:42:51 +01:00
Patrick Nicolas fe46fc4545 Replace some unique_ptr with optionals 2026-02-13 15:42:51 +01:00
Sapphire f0e3e8d4ad Re-enable microphone on reconnect 2026-02-11 18:33:11 +01:00
Sapphire 5d87ce04fc Log result on failed calls 2026-02-06 13:56:08 -06:00
Sapphire a9b065df55 Fix assert with eye tracking in debug build 2026-02-06 13:42:00 -06:00
Patrick Nicolas 67f4ced505 Store eye gaze relative to view 2026-02-04 09:37:26 +01:00
Patrick Nicolas 30f472bdb4 Fix refresh resh adjusting after quitting an app 2026-01-29 09:51:59 +01:00
Patrick Nicolas fc01002317 Control the tracking loop from server side
On server side, collect each tracking request, create an explicit pattern
describing how the client shall execute them.
2026-01-29 09:51:52 +01:00
Patrick Nicolas 4e3eff6505 Split net and worker threads 2026-01-27 17:32:34 +01:00
Sapphire a3c7a604e0 Pass session and stop token through reconnect flow 2025-12-31 00:59:36 -06:00
Sapphire 416297f232 Change refresh rate and bitrate on connect 2025-12-31 00:59:36 -06:00
Sapphire 205c84b273 Don't listen to stdin in accept_connection
Fixes reconnect when server is spawned by systemd
2025-12-31 00:59:36 -06:00
Sapphire 727d4fab4d Use ipc_server_stop to exit during reconnect 2025-12-31 00:59:33 -06:00
Sapphire 21c04be1f8 Transition app to STOPPING state on requested app quit 2025-12-30 05:21:34 -06:00
peelz 1a35e1f7fc Add SolarXR support 2025-12-20 21:01:09 +01:00
mitsuami-megane 2b9e267fc8 add instructions to help with steamvr_lh confusion 2025-12-15 11:00:34 +01:00
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Sapphire 6638cefb37 Unify wivrn_controller and wivrn_hand_interaction device code 2025-12-09 04:10:40 -05:00
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
Sapphire aef6c1bced Handle assignment of ANY_HAND_CONTROLLER devices from steamvr_lh 2025-12-05 09:39:55 +01:00
Sapphire 8874ea8753 Properly handle switching interaction profiles on controller disconnection 2025-12-05 09:37:57 +01:00
Sapphire 51d8742029 Forward XR_ANDROID_face_tracking 2025-12-04 11:16:31 +01:00
Sapphire 804f85e7b8 Update monado 2025-12-04 11:16:31 +01:00
Sapphire eadd9a1813 Update monado 2025-12-04 11:16:31 +01:00
Sapphire f0ab1284f3 Update monado 2025-12-04 11:16:31 +01:00
Sapphire 9edb8fd2ae Extend session loss timer
Give applications a reasonable amount of time to quit before losing the instance.
2025-11-17 19:21:43 +01:00
Sapphire fb3f7a1599 Update monado 2025-11-15 20:34:57 +01:00
Patrick Nicolas 114f15c4f3 fix broken asserts 2025-11-15 08:23:40 +01:00
Sapphire 015b242e27 Allow changing refresh rate during stream 2025-11-11 22:09:04 +01:00
galister 2063cae3ae keyboard & mouse forwarding 2025-11-11 21:12:01 +01:00