Commit Graph
491 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 7164a7dbeb Fix build failure in debug 2026-03-20 17:17:48 -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 79df7370f3 Fix debug build 2026-03-14 17:29:01 +01:00
Patrick Nicolas be75748d5c Fix connection rejecton on headset feature change 2026-03-02 11:52:03 +01:00
Patrick Nicolas 0ad6cf0507 use thread_safe wrapper for hmd battery 2026-03-02 11:47:22 +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 bfe44c6b8d Drop norm > 0.9 assertion 2026-02-26 23:09:41 +01:00
Schmarni 1e6937d4a4 Add port and hostname config options
Signed-off-by: Schmarni <[email protected]>
2026-02-26 15:00:39 +01:00
Patrick Nicolas 51ee0b46ac Be less strict for quaternions norm 2026-02-20 23:38:43 +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 df76543fb7 Don't store poses if timesync is not ready 2026-02-14 23:34:14 +01:00
Patrick Nicolas b09af79edc Don't return valid data if too far from know times 2026-02-14 09:50:28 +01:00
Patrick Nicolas 627e87c144 Ensure pose quaternions are normalized 2026-02-13 23:25:45 +01:00
Patrick Nicolas 4cd6862c1a Remove environment variables for foveation center 2026-02-13 15:42:51 +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
Patrick Nicolas 6cf46a6b73 Initialize view flags to 0 2026-02-11 19:38:11 +01:00
Sapphire f0e3e8d4ad Re-enable microphone on reconnect 2026-02-11 18:33:11 +01:00
Jonathan Steffan be96c4da4f fix(polynominal-interpolator): FTBFS on ppc64le 2026-02-08 19:40:03 +01:00
Jonathan Steffan 8b4b021048 fix(server-driver): add missing mutex includes 2026-02-08 18:26:09 +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 dec566f3d2 Don't extrapolate when data become invalid 2026-02-04 10:25:32 +01:00
galister e878896595 fix foveation for VIEW-relative gaze 2026-02-04 09:37:26 +01:00
Patrick Nicolas 30fddf7518 Prevent eye gaze extrapolation 2026-02-04 09:37:26 +01:00
Patrick Nicolas 67f4ced505 Store eye gaze relative to view 2026-02-04 09:37:26 +01:00
Patrick Nicolas 25f7a3dddb Better fix for fast-path 2026-02-03 22:11:26 +01:00
Patrick Nicolas 6bb842cc2d Fix layer used for fast-path data 2026-02-03 21:58:02 +01:00
Sapphire bd7fd535fe Update Monado 2026-02-03 09:59:17 -06:00
Patrick Nicolas cda9595a27 Don't request extrapolated data for face tracking 2026-02-03 08:02:45 +01:00
Patrick Nicolas ead0150932 More coherent face tracking timestamps 2026-02-03 08:02:45 +01:00
Patrick Nicolas c693993748 Revert "Remove simple_controller binding for hand interaction"
This reverts commit 1e2823c019.
2026-02-02 19:16:04 +01:00
Patrick Nicolas bd264e23b6 Limit extrapolation based on production time 2026-01-30 16:43:54 +01:00
Patrick Nicolas 2919f7d820 Fix vulkan error on queue transfer
Queue transfer acquire was performed by each encoder, it needs to be
done only once, for the first one.
2026-01-30 16:29:53 +01:00