Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Nicolas 00a4562625 Pack UDP send in tracking thread 2024-10-02 18:39:40 +02:00
Patrick Nicolas 0d21fb6980 Fix system OpenXR for client 2024-10-02 16:52:41 +02:00
Patrick Nicolas 910d5af574 Drop obsolete monado patches 2024-10-02 14:50:10 +02:00
Patrick Nicolas f7ad02e2d6 Fix APK-Release CI again 2024-10-02 09:02:59 +02:00
Patrick Nicolas 80b0565e23 Fix APK-Release CI 2024-10-02 08:36:36 +02:00
Patrick Nicolas 68ddabdcdd Disable expired sdk lint warning 2024-10-01 21:42:13 +02:00
Patrick Nicolas f00982b0c0 Fix warning 2024-10-01 21:42:13 +02:00
Patrick Nicolas 0919f2f6b2 Update glm 2024-10-01 21:42:13 +02:00
Patrick Nicolas 612c3531bb Update gradle 2024-10-01 21:42:13 +02:00
Patrick Nicolas ef0298ecd7 Add SYSTEM property for external dependencies 2024-10-01 21:42:13 +02:00
Patrick Nicolas 7ea1d32b90 Upgrade cmake version 2024-10-01 21:42:13 +02:00
Patrick Nicolas 09cc459caf Update NDK version 2024-10-01 21:42:13 +02:00
Patrick Nicolas fe1adc5d99 Use more reliable mirror for freetype 2024-10-01 21:10:32 +02:00
Patrick Nicolas 3ba97aa42a Fix steamvr_lightouse config 2024-09-30 21:56:27 +02:00
Patrick Nicolas 56da7af334 Throw different error if encoder is not compiled 2024-09-27 22:34:11 +02:00
Patrick Nicolas 8605edc1ad Prefer FPS from config over current one 2024-09-27 17:37:41 +02:00
Patrick Nicolas 824e8d464d Serialize structures in chunks when possible
When a structure has consecutive trivially serializable packed fields,
group them together in a single write call. This effectively splits
structures with a mix of trivial and non trivial fields into chunks.
Also splits when there is padding.
2024-09-24 15:57:49 +02:00
Patrick Nicolas e3c7338c35 Remove some copies in serialization 2024-09-24 15:57:49 +02:00
Patrick Nicolas b6a6689323 Make "encoder" and "codec" optional in configuration 2024-09-22 16:35:24 +02:00
Patrick Nicolas 5724be3b89 Try and fix push to release branch 2024-09-22 13:56:10 +02:00
Patrick Nicolas e99b400e26 Dynamic face tracking icon 2024-09-21 20:51:08 +02:00
Patrick Nicolas 6a0e703538 Update fr locale 2024-09-21 20:51:08 +02:00
Patrick Nicolas af295ac91b Add status icons for eye and face tracking 2024-09-21 20:51:08 +02:00
Patrick Nicolas e80c6cdd67 Add checkboxes for eye and face tracking 2024-09-21 20:51:08 +02:00
Patrick Nicolas 76626b8133 Factorize permission code 2024-09-21 20:51:08 +02:00
Patrick Nicolas 1623769816 Handle denied microphone permission 2024-09-21 20:51:08 +02:00
Patrick Nicolas 7682546697 Move android permission code to own file 2024-09-21 20:51:08 +02:00
Patrick Nicolas b27ac33b83 Move jnipp to android directory 2024-09-21 20:51:08 +02:00
Patrick Nicolas aed59e613b Add FontAwesome license 2024-09-21 17:14:10 +02:00
Patrick Nicolas 58101542f1 Fix jni for request mic permission 2024-09-21 09:15:59 +02:00
Patrick Nicolas 3c64dcc58c Maybe fix push on release branch 2024-09-20 22:30:55 +02:00
Patrick Nicolas 728149dc30 Disable commit signing when applying patches 2024-09-19 23:47:32 +02:00
Patrick Nicolas 8a579f7140 Update action-gh-release for server deps 2024-09-19 13:31:08 +02:00
Patrick Nicolas c5d3899b87 write last pixel in YCbCr conversion 2024-09-18 22:26:01 +02:00
Patrick Nicolas 9a39f24541 Fix frame selection for multiple encoders 2024-09-18 17:50:28 +02:00
Patrick Nicolas c4a88a38f9 Update "release" branch on tag 2024-09-17 21:01:31 +02:00
Patrick Nicolas a4edc0e162 Fix distortion computation log levels 2024-09-13 11:51:59 +02:00
Patrick Nicolas a40e718d81 Set focused/unfocused when session state changes 2024-09-12 17:00:07 +02:00
Patrick Nicolas b7f27e9300 Rework wifi/multicast locks 2024-09-12 17:00:07 +02:00
Patrick Nicolas 5822dddab4 Use GlobalRefs for jnipp 2024-09-12 17:00:07 +02:00
Patrick Nicolas a10ebacba2 Add sample drop for microphone 2024-09-12 16:05:02 +02:00
Patrick Nicolas 448e9140c6 Fix use-after-move 2024-09-12 15:55:47 +02:00
Patrick Nicolas 1bd98881ff Fix build with vaapi disabled 2024-09-12 15:51:41 +02:00
Patrick Nicolas 7e8c479cc5 Release swapchain earlier
Encoders now have a buffer for next image so that they can encode one
and the compositor write to an other one.
2024-09-11 23:41:10 +02:00
Patrick Nicolas 517b572c75 Integrate YCbCr conversion in monado
Hacks monado's distortion shader to write into Y and CbCr planes,
eliminating the intermediate RGBA image

