Commit Graph
133 Commits
Author SHA1 Message Date
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas 79241835c1 Fix pacer bug from a8c99ea4c 2024-06-04 19:17:47 +02:00
Patrick Nicolas d935eabf14 Quit if no client when connection ends 2024-06-03 20:59:06 +02:00
Patrick Nicolas a8c99ea4c1 Fix pacer on reconnect 2024-06-03 20:59:06 +02:00
Patrick Nicolas 1266a46947 Deactivate connection on socket error 2024-06-03 20:59:06 +02:00
Patrick Nicolas 5d9d39eee5 Notify clients about session state change 2024-06-03 20:59:06 +02:00
Patrick Nicolas 3a5404d191 Reconnection support 2024-06-03 20:59:03 +02:00
Patrick Nicolas f63854a2ab Drop stale tracking data 2024-06-03 20:58:24 +02:00
Patrick Nicolas eaf6efda72 Update Monado 2024-06-02 23:36:53 +02:00
Patrick Nicolas 0ce74f5e80 Add an option for TCP-only mode 2024-05-16 17:44:49 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas 117546546c Fix pacer code for replayed frames 2024-05-07 16:31:01 +02:00
Patrick Nicolas b526c98683 Tweak pacer for faster convergence 2024-04-28 20:43:22 +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 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 c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +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
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 d51803cf80 Initial pipewire support 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 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 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 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 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
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas fa32074603 Use standard deviation for pacer tuning 2024-02-18 15:41:47 +01:00
Patrick Nicolas 2cc0e6154e Add pacer 2024-02-16 22:02:57 +01:00
Patrick Nicolas c3e2cd0cb8 Estimate clock speed difference 2024-02-16 22:02:57 +01:00