Yes, I reproduce it in the i.mx8m mini. We have seen it using default NXP images for Android, and I narrow it down till linux and the mentioned commit.
You can monitor the "hantrodec" interrupts and see how they are not generated. and the video is not reproduced. Try the command
gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640, height=480 ! vpuenc_h264 ! h264parse ! v4l2h264dec ! fakesink
(or fpsdisplaysink).
The error is that the command just get locked (no video, no interrupts, nothing in dmesg).
"""
root@ccimx8mm-dvk:~# gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, width=640
, height=480 ! vpuenc_h264 ! h264parse ! v4l2h264dec ! fakesink
Setting pipeline to PAUSED ...
====== V4L2DEC: 1.24.0 build on Jul 24 2024 02:25:45. ======
====== VPUENC: 4.9.1 build on Aug 8 2024 05:28:21. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jul 24 2024 01:56:50)
vpulib: 1.1.1
firmware: 1.1.1.65535
Pipeline is PREROLLING ...
Redistribute latency..
""
You can use gplay and a video with h264 codec. Gplay just fails as it cannot reproduce the video. Use whatever command to reproduce the problem. And check the interrupts.
root@ccimx8mm-dvk:~# grep hantro /proc/interrupts
29: 0 0 0 0 GICv3 39 Level hantrodec
30: 0 0 0 0 GICv3 40 Level hantrodec
root@ccimx8mm-dvk:~#
In case of internal vpu error, it fails "silently" so there is not any relevant information in the dmesg output.
The error using a h264 video with gplay is "a general stream error"
"""
ERROR Error from element /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstURISo
urceBin:urisourcebin0/GstParseBin:parsebin0/GstAiurDemux:aiurdemux0: GStreamer encount
ered a general stream error.
GStreamer encountered a general stream error.
/usr/src/debug/imx-gst1.0-plugin/4.9.1+git/plugins/aiurdemux/aiurdemux.c(1229): aiurde
mux_pull_task (): /GstPlayBin3:playbin3/GstURIDecodeBin3:uridecodebin3/GstURISourceBin
:urisourcebin0/GstParseBin:parsebin0/GstAiurDemux:aiurdemux0:
streaming stopped, reason not-negotiated, state 3 for /mnt/data/3DMark_1280x720_h264_a
ac_44100
"""