Note: change monado's version to enforce patch application
2024-09-11 23:41:10 +02:00
Patrick Nicolas 9344c6c012 Tune mip levels selection 2024-09-11 23:41:10 +02:00
Patrick Nicolas 50747d8fd4 Use proper mipmaps for distortion shader 2024-09-11 23:41:10 +02:00
Patrick Nicolas 27608ca019 Recenter lobby GUI when back from sleep and recenter button 2024-09-09 18:59:07 +02:00
Patrick Nicolas 760691568f Move mediacodec initialisation in constructor 2024-09-08 18:55:35 +02:00
Patrick Nicolas e70d5a4626 Use correct dimensions for video 2024-09-08 18:49:08 +02:00
Patrick Nicolas 4694425373 Fix tracking standby getting stuck 2024-09-08 17:10:20 +02:00
Patrick Nicolas a035578732 Wait for encoders instead of skipping 2024-09-08 16:41:20 +02:00
Patrick Nicolas 206af3e77b Fix uninitialised data in client tracking thread 2024-09-08 15:34:47 +02:00
Patrick Nicolas 62db6d0a2a Wait for previous frame before recording next command buffer 2024-09-08 09:59:25 +02:00
Patrick Nicolas d68bbb4e72 Fix logic error in encoder wait_idle 2024-09-07 18:17:27 +02:00
Patrick Nicolas 5c8310e88f Tweak default values, fix docs
default client scale: 1.0 -> 1.4
default server scale: 0.8 -> 0.5 (0.35 if eye tracked)

added docs for av1 as default when supported
fixed docs about multiple encoders, it's not enabled by default
2024-09-06 21:02:22 +02:00
Patrick Nicolas b2197e54e3 Write data to decode on GPU earlier 2024-09-06 20:49:39 +02:00
Patrick Nicolas 531b2a0e29 Add --no-instructions to disable message on start 2024-09-06 20:14:14 +02:00
Patrick Nicolas 0fa694338d Don't show hands if position is not tracked+valid 2024-09-05 12:50:55 +02:00
Patrick Nicolas a70acbe6d2 Fix crash with eye gaze in tracking thread 2024-09-04 18:38:51 +02:00
Patrick Nicolas aaacdacb3d Add pacer safeguards when comparing times 2024-09-03 23:34:23 +02:00
Patrick Nicolas e6496c869c Disable view extrapolation 2024-09-03 23:34:23 +02:00
Patrick Nicolas 7455af1e41 Compute extrapolation time from last produced 2024-09-03 23:34:23 +02:00
Patrick Nicolas 96bbfa1a23 Put not requested tracking on standby 2024-09-03 23:34:23 +02:00
Patrick Nicolas 843a83761a Tweaks for slow tracking 2024-09-03 23:34:23 +02:00
Patrick Nicolas 7eea3c2e7b Sync predictions with display time 2024-09-03 23:34:23 +02:00
Patrick Nicolas b0290c037a Pacer rewrite 2024-09-03 23:34:23 +02:00
Patrick Nicolas fe927dc732 Show predicted display time in plots 2024-09-03 23:34:23 +02:00
Patrick Nicolas 8328fe13c7 Use git-am to apply monado patches 2024-09-03 21:06:29 +02:00
Patrick Nicolas 9689cbf822 Fix crash in stats 2024-09-02 23:27:19 +02:00
Patrick Nicolas 71f22135ef Revert "Always cache JNI method id"
This reverts commit 0a1a3d2823.
2024-09-01 17:20:16 +02:00
Patrick Nicolas 30b82bb3b2 Use av01 for AV1 mime type 2024-08-31 22:07:56 +02:00
Patrick Nicolas 481c922143 Select compatible codec for vaapi when no config is given 2024-08-31 22:07:56 +02:00
Patrick Nicolas a34b8ba928 Send supported codecs on init 2024-08-31 22:07:56 +02:00
Patrick Nicolas fa5955f859 Add probing function for supported codecs 2024-08-31 22:07:56 +02:00
Patrick Nicolas 7a42691269 AV1 support 2024-08-31 22:07:56 +02:00
Patrick Nicolas 8b611ee609 Don't strip debuggable build 2024-08-31 15:51:04 +02:00
Patrick Nicolas 9f765ed122 Revert apk namespace change 2024-08-31 15:51:04 +02:00
Patrick Nicolas 5a394da2cd Remove read_index in deserialization packet 2024-08-31 14:34:36 +02:00
Patrick Nicolas 4e62854fb8 Use recvmmsg for UDP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas ca1f478299 Receive larger buffers for TCP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas 0aa5284165 Replace std::vector with shared_ptr in deserialization 2024-08-31 14:34:36 +02:00
Patrick Nicolas 9231a83ada Don't override AMD_DEBUG variable if set 2024-08-30 19:29:24 +02:00
Patrick Nicolas bb22403f7e Show encoding time in plots 2024-08-30 08:19:33 +02:00
Patrick Nicolas 688bf2d263 Fix encoders waiting on other's network send 2024-08-30 07:52:38 +02:00
Patrick Nicolas c6aa376968 improve shard accumulator logs 2024-08-28 18:56:18 +02:00
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