Commit Graph
362 Commits
Author SHA1 Message Date
Guillaume Meunier 5e93c87403 Send application icons to the headset 2025-08-03 10:50:22 +02:00
Patrick Nicolas e67c071be6 Dump velocities with WIVRN_DUMP_TRACKING 2025-08-03 10:48:44 +02:00
Patrick Nicolas 2b9287c042 Reduce log spam for foveation 2025-07-30 23:31:30 +02:00
Patrick Nicolas 45e0fce476 Add packet to start an application 2025-07-26 20:05:35 +02:00
Patrick Nicolas 93a2f1c10b Add packets to list applications 2025-07-26 19:35:26 +02:00
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +02:00
galister ec42db83bc change encode_10bit → bit-depth 2025-07-11 23:09:37 +02:00
galister ed32676299 10-bit encoding as a global setting 2025-07-11 23:09:37 +02:00
galister d64d5909ee vaapi: 10-bit hevc/av1 encoding 2025-07-11 23:09:37 +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
Patrick Nicolas a6660434e9 Fix disconnect button 2025-07-08 15:30:13 +02:00
Sapphire 88f03acfbf Resolve symlinks when getting configuration file paths 2025-07-06 20:00:23 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Sapphire 5bfc9ed942 Forward session state to server
Closes #395
2025-07-05 15:41:22 +02:00
Sapphire 3ac31fe5cc Forward XR_EXT_user_presence
Closes #258
2025-07-04 23:43:06 +02:00
Patrick Nicolas 1698f4aba6 update monado 2025-07-04 23:43:06 +02:00
Patrick Nicolas 90f49e579b update monado 2025-07-04 23:43:06 +02:00
Sapphire 8dc2b7a5e0 Store face tracker in variant 2025-06-30 11:34:34 +02:00
Patrick Nicolas 55b7f0e6c7 Fix foveation with negative offsets
H3VR uses negative y extents so that y axis is flipped, previous code
assumed all extents would be positive.
2025-06-28 15:15:53 +02:00
Sapphire 795d88d9dc Use method_pointer for function pointer initialisation in eye tracker 2025-06-28 10:29:46 +02:00
Sapphire 6377f21b99 Return appropriate error and use logging helper when unsupported input is requested 2025-06-28 10:29:46 +02:00
Patrick Nicolas 4e53406ec5 Failsafe in foveation for weird application FoV 2025-06-26 18:54:09 +02:00
Patrick NicolasandBaplar 6ad4e8ae51 Multiple foveation fixes
fix math for center and convergence calculation
add WIVRN_FOVEATION_OFFSET variable to change the vertical center offset
set default vertical center offset to 10° below horizontal
add WIVRN_FOVEATION_DISTANCE variable to set convergence distance
set default convergence distance to 1m
fix cache invalidation condition

Co-authored-by: Baplar <baplar@gmail.com>
2025-06-25 18:27:24 +02:00
Patrick Nicolas b75714c936 Unify tracked and non tracked foveation 2025-06-24 15:29:12 +02:00
Baplar b54d0c5dd5 Use shorter serial for generic trackers 2025-06-21 19:26:37 +02:00
Patrick Nicolas 70ba578f23 Fix cache invalidation for right eye 2025-06-17 23:51:38 +02:00
Patrick Nicolas 5955b2c622 Fix foveation center 2025-06-17 23:35:46 +02:00
Patrick Nicolas 169e8bf206 Check protocol compatibility on handshake 2025-06-17 09:31:30 +02:00
Patrick Nicolas 7e3b6d001e Fail if too many generic trackers are reported 2025-06-16 23:41:11 +02:00
Patrick Nicolas f2050fbe54 Re-fix build with older vulkan_hpp 2025-06-15 10:00:29 +02:00
Patrick Nicolas 804bfc6291 Fix build with older vulkan_hpp 2025-06-15 09:53:01 +02:00
Patrick Nicolas 711be3754b fix comp_target deletion (again) 2025-06-12 15:46:37 +02:00
Patrick Nicolas f6eb528ea7 Name most vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 52b0bb0c42 update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas f2679f21d0 Update monado 2025-06-10 14:44:01 +02:00
Patrick Nicolas d065229cb7 update monado 2025-06-10 14:44:01 +02:00
galister b3f3c1c7fc fixed foveation: account for asymmetric v-fov 2025-06-09 16:19:12 +02:00
Sapphire 7b0cd08060 Disable generic trackers when no poses have been requested on server 2025-06-08 18:07:23 +02:00
Sapphire 3d468bf8d6 Log when unknown input name is requested for generic trackers 2025-06-08 18:07:23 +02:00
Sapphire 1d6b444ec6 Use separate packet to send generic tracker poses 2025-06-08 18:07:23 +02:00
Sapphire 460fbec06d Quest and Pico body tracking
* Update OpenXR SDK to 1.1.48
2025-06-08 18:07:23 +02:00
galister 0a53801f70 foveation: rework eye convergence; account for asymmetric v-fov 2025-06-07 23:22:14 +02:00
galister 695ac2ea04 simulate eye convergence when using eye tracked foveation 2025-06-07 05:55:30 +09:00
galister 7a7fc7aacc The Return of Dynamic Foveation 2025-06-06 20:04:40 +02:00
Patrick Nicolas 64b446c0d8 Rewrite foveation to enforce pixel alignment
foveation now uses integer pixel ratios, and tries to follow the
previous tangent function.
2025-06-06 20:04:40 +02:00
Patrick Nicolas aef8efba8a Drop mipmaps for foveation 2025-06-06 20:04:40 +02:00
Sapphire b24c6e5ea1 Move pico->fb2 mapping to client 2025-06-01 10:21:47 +02:00
Sapphire cd72cf68b0 Add debug log when receiving pico face tracking info 2025-06-01 10:21:47 +02:00
Sapphire 774702007d Initialize base members in member initialiser list for server face tracker classes 2025-06-01 10:21:47 +02:00