Hi,
I'm working on an NXP i.MX6-based system running Linux kernel 4.9.88. I'm using a custom camera application that interfaces with V4L2 and the IPU (CSI/IC).
After running for some time, the application crashes, and I see the following messages in the kernel log:
[ 265.260910] imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
[ 265.260923] imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000 [12461.922418] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
[12610.379560] send_sig_info error
[12610.396334] send_sig_info error
[12610.413113] send_sig_info error
[12610.429887] send_sig_info error
..
..
Shortly after this, the application exits with code 255 (checked with "echo $?"). Also, in some cases, the message send_sig_info error appears in dmesg.
From what I can tell:
The camera pipeline works for a while (changed between 2 and 7.5 hours) and then stops.
The mxc_v4l_dqueue() function appears to timeout, likely due to no frames being dequeued from the IPU buffer.
This eventually leads to the application terminating.
My questions:
What exactly does enc_counter 0 indicate in this context?
What could cause the mxc_v4l_dqueue() timeout — sensor failure, IPU issue, or buffer mismanagement?
Are there known stability issues in the IPU or V4L2 stack in kernel 4.9.88?
Is there any recommended workaround or patch for this issue?
Any guidance or suggestions would be greatly appreciated.
Thanks,