Commit Graph
59 Commits
Author SHA1 Message Date
Patrick Nicolas 52fd337526 Support trigger and thumb haptics 2025-02-21 18:43:15 +01:00
Patrick Nicolas 5151acaad2 Send interaction profiles 2025-02-21 18:42:26 +01:00
Patrick Nicolas 198372bc82 Use multi-layer swapchain for stream 2025-02-15 10:09:01 +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 54c592e66a tracking frequency is now a divisor of display period 2025-01-30 08:58:31 +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
Guillaume Meunier fe10178add Check the PIN when pairing 2024-12-01 17:25:28 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas d6db46db09 Suspend microphone when unused (pipewire only) 2024-11-23 13:26:34 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00
Guillaume Meunier 252b2fd81e Update imgui to 1.91.3
Rework touch handling in lobby GUI

Add imgui patches

Support splitting the imgui viewport/swapchain in different composition layers
2024-11-01 11:40:33 +01:00
Patrick Nicolas 4c995c786c Rename variable for recentering 2024-10-08 19:48:23 +02:00
Patrick Nicolas efbcef2861 wivrn namespace: client/decoder/shard_accumulator 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Patrick Nicolas 9a39f24541 Fix frame selection for multiple encoders 2024-09-18 17:50:28 +02:00
Patrick Nicolas b7f27e9300 Rework wifi/multicast locks 2024-09-12 17:00:07 +02:00
Guillaume Meunier bd8a3e7aa9 Update clang-format in CI 2024-09-07 22:08:24 +02:00
galister 2141c66c6e switch to stage tracking on client 2024-09-05 13:46:00 +02:00
Patrick Nicolas 96bbfa1a23 Put not requested tracking on standby 2024-09-03 23:34:23 +02:00
Patrick Nicolas 7eea3c2e7b Sync predictions with display time 2024-09-03 23:34:23 +02:00
Patrick Nicolas fe927dc732 Show predicted display time in plots 2024-09-03 23:34:23 +02:00
Patrick Nicolas bb22403f7e Show encoding time in plots 2024-08-30 08:19:33 +02:00
Patrick Nicolas 0f6b5df4ae Reduce locking in push_blit_handle 2024-07-14 21:57:56 +02:00
Patrick Nicolas 03c12a9aaf Refactor xr::handle 2024-06-16 12:07:38 +02:00
Patrick Nicolas 0f77142b9d Add toggle action for plots 2024-06-10 11:55:18 +02:00
Guillaume Meunier 55ccb0d34b Add localization support in client 2024-06-08 21:24:06 +02:00
Patrick Nicolas 1a0033af18 Guess FPS if XR_FB_display_refresh_rate is not present 2024-06-04 19:24:28 +02:00
Patrick Nicolas 061101f738 Drop "video" thread
Process all incoming packets in "network" thread.
2024-05-20 16:47:52 +02:00
Patrick Nicolas 4f3a1d0b7f Allow recentering 2024-05-09 16:17:46 +02:00
Patrick Nicolas 6b47a326a3 Remove fade-in on stream start 2024-05-05 18:37:28 +02:00
Patrick Nicolas b72acd87fc Refactor client configuration 2024-04-21 11:20:31 +02:00
Patrick Nicolas fd6b9f539a Fast-path 0-amplitude haptics 2024-04-05 15:21:12 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Patrick Nicolas 7658f427e6 Request tracking extrapolation on client
Add the timestamp where data was requested, use this to compute how far
in the future the application is requesting samples.
With this information, client requests 2 tracking samples: one at the
current time and one in the future.
Server now keeps track of actual samples + one predicted sample, and is
most of the time in the interpolation use case.
2024-04-04 13:41:36 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Patrick Nicolas cd16b45270 Create swapchains in stream render method
Swapchains were created in the network thread, and when interleaved with
lobby render method and using passthrough, this would cause crashes on
HTC headsets.
2024-03-24 21:07:43 +01:00
Patrick Nicolas f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas 1be10f8065 Merge GPU plots, network plots 2024-03-08 17:33:22 +01:00
Patrick Nicolas a2b8955c12 Store 3 decoded frames for more robust stitching 2024-03-05 10:37:06 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Patrick Nicolas ba898560e9 Prefer consecutive frames when possible 2024-02-18 15:41:47 +01:00
Guillaume Meunier 478985256b Add timing plots 2024-02-18 09:03:46 +01:00
Guillaume Meunier 8d408c0792 Return to lobby when the video is stalled 2024-02-18 09:03:46 +01:00
Guillaume Meunier 554b62e643 Low pass filter on the bandwidth measurement 2024-02-18 09:03:46 +01:00
Guillaume Meunier 2e53f91f93 Add performance metrics plot 2024-02-18 09:03:46 +01:00
Guillaume Meunier ac1c3fe14b Join threads before cleaning the stream thread 2024-02-04 11:23:31 +01:00
Guillaume Meunier 224370ecab Cleanup includes 2024-02-04 11:23:30 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Guillaume Meunier 6de91ad837 Give each scene its XrActionSet 2024-01-28 11:33:35 +01:00