Commit Graph
89 Commits
Author SHA1 Message Date
Alexander 6ea491f7b4 driver/encoder_settings: set video_{width, height} when generating default settings 2023-11-24 19:24:12 +01:00
Guillaume Meunier a1d8aef1d6 Use HOST_NAME_MAX instead of hardcoding the maximum hostname length 2023-11-24 12:05:23 +01:00
Patrick Nicolas d74512bebb Avoid crash in avahi 2023-11-23 21:59:46 +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 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