Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas 4cfdc4fa24 Move tracking origin to prevent warp on reconnect 2024-08-01 09:03:19 +02:00
Patrick Nicolas a90e763934 Fix local_floor x offset being unset 2024-08-01 09:01:17 +02:00
Patrick Nicolas e70c427fe8 Stop reconnect loop if application closes 2024-07-31 22:21:35 +02:00
Patrick Nicolas 8089b872f7 Fix tracking origin initialization 2024-07-31 12:17:59 +02:00
Patrick Nicolas 360a3c5fe6 Drop pico-specific target, use Khronos loader 2024-07-27 15:14:02 +02:00
Patrick Nicolas 2a93be7e2b Update monado 2024-07-26 18:33:12 +02:00
Patrick Nicolas 38084db8a5 Silence duplicate VK_KHR_external_memory_fd warning 2024-07-25 19:49:06 +02:00
Patrick Nicolas c0218d9040 Set distortion model when scale is known 2024-07-25 19:47:44 +02:00
Patrick Nicolas e84238019d Cosmetic change in instance creation 2024-07-25 14:09:50 +02:00
Patrick Nicolas e5cbe5f552 Improve connection ready message 2024-07-25 11:56:45 +02:00
Patrick Nicolas af48d32c37 Fix encoder thread destruction 2024-07-25 11:56:45 +02:00
Patrick Nicolas b86028ae06 More tweaking of audio discard constants 2024-07-14 21:57:56 +02:00
Patrick Nicolas 0f6b5df4ae Reduce locking in push_blit_handle 2024-07-14 21:57:56 +02:00
Patrick Nicolas 347d6c4f41 Smarter "push_blit_handle" 2024-07-14 21:57:56 +02:00
Patrick Nicolas e8a13bd1fc Revert "Fix possible memory leak"
This reverts commit cf6bca435e.
2024-07-14 14:51:12 +02:00
Patrick Nicolas 41994b4e6e Don't set ToS on sockets 2024-07-09 18:08:55 +02:00
Patrick Nicolas bc091dd122 Tweak audio discard constants 2024-07-04 11:10:39 +02:00
Patrick Nicolas 20085c736c Extend lifetime of imagereader 2024-07-04 09:08:06 +02:00
Patrick Nicolas bf16387fdd Add hysteresis for audio discard 2024-07-02 16:53:46 +02:00
Patrick Nicolas b7de2b1943 Fix hand tracker double delete 2024-07-01 21:05:41 +02:00
Patrick Nicolas 7f579f1597 Fix concurrent access on decoded images 2024-06-28 20:22:23 +02:00
Patrick Nicolas 222c8b139d Move back tracking on UDP 2024-06-27 17:16:58 +02:00
Patrick Nicolas 1a04104cff Add --systemd command line option
When enabled, will start a new service for client application instead of
forking.
2024-06-27 10:44:02 +02:00
Patrick Nicolas 9aa5ff638e Audio buffer underrun prevention 2024-06-27 10:40:26 +02:00
Patrick Nicolas 1e294ddcae Limit client extrapolation to 80ms 2024-06-25 21:07:47 +02:00
Patrick Nicolas 4c9f24499e Remove Roboto from readme 2024-06-23 15:54:54 +02:00
Patrick Nicolas 28afe21570 Center logo 2024-06-22 17:33:27 +02:00
Patrick Nicolas 37ea6f1552 Mention Linux and more devices in readme 2024-06-22 17:33:27 +02:00
Patrick Nicolas 02432b730b Remove default runtime section in docs 2024-06-20 12:47:05 +02:00
Patrick Nicolas 6cb90122b6 Add paragraph for OpenVR and pressure vessel 2024-06-20 12:44:11 +02:00
Patrick Nicolas cc3d28dfff Ignore errors when getting refresh rates 2024-06-19 20:25:07 +02:00
Patrick Nicolas ae8a6fa6b3 Show motions-to-latency in performance GUI 2024-06-19 17:09:24 +02:00
Patrick Nicolas 95bd51fc81 Add lowpass filtering on tracking offset 2024-06-19 16:58:12 +02:00
Patrick Nicolas d5c9ea4b8c Remove margin for controller extrapolation 2024-06-19 16:37:27 +02:00
Patrick Nicolas b10b403a8d Replace condition variable with atomic 2024-06-19 10:24:49 +02:00
Patrick Nicolas b5159dc030 Remove encoders lock 2024-06-18 23:39:13 +02:00
Patrick Nicolas 03c12a9aaf Refactor xr::handle 2024-06-16 12:07:38 +02:00
Patrick Nicolas a7e8b281d3 Clear before drawing is no longer needed 2024-06-14 20:38:47 +02:00
Patrick Nicolas 1152803902 Rolling plots instead of scrolling 2024-06-14 20:37:42 +02:00
Patrick Nicolas 8a96729983 Basic support for setting configuration file 2024-06-14 10:22:33 +02:00
Patrick Nicolas 64244980af Fix waiting on client application 2024-06-14 09:57:45 +02:00
Patrick Nicolas b454868221 Set default scale percentage to 100 2024-06-14 09:46:36 +02:00
Patrick Nicolas 91e90527be Use unique_ptr for AImage 2024-06-13 19:16:23 +02:00
Patrick Nicolas e385471bee Use correct flag for forced IDR 2024-06-13 08:11:54 +02:00
Patrick Nicolas d90863c9b4 Nvenc: enforce width/height to be divisible by 32 2024-06-12 12:46:31 +02:00
Patrick Nicolas 0d62a24f25 Set range and color model for nvenc 2024-06-12 12:46:26 +02:00
Patrick Nicolas 0f77142b9d Add toggle action for plots 2024-06-10 11:55:18 +02:00
Patrick Nicolas 00671dbb94 Update fr locale 2024-06-09 17:39:36 +02:00
Patrick Nicolas 70a8072430 Add license screen 2024-06-09 17:37:36 +02:00
Patrick Nicolas 13e3b964bb Set an explicit commit for stb dependency 2024-06-08 21:24:43 +02:00
Patrick Nicolas 52cbe34404 Add EXCLUDE_FROM_ALL on all FetchContent 2024-06-08 21:24:40 +02:00
Patrick Nicolas 2483cb458f Add generated assets mechanism 2024-06-08 17:35:12 +02:00
Patrick Nicolas bef30c3b91 Get maximum size from nvenc capabilities 2024-06-06 19:19:43 +02:00
Patrick Nicolas 64e6e32219 Remove git-lfs form docs 2024-06-05 12:19:33 +02:00
Patrick Nicolas 1a0033af18 Guess FPS if XR_FB_display_refresh_rate is not present 2024-06-04 19:24:28 +02:00
Patrick Nicolas 79241835c1 Fix pacer bug from a8c99ea4c 2024-06-04 19:17:47 +02:00
Patrick Nicolas d935eabf14 Quit if no client when connection ends 2024-06-03 20:59:06 +02:00
Patrick Nicolas a8c99ea4c1 Fix pacer on reconnect 2024-06-03 20:59:06 +02:00
Patrick Nicolas 1266a46947 Deactivate connection on socket error 2024-06-03 20:59:06 +02:00
Patrick Nicolas 5d9d39eee5 Notify clients about session state change 2024-06-03 20:59:06 +02:00
Patrick Nicolas 3a5404d191 Reconnection support 2024-06-03 20:59:03 +02:00
Patrick Nicolas f63854a2ab Drop stale tracking data 2024-06-03 20:58:24 +02:00
Patrick Nicolas e5d831a526 Move accepting connection to separate file 2024-06-03 20:58:24 +02:00
Patrick Nicolas 95808501df Fix vulkan conformance on non-Android 2024-06-03 20:58:24 +02:00
Patrick Nicolas 41044fe012 Update monado 2024-06-02 23:36:53 +02:00
Patrick Nicolas eaf6efda72 Update Monado 2024-06-02 23:36:53 +02:00
Patrick Nicolas 27235d3ea7 Update Monado 2024-06-02 23:22:41 +02:00
Patrick Nicolas 3e12d405b6 Fix incorrect macro for vulkan version 2024-06-02 15:51:11 +02:00
Patrick Nicolas 071f093dbd Fix xr/vk version constants 2024-05-23 23:36:16 +02:00
Patrick Nicolas 061101f738 Drop "video" thread
Process all incoming packets in "network" thread.
2024-05-20 16:47:52 +02:00
Patrick Nicolas 0ce74f5e80 Add an option for TCP-only mode 2024-05-16 17:44:49 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas f092a3fac0 Remove unused code 2024-05-16 15:19:50 +02:00
Patrick Nicolas 584b8d0262 Use manual server mechanism for wivrn:// command line 2024-05-15 23:07:21 +02:00
Patrick Nicolas 604089048f Force-disable some monado build options 2024-05-10 14:42:37 +02:00
Patrick Nicolas 4f3a1d0b7f Allow recentering 2024-05-09 16:17:46 +02:00
Patrick Nicolas 117546546c Fix pacer code for replayed frames 2024-05-07 16:31:01 +02:00
Patrick Nicolas d0c222f5cc Remove WiVRn-reprojection code 2024-05-07 15:57:15 +02:00
Patrick Nicolas 0826ee875a Don't count network for tracking throttling 2024-05-07 15:17:44 +02:00
Patrick Nicolas d06c96df68 Skip reprojection if runtime does it correctly 2024-05-05 18:41:57 +02:00
Patrick Nicolas 6b47a326a3 Remove fade-in on stream start 2024-05-05 18:37:28 +02:00
Patrick Nicolas 641e2cb182 Optimize away a few memory allocations 2024-05-04 16:29:26 +02:00
Patrick Nicolas 33c40f0588 Clear image before drawing 2024-05-03 23:10:52 +02:00
Patrick Nicolas 35a54474b0 Defoveate with the same grid server uses 2024-05-03 11:41:28 +02:00
Patrick Nicolas ce7620f44d Show proper error message on connection failure 2024-04-30 23:23:32 +02:00
Patrick Nicolas ee8babf08a Throttle IDR frames: max once every 100 frames 2024-04-30 12:25:15 +02:00
Patrick Nicolas b526c98683 Tweak pacer for faster convergence 2024-04-28 20:43:22 +02:00
Patrick Nicolas 62d74db3dc Free mediacodec resources on stream quit 2024-04-28 18:21:25 +02:00
Patrick Nicolas dfa74c2f98 Check vulkan version 2024-04-28 10:45:16 +02:00
Patrick Nicolas ce9a809243 Revert incorrect changes to CMakeLists.txt 2024-04-26 17:20:13 +02:00
Patrick Nicolas ce1ab1db46 Remove patch that should not have been commited 2024-04-22 22:54:45 +02:00
Patrick Nicolas b4a792d1e5 Don't destroy descriptor sets in yuv converter 2024-04-21 19:11:35 +02:00
Patrick Nicolas b72acd87fc Refactor client configuration 2024-04-21 11:20:31 +02:00
Patrick Nicolas 194709e3e0 Close connection popup on server disconnect 2024-04-16 11:23:41 +02:00
Patrick Nicolas 646c01d8b8 Fix extrapolation parameters 2024-04-15 21:39:29 +02:00
Patrick Nicolas f34116501d Fix PC client for insufficient decoder images 2024-04-15 21:39:29 +02:00
Patrick Nicolas 4eda6ef2cb Selectively enable multicast/low latency locks 2024-04-15 21:39:29 +02:00
Patrick Nicolas 99ac4cab41 Add a 5% margin on tracking prediction 2024-04-14 15:18:09 +02:00
Patrick Nicolas 2bfe49764a Lock TCP socket a little less 2024-04-14 15:17:39 +02:00
Patrick Nicolas eafc048121 Set expedite TOS for client stream as well 2024-04-14 15:17:11 +02:00