AnsweredAssumed Answered

Error while running autorun-v4l2.sh

Question asked by Chaitanya Dhere on Sep 10, 2015
Latest reply on Sep 29, 2015 by igorpadykov

Hello all,

             I'm getting the following error when I run autorun-v4l2.sh. My board is based on IMX6 Solo. My kernel version is 3.14.28. PLease find the error log below:

 

root@imx6-solo:/unit_tests# ./autorun-v4l2.sh

=============== test start from Thu Jan 1 00:01:08 UTC 1970 ==============================

Checking for devnode: /dev/video0

autorun-v4l2.sh: PASS devnode found: /dev/video0

 

 

Checking for devnode: /dev/video16

autorun-v4l2.sh: PASS devnode found: /dev/video16

 

 

Checking for devnode: /dev/video17

autorun-v4l2.sh: PASS devnode found: /dev/video17

 

 

imx-ipuv3 2400000.ipu: WARNING: adapt panel end blank lines

Display in U:800x480p-0

Running test case: ./mxc_v4l2_output.out -iw 1024 -ih 768 -ow 800 -oh 480 -d /dev/video17 -r 0 -vf 0 -hf 0 -fr 60

g_in_width = 1024, g_in_height = 768

g_display_width = 800, g_display_height = 480

driver=mxc_vout, card=DISP3 FG, bus=, version=0x00030e1c, capabilities=0x04000002

fmt RGB565: fourcc = 0x50424752

fmt BGR24: fourcc = 0x33524742

fmt RGB24: fourcc = 0x33424752

fmt RGB32: fourcc = 0x34424752

fmt BGR32: fourcc = 0x34524742

fmt NV12: fourcc = 0x3231564e

fmt UYVY: fourcc = 0x59565955

fmt YUYV: fourcc = 0x56595559

fmt YUV422 planar: fourcc = 0x50323234

fmt YUV444: fourcc = 0x34343459

fmt YUV420: fourcc = 0x32315559

fmt YVU420: fourcc = 0x32315659

fmt TILED NV12P: fourcc = 0x50564e54

fmt TILED NV12F: fourcc = 0x46564e54

fmt YUV444 planar: fourcc = 0x50343434

cropcap.bounds.width = 800

cropcap.bound.height = 480

cropcap.defrect.width = 800

cropcap.defrect.height = 480

v4l2_output test: Allocated 4 buffers

VIDIOC_QUERYBUF: length = 1179648, offset = 0

VIDIOC_QUERYBUF: length = 1179648, offset = 1179648

VIDIOC_QUERYBUF: length = 1179648, offset = 2359296

VIDIOC_QUERYBUF: length = 1179648, offset = 3538944

start time = 78 s, 963763 us

mxc_sdc_fb fb.18: timeout when waiting for flip irq

mxc_sdc_fb fb.18: timeout when waiting for flip irq

mxc_sdc_fb fb.18: timeout when waiting for flip irq

mxc_sdc_fb fb.18: timeout when waiting for flip irq

mxc_sdc_fb fb.18: timeout when waiting for flip irq

mxc_sdc_fb fb.18: timeout when waiting for flip irq

 

The issue is the lines highlighted. Also when I run any code to capture images from camera I get the following logs:

 

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

VIDIOC_DQBUF failed.

 

Are the two issues related to each other ? Is there any fix for these issues ? My kernel version is 3.14.28

 

Thanks,

Chaitanya Dhere

Outcomes