Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas 00f50fb86f Use callback-based method for Android audio out 2024-03-16 13:36:07 +01:00
Patrick Nicolas 3076c50fbf Move audio out to UDP 2024-03-16 13:35:32 +01:00
Patrick Nicolas 7278a522b8 Force a safe minimum audio buffer size 2024-03-15 20:00:07 +01:00
Patrick Nicolas 2afd2ff86a Staturate haptics amplitude to 1.0 2024-03-15 18:55:39 +01:00
Patrick Nicolas f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas c006e6c31b Remove useless framebuffer clear in reprojection 2024-03-14 21:15:53 +01:00
Patrick Nicolas 295d502032 Fix pose extrapolation
past extrapolation was wrong
velocity was wrong invalid from client
2024-03-14 20:01:20 +01:00
Patrick Nicolas 5dc5117441 Don't accumulate delay if tracking is slow on client 2024-03-14 19:58:31 +01:00
Patrick Nicolas d479ae9786 Set clear color to opaque black in reprojection.
Fixes black output in HTC headsets
2024-03-14 18:25:53 +01:00
Patrick Nicolas b1a648ad10 Don't fail patching monado on reconfigure 2024-03-14 09:25:44 +01:00
Patrick Nicolas 46d6d2181b minor improvements in timings script 2024-03-08 18:09:36 +01:00
Patrick Nicolas 1be10f8065 Merge GPU plots, network plots 2024-03-08 17:33:22 +01:00
Patrick Nicolas 883e1808db Only extrapolate views 2024-03-08 15:03:59 +01:00
Patrick Nicolas 97ec53868f Enforce even dimensions for user provided settings 2024-03-07 18:24:46 +01:00
Patrick Nicolas 3871c6041d Enable pose extrapolation 2024-03-07 18:10:37 +01:00
Patrick Nicolas 71c1f01025 Patch monado to disable frame dropping 2024-03-07 18:10:14 +01:00
Patrick Nicolas f5d73d33f4 Report real predicted display time 2024-03-07 17:20:46 +01:00
Patrick Nicolas 16b993a81c Use even height for default encoder settings 2024-03-07 15:59:49 +01:00
Patrick Nicolas 7b7caaed4f fix for drm modifiers 2024-03-05 17:00:35 +01:00
Patrick Nicolas 959d82ede3 update monado 2024-03-05 17:00:35 +01:00
Patrick Nicolas 8a7693713e don't ask for frames to be in the past 2024-03-05 10:37:06 +01:00
Patrick Nicolas a2b8955c12 Store 3 decoded frames for more robust stitching 2024-03-05 10:37:06 +01:00
Patrick Nicolas b633d08c72 Add Wireshark dissector for WiVRn packets 2024-03-05 10:05:03 +01:00
Patrick Nicolas d8048c392a Use vulkan types for encoder range and color model 2024-03-05 10:05:02 +01:00
Patrick Nicolas 842fae3b27 Encode TCP size on 16 bits 2024-03-05 09:25:15 +01:00
Patrick Nicolas 82ca58cbea Drop std::pair support in serialization 2024-03-05 09:23:27 +01:00
Patrick Nicolas 5adbeef2cd Drop unused data from feedback packets 2024-03-05 09:23:27 +01:00
Patrick Nicolas a7f9ac2d74 release swapchain image when done submitting commands 2024-03-04 16:09:40 +01:00
Patrick Nicolas 999a1e0cf0 Toggle ATW flag before reprojection is done 2024-03-03 12:05:03 +01:00
Patrick Nicolas ee2802b97e Default to split encoders for vaapi 2024-03-03 09:37:04 +01:00
Patrick Nicolas d175284358 Configure bitrate globally 2024-03-03 09:37:04 +01:00
Patrick Nicolas 2fdd1c9974 Tweak pacer for lower latency 2024-03-03 08:34:58 +01:00
Patrick Nicolas aa7ba38603 More aggressive timesync initialization 2024-03-03 08:28:08 +01:00
Patrick Nicolas 5cbaa76ad6 Blit images with one render pass per eye 2024-03-02 16:51:05 +01:00
Patrick Nicolas 5a7f8085e1 Fix trailing commas in config examples 2024-02-27 15:21:59 +01:00
Patrick Nicolas 91f6dc08f0 Handle big UDP packets 2024-02-25 16:09:32 +01:00
Patrick Nicolas 85b8bf0ef3 Claim support for all Meta headsets 2024-02-22 18:28:49 +01:00
Patrick Nicolas 4843f22ad5 Correctly transition to color attachment layout 2024-02-22 16:37:39 +01:00
Patrick Nicolas 47c9e32a65 Use general image layout for images from decoder 2024-02-22 12:41:35 +01:00
Patrick Nicolas 386856c54e Allow manual vaapi device in settings 2024-02-19 22:13:21 +01:00
Patrick Nicolas ef821996a0 Remove LFS in CI scripts 2024-02-19 19:43:47 +01:00
Patrick Nicolas d7e1900bc0 Avoid possible invalid time conversion 2024-02-19 18:43:21 +01:00
Patrick Nicolas fc58ab1ffe Add prerequisites in readme: firewall and avahi 2024-02-19 11:36:11 +01:00
Patrick Nicolas 75c68a177c Change default scale to 0.8 2024-02-19 10:49:07 +01:00
Patrick Nicolas 7cf7cb7f81 Add refresh rate selection in settings 2024-02-19 10:40:39 +01:00
Patrick Nicolas 9dcee4ee26 Update compatible status if changed 2024-02-19 10:40:39 +01:00
Patrick Nicolas 2a7014ded9 Oversample for reprojection 2024-02-19 09:58:42 +01:00
Patrick Nicolas 6e90a7e594 fix build with Vulkan SDK 1.3.268 2024-02-18 16:15:55 +01:00
Patrick Nicolas c848fe4641 enforce even height 2024-02-18 16:15:55 +01:00
Patrick Nicolas 0bc8380abb Force compute compositor pipeline
Synchronization seems to fail with graphics pipeline
2024-02-18 16:15:55 +01:00
Patrick Nicolas e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00
Patrick Nicolas fa29e16b13 Increase tracking frequency to 1000Hz 2024-02-18 15:41:47 +01:00
Patrick Nicolas ba898560e9 Prefer consecutive frames when possible 2024-02-18 15:41:47 +01:00
Patrick Nicolas fa32074603 Use standard deviation for pacer tuning 2024-02-18 15:41:47 +01:00
Patrick Nicolas a733e69796 Send encode timings 2024-02-18 09:03:46 +01:00
Patrick Nicolas 6aed3cff5b WIP: maintain recommended aspect ratio 2024-02-18 09:03:46 +01:00
Patrick Nicolas fa3641c96d Update OpenXR loader 2024-02-17 22:32:18 +01:00
Patrick Nicolas 225010ce4d llvm-symbolizer wrapper 2024-02-17 11:13:18 +01:00
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