Intermittent IPU problem with mfw_v4lsink

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Intermittent IPU problem with mfw_v4lsink

2,393 Views
JeremyStashluk
Contributor III

The mfw_v4lsink element displays zero, or one frames, then hangs.

Board: nitrogen6x Release 1209_GA.

This was working this morning, but has since stopped.  I can't seem to reliably replicate the conditions for this.  Does anyone have a solution?

The console log follows:


root@freescale ~$ gst-launch -v videotestsrc ! mfw_v4lsink

this is powerful mx6q

MFW_GST_V4LSINK_PLUGIN 3.0.1 build on Oct 19 2012 15:00:44.

Setting pipeline to PAUSED ...

/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(iimx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

nt)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2

Pipeline is PREROLLING .imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

..

>>V4L_SINK: Actually buffer status:

        hardware buffer : 12

        software buffer : 0

/GstPipelinimx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

e:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

full screen size:1920x1080

[V4L Update Display]: left=0, top=0, width=1920, height=1080

New clock: GstSystemClock

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf0400]-no:0x45 "wait_for_comp_timeout" ret:0,line:2768

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf1200]-no:0x55 "wait_for_comp_timeout" ret:0,line:2768

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf1a00]-no:0x65 "wait_for_comp_timeout" ret:0,line:2768

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf1200]-no:0x75 "wait_for_comp_timeout" ret:0,line:2768

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

Caught interrupt -- handling interrupt.

Interrupt: Stopping pipeline ...

Execution ended after 4749820834 ns.

Setting pipeline to PAUSED ...

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf1a00]-no:0x85 "wait_for_comp_timeout" ret:0,line:2768

imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

Running time 0:00:04.750421167 render fps 1.263

Setting pipeline to READY ...

/GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sinkimx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x04000000

: caps = NULL

/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL

Setting pipeline to NULL ...

Total rendered:6

Freeing pipeline ...

imx-ipuv3 imx-ipuv3.0: ERR:[0xbfdf1200]-no:0x95 "wait_for_comp_timeout" ret:0,line:2768

root@freescale ~$

Labels (3)
0 Kudos
8 Replies

1,163 Views
EricNelson
Senior Contributor II

Hi Jeremy,

I just ran this for 15 minutes or so and didn't have any trouble. Are you running both the kernel and userspace from this L3.0.35 release?

I'm also running at 1080P:

root@freescale ~$ gst-launch -v videotestsrc ! mfw_v4lsink
this is powerful mx6q
MFW_GST_V4LSINK_PLUGIN 3.0.1 build on Sep 28 2012 12:17:44.
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2
Pipeline is PREROLLING ...
>>V4L_SINK: Actually buffer status:
     hardware buffer : 12
     software buffer : 0
/GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
full screen size:1920x1080
[V4L Update Display]: left=0, top=0, width=1920, height=1080
New clock: GstSystemClock
0 Kudos

1,163 Views
JeremyStashluk
Contributor III

Yes, Boundary kernel, LTIB userspace from the 12.09_GA release.

0 Kudos

1,163 Views
EricNelson
Senior Contributor II

Hi Jeremy,

I'm a bit stumped, and it's probably time to review all of the details.


Can you forward your kernel command line (from /proc/cmdline) and U-Boot version?

Are you running this on SABRE Lite or Nitrogen6x?

We should be able to match your environment directly here.


Please advise,

Eric

0 Kudos

1,163 Views
JeremyStashluk
Contributor III

My friend is back this afternoon...

root@freescale ~$ cat /proc/cmdline

console=ttymxc1,115200 consoleblank=0 vmalloc=192M video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 fbmem=28M,10M,10M root=/dev/nfs ip=dhcp nfsroot=172.22.1.57:/home/jstashluk/software/seemore/os/ltib_1209/rootfs,v3,tcp rw rootwait enable_wait_mode=off

U-Boot 2009.08-00495-g10adc6d (Apr 24 2012 - 13:27:04)

0 Kudos

1,163 Views
JeremyStashluk
Contributor III

also, once this problem happens, restarting the application causes the processor to lock up with the following message repeated:

imx-ipuv3 imx-ipuv3.0: warning: disable ipu dma channel 20 during its busy state

0 Kudos

1,163 Views
JeremyStashluk
Contributor III

I'm afraid I can not recover the exact kernel and package as when I had the problem.

I've been unable to reproduce the error since it happend.

Jeremy

0 Kudos

1,163 Views
EricNelson
Senior Contributor II

I don't know if this is good or bad, but I suspect bad.

Problems that disappear have a nasty habit of showing back up at the worst of times.

0 Kudos

1,163 Views
admin
Specialist II

pejmankalkhoran, can you help with this one?

0 Kudos