955 Commits
Author SHA1 Message Date
schlegp 04837ba215 Add Vulkan AV1 video encoder (#1087)
Experimental support, is never automatically selected.
2026-11-16 17:24:08 +01:00
TommiTheFirst 540d95ae7e Replaced custom bitcast with std::bit_cast 2026-11-16 15:57:57 +01:00
Patrick Nicolas 63700f05fa Fix buffer overflow when creating listen socket 2026-11-15 10:04:16 +01:00
Patrick Nicolas 4d782f7370 Set higher priorities for pipewire devices 2026-11-13 19:44:09 +01:00
Sapphire 2233817b59 Forward controller battery info via XR_EXT_interaction_profile_battery_state_display 2026-11-11 16:23:54 -05:00
Sapphire 86bbb80f90 Reorder some inputs and fix comments 2026-11-11 15:56:13 -05:00
Sapphire f4358ebe85 Reuse menu ID for view button, give left system click a distinct ID 2026-11-11 15:56:13 -05:00
Sapphire 235eac73c2 Add missing hand interaction poses for Frame left/right bindings 2026-11-11 15:56:13 -05:00
Sapphire 869b0ce660 Fix swapped Frame dpad buttons 2026-11-05 20:21:37 -05:00
Reina_Sakiria 44c64ba866 fix: d-pad up and left input do not work 2026-10-26 19:01:16 +01:00
Patrick Nicolas edb1bf25ad Don't crash on systemd unit result 2026-10-25 08:57:52 +01:00
Patrick Nicolas 75e2df579c Don't log warning when x264 is selected by user 2026-10-23 19:41:14 +02:00
Patrick Nicolas 170fb06d01 Disable XR_MSFT_unbounded_reference_space 2026-10-22 21:38:58 +02:00
sunryze a74622bd78 Fix quaternion sign alignment of replaced samples 2026-10-22 20:20:02 +02:00
galister 76da2e1cb7 client: support XR_META_foveation_eye_tracked (#1123) 2026-10-22 18:52:55 +02: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