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
Patrick Nicolas
df786362e7
Only send I frames when necessary
2023-12-16 14:16:46 +01:00
Patrick Nicolas
6e14bac589
expose wivrn_comp_target class
2023-12-14 23:42:08 +01:00
Patrick Nicolas
f030433c09
Disable ATW in monado
2023-12-14 23:38:49 +01:00
Patrick Nicolas
d2302a5faa
fix invalid vulkan usage for memory export
2023-12-08 17:50:52 +01:00
Patrick Nicolas
4e233d99c2
Improve timesync
...
Initial timesync algorithm assumed that latency was symmetrical, but it
appears that it is not. Add a mechanism to estimate where latency
happens, which leads to much more stable values: about 200µs variation
between estimations.
2023-10-21 17:53:04 +02:00
Patrick Nicolas
26d2ee1648
update monado version
2023-10-05 14:14:53 +02:00
Patrick Nicolas
184f8c73db
Update monado version
2023-07-26 19:44:15 +02:00
Patrick Nicolas
38cbf2ccbd
Add log for dropped encoder frames
2023-06-26 22:09:48 +02:00
Patrick Nicolas
a0f717ec11
Allocate command buffers only once (and do not leak them)
2022-12-17 20:15:44 +01:00
Patrick Nicolas
a5726226a2
Use comp_target_factory
2022-12-09 22:19:18 +01:00
Patrick Nicolas
5932b54d74
Allow encoders to change their settings
2022-12-04 19:01:44 +01:00
Patrick Nicolas
b1cb28200d
Only blit useful part of the stream
...
With odd image size, encoders may add black borders. We need to properly
ignore it on the headset side
2022-11-28 22:35:10 +01:00
Guillaume Meunier and Patrick Nicolas
f16cfa8ae8
Add continuous foveated encoding
...
Co-authored-by: Patrick Nicolas <[email protected] >
2022-11-28 22:35:02 +01:00
Patrick Nicolas
bed54f646c
Add WIVRN_DUMP_TIMINGS option
2022-11-17 13:14:38 +01:00