Patrick Nicolas
52ee6fee27
Skip vulkan AV1 when codec is auto
Release APK Only / Create APK release (push) Blocked by required conditions
Release APK Only / Android (Debug) (push) In progress
Release APK Only / Android (DebugWithValidationLayer) (push) In progress
Release APK Only / Android (Release) (push) In progress
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Waiting to run
Build / Steam Frame (push) Waiting to run
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Create release (push) Blocked by required conditions
Build / Sync fork downstream (push) Blocked by required conditions
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
2026-12-01 08:01:19 +01:00
schlegp
04837ba215
Add Vulkan AV1 video encoder ( #1087 )
...
Experimental support, is never automatically selected.
2026-11-16 17:24:08 +01:00
Patrick Nicolas
75e2df579c
Don't log warning when x264 is selected by user
2026-10-23 19:41:14 +02:00
Patrick Nicolas
0e0de41153
reformat for clang-format < 23
2026-10-06 19:25:41 +02: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
galister
e5923e155a
linux client: only show 10-bit if supported
2026-09-29 19:22:33 +02:00
Patrick Nicolas
8eff464261
Use vulkan encode by default even on NVIDIA
2026-09-14 21:19:49 +02:00
Jonathan Steffan
3c927dd80b
Raise the vulkan h265 encoder's minimum coding block to 16x16
...
The SPS allowed coding blocks down to 8x8. On NVIDIA that costs 4x the
encode time: 13.4 ms per 1920x1472 frame against 4.4 ms for the same
GPU's NVENC path, so the encoder sustained 36.5 fps against a 90 Hz
target. At 16x16 it is 3.2 ms and holds 90 Hz.
2026-09-08 08:01:54 +02:00
Patrick Nicolas
e604848409
Remove WIVRN_DUMP_TIMINGS
2026-08-17 21:30:57 +02:00
Patrick Nicolas
4d1de2eab9
Don't collect copy times for iGPU (vulkan encoder)
2026-07-14 20:15:53 +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
468b30dec4
Fix debug build
2026-05-28 18:13:01 +02:00
Patrick Nicolas
9313ccbc1d
Use multiple vulkan encode queues if possible
2026-05-19 06:59:03 +02:00
Patrick Nicolas
8d6245330a
Add support for VK_KHR_unified_image_layouts
2026-05-19 06:59:03 +02:00
Jonathan Steffan
e79621d377
Fix vulkan encode QFOT layouts (NVIDIA green frame)
...
Compositor release left layouts as eUndefined while encoder acquire
transitioned to eVideoEncodeSrcKHR (or eTransferSrcOptimal on the NVIDIA
tmp_image path); the spec forbids that layout mismatch for exclusive-mode
QFOT. NVIDIA honoured it by treating encode-queue contents as undefined
(solid green frame).
Encoders now publish target_layout. The compositor's release and the
encoder's acquire both transition eGeneral -> target_layout in a single
barrier; per VkImageMemoryBarrier2 the layout transition is performed
exactly once between the queues, so no second non-QFOT barrier is needed.
target_layout is eVideoEncodeSrcKHR on the direct vulkan encode path and
eGeneral elsewhere.
Also fix optimal_transfer(): the inner `auto to = ...` shadowed the
parameter, so the maintenance9 check was effectively always false.
2026-05-19 06:59:03 +02:00
Patrick Nicolas
54b96430f6
Addjust some IDR handler logs
2026-05-10 11:35:50 +02:00
Patrick Nicolas
7e81f23f0f
Add missing includes
2026-05-02 20:39:37 +02:00
Patrick Nicolas
077a6552ef
Replace vk::RemainingArrayLayers with values
2026-05-02 14:11:53 +02:00
Patrick Nicolas
f1c02d8f68
Fix debug build
2026-04-30 16:04:15 +02:00
Patrick Nicolas
74c360ebe1
Fix nvenc max encode size check
2026-04-27 14:59:41 +02:00
Patrick Nicolas
775022d065
Remove useless semaphore wait (same queue)
2026-04-25 18:55:12 +02:00
Patrick Nicolas
10387b9b00
Separate framerate/refresh rate
2026-04-19 09:14:03 +02:00
Patrick Nicolas
19c5285479
Respect NVIDIA constraints for vulkan encode input
...
Images can't have mutable flag for vulkan encode on NVIDIA, perform a
copy instead, as they allow transfer dst.
2026-04-12 16:03:05 +02:00
Patrick Nicolas
b3479eb418
Remove vkResetCommandBuffer
2026-04-11 16:55:02 +02:00
Patrick Nicolas
6ab58430e2
Mark command pools as transient
2026-04-11 16:55:02 +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
fe414c4450
Remove image layout transitions
2026-04-11 16:55:02 +02:00
Patrick Nicolas
b71a1eddf5
Add support for intra-refresh with vulkan video
2026-04-02 15:17:17 +02:00
Patrick Nicolas
cd9b3fc031
fix race condition in vulkan encoder
2026-04-02 14:39:48 +02:00
Patrick Nicolas
706f76b18d
Prevent concurrent vulkan encode operations
2026-04-02 14:39:48 +02:00
Patrick Nicolas
14089200ab
Unify vulkan encode checks
2026-04-02 14:39:48 +02:00
Patrick Nicolas
78b449e84b
Fix doubled bitrate
2026-03-31 16:30:07 +02:00
Patrick Nicolas
23689abaa7
Skip barrier in no-copy vulkan video encode
2026-03-31 09:06:27 +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
b3b2c49da4
Fix vulkan object naming
2026-03-11 18:39:55 +01:00
Patrick Nicolas
13a94f3dec
Don't shard over TCP
2026-03-11 18:39:55 +01:00
BERADQ
0f21191e9b
Check NVENC intra-refresh capability before enabling the feature
2026-02-26 15:00:05 +01:00
BERADQ
6254386370
Set intra refresh period and count to fixed values.
2026-02-26 15:00:05 +01:00
BERADQ
e32d3bbf36
Enable intra refresh for H264/HEVC/AV1 with period=fps and count=fps/2
2026-02-26 15:00:05 +01:00
Patrick Nicolas
f8a6db5834
vk/video: fix crash on iGPU
2026-02-20 15:56:34 +01:00
Patrick Nicolas
42c64a6569
vk/video: don't copy the whole buffer
2026-02-19 13:43:08 +01:00
Patrick Nicolas
b4349767ce
vk/video: properly lock queues
2026-02-19 13:43:04 +01:00
Patrick Nicolas
b8e9c79180
vk/video: don't query offset, it is always 0
2026-02-19 13:43:04 +01:00
Patrick Nicolas
df6667fd0d
vk/video: unify encoded image copy code
2026-02-19 13:42:51 +01:00
Patrick Nicolas
399477edf5
Skip some memory copies in vulkan encode
2026-02-11 14:34:06 +01:00
Jonathan Steffan
5ac1e06291
fix(encoder_settings): fix FTBFS when only WIVRN_USE_VULKAN
2026-02-07 20:57:00 +01:00
Patrick Nicolas
1398b9ebfd
Fix raw encoding
2026-02-06 23:11:51 +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
f6d151c040
Fix 0 refresh rate used with Auto refresh rate
2026-01-30 15:18:06 +01:00