Commit Graph
41 Commits
Author SHA1 Message Date
Patrick Nicolas 4cfdc4fa24 Move tracking origin to prevent warp on reconnect 2024-08-01 09:03:19 +02:00
Patrick Nicolas e70c427fe8 Stop reconnect loop if application closes 2024-07-31 22:21:35 +02:00
Patrick Nicolas d5c9ea4b8c Remove margin for controller extrapolation 2024-06-19 16:37:27 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas d935eabf14 Quit if no client when connection ends 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 99ac4cab41 Add a 5% margin on tracking prediction 2024-04-14 15:18:09 +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 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 f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas 959d82ede3 update monado 2024-03-05 17:00:35 +01:00
Guillaume Meunier a2271d486a Add hand tracking 2024-02-25 16:09:32 +01:00
Patrick Nicolas c3e2cd0cb8 Estimate clock speed difference 2024-02-16 22:02:57 +01:00
Patrick Nicolas 3f00f67042 Update monado 2024-02-07 18:25:54 +01:00
Patrick Nicolas 6ad6e0d241 Update monado (add xrt_session_event_sink) 2023-12-17 12:36:02 +01:00
Patrick Nicolas 94e60d4e8b Use same packet definitions for both sockets 2023-12-16 14:16:47 +01:00
Patrick Nicolas 1792607ada Update timing dump and tools 2023-12-16 14:16:46 +01:00
Patrick Nicolas 7e22b3fa92 Add IDR info in timings csv 2023-12-16 14:16:46 +01:00
Patrick Nicolas df786362e7 Only send I frames when necessary 2023-12-16 14:16:46 +01:00
Patrick Nicolas 6e14bac589 expose wivrn_comp_target class 2023-12-14 23:42:08 +01:00
Patrick Nicolas 23298a1581 Update monado, move create_system in wivrn_session 2023-11-29 18:13:34 +01:00
Patrick Nicolas e2868547e2 remove copies in audio thread 2023-11-22 00:00:55 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 4e233d99c2 Improve timesync
Initial timesync algorithm assumed that latency was symmetrical, but it
appears that it is not. Add a mechanism to estimate where latency
happens, which leads to much more stable values: about 200µs variation
between estimations.
2023-10-21 17:53:04 +02:00
Patrick Nicolas 5b527fdfcf Ensure we only send one timesync per second 2023-10-20 13:12:10 +02:00
Patrick Nicolas 2704b46927 Add timestamps for inputs 2023-06-30 12:25:15 +02:00
Patrick Nicolas 00fbfafb60 use control socket for audio data 2023-06-29 17:27:52 +02:00
Patrick Nicolas 4164ac1780 update monado version 2023-03-02 09:20:14 +01:00
Patrick Nicolas a5726226a2 Use comp_target_factory 2022-12-09 22:19:18 +01:00
Patrick NicolasandGuillaume Meunier 2b4303272d Initial audio support
Co-authored-by: Guillaume Meunier <[email protected]>
2022-12-03 21:24:55 +01:00
Guillaume Meunier 6dce276889 clang-format 2022-11-28 22:35:10 +01:00
Guillaume MeunierandPatrick Nicolas f16cfa8ae8 Add continuous foveated encoding
Co-authored-by: Patrick Nicolas <[email protected]>
2022-11-28 22:35:02 +01:00
Patrick Nicolas efb98ccda5 more accurate timesync 2022-11-17 13:14:38 +01:00
Patrick Nicolas bed54f646c Add WIVRN_DUMP_TIMINGS option 2022-11-17 13:14:38 +01:00
Patrick Nicolas 8b1f662b65 fix shader and connection 2022-11-13 14:35:53 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00
Guillaume Meunier 294c4f81ba Add server source, originally in monado 2022-11-12 23:59:28 +01:00