Commit Graph
85 Commits
Author SHA1 Message Date
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
Patrick Nicolas 88e23da72c Move encoder code into new directory 2024-02-07 18:25:54 +01:00
Patrick Nicolas b326aefd33 Update monado 2024-02-07 18:25:54 +01:00
Patrick Nicolas c144f7e107 Update monado 2024-02-07 18:25:54 +01:00
Patrick Nicolas 3f00f67042 Update monado 2024-02-07 18:25:54 +01:00
Patrick Nicolas 6f29061ace Set refresh rate on client 2024-02-03 10:05:54 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Patrick Nicolas 7a250495a5 Remove some useless #include 2024-01-07 22:38:44 +01:00
Patrick Nicolas f7a7011e28 Use correct value for expedite forwarding TOS 2024-01-03 11:05:49 +01:00
Patrick Nicolas 6ad6e0d241 Update monado (add xrt_session_event_sink) 2023-12-17 12:36:02 +01:00
Patrick Nicolas 97e620ae1f Update monado (vk_print_result change) 2023-12-17 11:56:22 +01:00
Patrick Nicolas 4053ec64b7 Update monado (re-enable ATW) 2023-12-17 11:36:32 +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 a8c8e7f4b9 Fix foveation center calculation 2023-12-14 23:39:26 +01:00
Patrick Nicolas 60c97e0e7b Use client fov to compute foveation center 2023-12-14 23:39:26 +01:00
Patrick Nicolas f030433c09 Disable ATW in monado 2023-12-14 23:38:49 +01:00
Patrick Nicolas d2302a5faa fix invalid vulkan usage for memory export 2023-12-08 17:50:52 +01:00
Patrick Nicolas 23298a1581 Update monado, move create_system in wivrn_session 2023-11-29 18:13:34 +01:00
Patrick Nicolas 10fa78c21c Make encoder options explicit in cmake 2023-11-25 14:37:36 +01:00
Alexander 6ea491f7b4 driver/encoder_settings: set video_{width, height} when generating default settings 2023-11-24 19:24:12 +01:00
Patrick Nicolas fa30ea1356 Remove remaining copies of encoded video 2023-11-22 00:00:55 +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 12feb9c5e2 Disable forward error correction 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
Patrick Nicolas 3f783ceb0c Don't extrapolate controller positions 2023-11-16 09:05:34 +01:00
Patrick Nicolas a60bf88636 Actually throw the exception in pulseaudio errors 2023-11-10 21:51:52 +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 c3383521a4 Fix nvenc build 2023-10-25 09:13:33 +02: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 3473f00e0c Add expedited forwarding ToS flag in stream socket 2023-10-20 11:27:23 +02:00
Patrick Nicolas cb47c70030 Minor header cleanup 2023-10-17 11:17:47 +02:00
Patrick Nicolas 26d2ee1648 update monado version 2023-10-05 14:14:53 +02:00
Guillaume Meunier cef644e5da Fix compilation of configuration.cpp in Ubuntu 22.04 2023-07-29 15:40:27 +02:00
Patrick Nicolas 184f8c73db Update monado version 2023-07-26 19:44:15 +02:00
Patrick Nicolas 2d021463de fix speaker/mic thread using same variable 2023-07-04 21:10:06 +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 16d51338c6 fix buffered frames on ffmpeg 5+ 2023-06-28 18:13:16 +02:00
Patrick Nicolas 794b30fedc add FFMPEG_LOG_LEVEL to configure log level 2023-06-28 17:41:57 +02:00
Patrick Nicolas 38cbf2ccbd Add log for dropped encoder frames 2023-06-26 22:09:48 +02:00
Patrick Nicolas 47872011b5 Add warning if EAGAIN in encoder
This most likely means there is buffering in the encoder, pose will be
out of sync with image data and we will have additional latency.
2023-06-26 22:09:48 +02:00