Patrick Nicolas
9313ccbc1d
Use multiple vulkan encode queues if possible
2026-05-19 06:59:03 +02:00
Patrick Nicolas
7e81f23f0f
Add missing includes
2026-05-02 20:39:37 +02:00
Patrick Nicolas
775022d065
Remove useless semaphore wait (same queue)
2026-04-25 18:55:12 +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
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
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
Patrick Nicolas
2264b68553
Split client/server ffmpeg dependencies
2025-11-18 12:35:49 +01:00
Luna
5337af4c56
fix typo on AV_PROFILE_AV1_MAIN definition
2025-11-09 09:07:51 +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
b81d010841
Fix build with ffmpeg 8
2025-10-04 23:16:22 +02:00
Patrick Nicolas
6932f9461d
Add support for raw video
2025-09-26 16:33:01 +02:00
galister
ec42db83bc
change encode_10bit → bit-depth
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
f6eb528ea7
Name most vulkan objects
2025-06-12 15:46:37 +02:00
Patrick Nicolas
f59015654c
fix build with older vulkan.hpp
2025-05-18 21:36:16 +02:00
Patrick Nicolas
6b91848d29
Fix vulkan conformance issues
2025-05-11 09:20:09 +02: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
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
20f0137380
Cleanup some includes
2024-10-03 23:39:32 +02: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
Guillaume Meunier
5e6512d825
Fix various warnings
2024-10-01 23:04:19 +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
517b572c75
Integrate YCbCr conversion in monado
...
Hacks monado's distortion shader to write into Y and CbCr planes,
eliminating the intermediate RGBA image
Note: change monado's version to enforce patch application
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
7a42691269
AV1 support
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
685061ca59
Relax pipeline barriers if possible
2024-08-16 21:24:50 +02:00
Patrick Nicolas
8e157e5153
Transition images to general layout for vaapi
2024-08-16 10:43:12 +02:00
Patrick Nicolas
7e2d0cecc4
Change how drm modifier next is appended
2024-08-16 10:43:12 +02:00
rcelyte
d107cf105a
Fix VAAPI encoding when VK_EXT_image_drm_format_modifier isn't available
2024-06-05 10:56:37 +02:00
Patrick Nicolas
3a5404d191
Reconnection support
2024-06-03 20:59:03 +02:00
Guillaume Meunier
9cceaac648
clang-format
2024-03-30 17:00:34 +01:00
Patrick Nicolas
7b7caaed4f
fix for drm modifiers
2024-03-05 17:00:35 +01:00
Patrick Nicolas
386856c54e
Allow manual vaapi device in settings
2024-02-19 22:13:21 +01:00
Patrick Nicolas
e385e459ee
Always do yuv conversion in vulkan
2024-02-18 16:15:55 +01:00
Patrick Nicolas
88e23da72c
Move encoder code into new directory
2024-02-07 18:25:54 +01:00