We use below command to test CSI camera in 1280x720 4.1.15 on and get error as below.
root@imx6qsabresd:~# gst-launch-1.0 imxv4l2src device=/dev/video0 ! 'video/x-raw,width=1280,height=720,framerate=(fraction)30/1' ! imxv4l2sink
ERROR: v4l2 capture: slave not found!
====== IMXV4L2SRC: 4.0.9 build on Aug 2 2016 15:43:47. ======
====== IMXV4L2SINK: 4.0.9 build on Aug 2 2016 15:43:47. ======
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1920x1080).
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
v4l2sink need allocate 3 buffers.
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
mxc_sdc_fb fb@0: timeout when waiting for flip irq
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.
Additional debug info:
/home/mimxc_sdc_fb fb@0: timeout when waiting for flip irq
ke/yocto/imx6qsabresd/tmp/work/coimx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
rtexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:
streaming task paused, reason error (-5)
Execution ended after 0:00:01.675626667
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
mxc_sdc_fb fb@0: timeout when waiting for flip irq
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x08000000
(gst-launch-1.0:908): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
Setting pipeline to NULL ...
Total showed frames (5), playing for (0:00:01.676514667), fps (2.982).
Freeing pipeline ...
Hello,
The messages about IPU_INT_STAT_5 are used to indicate “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.
To improve situation one can apply overlaysink gstreamer element. Please refer to
sections 7.5 (Overlaysink usage) and 7.3.1.6.3 (Multiple videos overlay) of “i.MX_Linux_User's_Guide.pdf”.
Also, please try to increase DMFC FIFO size (dmfc=3 in boot parameter)
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------