74 Commits
Author SHA1 Message Date
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
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
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 10387b9b00 Separate framerate/refresh rate 2026-04-19 09:14: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 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 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
Jonathan Steffan 5ac1e06291 fix(encoder_settings): fix FTBFS when only WIVRN_USE_VULKAN 2026-02-07 20:57:00 +01:00
Patrick Nicolas f6d151c040 Fix 0 refresh rate used with Auto refresh rate 2026-01-30 15:18:06 +01:00
Patrick Nicolas 0efa540ce0 Use R16_UNORM, fixes 10bit encoding on NVIDIA 2026-01-30 15:00:21 +01:00
Patrick Nicolas c846cb1ed2 Don't force 10 bit for H.265 and AV1 2026-01-25 12:26:19 +01:00
Patrick Nicolas 20a81ed004 Add check for VAAPI 10 bit encoding 2026-01-25 12:21:50 +01:00
Patrick Nicolas 43bbb8b0f8 Add check for 10 bit GPU image support 2026-01-06 18:48:47 +01:00
Patrick Nicolas ea7ab55198 Fix software encoding configuration 2025-12-29 18:03:09 +01:00
Sapphire 3df615cb8a Fix nvenc build without vaapi 2025-12-26 19:43:58 -06:00
Patrick Nicolas f4c4021e20 Fix build with old vulkan_hpp 2025-12-20 18:50:12 +01:00
Patrick Nicolas d43d864dee Prevent assertion failure in nvenc probe 2025-12-15 14:28:51 +01:00
Sapphire 6f32f049d7 Add codec and 10-bit config in headset 2025-12-11 13:42:16 +01:00
Patrick Nicolas 0b526cef9d configure bitrate on client only 2025-12-10 14:32:01 +01:00
Patrick Nicolas 5ab7731be3 Remove server foveation config, rework defaults 2025-12-10 14:00:47 +01:00
Patrick Nicolas 5c50b9a1ad WIP: fixed encoder layout 2025-12-10 14:00:47 +01:00
galister 505de3d625 vulkan h265 /w 10-bit + fix encoder hang (#565) 2025-11-02 11:21:10 +01:00
Patrick Nicolas cb7e6dabfc Update encoder configuration printing 2025-10-06 14:09:11 +02:00
Patrick Nicolas e4acf2401e Default passthrough encoder to encoder[0] settings 2025-10-06 13:47:28 +02:00
Patrick Nicolas 6932f9461d Add support for raw video 2025-09-26 16:33:01 +02:00
Marc Meier 6f696a92fb Add missing stdlib includes to improve portability (#499) 2025-09-22 14:58:09 +02:00
Patrick Nicolas 9a5af1a0ca Default to 2 encoder split 2025-09-04 17:26:08 +02:00
Patrick Nicolas b72554ea02 Enable split nvenc encoders by default 2025-07-28 17:18:26 +02:00
galister 5307f2fe62 pass bit_depth to probe_nvenc 2025-07-14 08:47:45 +02:00
galister ec42db83bc change encode_10bit → bit-depth 2025-07-11 23:09:37 +02:00
galister ed32676299 10-bit encoding as a global setting 2025-07-11 23:09:37 +02:00
galister d64d5909ee vaapi: 10-bit hevc/av1 encoding 2025-07-11 23:09:37 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
galister e29a08ea2e Revert "bump default eye-tracked scale to 0.4"
This reverts commit f5b6faf327.
2025-06-07 23:22:14 +02:00
galister f5b6faf327 bump default eye-tracked scale to 0.4 2025-06-07 05:58:05 +09:00
Patrick Nicolas b1a73f7352 Disable split encoders on nvenc by default 2025-04-07 16:51:11 +02:00
Patrick Nicolas c4cc16cd3f Use width/height multiple of 32 for nvenc probing 2025-02-17 16:15:58 +01:00
Patrick Nicolas 802a96572e Probe for nvenc support 2025-02-14 22:04:26 +01:00
galister e9f4b52b50 wip: set bitrate at runtime 2025-02-07 19:00:34 +01:00
Patrick Nicolas b16e7e1c3d Fix parsing of ffmpeg version 2024-12-05 11:18:29 +01:00
Patrick Nicolas ba47c80213 Fix 32bits warnings 2024-11-30 13:16:39 +01:00
Patrick Nicolas 9bd23ac930 Use h264 as default codec for any encoder 2024-11-10 17:03:48 +01:00
Patrick Nicolas 3d062df2b6 Default to h264 for vulkan encode 2024-11-10 16:46:28 +01:00
Patrick Nicolas e01486110e Clamp encoder extents to width/height 2024-11-10 16:11:43 +01:00
Patrick Nicolas 5d5f4b8af4 Enforce alignment of whole image and splits 2024-11-10 11:09:58 +01:00
Patrick Nicolas 410b112fcf Support passthrough for stream 2024-11-06 19:50:44 +01:00