Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas f37d4701db fix abort when stream creation fails 2024-02-17 10:33:01 +01:00
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 ed6cac545e Send feedback if decoder is not initialized 2024-02-12 21:17:21 +01:00
Patrick Nicolas 72e8a5d84d run-time video dump option
WIVRN_DUMP_VIDEO=/path/to/file will dump the raw video stream in
/path/to/file-{idx}.{codec} where idx is the stream index (one stream
per encoder) and codec is h264 or h265.
2024-02-12 21:12:02 +01:00
Patrick Nicolas 998cb917ef Use better wifi low latency if available 2024-02-09 10:09:34 +01:00
Patrick Nicolas d208c1131c Use recent Vulkan SDK in CI 2024-02-07 18:25:54 +01:00
Patrick Nicolas 88e23da72c Move encoder code into new directory 2024-02-07 18:25:54 +01:00
Patrick Nicolas 5589aaf301 Move vk_allocator to common 2024-02-07 18:25:54 +01:00
Patrick Nicolas df394ec079 Make vk_allocator a singleton 2024-02-07 18:25:54 +01:00
Patrick Nicolas 595d27f8dc Move singleton.h to common 2024-02-07 18:25:54 +01:00
Patrick Nicolas e4afc1bef7 Add missing includes 2024-02-07 18:25:54 +01:00
Patrick Nicolas cf45fbdd6c Use vulkan 1.3.268 to build client 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 edd2e89bb1 Ship firewalld configuration file 2024-02-07 17:53:37 +01:00
Patrick Nicolas 155281b282 Fix some distortion errors
Difference between encoded size and useful size of the image was
improperly used, which is especially visible when foveation is used
2024-02-04 21:24:19 +01:00
Patrick Nicolas 8b09124eed Send feedback after image was presented 2024-02-04 19:18:54 +01:00
Patrick Nicolas 1569051da4 Send feedback packets when image is not blitted 2024-02-03 17:51:49 +01:00
Patrick Nicolas 6f29061ace Set refresh rate on client 2024-02-03 10:05:54 +01:00
Patrick Nicolas 98fa427696 Split docs 2024-02-02 09:46:54 +01:00
Patrick Nicolas 3ce3716497 Avahi: show "published" message when actually published 2024-02-01 18:00:03 +01:00
Patrick Nicolas d1e47771ec Add systemd user init file 2024-01-26 12:30:11 +01:00
Patrick Nicolas 24d65d8c53 Add support for system boost 2024-01-08 09:13:44 +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 b9d72facb0 Sync cmake config for systemd between monado and wivrn 2024-01-03 10:42:04 +01:00
Patrick Nicolas d71135111f Merge hostname-sd and hostname files 2023-12-21 20:40:37 +01:00
Patrick Nicolas 5c447dd6d7 Add systemd auto-detection 2023-12-21 20:28:46 +01:00
Patrick Nicolas 714895104c Fix handshake when running client and server on same PC 2023-12-20 23:22:33 +01:00
Patrick Nicolas c9c88ea39e Remove incorrect bindings from simple interaction profile 2023-12-20 23:21:09 +01:00
Patrick Nicolas e5ae814b82 Update monado (fix U_PACING_APP_USE_MIN_FRAME_PERIOD) 2023-12-18 18:42:06 +01:00
Patrick Nicolas ad0d845169 Update monado (no code change) 2023-12-17 12:36:28 +01:00
Patrick Nicolas 6ad6e0d241 Update monado (add xrt_session_event_sink) 2023-12-17 12:36:02 +01:00
Patrick Nicolas 4627ed5c16 Update monado (add xrt_system) 2023-12-17 12:24:44 +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 d6961d35dc Remove CPM cmake 2023-12-17 10:15:28 +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 8338c9f5d6 cmake: use tri-state AUTO/ON/OFF for encoders 2023-12-06 15:29:39 +01:00
Patrick Nicolas 23298a1581 Update monado, move create_system in wivrn_session 2023-11-29 18:13:34 +01:00
Patrick Nicolas b886121eef Update monado version 2023-11-29 13:17:50 +01:00
Patrick Nicolas d2faee9f41 Run CI on all branches 2023-11-26 18:06:51 +01:00
Patrick Nicolas e7504fe32a Release low latency and multicast locks 2023-11-26 18:06:51 +01:00
Patrick Nicolas 31bd160749 Hide the ugliness of JNI 2023-11-26 16:57:51 +01:00
Patrick Nicolas 10fa78c21c Make encoder options explicit in cmake 2023-11-25 14:37:36 +01:00
Patrick Nicolas 3700a97aed Add build instructions for client 2023-11-24 21:29:28 +01:00
Patrick Nicolas 9a4eb0ec64 Unify Pico and standard CI jobs 2023-11-24 21:29:28 +01:00
Patrick Nicolas 41a99298ec gradle update 2023-11-24 21:29:28 +01:00
Patrick Nicolas d74512bebb Avoid crash in avahi 2023-11-23 21:59:46 +01:00
Patrick Nicolas e7a029a8db Add server build deps in release 2023-11-23 17:51:59 +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 a3729cc1bf remove useless shared_ptr 2023-11-22 00:00:55 +01:00
Patrick Nicolas 9b787295ef add utility functions to process timings 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 1dfea4061a Stop sending discover requests when connected 2023-11-22 00:00:55 +01:00
Patrick Nicolas 5e83f7c19b fix bindings for pico 4 2023-11-21 23:57:49 +01:00
Patrick Nicolas c660aa3529 Add Quest 3 identifier 2023-11-20 21:14:32 +01:00
Patrick Nicolas 8fa787a859 Add Pico Neo 3 display parameters 2023-11-20 21:14:32 +01:00
Patrick Nicolas 96ce39898d Add Quest pro display resolution 2023-11-20 21:14:32 +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 b5c407f59f Document configuration options 2023-11-13 18:13:45 +01:00
Patrick Nicolas a60bf88636 Actually throw the exception in pulseaudio errors 2023-11-10 21:51:52 +01:00
Patrick Nicolas 6658ae5549 Add support for wivrn:// intent
Launching with wivrn://address will directly connect to given address,
bypassing mDNS service discovery
2023-11-09 19:05:55 +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
Patrick Nicolas c6c4f3facf Update mdns library 2023-10-17 11:17:44 +02:00
Patrick Nicolas 1b44880f3d Add dependencies section to readme 2023-10-12 15:18:00 +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 f81558752b fix clang-format 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
Patrick Nicolas 184f8c73db Update monado version 2023-07-26 19:44:15 +02:00
Patrick Nicolas 816663af37 fix release CI for standard loader 2023-07-26 12:02:19 +02:00
Patrick Nicolas 5128fcd96b Ignore frames with no view_info 2023-07-25 20:05:24 +02:00
Patrick Nicolas 2f4f1f5f29 Add x86_64 to android ABI filters 2023-07-25 20:03:51 +02:00