Commit Graph
179 Commits
Author SHA1 Message Date
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
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
Sapphire fad0a8feee In-stream GUI bitrate adjustment 2025-12-07 09:32:02 -05:00
BERADQ d1308bfbb8 Update IDR handler to explicitly handle dropped IDR frames and ignore dropped non-reference frames. 2025-12-04 15:59:18 +01:00
BERADQ a37498eedf Optimize NVENC encoding configuration 2025-12-04 15:53:34 +01:00
Patrick Nicolas 91a41b306e Don't set pps_range_extension_flag 2025-12-02 15:23:08 +01:00
Patrick Nicolas 2264b68553 Split client/server ffmpeg dependencies 2025-11-18 12:35:49 +01:00
Patrick Nicolas 114f15c4f3 fix broken asserts 2025-11-15 08:23:40 +01:00
Luna 5337af4c56 fix typo on AV_PROFILE_AV1_MAIN definition 2025-11-09 09:07:51 +01:00
Patrick Nicolas 12ecede0e7 Fix vaapi/nvenc only sending IDR 2025-11-05 18:40:31 +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
aomiki 3c91e4eca8 nvenc: support for changing framerate at runtime 2025-10-29 19:19:22 +01:00
aomiki 1635bdabce use idr param & deal with narrowing conversion warns 2025-10-29 19:19:22 +01:00
aomiki 4908f50a00 reset internal rate control states 2025-10-29 19:19:22 +01:00
aomiki 442e09dcfc meaningful names for all other nvenc params 2025-10-29 19:19:22 +01:00
aomiki 855539fab0 formatting 2025-10-29 19:19:22 +01:00
aomiki ba39b4da0b remove bitrate variable 2025-10-29 19:19:22 +01:00