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
Patrick Nicolas
62db6d0a2a
Wait for previous frame before recording next command buffer
2024-09-08 09:59:25 +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
b0290c037a
Pacer rewrite
2024-09-03 23:34:23 +02:00
Patrick Nicolas
481c922143
Select compatible codec for vaapi when no config is given
2024-08-31 22:07:56 +02:00
galister
8503e3480b
eye-tracked foveation
2024-08-30 11:24:36 +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
38084db8a5
Silence duplicate VK_KHR_external_memory_fd warning
2024-07-25 19:49:06 +02:00
Patrick Nicolas
af48d32c37
Fix encoder thread destruction
2024-07-25 11:56:45 +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
bef30c3b91
Get maximum size from nvenc capabilities
2024-06-06 19:19:43 +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
3a5404d191
Reconnection support
2024-06-03 20:59:03 +02:00