This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 9287eb62b56b2d1e935bcf99912d70e394ec33fb Author: Lynne <[email protected]> AuthorDate: Tue Aug 4 16:40:41 2026 +0900 Commit: Lynne <[email protected]> CommitDate: Wed Aug 5 16:04:38 2026 +0900 vulkan_ffv1: fall back to host memory for the fltmap buffer A megabyte per slice, systems without resizable BAR can run out of mappable device memory to place it in. --- libavcodec/vulkan_ffv1.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/vulkan_ffv1.c b/libavcodec/vulkan_ffv1.c index 078b91f11f..c03c507148 100644 --- a/libavcodec/vulkan_ffv1.c +++ b/libavcodec/vulkan_ffv1.c @@ -191,6 +191,13 @@ static int vk_ffv1_start_frame(AVCodecContext *avctx, NULL, 65536*4*f->slice_count*sizeof(uint32_t), VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT); + /* A megabyte per slice; fall back if there is no BAR space left */ + if (err < 0) + err = ff_vk_get_pooled_buffer(&ctx->s, &fv->slice_fltmap_pool, + &fp->slice_fltmap_buf, + VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, + NULL, 65536*4*f->slice_count*sizeof(uint32_t), + VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT); if (err < 0) return err; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
