Commit Graph
143 Commits
Author SHA1 Message Date
galister d31e886d51 update monado
- xrt_tracking_offset field 'offset' was renamed to 'initial_offset'
- STAGE is now supported by default, 'stage_supported' is for drivers
  that require active polling for the STAGE pose.
- new space offset API included
2024-07-25 20:12:29 +02:00
Patrick Nicolas 38084db8a5 Silence duplicate VK_KHR_external_memory_fd warning 2024-07-25 19:49:06 +02:00
Patrick Nicolas c0218d9040 Set distortion model when scale is known 2024-07-25 19:47:44 +02:00
Patrick Nicolas af48d32c37 Fix encoder thread destruction 2024-07-25 11:56:45 +02:00
Patrick Nicolas 41994b4e6e Don't set ToS on sockets 2024-07-09 18:08:55 +02:00
Patrick Nicolas d5c9ea4b8c Remove margin for controller extrapolation 2024-06-19 16:37:27 +02:00
Patrick Nicolas b10b403a8d Replace condition variable with atomic 2024-06-19 10:24:49 +02:00
Patrick Nicolas b5159dc030 Remove encoders lock 2024-06-18 23:39:13 +02:00
Patrick Nicolas 8a96729983 Basic support for setting configuration file 2024-06-14 10:22:33 +02:00
galister 6a4043fd38 feat: stage_supported 2024-06-06 21:53:49 +02:00
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