Commit Graph
70 Commits
Author SHA1 Message Date
galister 225bf9d30f expose battery on hmd xdev 2024-08-10 22:54:41 +02:00
galister f0ca7ff8da passthru EXT_eye_gaze_interaction 2024-08-01 12:08:05 +02:00
Guillaume Meunier 55ccb0d34b Add localization support in client 2024-06-08 21:24:06 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas d06c96df68 Skip reprojection if runtime does it correctly 2024-05-05 18:41:57 +02:00
Patrick Nicolas 641e2cb182 Optimize away a few memory allocations 2024-05-04 16:29:26 +02:00
Patrick Nicolas 2bfe49764a Lock TCP socket a little less 2024-04-14 15:17:39 +02:00
Patrick Nicolas c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +02:00
Patrick Nicolas f4b999f9fc Prevent excessive audio output latency 2024-04-05 12:05:46 +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
Patrick Nicolas 7aa85dfa64 Reuse buffers to send network data 2024-04-02 10:45:42 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 99a5685c34 When the runtime does not track the hands:
- Hide them in the lobby
- Don't send tracking data in the stream
2024-03-30 13:44:51 +01:00
Patrick Nicolas 8e3979cc8c Use XrTime for all time data 2024-03-24 14:01:44 +01:00
Patrick Nicolas de3bf50975 Prepare for pipewire audio backend 2024-03-23 20:24:23 +01:00
Patrick Nicolas 00f50fb86f Use callback-based method for Android audio out 2024-03-16 13:36:07 +01:00
Patrick Nicolas d8048c392a Use vulkan types for encoder range and color model 2024-03-05 10:05:02 +01:00
Patrick Nicolas 842fae3b27 Encode TCP size on 16 bits 2024-03-05 09:25:15 +01:00
Patrick Nicolas 82ca58cbea Drop std::pair support in serialization 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5adbeef2cd Drop unused data from feedback packets 2024-03-05 09:23:27 +01:00
Guillaume Meunier 1ec1f23862 Serialize string length on 16 bits 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Guillaume Meunier a2271d486a Add hand tracking 2024-02-25 16:09:32 +01:00
Patrick Nicolas 91f6dc08f0 Handle big UDP packets 2024-02-25 16:09:32 +01:00
Guillaume Meunier 9efe3852f4 Set the current active runtime when a headset connects 2024-02-19 23:36:28 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas a733e69796 Send encode timings 2024-02-18 09:03:46 +01:00
Guillaume Meunier ab2d1f02ce Cleanup 2024-02-18 09:03:46 +01:00
Guillaume Meunier 2e53f91f93 Add performance metrics plot 2024-02-18 09:03:46 +01:00
Patrick Nicolas 5589aaf301 Move vk_allocator to common 2024-02-07 18:25:54 +01:00
Patrick Nicolas df394ec079 Make vk_allocator a singleton 2024-02-07 18:25:54 +01:00
Patrick Nicolas 595d27f8dc Move singleton.h to common 2024-02-07 18:25:54 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Patrick Nicolas 24d65d8c53 Add support for system boost 2024-01-08 09:13:44 +01:00
Patrick Nicolas d71135111f Merge hostname-sd and hostname files 2023-12-21 20:40:37 +01:00
Guillaume Meunier 27f1106221 Use add_custom_target instead of add_custom_command 2023-12-16 14:16:48 +01:00
Guillaume Meunier 59ebc4b87e Publish server and protocol version on avahi 2023-12-16 14:16:48 +01:00
Guillaume Meunier 3076e61f49 Added serialization of std::pair 2023-12-16 14:16:47 +01:00
Guillaume Meunier 7f08d096aa Move serialization hash unit tests in a separate file 2023-12-16 14:16:47 +01:00
Patrick Nicolas 94e60d4e8b Use same packet definitions for both sockets 2023-12-16 14:16:47 +01:00
Patrick Nicolas df786362e7 Only send I frames when necessary 2023-12-16 14:16:46 +01:00
Patrick Nicolas 60c97e0e7b Use client fov to compute foveation center 2023-12-14 23:39:26 +01:00
Patrick Nicolas 10fa78c21c Make encoder options explicit in cmake 2023-11-25 14:37:36 +01:00
Patrick Nicolas e2868547e2 remove copies in audio thread 2023-11-22 00:00:55 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas c799fa6aa4 Remove FEC code, reduce data copies 2023-11-22 00:00:55 +01:00
Patrick Nicolas a3729cc1bf remove useless shared_ptr 2023-11-22 00:00:55 +01:00
Patrick Nicolas bd8183bbd2 Set send buffer size 2023-11-22 00:00:55 +01:00
Patrick Nicolas 347052109d Add device-specific logic
Controller bindings have been moved to the new logic.
Recommended view sizes are now overriden as recommendation is based on
the integrated GPU while for streaming headsets can usually do much
better.
2023-11-20 21:14:28 +01:00