schlegp
04837ba215
Add Vulkan AV1 video encoder ( #1087 )
...
Experimental support, is never automatically selected.
2026-11-16 17:24:08 +01:00
Patrick Nicolas
2fc4708bc6
Rework vaapi/nvenc/x264 IDR handling
...
Fix race conditions with should_skip
detect if nothings goes out from decoder and issue an IDR
remove idr_received, go directly to running state
2026-10-05 22:27:15 +02:00
Patrick Nicolas
e8c92a7202
Prevent fragmentation when adding timing info
2026-10-02 18:53:16 +02:00
Patrick Nicolas
e604848409
Remove WIVRN_DUMP_TIMINGS
2026-08-17 21:30:57 +02:00
Jonathan Steffan
b9c8a54d92
Add WiVRn-native Perfetto via Perfetto SDK
...
Optional server profiling built on the Perfetto SDK. Adds CPU spans
(compositor, encoder, network), GPU encode/copy slices from Vulkan timestamp
queries (Vulkan/NVENC/VAAPI), and headset feedback markers from dump_time.
WIVRN_TRACING enables tracing and selects the backend (system, inprocess, or
both); WIVRN_USE_PERFETTO gates it at build time and compiles it out otherwise.
WIVRN_TRACE_MONADO additionally drives Monado's percetto tracing from the same
switch so WiVRn and Monado land on one timeline.
Tooling: server-tracing[-monado] presets and a CI build, two Perfetto configs
(WiVRn-only and full-system), a wivrn_capture.py capture wrapper, a pftrace
summary script, and docs/profiling.md.
2026-07-01 21:04:08 +02:00
Patrick Nicolas
9313ccbc1d
Use multiple vulkan encode queues if possible
2026-05-19 06:59:03 +02:00
Patrick Nicolas
ce83e8fb03
Major synchronization rework
...
unify submit/post_submit encoder entrypoints
encoders must now wait for their command completion
use transfer queues for CPU -> GPU copy
2026-04-11 16:55:02 +02:00
Patrick Nicolas
78b449e84b
Fix doubled bitrate
2026-03-31 16:30:07 +02:00
Patrick Nicolas
22a819b8c8
Implement main compositor
...
Replace the patches to Monado's main compositor with a local
implementation, reusing code when relevant.
The layer squasher is very close to comp_render_cs, while distortion is
completely replaced by foveation.
2026-03-31 09:06:27 +02:00
Patrick Nicolas
13a94f3dec
Don't shard over TCP
2026-03-11 18:39:55 +01:00
Patrick Nicolas
2919f7d820
Fix vulkan error on queue transfer
...
Queue transfer acquire was performed by each encoder, it needs to be
done only once, for the first one.
2026-01-30 16:29:53 +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
114f15c4f3
fix broken asserts
2025-11-15 08:23:40 +01:00
Patrick Nicolas
833e405060
More reliable reconnect (especially vulkan video)
2025-11-02 15:38:10 +01:00
galister
505de3d625
vulkan h265 /w 10-bit + fix encoder hang ( #565 )
2025-11-02 11:21:10 +01:00
Patrick Nicolas
6932f9461d
Add support for raw video
2025-09-26 16:33:01 +02:00
Patrick Nicolas
5873de80b8
Don't shard when using TCP
2025-09-24 20:53:03 +02:00
Patrick Nicolas
19ad856e59
Use VK_KHR_video_maintenance1
2025-08-08 14:06:01 +02:00
Patrick Nicolas
84ef968dc3
Prevent crash on very strong foveation
2025-07-15 17:31:48 +02:00
Patrick Nicolas
a6c20e9520
Send vulkan video idr over tcp
2025-06-12 11:07:10 +02:00
Patrick Nicolas
a75f42ff46
Update framerate for encoders
2025-03-19 17:43:36 +01:00
galister
e9f4b52b50
wip: set bitrate at runtime
2025-02-07 19:00:34 +01:00
Patrick Nicolas
ba47c80213
Fix 32bits warnings
2024-11-30 13:16:39 +01:00
Guillaume Meunier
c6e773fd22
Add support for authentication and encryption
2024-11-26 23:59:35 +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
df5e0869c3
Set range/color model for all encoders
2024-10-29 10:44:49 +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
20f0137380
Cleanup some includes
2024-10-03 23:39:32 +02:00
Patrick Nicolas
fdb79b1939
Drop xrt::drivers namespace
2024-10-03 23:39:32 +02:00
Guillaume Meunier
674343c74f
Use cmakedefine01 instead of cmakedefine
2024-10-01 21:46:41 +02:00
Patrick Nicolas
56da7af334
Throw different error if encoder is not compiled
2024-09-27 22:34:11 +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
d68bbb4e72
Fix logic error in encoder wait_idle
2024-09-07 18:17:27 +02:00
Patrick Nicolas
7a42691269
AV1 support
2024-08-31 22:07:56 +02:00
Patrick Nicolas
bb22403f7e
Show encoding time in plots
2024-08-30 08:19:33 +02:00
Patrick Nicolas
688bf2d263
Fix encoders waiting on other's network send
2024-08-30 07:52:38 +02:00
Patrick Nicolas
982a2557ef
Use a single thread for all encoder async send
2024-08-22 22:56:51 +02:00
Patrick Nicolas
8c7491d471
Offload vaapi send data to secondary thread
2024-08-18 12:07:31 +02:00
Patrick Nicolas
3a5404d191
Reconnection support
2024-06-03 20:59:03 +02:00
Patrick Nicolas
ee8babf08a
Throttle IDR frames: max once every 100 frames
2024-04-30 12:25:15 +02:00
Patrick Nicolas
fff0ba9077
Only set timing info on last video shard
2024-04-01 23:09:12 +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
e385e459ee
Always do yuv conversion in vulkan
2024-02-18 16:15:55 +01:00
Patrick Nicolas
a733e69796
Send encode timings
2024-02-18 09:03:46 +01:00