Hello All,
I use iMX6Q board and install android 6.0.1 / kernel 3.14.52171230
It was very slow when i use openGL + MediaCodec to encode Camera image and preview on screen.
and i got some ipu error log:
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000
imx-ipuv3 2400000.ipu: ERR:[0xc384c800]-no:0x7cf0 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc384c800]-no:0x7fa0 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396dc00]-no:0x8210 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396d800]-no:0x8490 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396d800]-no:0x8700 "wait_for_comp_timeout" ret:0,line:2962
...
Does anybody can fix it ?
Hi hank
one can try to set dmfc=3 in kernel boot parameter as suggested in
Table 11. Common kernel boot parameters attached Release Notes.
Bit 19 of IPU_INT_STAT_10 is DI0_SYNC_DISP_ERR. This bit is
set when there's an error, usually as result of data starvation when
data that should be sent to display is not available in IPUs internal
FIFO. Most probable cause for this issue is big load on the DDR memory bus.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thanks for your feedback, i will try it, Does "dmfc=3" can solve thie issue about
imx-ipuv3 2400000.ipu: ERR:[0xc384c800]-no:0x7cf0 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc384c800]-no:0x7fa0 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396dc00]-no:0x8210 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396d800]-no:0x8490 "wait_for_comp_timeout" ret:0,line:2962
imx-ipuv3 2400000.ipu: ERR:[0xc396d800]-no:0x8700 "wait_for_comp_timeout" ret:0,line:2962
...
?
Many Thanks,
Hank Wu
Hi Hank
yes
Best regards
igor
Hi igor,
Does it has any other solutions?
"dmfc=3" can't solve the ipu issue on my platform:(
Many Thanks,
Hank Wu
Hi Hank
this error happens usually as result of data starvation when
data that should be sent to display is not available in IPUs internal
FIFO. Most probable cause for this issue is big load on the DDR memory bus.
Try for example reduce fps@resolution.
Best regards
igor
Hi igor,
OK, but when it happen ( wait_for_comp_timeout issue) ,
i cannot let it recover until restart the platform.
Does it has any solution can recover it ?