56 Commits
Author SHA1 Message Date
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
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 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
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 MeunierandPatrick Nicolas f16cfa8ae8 Add continuous foveated encoding
Co-authored-by: Patrick Nicolas <[email protected]>
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
Patrick Nicolas deab10801c rename server executable to wivrn-server 2022-11-13 17:02:21 +01:00
Guillaume Meunier d8811b6b93 Use a different port for the client and the server 2022-11-13 14:45:45 +01:00