Commit Graph
118 Commits
Author SHA1 Message Date
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +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
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 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 7e3b6d001e Fail if too many generic trackers are reported 2025-06-16 23:41:11 +02:00
Patrick Nicolas 711be3754b fix comp_target deletion (again) 2025-06-12 15:46:37 +02:00
Patrick Nicolas d065229cb7 update monado 2025-06-10 14:44:01 +02:00
Sapphire 7b0cd08060 Disable generic trackers when no poses have been requested on server 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
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
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
Sapphire b29abf073e Fix call to ipc_server_main, add config options for debug GUI and steamvr_lh
* Add config option for SteamVR lighthouse device support

* Add dashboard toggles for debug window and steamvr_lh

* clang-format

* Hide advanced toggles if not enabled during build
2025-05-21 04:58:06 -05:00
peelz 48cf51afc1 Use push_event helper in wivrn_session 2025-03-23 23:20:25 +01:00
Patrick Nicolas dfcaa74e41 Log if automatic refresh rate is enabled 2025-03-19 18:39:01 +01:00
Patrick Nicolas 119e0a4336 Control automatic refresh rate adjustment
If an OpenXR application requests a specific frame rate, use that one.
In order to revert to automatic adjustment, an application shall request
a 0 refresh rate (no preference).
2025-03-19 17:43:37 +01:00
Patrick Nicolas d3517ae88a Reset refresh rate adjuster on reconnect 2025-03-19 17:43:37 +01:00
Patrick Nicolas 6fa3b72f8b Prevent frequent framerate changes 2025-03-19 17:43:37 +01:00
Patrick Nicolas 63913b09a1 Enable automatic refresh rate adjustment 2025-03-19 17:43:37 +01:00
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00
galister aa491ab39f fix forced extensions not working for face 2025-03-06 21:04:32 +01:00
peelz fe8859d30b fix: destroy devices on session shutdown 2025-03-02 17:01:13 +01:00
Patrick Nicolas dbcab721af Only update bindings if we are active controllers 2025-02-26 17:32:46 +01:00
TheRainTrain 467d3aad88 Use correct enum name in get_name 2025-02-23 14:05:12 +01:00
TheRainTrain f108c26dd5 Add Pico 4s/4 Ultra/A9210 interaction profile (non-breaking change) 2025-02-23 14:05:12 +01:00
Patrick Nicolas 058b345a82 Revert "Set wivrn hmd as last xdev"
This reverts commit b337800146.
2025-02-21 21:54:14 +01:00
Patrick Nicolas 9fdb972fb2 Log interaction profile change 2025-02-21 18:42:26 +01:00
Patrick Nicolas 86a12d27dc Add definitions for more interaction profiles 2025-02-21 18:42:26 +01:00
Patrick Nicolas ad9020193d Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2025-02-21 18:42:26 +01:00
Patrick Nicolas b337800146 Set wivrn hmd as last xdev
This fixes an issue when other devices are detected as HMD, for instance
with the lighthouse driver.
2025-02-21 11:57:02 +01:00
Patrick Nicolas b87345a180 Release lock before calling exit() 2025-02-15 10:08:18 +01:00
galister 261bb2c600 pass through HTC_facial_tracking 2025-02-08 10:24:15 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas a6c64f297d Implement derived poses
Client can describe a pose to be derived from an other one, for instance
AIM can be derived from GRIP by applying an offset and rotation.
This reduces the amount of data that needs to be polled and transmitted
over the network.
2025-01-31 15:35:28 +01:00
Patrick Nicolas 06b5fd7e6c Send both min and max prediction times 2025-01-30 08:58:31 +01:00
Sapphire fbc10de9c7 append "on WiVRn" to systemName 2025-01-14 12:18:43 +01:00
Sapphire b1c0f3bac3 Forward systemName from properties 2025-01-14 12:18:43 +01:00
Patrick Nicolas a434094055 Use a separate packet for refresh rate change 2025-01-07 23:42:11 +01:00
Patrick Nicolas 5620c25705 Send refresh rate change event from client 2025-01-07 20:07:10 +01:00
Patrick Nicolas ad9300f842 Implement refresh rate change 2025-01-07 20:07:06 +01:00
Patrick Nicolas 3a09e2fb1f Implement visibility mask 2025-01-03 20:49:27 +01:00
galister 65d14724f0 do not attempt to call begin_feature 2024-12-05 10:24:55 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas 4e407f0107 Remove delay when enabling tracking 2024-11-23 13:27:09 +01:00