Commit Graph
477 Commits
Author SHA1 Message Date
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
Patrick Nicolas e9293d8b6e Handle reodered tracking packets better 2024-04-14 15:02:14 +02:00
Patrick Nicolas 09c2bf19e5 Maintain distance to controller when recentering 2024-04-13 11:24:50 +02:00
Guillaume Meunier 191b3ef477 Reposition the GUI relative to the hand or controller instead of the head 2024-04-13 10:51:28 +02:00
Patrick Nicolas 2dda6ecb4f Point the palm up gesture to recenter 2024-04-13 09:17:00 +02:00
Patrick Nicolas c0a2db4a92 Tweak GUI parameters for easier hand interaction 2024-04-12 16:31:04 +02:00
Patrick Nicolas e1a6d4c40a Don't send haptics when focusing with hand 2024-04-12 16:13:31 +02:00
Patrick Nicolas 9722ce9831 Recenter GUI with A or X 2024-04-12 16:13:31 +02:00
Patrick Nicolas 5b6961e700 Tweak HTC manifest settings
Let it load the application if controllers are not connected
2024-04-12 15:10:46 +02:00
Patrick Nicolas 573e23e4a8 Statically link OpenXR loader on Android 2024-04-12 14:54:10 +02:00
Patrick Nicolas 8ebd6ae7f3 Only setup passthrough if requested 2024-04-12 14:53:22 +02:00
Patrick Nicolas 5d91bf0763 Add support for alpha environment blend passthrough 2024-04-12 14:53:22 +02:00
Patrick Nicolas f8207631bb Don't enable split encoders by default 2024-04-08 23:07:41 +02:00
Patrick Nicolas 0e29b80755 Don't log "Frame late" messages 2024-04-08 22:54:44 +02:00
Sefa Eyeoglu 126f3cf6c6 CMake: Add absolute runtime path option for XR manifest
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-08 16:57:48 +02:00
Patrick Nicolas 13e54ddaae Fix split encoder default configuration 2024-04-07 15:30:08 +02:00
Patrick Nicolas 4476676c9b Print encoder details on start 2024-04-07 15:14:57 +02:00
Patrick Nicolas 7f3c1e0e53 Limit default encoded size to 4096 pixels wide 2024-04-07 14:26:58 +02:00
Patrick Nicolas 5054975696 Fix audio discard threshold 2024-04-07 14:26:58 +02:00
Patrick Nicolas c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +02:00
Patrick Nicolas 7768527fad Tune audio buffer sizes: keep at least 100ms data 2024-04-07 09:23:08 +02:00
Patrick Nicolas 1c9329679f Throttle tracking thread to reduce CPU usage 2024-04-05 17:15:39 +02:00
Patrick Nicolas 47a83b42b5 Setup JNI for threads that may use it
OpenXR runtime may use JNI, so attach threads that will do OpenXR calls.
2024-04-05 16:33:12 +02:00
Patrick Nicolas fd6b9f539a Fast-path 0-amplitude haptics 2024-04-05 15:21:12 +02:00
Patrick Nicolas 40043d1e45 Prevent excessive latency on microphone (pipewire only) 2024-04-05 12:06:05 +02:00
Patrick Nicolas f4b999f9fc Prevent excessive audio output latency 2024-04-05 12:05:46 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Patrick Nicolas 3bfb1adbce Fix stream parameter in process_timings script 2024-04-04 17:20:42 +02:00
Patrick Nicolas 9532761ece Fix crash on close when microphone is enabled 2024-04-04 15:22:40 +02:00
Patrick Nicolas 7658f427e6 Request tracking extrapolation on client
Add the timestamp where data was requested, use this to compute how far
in the future the application is requesting samples.
With this information, client requests 2 tracking samples: one at the
current time and one in the future.
Server now keeps track of actual samples + one predicted sample, and is
most of the time in the interpolation use case.
2024-04-04 13:41:36 +02:00
Patrick Nicolas b9c4e04a14 Patch monado to allow graceful exit on Ctrl-C 2024-04-02 17:59:59 +02:00
Patrick Nicolas 7aa85dfa64 Reuse buffers to send network data 2024-04-02 10:45:42 +02:00
Patrick Nicolas fff0ba9077 Only set timing info on last video shard 2024-04-01 23:09:12 +02:00
Patrick Nicolas b5202567bd Dynamically load cuda/nvenc 2024-03-30 23:07:52 +01:00
Guillaume Meunier 01f74270c8 Add clang-format check in CI 2024-03-30 17:10:27 +01:00
Patrick Nicolas 146dd841ab Use expected size for xrLocateViews 2024-03-30 17:00:34 +01:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier bb660cfb3f Use XR_KHR_loader_init_android if it is present 2024-03-30 13:47:04 +01:00