Commit Graph
98 Commits
Author SHA1 Message Date
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Patrick Nicolas 5ab7731be3 Remove server foveation config, rework defaults 2025-12-10 14:00:47 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
Patrick Nicolas 833e405060 More reliable reconnect (especially vulkan video) 2025-11-02 15:38:10 +01:00
galister c6e05754c8 update monado 2025-10-07 09:52:57 +02:00
Patrick Nicolas aca45420dd Show server error on GUI (encoders currently) 2025-10-05 20:26:07 +02:00
Patrick Nicolas e3356acc16 Update Monado 2025-09-22 23:35:28 +02:00
Patrick Nicolas 66b7b1fabb Return image to swapchain after encode is done
Vulkan video encode may use the original image, only mark it as free
once it is done encoding.
2025-08-23 11:07:48 +02:00
Patrick Nicolas c15de9bf27 Automatically name image/buffer allocations 2025-08-16 14:15:29 +02:00
Patrick Nicolas 19ad856e59 Use VK_KHR_video_maintenance1 2025-08-08 14:06:01 +02:00
galister ec42db83bc change encode_10bit → bit-depth 2025-07-11 23:09:37 +02:00
galister d64d5909ee vaapi: 10-bit hevc/av1 encoding 2025-07-11 23:09:37 +02:00
Patrick Nicolas 711be3754b fix comp_target deletion (again) 2025-06-12 15:46:37 +02:00
Patrick Nicolas f6eb528ea7 Name most vulkan objects 2025-06-12 15:46:37 +02:00
Patrick Nicolas 64b446c0d8 Rewrite foveation to enforce pixel alignment
foveation now uses integer pixel ratios, and tries to follow the
previous tangent function.
2025-06-06 20:04:40 +02:00
Patrick Nicolas 119e0a4336 Control automatic refresh rate adjustment
If an OpenXR application requests a specific frame rate, use that one.
In order to revert to automatic adjustment, an application shall request
a 0 refresh rate (no preference).
2025-03-19 17:43:37 +01:00
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00
Patrick Nicolas dcc808981f Print log when refresh rate changes 2025-03-19 17:43:36 +01:00
Patrick Nicolas a75f42ff46 Update framerate for encoders 2025-03-19 17:43:36 +01:00
Patrick Nicolas d61932cc1c Fix frame interval not updated on refresh rate change 2025-03-19 17:43:36 +01:00
Patrick Nicolas a79bb781ae Use a property for bitrate 2025-02-07 19:00:34 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas d17bb7ffec Don't fail when headset doesn't report refresh rates 2025-01-12 18:03:43 +01:00
Patrick Nicolas a434094055 Use a separate packet for refresh rate change 2025-01-07 23:42:11 +01:00
Patrick Nicolas 5620c25705 Send refresh rate change event from client 2025-01-07 20:07:10 +01:00
Patrick Nicolas da14e8450d Don't recreate decoders if only fps changes 2025-01-07 20:07:10 +01:00
Patrick Nicolas ad9300f842 Implement refresh rate change 2025-01-07 20:07:06 +01:00
Patrick Nicolas 42fa5970a3 Fix fov forwarding in fast-path case 2025-01-05 23:52:40 +01:00
Patrick Nicolas 9eacb3b881 Fix 32bits build 2024-11-30 13:02:24 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas c2fca9aa31 Tune pacer
now compute the time from present to display that passes 99.5% of the
frames, add 1ms.
2024-11-17 00:11:59 +01:00
Patrick Nicolas 5641e43977 Fix semaphore signal condition 2024-11-10 16:46:28 +01:00
Patrick Nicolas 308535a0f1 fix build without vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 6943fa82d2 Use device memory for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas 4df0e391c6 Move video command buffer ownership to encoder 2024-11-10 16:46:28 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +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 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 93cf2e8857 Add support for renderdoc 2024-10-04 23:28:44 +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
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 a035578732 Wait for encoders instead of skipping 2024-09-08 16:41:20 +02:00