Commit Graph
179 Commits
Author SHA1 Message Date
Patrick Nicolas b4a792d1e5 Don't destroy descriptor sets in yuv converter 2024-04-21 19:11:35 +02:00
Patrick Nicolas 646c01d8b8 Fix extrapolation parameters 2024-04-15 21:39:29 +02:00
Patrick Nicolas 99ac4cab41 Add a 5% margin on tracking prediction 2024-04-14 15:18:09 +02:00
Patrick Nicolas e9293d8b6e Handle reodered tracking packets better 2024-04-14 15:02:14 +02:00
Patrick Nicolas f8207631bb Don't enable split encoders by default 2024-04-08 23:07:41 +02:00
Sefa Eyeoglu 126f3cf6c6 CMake: Add absolute runtime path option for XR manifest
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-08 16:57:48 +02:00
Patrick Nicolas 13e54ddaae Fix split encoder default configuration 2024-04-07 15:30:08 +02:00
Patrick Nicolas 4476676c9b Print encoder details on start 2024-04-07 15:14:57 +02:00
Patrick Nicolas 7f3c1e0e53 Limit default encoded size to 4096 pixels wide 2024-04-07 14:26:58 +02:00
Patrick Nicolas 5054975696 Fix audio discard threshold 2024-04-07 14:26:58 +02:00
Patrick Nicolas c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +02:00
Patrick Nicolas 7768527fad Tune audio buffer sizes: keep at least 100ms data 2024-04-07 09:23:08 +02:00
Patrick Nicolas 40043d1e45 Prevent excessive latency on microphone (pipewire only) 2024-04-05 12:06:05 +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 fff0ba9077 Only set timing info on last video shard 2024-04-01 23:09:12 +02:00
Patrick Nicolas b5202567bd Dynamically load cuda/nvenc 2024-03-30 23:07:52 +01: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 f951034de4 Allow pipewire build with version < 0.3.49 2024-03-23 20:24:23 +01:00
Patrick Nicolas d51803cf80 Initial pipewire support 2024-03-23 20:24:23 +01:00
Patrick Nicolas 03fb23e512 Drop useless log line 2024-03-23 20:24:23 +01:00
Patrick Nicolas de3bf50975 Prepare for pipewire audio backend 2024-03-23 20:24:23 +01:00
Patrick Nicolas 3076c50fbf Move audio out to UDP 2024-03-16 13:35:32 +01:00
Patrick Nicolas f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas 295d502032 Fix pose extrapolation
past extrapolation was wrong
velocity was wrong invalid from client
2024-03-14 20:01:20 +01:00
Patrick Nicolas 883e1808db Only extrapolate views 2024-03-08 15:03:59 +01:00
Patrick Nicolas 97ec53868f Enforce even dimensions for user provided settings 2024-03-07 18:24:46 +01:00
Patrick Nicolas 3871c6041d Enable pose extrapolation 2024-03-07 18:10:37 +01:00
Patrick Nicolas f5d73d33f4 Report real predicted display time 2024-03-07 17:20:46 +01:00
Patrick Nicolas 16b993a81c Use even height for default encoder settings 2024-03-07 15:59:49 +01:00
Patrick Nicolas 7b7caaed4f fix for drm modifiers 2024-03-05 17:00:35 +01:00
Patrick Nicolas 959d82ede3 update monado 2024-03-05 17:00:35 +01:00
Patrick Nicolas 8a7693713e don't ask for frames to be in the past 2024-03-05 10:37:06 +01:00
Patrick Nicolas 999a1e0cf0 Toggle ATW flag before reprojection is done 2024-03-03 12:05:03 +01:00
mittorn 3c1259e8c0 skip ATW if only single stereo layer projected 2024-03-03 11:53:53 +01:00
Patrick Nicolas ee2802b97e Default to split encoders for vaapi 2024-03-03 09:37:04 +01:00
Patrick Nicolas d175284358 Configure bitrate globally 2024-03-03 09:37:04 +01:00
Patrick Nicolas 2fdd1c9974 Tweak pacer for lower latency 2024-03-03 08:34:58 +01:00
Patrick Nicolas aa7ba38603 More aggressive timesync initialization 2024-03-03 08:28:08 +01:00
Guillaume Meunier a2271d486a Add hand tracking 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 386856c54e Allow manual vaapi device in settings 2024-02-19 22:13:21 +01:00
Patrick Nicolas d7e1900bc0 Avoid possible invalid time conversion 2024-02-19 18:43:21 +01:00
Patrick Nicolas 75c68a177c Change default scale to 0.8 2024-02-19 10:49:07 +01:00
Patrick Nicolas 6e90a7e594 fix build with Vulkan SDK 1.3.268 2024-02-18 16:15:55 +01:00
Jon ee03406a87 Add missing <span> include in yuv_converter.cpp. 2024-02-18 16:15:55 +01:00
Patrick Nicolas c848fe4641 enforce even height 2024-02-18 16:15:55 +01:00
Patrick Nicolas 0bc8380abb Force compute compositor pipeline
Synchronization seems to fail with graphics pipeline
2024-02-18 16:15:55 +01:00