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
003f4ed830
clang-format
2023-10-17 11:17:47 +02:00
Patrick Nicolas
210baa258f
Exit cleanly on avahi error
2023-10-17 11:17:47 +02:00
Patrick Nicolas
c0e8a030ca
Don't abort for exception in main
2023-10-17 11:17:47 +02:00
Patrick Nicolas
cb47c70030
Minor header cleanup
2023-10-17 11:17:47 +02:00
Patrick Nicolas
e5cc77493d
Don't build unused monado drivers
2023-10-17 11:17:47 +02:00
ckie
ae02f3b060
Handle stray avahi_entry_group_new error
...
This occurs if avahi user service publishing is disabled.
2023-10-12 22:46:03 +02:00
Patrick Nicolas
8b412daaea
Use bundled cJSON
2023-10-05 20:05:00 +02:00
Patrick Nicolas
26d2ee1648
update monado version
2023-10-05 14:14:53 +02:00
Patrick Nicolas
8174c5db26
Update monado version
2023-10-05 14:14:53 +02:00
Patrick Nicolas
59ccf9582e
remove obsolete oxr_sdl2_* functions
2023-10-03 09:21:28 +02:00
Patrick Nicolas
438ebc1757
Fix install target for openXR manifest
2023-08-01 21:45:12 +02:00
Guillaume Meunier
8de6b2283d
Fix build error when building from a tarball instead of a git clone
2023-07-29 17:50:51 +02:00
Guillaume Meunier
cef644e5da
Fix compilation of configuration.cpp in Ubuntu 22.04
2023-07-29 15:40:27 +02:00
Guillaume Meunier
52b26250d3
Fix warning on write()
2023-07-29 12:21:27 +02:00
Guillaume Meunier
d8857672dd
Fix server compilation with Ubuntu 22.04
2023-07-29 12:17:36 +02:00
Patrick Nicolas
184f8c73db
Update monado version
2023-07-26 19:44:15 +02:00
Patrick Nicolas
2df008d229
Fix cmake function collision for shader compilation
2023-07-25 20:03:51 +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
18f5b3a719
kill server on ctrl-c
2023-06-29 18:59:13 +02:00
Patrick Nicolas
00fbfafb60
use control socket for audio data
2023-06-29 17:27:52 +02:00
Patrick Nicolas
98df3a2ed8
Fix build with assertions
2023-06-28 18:33:24 +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
Meister1593
fcf311129d
Fix compile on systemd system
2023-06-22 21:36:56 +05:00
galister
bb421d6a27
Use pretty hostnames only when systemd is supported. ( #5 )
2023-06-21 19:15:03 +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
galister
aceb5c28ff
remove systemd dependency ( #3 )
2023-05-29 15:49:33 +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
PLYSHKA
972de69031
Removed unnecessary systemd import in main
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
491c52902f
update monado version
2023-02-01 18:07:12 +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
425f7b16e4
Quit the server correctly and kill the client if it does not exit
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
fb8de394c3
Pretend monado is started by systemd
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