[FFmpeg-trac] #11612(avcodec:closed): Vulkan HEVC decode 1st frame broken
FFmpeg
trac at avcodec.org
Tue May 27 23:18:47 EEST 2025
#11612: Vulkan HEVC decode 1st frame broken
--------------------------------------+-----------------------------------
Reporter: Andrew-R | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: invalid
Keywords: vulkan, hevc | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
--------------------------------------+-----------------------------------
Comment (by Andrew-R):
git bisect result in:
{{{
631a7256705eb5ca424133b612cea9e4c0154ab8 is the first bad commit
commit 631a7256705eb5ca424133b612cea9e4c0154ab8 (HEAD)
Author: Anton Khirnov <anton at khirnov.net>
Date: Thu Jun 13 14:03:16 2024 +0200
lavc/hevcdec: call ff_thread_finish_setup() even if hwaccel is in use
Serializing frame threading for non-threadsafe hwaccels is handled at
the
generic level, the decoder does not need to care about it.
libavcodec/hevc/hevcdec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
bash-5.1$ git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [6b213175c90534e0ad1924bfeba2cf7e20db5bf2] Bump after 7.0 branch
point
git bisect good 6b213175c90534e0ad1924bfeba2cf7e20db5bf2
# status: waiting for bad commit, 1 good commit known
# bad: [38e224c2ba0958d84453f81548d9b245eecd82a1] */version.h: bump after
release/7.1 branch
git bisect bad 38e224c2ba0958d84453f81548d9b245eecd82a1
# skip: [d72a5fe719c01da07af30e4402a7c3cd994b4cfc] lavc/vvc: Prevent
overflow in chroma QP derivation
git bisect skip d72a5fe719c01da07af30e4402a7c3cd994b4cfc
# bad: [d5188adba82eaf979acf98fe2642de5c84a91fcb] lavc/hevcdec: move
HEVCContext.tab_slice_address to HEVCLayerContext
git bisect bad d5188adba82eaf979acf98fe2642de5c84a91fcb
# good: [6ddba110eb1dcb7c05368f85759a70a5645ca4ca] lavc/hevc/parser: stop
using HEVCParamSets.[psv]ps
git bisect good 6ddba110eb1dcb7c05368f85759a70a5645ca4ca
# good: [25f9211bdd61641cb8739efcb45bf31b46557178] avdevice/dshow: Cleanup
also on av_log case
git bisect good 25f9211bdd61641cb8739efcb45bf31b46557178
# good: [9229587c2df92b24b3ed1f4f5dd9830e8d1d6992]
avfilter/vf_unsharp_opencl: Use AV_VIDEO_MAX_PLANES
git bisect good 9229587c2df92b24b3ed1f4f5dd9830e8d1d6992
# bad: [d8fb44c0aa2f7bc566f937330067be6f2ab83c67] lavc/mpegvideoencdsp:
R-V V add_8x8basis
git bisect bad d8fb44c0aa2f7bc566f937330067be6f2ab83c67
# good: [426e33c75853c395b39e216e7ecde0103ff48086] lavfi: set
AVFilterLink.graph on link creation
git bisect good 426e33c75853c395b39e216e7ecde0103ff48086
# good: [1917270d32e386e8a1623a760baf1bc436aef2a3] avcodec/dovi_rpuenc:
add ff_dovi_configure_ext()
git bisect good 1917270d32e386e8a1623a760baf1bc436aef2a3
# good: [8744764a4cab5153e14512af702f217a827344ac] swscale/x86/yuv2rgb:
add ssse3 yuv42{0,2}p -> gbrp unscaled colorspace converters
git bisect good 8744764a4cab5153e14512af702f217a827344ac
# good: [2fdecbb239714b6203e37067fda2521f80e19d47] lavc/hevcdec: switch to
receive_frame()
git bisect good 2fdecbb239714b6203e37067fda2521f80e19d47
# good: [4b9adb35b609b7acb591be0459cde07550fd4ebe] lavc/hevcdec: simplify
output logic
git bisect good 4b9adb35b609b7acb591be0459cde07550fd4ebe
# bad: [0fd37c00d728becba6c49aff9efaf7cae17d46d7] lavc/mpegvideoencdsp:
R-V V pix_norm1
git bisect bad 0fd37c00d728becba6c49aff9efaf7cae17d46d7
# bad: [631a7256705eb5ca424133b612cea9e4c0154ab8] lavc/hevcdec: call
ff_thread_finish_setup() even if hwaccel is in use
git bisect bad 631a7256705eb5ca424133b612cea9e4c0154ab8
# first bad commit: [631a7256705eb5ca424133b612cea9e4c0154ab8]
lavc/hevcdec: call ff_thread_finish_setup() even if hwaccel is in use
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11612#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list