Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas cfc45b8bc9 Guess if sRGB conversion is needed 2024-08-27 14:51:40 +02:00
Patrick Nicolas dbaacbd54e Add Lynx-R1 in known models 2024-08-27 14:51:40 +02:00
Patrick Nicolas ea71191d5d Catch XR_POSE_INVALID in stream scene 2024-08-27 09:21:33 +02:00
Patrick Nicolas 9ef09256e8 Check XR_FB_display_refresh_rate before using it 2024-08-27 09:10:38 +02:00
Patrick Nicolas d267bd0ebb Add async send for nvenc 2024-08-26 12:30:54 +02:00
Patrick Nicolas 1bda244894 Avoid one shared_ptr copy in vaapi encoder 2024-08-26 12:24:25 +02:00
Patrick Nicolas 982a2557ef Use a single thread for all encoder async send 2024-08-22 22:56:51 +02:00
Patrick Nicolas 0133dd67ca Fix deadlock in stream when shouldRender is false 2024-08-20 21:45:41 +02:00
Patrick Nicolas 0a1a3d2823 Always cache JNI method id 2024-08-20 16:10:31 +02:00
Patrick Nicolas c7e4c22c93 Enforce OpenXR 1.0.34 for wireshark plugin 2024-08-19 16:35:26 +02:00
Patrick Nicolas 3d4690cb0c Cleanup socket on exit 2024-08-18 14:24:49 +02:00
Patrick Nicolas cb644eea07 Enable AMD low latency encoding by default 2024-08-18 14:00:29 +02:00
Patrick Nicolas b253ce0485 Replace resize + memcpy by insert in serialization 2024-08-18 14:00:29 +02:00
Patrick Nicolas 895b546d25 Optimize trivially serializable structs/arrays 2024-08-18 14:00:29 +02:00
Patrick Nicolas 8c7491d471 Offload vaapi send data to secondary thread 2024-08-18 12:07:31 +02:00
Patrick Nicolas 8cffc4d3cb Avoid allocations during serialization 2024-08-18 09:59:38 +02:00
Patrick Nicolas 685061ca59 Relax pipeline barriers if possible 2024-08-16 21:24:50 +02:00
Patrick Nicolas 68bb2b2ecf fix distortion mesh size 2024-08-16 21:05:23 +02:00
Patrick Nicolas 8e157e5153 Transition images to general layout for vaapi 2024-08-16 10:43:12 +02:00
Patrick Nicolas 7e2d0cecc4 Change how drm modifier next is appended 2024-08-16 10:43:12 +02:00
Patrick Nicolas e0c50e6cfa Cleanup server cmakelists 2024-08-14 19:47:01 +02:00
Patrick Nicolas 1c7d5848e0 Prepare for v0.18 release 2024-08-13 18:24:13 +02:00
Patrick Nicolas 9be5440d88 Add instructions for Steam on start 2024-08-13 18:15:07 +02:00
Patrick Nicolas 973456513d Write correct symlink when in a flatpak 2024-08-13 14:27:52 +02:00
Patrick Nicolas d7e32d3651 Use python3 in scripts 2024-08-13 10:08:16 +02:00
Patrick Nicolas 8ea58b8e35 Fix code for default split encoders (not enabled) 2024-08-12 11:28:58 +02:00
Patrick Nicolas 0cc54b8e71 Enable cubic sampling when available 2024-08-12 11:02:56 +02:00
Patrick Nicolas 86ee7c26c1 Show mic status on server list 2024-08-12 10:47:57 +02:00
Patrick Nicolas 8ec57bad32 Disable autoconnect after failed connection 2024-08-12 10:47:57 +02:00
Patrick Nicolas c9d78948b1 Drop dead code 2024-08-12 10:47:57 +02:00
Patrick Nicolas 2a50237142 Format 2024-08-09 14:38:10 +02:00
Patrick Nicolas bc59c10b93 Move decode command out of network thread 2024-08-02 21:04:32 +02:00
Patrick Nicolas 5b95d1a6f2 Install libmonado and add to manifest 2024-08-02 17:48:22 +02:00
Patrick Nicolas fc6cb1d442 Install in lib/wivrn 2024-08-02 17:48:22 +02:00
Patrick Nicolas 9ec9c60315 Update monado 2024-08-02 17:48:22 +02:00
Patrick Nicolas 19b67d22de Enforce synchronization across encoders 2024-08-02 17:47:56 +02:00
Patrick Nicolas ac4127759a Don't request vulkan video extensions 2024-08-02 17:47:56 +02:00
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