Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas f3d2c6ffe4 Try 48KHz microphone instead of default 2025-03-14 19:04:13 +01:00
Patrick Nicolas 46201ec763 Update OpenComposite 2025-03-10 17:47:20 +01:00
Patrick Nicolas 02822ba458 Fix loading glyphs for zh_TW 2025-03-07 17:56:03 +01:00
Patrick Nicolas 929cf96a68 Update scripts for zh-TW 2025-03-07 17:56:03 +01:00
Patrick Nicolas 206fc162f1 cleanup hmd constructor 2025-03-02 20:34:32 +01:00
Patrick Nicolas 25e7ee3354 remove wivrn_hmd_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas c7ee7246c4 auto get_visibility_mask 2025-03-02 20:34:32 +01:00
Patrick Nicolas e86ebfdadd auto wivrn_hmd_get_battery_status 2025-03-02 20:34:32 +01:00
Patrick Nicolas 098642bcc5 auto wivrn_hmd_get_view_poses 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1ecd14b615 auto wivrn_hmd_get_tracked_pose 2025-03-02 20:34:32 +01:00
Patrick Nicolas 1f29bf8253 remove wivrn_hmd_update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas c4601a6f0b remove wivrn_controller_destroy 2025-03-02 20:34:32 +01:00
Patrick Nicolas 8a757cb612 auto cast for set_output 2025-03-02 20:34:32 +01:00
Patrick Nicolas c0a74ebb48 auto cast for get_hand_tracking 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7b5923495b auto cast for update_inputs 2025-03-02 20:34:32 +01:00
Patrick Nicolas 7a788c42af auto cast for get_tracked_pose 2025-03-02 20:34:32 +01:00
Patrick Nicolas be177ed002 Template utility to cast member functions 2025-03-02 20:34:32 +01:00
Patrick Nicolas 3e6b53e163 Hold the pacer lock a little less 2025-02-27 11:24:45 +01:00
Patrick Nicolas f34658c485 count the null byte when enumerating strings 2025-02-27 10:23:06 +01:00
Patrick Nicolas 60c78fcfb4 Avoid allocation for enumerate views 2025-02-27 10:23:06 +01:00
Patrick Nicolas 05fc7d57f6 Handle reprojected frames in timing tools 2025-02-27 10:15:03 +01:00
Patrick Nicolas b5575528f3 Fix palm_pose derivation being reset by client 2025-02-26 21:56:50 +01:00
Patrick Nicolas b67f1b930e Fix ipc initialization with multiple hmd 2025-02-26 17:32:46 +01:00
Patrick Nicolas dbcab721af Only update bindings if we are active controllers 2025-02-26 17:32:46 +01:00
Patrick Nicolas d9c0a4394c Fix Steam launch option instructions 2025-02-25 11:09:52 +01:00
Patrick Nicolas f102c62ae7 Always expose palm pose
Same as grip if the headset doesn't support it
2025-02-23 20:55:11 +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 10cebc6b4a Don't try to receive 0 sized data 2025-02-21 21:17:00 +01:00
Patrick Nicolas 52fd337526 Support trigger and thumb haptics 2025-02-21 18:43:15 +01:00
Patrick Nicolas 8443406a8f Add Monado patch to test dynamic profiles 2025-02-21 18:43:15 +01:00
Patrick Nicolas be7c0862bb Some wivrn_controller refactoring 2025-02-21 18:42:26 +01:00
Patrick Nicolas 3f6ca12cb0 rename WiVRn controllers 2025-02-21 18:42:26 +01:00
Patrick Nicolas 9fdb972fb2 Log interaction profile change 2025-02-21 18:42:26 +01:00
Patrick Nicolas e94d4197f7 Expose openxr extensions for new interaction profiles 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 5151acaad2 Send 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 4238c9ad50 Fix pacer being updated every frame 2025-02-17 18:28:14 +01:00
Patrick Nicolas c4cc16cd3f Use width/height multiple of 32 for nvenc probing 2025-02-17 16:15:58 +01:00
Patrick Nicolas f0c2f01ffc refactor wifi lock 2025-02-16 17:47:33 +01:00
Patrick Nicolas 170dd65554 fix compositor wake_up time 2025-02-16 16:20:14 +01:00
Patrick Nicolas d0171b9e1e generate pandas dataframe in process_timings 2025-02-16 16:20:14 +01:00
Patrick Nicolas 3817dd4363 Skip sendmmsg if there is nothing to send 2025-02-15 18:45:35 +01:00
Patrick Nicolas 198372bc82 Use multi-layer swapchain for stream 2025-02-15 10:09:01 +01:00
Patrick Nicolas b87345a180 Release lock before calling exit() 2025-02-15 10:08:18 +01:00
Patrick Nicolas 802a96572e Probe for nvenc support 2025-02-14 22:04:26 +01:00
Patrick Nicolas 0dbc4a5ef4 Compute extrapolation time with actual samples 2025-02-14 21:15:51 +01:00
Patrick Nicolas ffabc94aee Discard outdated tracking data 2025-02-14 21:03:30 +01:00
Patrick Nicolas 5ab723a944 Only push to store if token is known 2025-02-13 11:38:08 +01:00
Patrick Nicolas eb88e323d9 Update fr,it locales 2025-02-13 11:04:00 +01:00
Patrick Nicolas b809f40dbd Indent unprocessed audio setting 2025-02-13 10:56:46 +01:00
Patrick Nicolas a6d4632f0f Replace policykit-1 -> pkexec 2025-02-12 10:28:35 +01:00
Patrick Nicolas e530014d6a Disable passthrough in stream when not used 2025-02-12 10:12:19 +01:00
Patrick Nicolas 2f1eef2675 Always hold wifi lock if stream exists 2025-02-12 10:12:19 +01:00
Patrick Nicolas d46d5b7bc5 Fix pacer broken by 5b6de6 2025-02-12 10:12:19 +01:00
Patrick Nicolas c42ff09e0d Document encoder-passthrough 2025-02-11 08:29:11 +01:00
Patrick Nicolas e4a866f368 Enable old-libc on aarch64 too 2025-02-09 23:52:08 +01:00
Patrick Nicolas 61c04afffc Use old libc/libstdc++ in flatpak 2025-02-09 18:54:12 +01:00
Patrick Nicolas 560b23668b Allow building the openxr library only 2025-02-09 16:36:40 +01:00
Patrick Nicolas 3af8a0a9e1 Silence git error in gen_flatpak_manifest 2025-02-08 19:20:22 +01:00
Patrick Nicolas 3b47e79901 patch opencomposite for executable stack issue 2025-02-08 17:36:21 +01:00
Patrick Nicolas 5b6de61395 Fix pacer crash when no sample is available 2025-02-08 15:42:06 +01:00
Patrick Nicolas 7d50f85b13 Fix flatpak manifest generation for CI 2025-02-08 14:28:44 +01:00
Patrick Nicolas 060b8b5a6b Don't publish .deb in release 2025-02-08 13:18:30 +01:00
Patrick Nicolas dda586bf1d Fix flatpak release job 2025-02-08 12:53:34 +01:00
Patrick Nicolas a9b5643766 Prepare release 2025-02-08 11:45:08 +01:00
Patrick Nicolas 79dc231dde remove obsolete file 2025-02-08 11:36:47 +01:00
Patrick Nicolas 4bf6b0b879 Update OpenComposite 2025-02-08 10:48:38 +01:00
Patrick Nicolas 4879d2ce67 Fix serialized_size for std::variant 2025-02-08 10:24:15 +01:00
Patrick Nicolas a79bb781ae Use a property for bitrate 2025-02-07 19:00:34 +01:00
Patrick Nicolas f24d51334b Remove redundant mutexes
setup_reprojection_swapchain is already called in the same thread as
rendering.
2025-02-07 13:35:05 +01:00
Patrick Nicolas 5fd77f3b39 lock-free clock_offset 2025-02-06 20:41:08 +01:00
Patrick Nicolas 39d5e6b87b allocation-less history 2025-02-06 20:05:21 +01:00
Patrick Nicolas d1c2c24473 simplify pose_list::convert_pose 2025-02-06 19:17:24 +01:00
Patrick Nicolas 8e3fd52363 lock-free derived poses 2025-02-06 19:03:11 +01:00
Patrick Nicolas 6c73d5f2cc Offload on_feedback procdessing 2025-02-06 18:11:16 +01:00
Patrick Nicolas ab47d95a68 minor lock improvement 2025-02-06 17:46:28 +01:00
Patrick Nicolas e85be69d2b be really safe when creating swapchains 2025-02-05 16:55:25 +01:00
Patrick Nicolas bb6d6c578a Remove some allocations in tracking thread 2025-02-05 16:55:25 +01:00
Patrick Nicolas 2de9e0a0c9 Avoid allocations in tracking thread 2025-02-05 16:55:25 +01:00
Patrick Nicolas b1ac7e09ce Update instructions for localisation 2025-02-02 18:55:29 +01:00
Patrick Nicolas 7e592163a3 Update OpenComposite 2025-02-02 17:59:47 +01:00
Patrick Nicolas dd0c9e2eae Fix OpenXR -> OpenVR typo in error message 2025-02-01 22:56:21 +01:00
Patrick Nicolas c4fd878be2 Add openvr config instruction for Steam flatpak 2025-01-31 21:57:37 +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 8449e7eafc Update monado 2025-01-31 14:19:31 +01:00
Patrick Nicolas ad922f4b79 Remove obsolete SolarXR patches 2025-01-31 14:08:03 +01:00
Patrick Nicolas 4c861ea6c6 Add /opt/opencomposite to default search path 2025-01-31 13:16:00 +01:00
Patrick Nicolas 54c592e66a tracking frequency is now a divisor of display period 2025-01-30 08:58:31 +01:00
Patrick Nicolas 06b5fd7e6c Send both min and max prediction times 2025-01-30 08:58:31 +01:00
Patrick Nicolas b97c8b29b5 Add encode and network timings in feedback 2025-01-29 23:25:18 +01:00
Patrick Nicolas 8025adf35a cosmetic changes 2025-01-29 23:10:41 +01:00
Patrick Nicolas ba4024f324 upgrade gradle 2025-01-28 00:16:08 +01:00
Patrick Nicolas 413fadaeb9 Add WIVRN_DUMP_TRACKING for controller pose 2025-01-27 23:43:39 +01:00
Patrick Nicolas 3ef19c2e79 Fix path for palm_ext pose 2025-01-27 23:35:53 +01:00
Patrick Nicolas c8cb2b3e62 Use git to download libktx 2025-01-27 20:57:37 +01:00
Patrick Nicolas 480968d799 svg tweaks: larger glass, set size to 180 2025-01-26 11:32:57 +01:00
Patrick Nicolas 01d2439fb5 fix wivrn-nighlty css 2025-01-26 11:32:57 +01:00
Patrick Nicolas f3c652c029 Fix gen_flatpak_manifest 2025-01-25 23:35:58 +01:00