I got some h264 frames which can be decoded by CodecVisa and MPlayer and Elecard StreamEye,
when I send these frames to i.mx6, my system halted with white screen and here are some logs,
sometimes the trace looks like this,
... ...
imx-ipuv3 2400000.ipu: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000
and sometimes the trace looks like this,
... ...
vpu_DecClrDispFlag failed Error code -3
imx-ipuv3 2400000.ipu: IDMAC12's EBA0 is not 8-byte aligned
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x40000000
I've saved one stream.
Please refer the attachment file.
Any suggestion will be very appreciated!
Finally, I found that we send two different resolution slice into VPU for the same decode session.
So that's the problem.
Hi liqun,
According to the i.MX6(Q) Reference Manual :
IDMAC12's EBA0 is not 8-byte aligned, the file is not aligned.
IPU_INT_STAT_10 = 0x00100000 means synchronous display error interrupt,
as a result of an error during access to a synchronous display.
Next, from section (Interrupt Generator) of the Reference Manual :
“The table below describes the error interrupts. The panic column indicates if this signal is
part of the logic generating the ipu_panic signal. The ipu_panic signal can be used for
indicating about errors that are result of data rate problems. Such problems may be a
result of the IPU running in slower clock then required by the use case. This signal can be
used in order to indicate the system that the IPU can't handle the desired data rate. In that
case the system may need to increase the clock to the IPU or simplify the use case.”
So, we have here performance problem. Please try to decrease screen resolution and / or
frame rate. Also, other system resource consuming processes, such as USB / SD / SATA
transfer, may affect. As result a general performance issue may take place in the case.
Perhaps it makes sense to try system prioritization (such as provided by Linux nice
command).
Thank you very much.
Additonal information, my display resolution is 1024x600.
In my case, I've met "not 8-byte aligned" and "IPU_INT_STAT_10 = 0x00100000" and also with nothing
display, the system freezes immediately.
And how to increase IPU clock?
Does anyone else have the same problem?