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
Okabintaro
33f91b790f
upgrade monado to e9475b13 ( #6 )
...
Upgrade monado to [e9475b13](https://gitlab.freedesktop.org/monado/monado/-/commit/e9475b13137db2cca8571576b5381a70fb8180a5 ) from april.
The commit after that, [86262e8b](https://gitlab.freedesktop.org/monado/monado/-/commit/86262e8b4e3ca0497d5846370cf281206cb92635 ) removed the
global command pool utility function which is used by wivrn, so more a refactoring and vulkan knowldege is needed for that.
Mainly wanted to do this to make the output metrics to work.
2023-06-22 22:25:41 +05:00
PLYSHKA
e7795540b2
Change default bitrate to at least 50 mbits
...
Fix the issue with haptics using subactions after creation (Openxr specs non-conformance)
2023-05-29 22:50:25 +05:00
PLYSHKA
65d19236fe
Added todo for av_format
2023-05-29 15:41:45 +05:00
PLYSHKA
530ea6702d
Remove code from error
2023-05-29 15:35:35 +05:00
galister
3217d02069
Microphone streaming ( #1 )
...
* microphone streaming
* prevent speakers buffer congestion
2023-05-29 14:36:31 +05:00
PLYSHKA
32bbfbff5a
Fixed vaapi filter not working with newer ffmpeg
...
Added pico neo 3 and pico 4 profiles with switching
Removed gles requirements
2023-05-21 14:16:12 +05:00
Patrick Nicolas
4164ac1780
update monado version
2023-03-02 09:20:14 +01:00
Patrick Nicolas
a0f717ec11
Allocate command buffers only once (and do not leak them)
2022-12-17 20:15:44 +01:00
Guillaume Meunier
d9ac2b84b5
Start a client when a headset connects
2022-12-17 20:12:47 +01:00
Guillaume Meunier
0b99099527
Cleanup when the server process exits
2022-12-17 20:12:47 +01:00
Patrick Nicolas
7fb2cca038
Add simple controller bindings
2022-12-10 07:11:06 +01:00
Patrick Nicolas
a5726226a2
Use comp_target_factory
2022-12-09 22:19:18 +01:00
Patrick Nicolas
5932b54d74
Allow encoders to change their settings
2022-12-04 19:01:44 +01:00
Patrick Nicolas
9dd10e5261
Improve audio latency
...
Switch from module-simple-protocol-tcp + null sink/source to pipe
sink/source and custom network streaming.
2022-12-04 18:09:11 +01:00
Patrick Nicolas and Guillaume Meunier
2b4303272d
Initial audio support
...
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net >
2022-12-03 21:24:55 +01:00
Guillaume Meunier
6dce276889
clang-format
2022-11-28 22:35:10 +01:00
Patrick Nicolas
b1cb28200d
Only blit useful part of the stream
...
With odd image size, encoders may add black borders. We need to properly
ignore it on the headset side
2022-11-28 22:35:10 +01:00
Patrick Nicolas
21311baf8e
add (deactivated) code to dump video streams
2022-11-28 22:35:10 +01:00
Guillaume Meunier and Patrick Nicolas
f16cfa8ae8
Add continuous foveated encoding
...
Co-authored-by: Patrick Nicolas <patricknicolas@laposte.net >
2022-11-28 22:35:02 +01:00
Patrick Nicolas
539466e664
specialize serialization for video data
2022-11-26 23:03:15 +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
Guillaume Meunier
48ef782b13
Move all external code to external
2022-11-17 08:28:59 +01:00
Patrick Nicolas
219dc50720
fix some button mappings
2022-11-15 23:14:31 +01:00
Patrick Nicolas
998fda29a7
Fix tracking origin
2022-11-15 20:56:50 +01:00
Patrick Nicolas
df376d473f
vaapi: add details when fail to open device
2022-11-15 08:35:15 +01:00
Patrick Nicolas
a2a4d72106
Add "scale" configuration value
2022-11-14 20:41:15 +01:00
Patrick Nicolas
dc7f2cda21
Fix colorspace on headset
2022-11-14 19:41:17 +01:00
Patrick Nicolas
a258ad538f
move config in ~/.config/wivrn/config.json
2022-11-14 00:23:18 +01:00
Guillaume Meunier
204606e96b
Add github CI
2022-11-13 20:48:27 +01:00
Patrick Nicolas
2dbade5c8f
don't use av_vkfmt_from_pixfmt
2022-11-13 20:48:27 +01:00
Guillaume Meunier
d8811b6b93
Use a different port for the client and the server
2022-11-13 14:45:45 +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