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
Patrick Nicolas
eaf6efda72
Update Monado
2024-06-02 23:36:53 +02:00
Patrick Nicolas
4476676c9b
Print encoder details on start
2024-04-07 15:14:57 +02:00
Guillaume Meunier
9cceaac648
clang-format
2024-03-30 17:00:34 +01:00
Patrick Nicolas
8e3979cc8c
Use XrTime for all time data
2024-03-24 14:01:44 +01:00
Patrick Nicolas
f5d73d33f4
Report real predicted display time
2024-03-07 17:20:46 +01:00
Patrick Nicolas
999a1e0cf0
Toggle ATW flag before reprojection is done
2024-03-03 12:05:03 +01:00
mittorn
3c1259e8c0
skip ATW if only single stereo layer projected
2024-03-03 11:53:53 +01:00
Patrick Nicolas
0bc8380abb
Force compute compositor pipeline
...
Synchronization seems to fail with graphics pipeline
2024-02-18 16:15:55 +01:00
Patrick Nicolas
e385e459ee
Always do yuv conversion in vulkan
2024-02-18 16:15:55 +01:00
Patrick Nicolas
2cc0e6154e
Add pacer
2024-02-16 22:02:57 +01:00
Patrick Nicolas
c3e2cd0cb8
Estimate clock speed difference
2024-02-16 22:02:57 +01:00
Patrick Nicolas
88e23da72c
Move encoder code into new directory
2024-02-07 18:25:54 +01:00
Patrick Nicolas
b326aefd33
Update monado
2024-02-07 18:25:54 +01:00
Patrick Nicolas
c144f7e107
Update monado
2024-02-07 18:25:54 +01:00
Patrick Nicolas
97e620ae1f
Update monado (vk_print_result change)
2023-12-17 11:56:22 +01:00
Patrick Nicolas
4053ec64b7
Update monado (re-enable ATW)
2023-12-17 11:36:32 +01:00