[FFmpeg-devel] [PATCH] vulkan: use a single command buffer per command buffer pool

Jerome Martinez jerome at mediaarea.net
Thu Apr 17 11:11:15 EEST 2025


Le 16/04/2025 à 15:26, Lynne a écrit :
> We violated the spec, which, despite the actual command buffer pool
> *not* being involved in any functions which require external synchronization
> of the pool, *require* external synchronization even if only the
> command buffers are used.
>
> This also has the effect of *significantly* speeding up execution
> in case command buffers are contended.

I can confirm a +6% on 16-bit content on a RTX 4070 Ti.
With a 2K 16-slice content:
- It was freezing after ~300 frames on a RTX 4070 Ti, now it runs slowly 
but smoothly,
- The UI was frozen on a RTX 3050, still some kind of freeze with this 
patch but it is better (especially with -thread 1)

no regression found.


More information about the ffmpeg-devel mailing list