Commit Graph
262 Commits
Author SHA1 Message Date
SapphireandGuillaume Meunier 1cc61fd07a Make virtual tracker xdevs toggleable
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net>
2026-07-10 14:52:50 -05:00
Sapphire e611fdcc51 Add velocity for htc_body 2026-07-10 13:22:14 -05:00
Sapphire 534b4c23e3 Use shared pose_flags enum in packets 2026-07-10 13:22:13 -05:00
Sapphire 2e28b0a4ad Forward body skeletons from headset 2026-07-10 13:22:05 -05:00
JR Lanteigne 91f6e69ffb Mirror forwarded input devices to uinput
Mirror the gamepad forwarded from the headset to a uinput device with the standard Xbox layout, so applications that do not read it through OpenXR, such as SDL and Steam Input, pick it up. This extends the existing hid-forwarding uinput path, which already covered keyboard and mouse.

The headset chooses which devices to forward (keyboard, mouse, gamepad), off by default. The hid-forwarding server option gates the uinput mirror only; the OpenXR gamepad is always exposed. The mirror needs the uinput module and write access to /dev/uinput.

Gamepad rumble written to the uinput device is read back and forwarded to the headset as OpenXR haptics.
2026-07-08 19:10:50 +02: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 c3d491a414 Fix specialization constants with a single constant 2026-06-18 23:27:31 +02:00
Patrick Nicolas 29b1770ba0 cmake: explicit GIT_TAG for releases
Tagged versions shouls use GIT_TAG instead of GIT_DESC+GIT_COMMIT
When using GIT_TAG, apk download will be done from WiVRn releases
In other cases, GIT_COMMIT will be used to download from WiVRn-APK
releases.

If none is set, git is used to compute the values
2026-06-14 17:25:12 +02:00
Patrick Nicolas 1c1215da20 Don't fail if Steam userdata can't be read 2026-06-11 16:05:46 +02:00
EasonZxp 28c72c8e64 Add PFDM MR controller support 2026-05-26 10:52:34 +02:00
Patrick Nicolas aa8968e1f4 Update OpenXR to 1.1.58 for client 2026-05-16 16:46:02 +02:00
Patrick Nicolas e21b1adf1d Send both frame rate and refresh rate in description 2026-04-27 10:26:58 +02:00
galister 00f0553dc7 add option for half fps 2026-04-19 09:14:03 +02:00
Sefa Eyeoglu b2f95938e6 Add wivrn-version dependency to common-base
This causes the packaging in nixpkgs-xr to fail. Not sure why other
builds aren't affected.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-03-28 11:58:39 +01:00
Patrick Nicolas 45907329c7 Set project name + version from git/GIT_DESC 2026-03-20 21:04:02 +01:00
Patrick Nicolas 7d9031e843 Rework stream tabs management 2026-03-14 17:29:21 +01:00
Patrick Nicolas 02d06562a6 Don't reset decoders if there's no change 2026-03-05 10:56:07 +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
Patrick Nicolas e97618e99e Add try/catch when reading Steam VR manifest 2026-02-18 09:26:48 +01:00
Patrick Nicolas 9353646b55 Support icons in ~/.local/share/icons 2026-02-16 20:32:34 +01:00
Patrick Nicolas 219146e763 Minimal fallback hicolor icon theme definition 2026-02-16 20:32:34 +01:00
Patrick Nicolas 5d1ba50e92 Refactor Steam libraries 2026-02-13 14:37:03 +01:00
Patrick Nicolas 74946403f0 Only read shortcuts file for current Steam user 2026-02-13 14:36:47 +01:00
Patrick Nicolas 9af70baa58 Add utility to guess Steam user ID 2026-02-13 14:36:47 +01:00
Sapphire a8148378d9 Skip directories we can't read when finding desktop files 2026-02-04 14:15:34 -06:00
Sapphire 48c480e303 Catch exceptions when reading desktop files 2026-02-04 14:15:34 -06:00
Patrick Nicolas 67f4ced505 Store eye gaze relative to view 2026-02-04 09:37:26 +01:00
Patrick Nicolas ead0150932 More coherent face tracking timestamps 2026-02-03 08:02:45 +01:00
Patrick Nicolas 7e50e6a38f Fix git desc/commit logic in cmakelists 2026-01-31 13:53:28 +01:00
Guillaume Meunier 2d400d9314 Add CSV logger 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 cd614c2361 Fix error for shortcuts with no icon 2026-01-24 15:20:32 +01:00
Patrick Nicolas 4831e8847d case insensitive comparison for vdf files 2026-01-24 15:16:20 +01:00
Patrick Nicolas 740b255461 Only read relevant info from appcache 2026-01-20 15:06:18 +01:00
Patrick Nicolas cc773294e3 Read non-Steam games using shortcuts.vdf 2026-01-20 14:05:06 +01:00
Patrick Nicolas 62a626e35e Avoid memory allocation in UDP receive 2026-01-19 21:41:04 +01:00
Patrick Nicolas e06d0d0943 Optimize away a memory allocation 2026-01-19 21:41:04 +01:00
Guillaume Meunier 317cd6bb91 Compress quaternions in hand tracking packets 2026-01-16 18:01:05 +01:00
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Patrick Nicolas 5ab7731be3 Remove server foveation config, rework defaults 2025-12-10 14:00:47 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
Sapphire 831bdf7a29 Return proper sample_time_ns in face trackers 2025-12-04 11:16:31 +01:00
Sapphire 51d8742029 Forward XR_ANDROID_face_tracking 2025-12-04 11:16:31 +01:00
Guillaume Meunier e51d653bd7 Add the picked glTF model to the model list, create a screenshot 2025-12-02 19:57:11 +01:00
Patrick Nicolas aff498bc2d Add check for snap/flatpak Steam 2025-11-19 14:16:15 +01:00
Guillaume Meunier 1393ff0f11 Cache the Vulkan SDK in CI 2025-11-16 15:31:22 +01:00