947 Commits
Author SHA1 Message Date
Reina_Sakiria 592ba04411 fix: d-pad up and left input do not work 2026-10-27 14:53:20 +09:00
Patrick Nicolas 6efbd973c4 Don't crash on systemd unit result 2026-10-27 14:53:20 +09:00
Patrick Nicolas 0751a5f712 Don't log warning when x264 is selected by user 2026-10-27 14:53:20 +09:00
Patrick Nicolas 161bfa1783 Disable XR_MSFT_unbounded_reference_space 2026-10-27 14:53:20 +09:00
sunryze e7d140ca8d Fix quaternion sign alignment of replaced samples 2026-10-27 14:53:20 +09:00
galister bd0d259072 client: support XR_META_foveation_eye_tracked (#1123) 2026-10-27 14:53:20 +09:00
Sapphire a9ed48f4c6 Add conforming hand tracking to inputs 2026-10-18 20:17:18 -05:00
Patrick Nicolas 3c2e5f66a6 Flush pw streams on destroy 2026-10-16 18:30:38 +02:00
Patrick Nicolas a98410bae0 Forward hand tracking data source 2026-10-16 18:30:38 +02:00
Patrick Nicolas 80c899efdf Disable some more Monado drivers 2026-10-16 08:03:21 +02:00
Patrick Nicolas 879c50c743 Add back unused-variable warning 2026-10-16 08:03:21 +02:00
Jonathan Steffan b8e24d7677 chore: update monado to be69de9e2, handle new xrt_view_type values 2026-10-15 23:00:44 +02:00
Jonathan Steffan 61abaf44e2 chore: update monado to a6a580491, use math_quat_exp_so3 2026-10-15 23:00:44 +02:00
Patrick Nicolas 0e0de41153 reformat for clang-format < 23 2026-10-06 19:25:41 +02:00
Patrick Nicolas 2fc4708bc6 Rework vaapi/nvenc/x264 IDR handling
Fix race conditions with should_skip
detect if nothings goes out from decoder and issue an IDR
remove idr_received, go directly to running state
2026-10-05 22:27:15 +02:00
Jonathan Steffan 59e4fb075e fix(htc): stop interaction-profile flapping and fix squeeze-touch binding
Blacklist XR_EXT_hand_interaction for HTC so the runtime can't switch
/user/hand/* to ext/hand_interaction_ext mid-session, which drops
controller button input whenever that profile is briefly active.

Point the Focus3 squeeze/touch binding at XRT_INPUT_FRAME_SQUEEZE_TOUCH,
the name the device actually exposes for that slot, instead of a name
that's never set active.
2026-10-05 09:36:37 +02:00
Patrick Nicolas fc48b6155e Assume user is present on session resume 2026-10-03 14:57:22 +02:00
Patrick Nicolas e8c92a7202 Prevent fragmentation when adding timing info 2026-10-02 18:53:16 +02:00
galister e5923e155a linux client: only show 10-bit if supported 2026-09-29 19:22:33 +02:00
Patrick Nicolas 117027c390 Remove FoV from headset info packet 2026-09-29 19:22:33 +02:00
dime-online 754ba4f6e1 driver: fix inverted interpolation factor in history::get_at
interpolate(before, after, t) expects t = 0 at the before sample and
t = 1 at the after sample (see hand_joints_list.cpp: radius = a.radius
* (1 - t) + b.radius * t, and monado's m_space_relation_interpolate
which lerps from the predecessor with the elapsed fraction).

The factor was computed as (after - now) / (after - before), which is
1 - t: querying at the before timestamp returned the after sample,
querying at the after timestamp returned the before sample, and
queries in between returned the pose mirrored about the segment
midpoint.

Compute t from the before sample so hand and body skeleton queries
between two tracking samples interpolate along the motion instead of
against it.
2026-09-27 19:17:06 +02:00
galister 596e661d7e add frame controller profile 2026-09-27 17:14:33 +09:00
Sapphire 40f2079268 Fix stop_application not working after Monado update 2026-09-26 04:59:02 -05:00
Sapphire c78bca4ddc Use interpolate/extrapolate functions from pose_list in generic tracker pose list 2026-09-26 04:49:24 -05:00
Patrick Nicolas dcc7579273 Avoid pacer immediate return when achievable
In case of discarded frames (no end frame or no layers) we don't get
called on mark_gpu_done, so times don't get updated. If the game
continues to call waitFrame, we advance the predicted display time, but
may enter the immediate return, accumulating delay.
2026-09-19 17:23:52 +02:00
galister 6b48898774 update monado 2026-09-16 23:23:12 +09:00
galister 07657d7281 update monado 2026-09-16 23:23:12 +09:00
galister b27f8dd831 update monado 2026-09-16 23:23:12 +09:00
Patrick Nicolas 8eff464261 Use vulkan encode by default even on NVIDIA 2026-09-14 21:19:49 +02:00
Anton Kesy e0f5a84d8d Fix typos (#1109) 2026-09-13 20:32:28 +02:00
Jonathan Steffan 3c927dd80b Raise the vulkan h265 encoder's minimum coding block to 16x16
The SPS allowed coding blocks down to 8x8. On NVIDIA that costs 4x the
encode time: 13.4 ms per 1920x1472 frame against 4.4 ms for the same
GPU's NVENC path, so the encoder sustained 36.5 fps against a 90 Hz
target. At 16x16 it is 3.2 ms and holds 90 Hz.
2026-09-08 08:01:54 +02:00
schlegp d81be2ae03 Fix angular velocity sign in pose_list
The angular velocity was worked out with the wrong formula. It used
dq * q, but it should be dq * q^-1 (the inverse of q, which is just
its conjugate here because q is normalized).

Using q instead of its inverse pointed the angular velocity the wrong
way. Games read this value when you let go of a controller, so thrown
objects came out spinning wrong.
2026-09-01 21:38:03 +02:00
Patrick Nicolas 9e9fc859f5 Detect network errors from any socket call 2026-08-31 19:34:05 +02:00
Patrick Nicolas 1085f79072 Disable XR_KHR_composition_layer_depth
We don't use the depth layer anyway, it's useless to expose the
extension.
2026-08-30 18:45:53 +02:00
Sapphire 28a8fbd743 Add patches and dashboard setting for maximum steamvr_lh pose prediction 2026-08-29 15:24:53 -05:00
Patrick Nicolas 9bad971d8a Fix invalidated pointer usage 2026-08-29 16:26:15 +02:00
Patrick Nicolas 8738131fb1 Native USB networking for Quest
Requires Horizon OS >= 2.6
2026-08-29 12:33:59 +02:00
Sapphire c7881fbc9e Fix deadlock when exiting due to all clients exiting 2026-08-26 23:39:50 -05:00
Patrick Nicolas ea7e345d2c Remove CAP_SYS_NICE leftovers in unit file 2026-08-25 19:11:04 +02:00
Sapphire c564436377 Gracefully stop applications on server quit
This doesn't work with Ctrl+C as the entire process group is signaled,
but it works with wivrnctl stop-server.
2026-08-24 14:13:07 -05:00
Patrick Nicolas e604848409 Remove WIVRN_DUMP_TIMINGS 2026-08-17 21:30:57 +02:00
Patrick Nicolas da950e0857 Disable quad views 2026-08-17 18:48:54 +02:00
galister ef0f6373b1 add slider for LH_STICK_DEADZONE 2026-08-07 21:01:58 +02:00
Patrick Nicolas d44e7aba9c Assign device ids (fix for c99db1) 2026-08-07 19:19:15 +02:00
Patrick Nicolas 85a635069f Remove WIVRN_USE_SYSTEMD config option 2026-08-06 19:33:22 +02:00
Sapphire 4749c15aa4 Update Monado 2026-08-01 20:37:14 +02:00
Sapphire a6da4e6dc9 Update Monado 2026-08-01 20:37:14 +02:00
Sapphire 2027dd04d0 Zero out output relation when generic tracker is disabled 2026-07-31 13:52:33 -05:00
Patrick Nicolas 8c8bd6bd1a Rename runtime to "WiVRn" in installed manifest 2026-07-30 19:12:06 +02:00
Patrick Nicolas 333e080d1c Provide Vulkan version to Monado 2026-07-30 19:12:06 +02:00