Commit Graph
15 Commits
Author SHA1 Message Date
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 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 a75f42ff46 Update framerate for encoders 2025-03-19 17:43:36 +01:00
galister 22186f0043 remove reconfigure log from ffmpeg encoder 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 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01: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
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 481c922143 Select compatible codec for vaapi when no config is given 2024-08-31 22:07:56 +02:00
Patrick Nicolas 1bda244894 Avoid one shared_ptr copy in vaapi encoder 2024-08-26 12:24:25 +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 e385e459ee Always do yuv conversion in vulkan 2024-02-18 16:15:55 +01:00