207 Commits
Author SHA1 Message Date
Patrick Nicolas 45bb08987b Wake compositor when a frame is ready 2024-11-02 21:04:08 +01:00
Patrick Nicolas 50982f4a12 Fix pacer with vulkan video additional feedback packet 2024-11-02 21:03:28 +01:00
Patrick Nicolas 2c19d8698f Explicit message if vulkan encode is not available 2024-10-29 10:45:09 +01:00
Patrick Nicolas 6e38c1a7a8 Try to only use acknowledged frames as reference 2024-10-27 11:31:29 +01:00
Patrick Nicolas 1e0ba8b3ea Remove CPU sync for vulkan video encode 2024-10-27 11:31:29 +01:00
Patrick Nicolas 04260752e9 Experimental h264 vulkan video encode 2024-10-27 11:31:29 +01:00
Patrick Nicolas 281b04cbc2 Allow opt out of hand tracking 2024-10-22 10:36:27 +02:00
Patrick Nicolas 1a54b0c236 Add margin for frame skip logic 2024-10-11 20:33:11 +02:00
Patrick Nicolas 0579289855 Fix latency going up then down at regular intervals
Headsets lie about the frame duration, the actual time between display
may be a little more (or less). This causes phase information to
gradually increase, and eventually wrap around. The lowpass filter in
the pacer was unable to deal with wraparound and would instead average
in linear space.
2024-10-10 16:32:59 +02:00
Patrick Nicolas fbfa713c56 Add 1ms margin for present 2024-10-10 12:55:15 +02:00
Patrick Nicolas b54108bb4c Update monado 2024-10-08 23:16:50 +02:00
Patrick Nicolas 849eeb7a80 Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2024-10-08 20:10:39 +02:00
Patrick Nicolas 80688b817e Fix palm data being discarded 2024-10-06 19:00:10 +02:00
Patrick Nicolas 6608b1d833 Add support for palm_ext 2024-10-05 13:55:20 +02:00
Patrick Nicolas 93cf2e8857 Add support for renderdoc 2024-10-04 23:28:44 +02:00
Guillaume Meunier 52a79a9b6a Remove bogus warning 2024-10-04 11:50:06 +02:00
Patrick Nicolas 647be80d55 Remove unused variables 2024-10-03 23:39:32 +02:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
rcelyte 0d629291cf Store proxy HMD and controller devices by value 2024-10-03 15:23:36 +02:00
Patrick Nicolas c370d19469 Pack multiple tracking items per datagram 2024-10-02 23:58:13 +02:00
Guillaume Meunier 674343c74f Use cmakedefine01 instead of cmakedefine 2024-10-01 21:46:41 +02:00
galister eea2208ec0 solarxr support 2024-10-01 21:03:33 +02:00
Patrick Nicolas 3ba97aa42a Fix steamvr_lightouse config 2024-09-30 21:56:27 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
galister 1b0e5d041e register wivrn controllers even if index is used 2024-09-25 20:34:17 +02:00
Patrick Nicolas b6a6689323 Make "encoder" and "codec" optional in configuration 2024-09-22 16:35:24 +02:00
Patrick Nicolas a4edc0e162 Fix distortion computation log levels 2024-09-13 11:51:59 +02:00
galister 44f48abf8a update monado 2024-09-12 19:32:47 +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
galister 97aa8e3947 make index finger curls work 2024-09-11 00:14:13 +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 62db6d0a2a Wait for previous frame before recording next command buffer 2024-09-08 09:59:25 +02:00
galister 28c93c3fb8 steamvr_lh support 2024-09-06 21:39:08 +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
galister 2141c66c6e switch to stage tracking on client 2024-09-05 13:46:00 +02:00
galister 68e10a5881 history: inactive to not depend on oxr params 2024-09-05 13:46:00 +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 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
galister 3f25fed6df only rely on history if clock_offset is stable 2024-09-03 18:00:28 +02:00
Patrick Nicolas 481c922143 Select compatible codec for vaapi when no config is given 2024-08-31 22:07:56 +02:00