Commit Graph
123 Commits
Author SHA1 Message Date
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
Patrick Nicolas da950e0857 Disable quad views 2026-08-17 18:48:54 +02:00
Patrick Nicolas 85a635069f Remove WIVRN_USE_SYSTEMD config option 2026-08-06 19:33:22 +02:00
Patrick Nicolas 8c8bd6bd1a Rename runtime to "WiVRn" in installed manifest 2026-07-30 19:12:06 +02:00
Patrick Nicolas 49276fd5d8 Update Monado 2026-07-29 21:33:19 +02:00
Sapphire 2e28b0a4ad Forward body skeletons from headset 2026-07-10 13:22:05 -05:00
JR Lanteigne aeecc857de Add gamepad forwarding through OpenXR
Forward a gamepad paired to the headset to the server. Useful when the controller is in range of the headset but not the server, such as a DualSense paired to a Quest over Bluetooth.

The headset reads the gamepad through the OpenXR microsoft/xbox_controller profile and forwards it on the existing input rails: gamepad device ids in the inputs packet, plus a gamepad entry in the interaction profile array that signals connection and disconnection from the tracking thread.

The server exposes a native OpenXR gamepad at /user/gamepad, connected while the headset reports a gamepad interaction profile. This needs no permission and is always available.

Rumble is sent back to the headset and applied through OpenXR haptics.
2026-07-08 19:10:50 +02:00
Jonathan Steffan b9c8a54d92 Add WiVRn-native Perfetto via Perfetto SDK
Optional server profiling built on the Perfetto SDK. Adds CPU spans
(compositor, encoder, network), GPU encode/copy slices from Vulkan timestamp
queries (Vulkan/NVENC/VAAPI), and headset feedback markers from dump_time.

WIVRN_TRACING enables tracing and selects the backend (system, inprocess, or
both); WIVRN_USE_PERFETTO gates it at build time and compiles it out otherwise.
WIVRN_TRACE_MONADO additionally drives Monado's percetto tracing from the same
switch so WiVRn and Monado land on one timeline.

Tooling: server-tracing[-monado] presets and a CI build, two Perfetto configs
(WiVRn-only and full-system), a wivrn_capture.py capture wrapper, a pftrace
summary script, and docs/profiling.md.
2026-07-01 21:04:08 +02:00
Jonathan Steffan 52dc629310 Remove PulseAudio audio backend
PipeWire is the modern, preferred backend. Remove the now-redundant
PulseAudio backend entirely.
2026-07-01 20:48:17 +02:00
Patrick Nicolas 6aa7c9759a Update monado
fix u_system -> b_system rename
2026-04-17 16:42:53 +02:00
Patrick Nicolas c2a234d48a Update monado
fix u_builders.h -> target_builder_helpers.h
2026-04-17 16:42:52 +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
Patrick Nicolas 45907329c7 Set project name + version from git/GIT_DESC 2026-03-20 21:04:02 +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
peelz 1a35e1f7fc Add SolarXR support 2025-12-20 21:01:09 +01:00
Patrick Nicolas 8940220fc2 Add support for per-ABI OpenXR manifest 2025-12-16 23:11:28 +01:00
Sapphire 6638cefb37 Unify wivrn_controller and wivrn_hand_interaction device code 2025-12-09 04:10:40 -05:00
Sapphire 51d8742029 Forward XR_ANDROID_face_tracking 2025-12-04 11:16:31 +01:00
Sapphire 3f37bd7570 Disable Blubur S1 driver 2025-11-23 09:49:00 +01:00
galister 2063cae3ae keyboard & mouse forwarding 2025-11-11 21:12:01 +01:00
Patrick Nicolas 833e405060 More reliable reconnect (especially vulkan video) 2025-11-02 15:38:10 +01:00
galister 505de3d625 vulkan h265 /w 10-bit + fix encoder hang (#565) 2025-11-02 11:21:10 +01:00
Sapphire fb3786fc2d Disable Rift driver build 2025-09-29 08:43:39 +02:00
Patrick Nicolas fcbdda9908 Don't fake user presence, use focused instead 2025-09-27 10:08:51 +02:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
Sapphire 692d4dec04 Enable XRT_FEATURE_OPENXR_LAYER_COLOR_SCALE_BIAS by default 2025-09-02 08:30:32 +02:00
Kierek e5ba1f7394 Share CUDA context between all nvenc encoder instances 2025-07-27 23:32:41 +02:00
Patrick Nicolas a69bd596d1 Add common-server CMake library 2025-07-25 22:10:47 +02:00
Patrick Nicolas d3e10dc31b Rewrite child application management
Forked applications are managed by a class, which can track more than
one child.
Systemd mode uses transient units, libsystemd is replaced by
gdbus-codegen, the management objects shares the interface with forked
application.
2025-07-22 20:49:32 +02:00
Patrick Nicolas 286268d2c6 Start application in transient unit in systemd mode 2025-07-16 22:07:03 +02:00
Sapphire c682f8cd9f Make hand interaction a different xdev
* Don't override hands from other drivers on interaction profile change

* Rename *_hand to *_controller

* Fix derived pose and tracking control desync with hand interaction

* Reset pose history on switch from hand interaction, code cleanup
2025-07-09 10:33:32 +02:00
Sapphire 8f0ca7b04c Forward XR_EXT_hand_interaction
* Fix binds

* hand_interaction tids
2025-07-09 10:33:32 +02:00
Sapphire 460fbec06d Quest and Pico body tracking
* Update OpenXR SDK to 1.1.48
2025-06-08 18:07:23 +02:00
Patrick Nicolas c55bdc6e89 Drop obsolete foveate shader 2025-06-06 23:15:47 +02:00
Sapphire b24c6e5ea1 Move pico->fb2 mapping to client 2025-06-01 10:21:47 +02:00
Sapphire 908d21ffec WIP: Pico 4 Pro face tracking 2025-06-01 10:21:47 +02:00
Patrick Nicolas c23c0ed8e8 Disable hand interaction ext 2025-03-19 20:56:42 +01:00
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00
Patrick Nicolas e94d4197f7 Expose openxr extensions for new interaction profiles 2025-02-21 18:42:26 +01:00
Sapphire 10cd2a626b Allow enabling Monado debug GUI 2025-02-14 19:45:37 +01:00
Patrick Nicolas 560b23668b Allow building the openxr library only 2025-02-09 16:36:40 +01:00
galister c99ed19ca4 build with HTC_facial_tracking support 2025-02-08 10:24:15 +01:00
galister 261bb2c600 pass through HTC_facial_tracking 2025-02-08 10:24:15 +01:00
Patrick Nicolas ad922f4b79 Remove obsolete SolarXR patches 2025-01-31 14:08:03 +01:00
Patrick Nicolas 5e4a32c43e Enable XRT_FEATURE_OPENXR_ACTIVE_ACTION_SET_PRIORITY 2024-12-03 20:18:59 +01:00
Guillaume Meunier 2aa12de520 Add desktop notifications, enable enrolling when the wizard is displayed 2024-11-26 23:59:35 +01:00
Guillaume Meunier d2ff28f988 Silence spurious warning and enable JSON_DIAGNOSTICS everywhere 2024-11-26 23:59:35 +01:00
Patrick Nicolas d39004426e Disable ONNX in monado build 2024-11-24 18:29:46 +01:00
Patrick Nicolas d7a1012e48 Allow bare filenames in OpenXR manifest 2024-11-23 23:49:39 +01:00
Patrick Nicolas 0222354f25 Rename libmonado to libmonado_wivrn 2024-11-23 23:16:40 +01:00