281 Commits
Author SHA1 Message Date
Patrick Nicolas b12629b75a Fix crash when loading Steam games on flatpak 2026-10-27 14:53:20 +09:00
Patrick Nicolas f32e1b6ec2 Don't rely on steamapps.vrmanifest
The file seems to no longer be updated by Steam.
Instead, read installed games from libraryfolders.vdf, owned games from
user's localconfig.vdf and data from appinfo.vdf
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
Patrick Nicolas a98410bae0 Forward hand tracking data source 2026-10-16 18:30:38 +02:00
galister e5923e155a linux client: only show 10-bit if supported 2026-09-29 19:22:33 +02:00
Patrick Nicolas 1adc48e2f2 Don't build ICU support in Boost 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
Patrick Nicolas 07131bec85 Set WIVRN_USE_V4L2 in wivrn_config.h 2026-09-29 19:22:33 +02:00
galister 596e661d7e add frame controller profile 2026-09-27 17:14:33 +09:00
Patrick Nicolas c64af3ac90 Fix float errors on quaternions
1% error on norm is too much and can cause overflow in quantization
Even accurate normalization can have errors when computing sqrt if one
coordinate is almost 0
2026-09-16 21:45:24 +02:00
Anton Kesy e0f5a84d8d Fix typos (#1109) 2026-09-13 20:32:28 +02:00
Patrick Nicolas 8738131fb1 Native USB networking for Quest
Requires Horizon OS >= 2.6
2026-08-29 12:33:59 +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
Guillaume Meunier b33de5ef4b Consider enum values when computing protocol hash 2026-07-26 21:15:22 +02:00
Guillaume Meunier 3c56ff7403 Remove bitrate setting with the thumbstick 2026-07-26 21:14:12 +02:00
HttpAnimations 8b54ba1643 Check return value of recvfrom in UDP receive_from_raw (#1040) 2026-07-24 15:02:47 +02:00
HttpAnimations b5c5f0e09d Reject oversized TCP control packets 2026-07-21 09:34:09 +02:00
Patrick Nicolas 9491f02bc0 Update Android NDK 2026-07-20 18:54:53 +02:00
SapphireandGuillaume Meunier 1cc61fd07a Make virtual tracker xdevs toggleable
Co-authored-by: Guillaume Meunier <[email protected]>
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 <[email protected]>
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