[FFmpeg-trac] #9354(avfilter:new): Vulkan filter cannot work on nvidia platform
FFmpeg
trac at avcodec.org
Mon Aug 2 05:50:53 EEST 2021
#9354: Vulkan filter cannot work on nvidia platform
-------------------------------------+-------------------------------------
Reporter: wenbin,chen | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-
Keywords: vulkan | master
Nvidia | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
How to reproduce:
{{{
ffmpeg -v verbose -init_hw_device vulkan=vul -filter_hw_device vul -i
input1080p.264 -vf
"hwupload=extra_hw_frames=16,scale_vulkan=1920:1080,hwdownload,format=yuv420p"
-f rawvideo output.yuv
built on ffmpeg master
GPU: 2080Ti
}}}
This command reports a segmentation fault at
https://github.com/FFmpeg/FFmpeg/blob/1f58503013720700a5adfd72c708e6275aefc165/libavfilter/vulkan.c#L1217
I think the problem is that when queue_count is greater than 1,
pl->descriptor_sets_num will be greater than pl->desc_layout and
vkAllocateDescriptorSets will cause error.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9354>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list