Commit Graph
580 Commits
Author SHA1 Message Date
Guillaume Meunier c3ec979dde Overrideable foveation center 2025-07-26 11:18:58 +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 2f5496c06e Give application to launch instead of reading conf 2025-07-17 15:28:41 +02:00
Patrick Nicolas 286268d2c6 Start application in transient unit in systemd mode 2025-07-16 22:07:03 +02:00
Patrick Nicolas 84ef968dc3 Prevent crash on very strong foveation 2025-07-15 17:31:48 +02:00
galister 5307f2fe62 pass bit_depth to probe_nvenc 2025-07-14 08:47:45 +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 <[email protected]>
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
Patrick Nicolas b9752276b7 read DBUS env variables for --systemd mode 2025-06-23 18:30:27 +02:00
Patrick Nicolas 95ab427517 Fix system bus -> session bus 2025-06-23 12:59:36 +02:00
Baplar b54d0c5dd5 Use shorter serial for generic trackers 2025-06-21 19:26:37 +02:00
Patrick Nicolas 444a5fed9e Force compositor scale to 100% 2025-06-20 09:17:07 +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 40aeaab762 Cap num DPB slots to 16 2025-06-12 21:34:33 +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 1ed4d3cfe6 Name vulkan video objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 5be3a8aef4 Utility to name vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas a6c20e9520 Send vulkan video idr over tcp 2025-06-12 11:07:10 +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
Patrick Nicolas c98b461809 fix vulkan video conformance issues 2025-06-10 11:26:32 +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