rockchip-linux / mpp

Media Process Platform (MPP) module
598 stars 171 forks source link

[mpp_rkvdec2] resetting for err 0x107 & resetting for err 0x23 #588

Open aarnoud opened 6 months ago

aarnoud commented 6 months ago

I've recently noticed new errors using develop branch and linux-6.1-stan-rkr1 :

[ 1695.037607] mpp_rkvdec2 fdc48100.rkvdec-core: resetting for err 0x107
[ 1695.037744] mpp_rkvdec2 fdc48100.rkvdec-core: reset done
[ 1695.037749] mpp_rkvdec2 fdc38100.rkvdec-core: resetting for err 0x23
[ 1695.037873] mpp_rkvdec2 fdc38100.rkvdec-core: reset done

and the decoding is looping after that

mpp: decoder_get_frame get err info:1 discard: 0
mpp: decoder_get_frame get err info:1 discard: 0
mpp: decoder_get_frame get err info:1 discard: 0
mpp: decoder_get_frame get err info:1 discard: 0
mpp: decoder_get_frame get err info:1 discard: 0

any details on how to handle that or informations on those errors ?

HermanChen commented 6 months ago

Hardware reset happened on stream error. So use ffmpeg check the input stream is correct or not first.