This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: gStreamer error

Part Number: AM5728
Other Parts Discussed in Thread: DRA752

Tool/software: Linux

Hello,

we have the following gstreamer pipeline. Sometimes it runs and sometimes it aborts immediately. In the dmesg log below, you can see the error "[ 1533.501211] vip 48990000.vip: dma_alloc_coherent of size 4149248 failed" which seems to be the first error which occurs. The dmabuftest utility works fine. We use our own subdevice driver which reports a fix format 1920x1080p30. Sdk version is ti-processor-sdk-linux-am57xx-evm-03.01.00.06.

Do you have any suggestions for us, because the error brings work to halt at the moment.

root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=NV12,width=1920,height=1080' ! tee name=t ! queue ! ducatih264enc ! queue ! h264parse ! mpegtsmux ! udpsink host=224.0.0.1 port=5555 t. ! queue ! kmssink -v -e
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstTee:t.GstTeePad:src_0: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src: caps = "video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)byte-stream\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = "video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)byte-stream\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = "video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)byte-stream\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = "video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)byte-stream\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = "video/x-h264\,\ alignment\=\(string\)au\,\ stream-format\=\(string\)byte-stream\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstQueue:queue2.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstTee:t.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
/GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:src: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4"
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4"
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1088\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4\,\ parsed\=\(boolean\)true\,\ alignment\=\(string\)au"
/GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:sink_65: caps = "video/x-h264\,\ width\=\(int\)1920\,\ height\=\(int\)1088\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ stream-format\=\(string\)byte-stream\,\ align\=\(string\)au\,\ num-reorder-frames\=\(int\)3\,\ profile\=\(string\)high\,\ level\=\(string\)4\,\ parsed\=\(boolean\)true\,\ alignment\=\(string\)au"
/GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:src: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188"
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188"
/GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:src: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188\,\ streamheader\=\(buffer\)\<\ 47400030a600ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941\,\ 474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ffffcfc1be041f00a050848444d56ff1b443f5a3175c0\ \>"
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188\,\ streamheader\=\(buffer\)\<\ 47400030a600ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000b00d0001c100000001e020a2c32941\,\ 474020308b00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0002b0280001c10000e041f00c050448444d5688040ffffcfc1be041f00a050848444d56ff1b443f5a3175c0\ \>"

** (gst-launch-1.0:1383): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1383): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1383): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1383): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:00.630544310
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@am57xx-evm:~# dmesg
[ 1532.945699] vip2-s0: vip_open
[ 1532.945716] vip2-s0: FUNC: vip_init_port:
[ 1532.945727] adv7842 4-0020: adv7842_get_format:
[ 1532.945737] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 1920x1080
[ 1532.945750] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1532.945759] vip2-s0: init_stream fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1532.945766] vip2-s0: init_stream vpdma data type: 0x02
[ 1532.945774] vip2-s0: vip_init_stream: stream instance 0x00000001ecbf8000
[ 1532.946193] vip2-s0: vip_release
[ 1532.946208] vip2-s0: vip_release_stream: stream instance 0x00000006ecbf8000
[ 1532.946216] vip2-s0: vip_release_port: port instance 0xec7a1540ed66d010
[ 1533.000777] vip2-s0: vip_open
[ 1533.000791] vip2-s0: FUNC: vip_init_port:
[ 1533.000800] adv7842 4-0020: adv7842_get_format:
[ 1533.000808] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 1920x1080
[ 1533.000820] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1533.000827] vip2-s0: init_stream fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1533.000832] vip2-s0: init_stream vpdma data type: 0x02
[ 1533.000840] vip2-s0: vip_init_stream: stream instance 0x00000001ecbf8000
[ 1533.001039] vip2-s0: FUNC: vip_g_std:
[ 1533.001047] vip2-s0: g_std: 0xffb0ff
[ 1533.005601] vip2-s0: enum_fmt index:0
[ 1533.005613] vip2-s0: enum_fmt fourcc:NV12
[ 1533.005626] vip2-s0: enum_fmt index:1
[ 1533.005634] vip2-s0: enum_fmt fourcc:UYVY
[ 1533.005650] vip2-s0: enum_fmt index:2
[ 1533.005656] vip2-s0: enum_fmt fourcc:YUYV
[ 1533.005665] vip2-s0: enum_fmt index:3
[ 1533.005670] vip2-s0: enum_fmt fourcc:VYUY
[ 1533.005678] vip2-s0: enum_fmt index:4
[ 1533.005683] vip2-s0: enum_fmt fourcc:YVYU
[ 1533.005691] vip2-s0: enum_fmt index:5
[ 1533.005718] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.005725] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.005733] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
[ 1533.005742] vip2-s0: FUNC: vip_enum_frameintervals:
[ 1533.005769] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.005776] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
[ 1533.005782] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.005788] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
[ 1533.005795] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.005800] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.005806] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.005811] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.005818] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.005831] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.005837] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
[ 1533.005843] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.005848] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
[ 1533.005854] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.005859] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.005864] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.005870] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.005887] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.005893] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
[ 1533.005898] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.005904] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
[ 1533.005909] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.005914] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.005919] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.005924] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.005931] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.005984] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.005991] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006012] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006018] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006025] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
[ 1533.006033] vip2-s0: FUNC: vip_enum_frameintervals:
[ 1533.006054] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006060] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
[ 1533.006065] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006070] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
[ 1533.006076] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006081] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006086] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006092] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006098] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006110] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006118] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
[ 1533.006125] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006131] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
[ 1533.006137] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006142] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006148] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006153] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006168] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006174] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
[ 1533.006179] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006185] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
[ 1533.006190] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006195] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006200] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006205] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006212] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006227] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006233] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006251] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006257] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006264] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
[ 1533.006271] vip2-s0: FUNC: vip_enum_frameintervals:
[ 1533.006290] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006296] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
[ 1533.006301] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006306] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
[ 1533.006312] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006317] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006322] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006327] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006334] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1533.006343] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006349] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
[ 1533.006354] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006359] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
[ 1533.006365] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006370] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006375] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006380] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006395] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006400] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
[ 1533.006405] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006411] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
[ 1533.006416] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006421] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006426] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006431] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006437] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
[ 1533.006452] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006457] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006474] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006480] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006487] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
[ 1533.006494] vip2-s0: FUNC: vip_enum_frameintervals:
[ 1533.006513] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006519] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
[ 1533.006524] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006529] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
[ 1533.006535] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006540] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006545] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006550] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006556] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006566] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006571] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
[ 1533.006576] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006582] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
[ 1533.006587] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006592] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006597] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006603] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006617] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006623] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
[ 1533.006628] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006633] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
[ 1533.006639] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006644] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006649] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006654] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006660] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006675] vip2-s0: FUNC: vip_enum_framesizes:
[ 1533.006680] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006824] vip2-s0: FUNC: vip_s_fmt_vid_cap:
[ 1533.006831] vip2-s0: s_fmt input fourcc:YUYV size: 1920x1080
[ 1533.006837] vip2-s0: FUNC: vip_try_fmt_vid_cap:
[ 1533.006842] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
[ 1533.006848] adv7842 4-0020: adv7842_enum_frame_sizes:
[ 1533.006853] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
[ 1533.006858] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
[ 1533.006864] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
[ 1533.006869] vip2-s0: try_fmt loop:0 found new best: 1920x1080
[ 1533.006874] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
[ 1533.006880] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006886] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 1920x1080
[ 1533.006892] vip2-s0: s_fmt fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
[ 1533.006898] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 1920x1080
[ 1533.006903] adv7842 4-0020: adv7842_set_format start
[ 1533.018319] adv7842 4-0020: adv7842_get_format:
[ 1533.018330] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 1920x1080
[ 1533.018336] vip2-s0: s_fmt vpdma data type: 0x07
[ 1533.027736] vip2-s0: get 3 buffer(s) of size 4147200 each.
[ 1533.035164] vip2-s0: FUNC: vip_start_streaming:
[ 1533.035174] vip2-s0: vip_set_slice_path:
[ 1533.035183] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 00008000
[ 1533.035464] vip2-s0: start_streaming: buf 0xed6eac00 3
[ 1533.035472] adv7842 4-0020: adv7842_s_stream:
[ 1533.035484] vip2-s0: start_streaming: start_dma buf 0xed6eac00
[ 1533.035492] vip2-s0: start_dma: buf:0xed6eac00, vb:0xed6eac00, dma_addr:0xfe600000
[ 1533.035510] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.035520] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.035531] vip2-s0: added next buffer
[ 1533.035540] vip2-s0: start_dma: buf:0xed6ea600, vb:0xed6ea600, dma_addr:0xfea00000
[ 1533.035557] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.035564] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.035569] vip2-s0: added next buffer
[ 1533.035576] vip2-s0: start_dma: buf:0xed6eb800, vb:0xed6eb800, dma_addr:0xfee00000
[ 1533.067822] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.067831] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.067839] vip2-s0: vip buffer complete 0xed6eac00, 0x0
[ 1533.067851] vip2-s0: Dropping frame
[ 1533.067859] vip2-s0: start_dma: dropped
[ 1533.101151] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.101162] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.101169] vip2-s0: vip buffer complete 0xed6ea600, 0x0
[ 1533.101181] vip2-s0: Dropping frame
[ 1533.101188] vip2-s0: start_dma: dropped
[ 1533.101224] vip2-s0: get 1 buffer(s) of size 4147200 each.
[ 1533.134481] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.134492] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.134499] vip2-s0: vip buffer complete 0xed6eb800, 0x0
[ 1533.134512] vip2-s0: added next buffer
[ 1533.134520] vip2-s0: start_dma: buf:0xed6eac00, vb:0xed6eac00, dma_addr:0xfe600000
[ 1533.167807] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.167817] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.167825] vip2-s0: vip buffer complete 0xed4a8000, 0x1
[ 1533.167832] vip2-s0: added next buffer
[ 1533.167839] vip2-s0: start_dma: buf:0xed770600, vb:0xed770600, dma_addr:0xff200000
[ 1533.201136] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.201146] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.201152] vip2-s0: vip buffer complete 0xed4a9a00, 0x1
[ 1533.201159] vip2-s0: added next buffer
[ 1533.201166] vip2-s0: start_dma: buf:0xed6ea600, vb:0xed6ea600, dma_addr:0xfea00000
[ 1533.234465] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.234474] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.234480] vip2-s0: vip buffer complete 0xed6eac00, 0x0
[ 1533.234490] vip2-s0: added next buffer
[ 1533.234497] vip2-s0: start_dma: buf:0xed6eb800, vb:0xed6eb800, dma_addr:0xfee00000
[ 1533.267796] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.267806] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.267814] vip2-s0: vip buffer complete 0xed770600, 0x0
[ 1533.267825] vip2-s0: added next buffer
[ 1533.267833] vip2-s0: start_dma: buf:0xed6eac00, vb:0xed6eac00, dma_addr:0xfe600000
[ 1533.301126] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.301138] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.301146] vip2-s0: vip buffer complete 0xed6ea600, 0x0
[ 1533.301159] vip2-s0: added next buffer
[ 1533.301168] vip2-s0: start_dma: buf:0xed770600, vb:0xed770600, dma_addr:0xff200000
[ 1533.334454] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.334464] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.334471] vip2-s0: vip buffer complete 0xed6eb800, 0x0
[ 1533.334481] vip2-s0: added next buffer
[ 1533.334490] vip2-s0: start_dma: buf:0xed6ea600, vb:0xed6ea600, dma_addr:0xfea00000
[ 1533.367783] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.367792] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.367799] vip2-s0: vip buffer complete 0xed6eac00, 0x0
[ 1533.367810] vip2-s0: added next buffer
[ 1533.367817] vip2-s0: start_dma: buf:0xed6eb800, vb:0xed6eb800, dma_addr:0xfee00000
[ 1533.401111] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.401121] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.401128] vip2-s0: vip buffer complete 0xed770600, 0x0
[ 1533.401138] vip2-s0: added next buffer
[ 1533.401146] vip2-s0: start_dma: buf:0xed6eac00, vb:0xed6eac00, dma_addr:0xfe600000
[ 1533.434440] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.434449] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.434457] vip2-s0: vip buffer complete 0xed6ea600, 0x0
[ 1533.434467] vip2-s0: Dropping frame
[ 1533.434475] vip2-s0: start_dma: dropped
[ 1533.467769] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.467778] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.467785] vip2-s0: vip buffer complete 0xed6eb800, 0x0
[ 1533.467796] vip2-s0: Dropping frame
[ 1533.467802] vip2-s0: start_dma: dropped
[ 1533.467835] vip2-s0: get 1 buffer(s) of size 4147200 each.
[ 1533.501099] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.501108] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.501116] vip2-s0: vip buffer complete 0xed6eac00, 0x0
[ 1533.501127] vip2-s0: added next buffer
[ 1533.501136] vip2-s0: start_dma: buf:0xed770000, vb:0xed770000, dma_addr:0xff600000
[ 1533.501182] vip2-s0: get 1 buffer(s) of size 4147200 each.
[ 1533.501211] vip 48990000.vip: dma_alloc_coherent of size 4149248 failed
[ 1533.534430] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.534443] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.534452] vip2-s0: vip buffer complete 0xed4a8c00, 0x1
[ 1533.534461] vip2-s0: Dropping frame
[ 1533.534468] vip2-s0: start_dma: dropped
[ 1533.567759] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.567771] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.567780] vip2-s0: vip buffer complete 0xed4a8000, 0x1
[ 1533.567788] vip2-s0: Dropping frame
[ 1533.567796] vip2-s0: start_dma: dropped
[ 1533.601089] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.601100] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.601108] vip2-s0: vip buffer complete 0xed770000, 0x0
[ 1533.601117] vip2-s0: added next buffer
[ 1533.601126] vip2-s0: start_dma: buf:0xed6eac00, vb:0xed6eac00, dma_addr:0xfe600000
[ 1533.634415] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
[ 1533.634426] vip2-s0: IRQ 0: handling LIST0_COMPLETE
[ 1533.634434] vip2-s0: vip buffer complete 0xed4a9a00, 0x1
[ 1533.634441] vip2-s0: added next buffer
[ 1533.634449] vip2-s0: start_dma: buf:0xed770600, vb:0xed770600, dma_addr:0xff200000
[ 1533.654105] vip2-s0: FUNC: vip_stop_streaming:
[ 1533.654116] vip2-s0: vip_stop_streaming:
[ 1533.654122] vip2-s0: vip_disable_sc_path:
[ 1533.654129] adv7842 4-0020: adv7842_s_stream:
[ 1533.654138] vip2-s0: Clear channel no: 38
[ 1533.691277] vip2-s0: vip_release
[ 1533.691293] vip2-s0: vip_release_stream: stream instance 0xd4eeeaa0ecbf8000
[ 1533.691301] vip2-s0: vip_release_port: port instance 0xecc8bb40ed66d010
root@am57xx-evm:~#

Thank you

Marc

  • Hello,

    Do you observe this problem with the latest PSDK?
    The pipeline seems fine. Could you try gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 !...

    You could check this thread also:
    e2e.ti.com/.../1748716


    BR
    Margarita
  • Hi Margarita,
    we didn't test latest sdk yet. Additional info -> We use nfs filesystem.

    io-mode=2 also produces errors and gives the following output.


    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=NV12,width=1920,height=1080' ! tee name=t ! queue ! ducatih264enc ! queue ! h264parse ! mpegtsmux ! udpsink host=224.0.0.1 port=5555 t. ! queue ! kmssink -v -e
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstTee:t.GstTeePad:src_0: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstTee:t.GstTeePad:src_1: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstQueue:queue2.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstQueue:queue2.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstTee:t.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstTee:t.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstVpe:vpe0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstVpe:vpe0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)bt601\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
    /GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)NV12\,\ width\=\(int\)1920\,\ height\=\(int\)1080\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"

    ** (gst-launch-1.0:1322): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

    ** (gst-launch-1.0:1322): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

    ** (gst-launch-1.0:1322): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

    ** (gst-launch-1.0:1322): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

    ** (gst-launch-1.0:1322): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
    Additional debug info:
    ../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason error (-5)
    EOS on shutdown enabled -- waiting for EOS after Error
    Waiting for EOS...
    /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0.GstPad:src: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188"
    /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = "video/mpegts\,\ systemstream\=\(boolean\)true\,\ packetsize\=\(int\)188"
    ^Chandling interrupt.
    Interrupt: Stopping pipeline ...
    Interrupt while waiting for EOS - stopping pipeline...
    Execution ended after 0:00:01.912084197
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~# dmesg
    [ 1091.647512] vip2-s0: vip_open
    [ 1091.647527] vip2-s0: FUNC: vip_init_port:
    [ 1091.647537] adv7842 4-0020: adv7842_get_format:
    [ 1091.647545] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 1920x1080
    [ 1091.647557] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.647565] vip2-s0: init_stream fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.647570] vip2-s0: init_stream vpdma data type: 0x02
    [ 1091.647578] vip2-s0: vip_init_stream: stream instance 0x00000001ed446800
    [ 1091.647591] vip2-s0: FUNC: vip_querycap:
    [ 1091.647945] vip2-s0: vip_release
    [ 1091.647957] vip2-s0: vip_release_stream: stream instance 0x00000006ed446800
    [ 1091.647965] vip2-s0: vip_release_port: port instance 0xed7edb40ed7bb010
    [ 1091.742897] vip2-s0: vip_open
    [ 1091.742911] vip2-s0: FUNC: vip_init_port:
    [ 1091.742919] adv7842 4-0020: adv7842_get_format:
    [ 1091.742927] vip2-s0: vip_init_port: g_mbus_fmt subdev mbus_code: 2006 fourcc:NV12 size: 1920x1080
    [ 1091.742939] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.742946] vip2-s0: init_stream fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.742951] vip2-s0: init_stream vpdma data type: 0x02
    [ 1091.742967] vip2-s0: vip_init_stream: stream instance 0x00000001ed446800
    [ 1091.742979] vip2-s0: FUNC: vip_querycap:
    [ 1091.743016] vip2-s0: FUNC: vip_enuminput:
    [ 1091.743076] vip2-s0: FUNC: vip_enuminput:
    [ 1091.743186] vip2-s0: FUNC: vip_g_std:
    [ 1091.743194] vip2-s0: g_std: 0xffb0ff
    [ 1091.743212] vip2-s0: FUNC: vip_g_input:
    [ 1091.744553] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ 1091.784858] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784870] vip2-s0: enum_fmt index:0
    [ 1091.784877] vip2-s0: enum_fmt fourcc:NV12
    [ 1091.784888] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784895] vip2-s0: enum_fmt index:1
    [ 1091.784900] vip2-s0: enum_fmt fourcc:UYVY
    [ 1091.784917] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784923] vip2-s0: enum_fmt index:2
    [ 1091.784929] vip2-s0: enum_fmt fourcc:YUYV
    [ 1091.784939] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784946] vip2-s0: enum_fmt index:3
    [ 1091.784952] vip2-s0: enum_fmt fourcc:VYUY
    [ 1091.784963] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784968] vip2-s0: enum_fmt index:4
    [ 1091.784973] vip2-s0: enum_fmt fourcc:YVYU
    [ 1091.784982] vip2-s0: FUNC: vip_enum_fmt_vid_cap:
    [ 1091.784987] vip2-s0: enum_fmt index:5
    [ 1091.785016] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785022] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785030] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
    [ 1091.785039] vip2-s0: FUNC: vip_enum_frameintervals:
    [ 1091.785057] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785063] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785079] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785085] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
    [ 1091.785091] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785097] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
    [ 1091.785102] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785108] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785114] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785119] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785126] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785139] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785145] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
    [ 1091.785150] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785155] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
    [ 1091.785161] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785167] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785172] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785177] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785192] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785199] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
    [ 1091.785204] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785209] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
    [ 1091.785214] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785220] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785225] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785230] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785236] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785257] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785263] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785284] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785289] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785296] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
    [ 1091.785303] vip2-s0: FUNC: vip_enum_frameintervals:
    [ 1091.785318] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785324] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785335] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785341] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
    [ 1091.785345] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785351] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
    [ 1091.785356] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785362] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785367] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785372] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785378] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785389] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785394] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
    [ 1091.785400] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785405] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
    [ 1091.785410] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785416] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785421] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785426] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785440] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785446] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080
    [ 1091.785451] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785456] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080
    [ 1091.785461] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785467] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785472] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785477] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785483] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785498] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785503] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785520] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785526] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785533] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
    [ 1091.785540] vip2-s0: FUNC: vip_enum_frameintervals:
    [ 1091.785555] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785561] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785571] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785577] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
    [ 1091.785582] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785588] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
    [ 1091.785593] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785598] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785604] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785609] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785615] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.785625] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785631] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
    [ 1091.785636] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785641] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
    [ 1091.785646] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785652] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785657] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785663] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785677] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785683] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080
    [ 1091.785688] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785693] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080
    [ 1091.785698] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785703] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785708] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785713] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785719] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400
    [ 1091.785735] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785740] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785757] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785763] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785770] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]
    [ 1091.785777] vip2-s0: FUNC: vip_enum_frameintervals:
    [ 1091.785791] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785797] vip2-s0: FUNC: vip_g_selection:
    [ 1091.785807] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785813] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
    [ 1091.785817] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785823] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
    [ 1091.785828] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785833] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785839] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785844] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785850] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785860] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785865] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
    [ 1091.785870] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785875] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
    [ 1091.785880] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785885] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785891] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785896] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785909] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.785914] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080
    [ 1091.785919] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.785925] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080
    [ 1091.785930] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.785935] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.785940] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.785946] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.785952] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.785966] vip2-s0: FUNC: vip_enum_framesizes:
    [ 1091.785972] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.786122] vip2-s0: FUNC: vip_s_fmt_vid_cap:
    [ 1091.786130] vip2-s0: s_fmt input fourcc:YUYV size: 1920x1080
    [ 1091.786135] vip2-s0: FUNC: vip_try_fmt_vid_cap:
    [ 1091.786140] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080
    [ 1091.786145] adv7842 4-0020: adv7842_enum_frame_sizes:
    [ 1091.786151] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080
    [ 1091.786156] vip2-s0: try_fmt loop:0 found new larger: 1920x1080
    [ 1091.786161] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080
    [ 1091.786166] vip2-s0: try_fmt loop:0 found new best: 1920x1080
    [ 1091.786171] vip2-s0: try_fmt loop:0 found direct match: 1920x1080
    [ 1091.786177] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.786182] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 1920x1080
    [ 1091.786189] vip2-s0: s_fmt fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200
    [ 1091.786194] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 1920x1080
    [ 1091.786199] adv7842 4-0020: adv7842_set_format start
    [ 1091.798334] adv7842 4-0020: adv7842_get_format:
    [ 1091.798345] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 1920x1080
    [ 1091.798354] vip2-s0: s_fmt vpdma data type: 0x07
    [ 1091.798370] vip2-s0: FUNC: vip_g_parm:
    [ 1091.798378] vip2-s0: FUNC: vip_s_parm:
    [ 1091.803411] vip2-s0: get 3 buffer(s) of size 4147200 each.
    [ 1091.812784] vip2-s0: FUNC: vip_start_streaming:
    [ 1091.812794] vip2-s0: vip_set_slice_path:
    [ 1091.812803] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 00008000
    [ 1091.813089] vip2-s0: start_streaming: buf 0xed69c600 3
    [ 1091.813097] adv7842 4-0020: adv7842_s_stream:
    [ 1091.813109] vip2-s0: start_streaming: start_dma buf 0xed69c600
    [ 1091.813116] vip2-s0: start_dma: buf:0xed69c600, vb:0xed69c600, dma_addr:0xfe600000
    [ 1091.813132] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.813139] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.813145] vip2-s0: added next buffer
    [ 1091.813152] vip2-s0: start_dma: buf:0xed69c000, vb:0xed69c000, dma_addr:0xfea00000
    [ 1091.813166] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.813171] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.813176] vip2-s0: added next buffer
    [ 1091.813183] vip2-s0: start_dma: buf:0xed69d400, vb:0xed69d400, dma_addr:0xfee00000
    [ 1091.850120] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.850130] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.850137] vip2-s0: vip buffer complete 0xed69c600, 0x0
    [ 1091.850149] vip2-s0: Dropping frame
    [ 1091.850156] vip2-s0: start_dma: dropped
    [ 1091.883451] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.883462] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.883470] vip2-s0: vip buffer complete 0xed69c000, 0x0
    [ 1091.883479] vip2-s0: added next buffer
    [ 1091.883488] vip2-s0: start_dma: buf:0xed69c600, vb:0xed69c600, dma_addr:0xfe600000
    [ 1091.916778] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.916788] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.916796] vip2-s0: vip buffer complete 0xed69d400, 0x0
    [ 1091.916803] vip2-s0: Dropping frame
    [ 1091.916809] vip2-s0: start_dma: dropped
    [ 1091.950107] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.950115] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.950122] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1091.950128] vip2-s0: Dropping frame
    [ 1091.950133] vip2-s0: start_dma: dropped
    [ 1091.983436] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1091.983445] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1091.983451] vip2-s0: vip buffer complete 0xed69c600, 0x0
    [ 1091.983458] vip2-s0: Dropping frame
    [ 1091.983463] vip2-s0: start_dma: dropped
    [ 1092.016764] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.016773] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.016779] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.016785] vip2-s0: Dropping frame
    [ 1092.016791] vip2-s0: start_dma: dropped
    [ 1092.050094] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.050101] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.050107] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.050113] vip2-s0: Dropping frame
    [ 1092.050118] vip2-s0: start_dma: dropped
    [ 1092.083423] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.083431] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.083438] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.083443] vip2-s0: Dropping frame
    [ 1092.083448] vip2-s0: start_dma: dropped
    [ 1092.116751] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.116761] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.116767] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.116773] vip2-s0: Dropping frame
    [ 1092.116778] vip2-s0: start_dma: dropped
    [ 1092.150081] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.150089] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.150095] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.150100] vip2-s0: Dropping frame
    [ 1092.150106] vip2-s0: start_dma: dropped
    [ 1092.183410] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.183418] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.183424] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.183430] vip2-s0: Dropping frame
    [ 1092.183435] vip2-s0: start_dma: dropped
    [ 1092.216738] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.216748] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.216754] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.216760] vip2-s0: Dropping frame
    [ 1092.216765] vip2-s0: start_dma: dropped
    [ 1092.250068] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.250077] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.250083] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.250089] vip2-s0: Dropping frame
    [ 1092.250094] vip2-s0: start_dma: dropped
    [ 1092.283397] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.283404] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.283411] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.283416] vip2-s0: Dropping frame
    [ 1092.283422] vip2-s0: start_dma: dropped
    [ 1092.316725] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.316733] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.316740] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.316745] vip2-s0: Dropping frame
    [ 1092.316750] vip2-s0: start_dma: dropped
    [ 1092.350055] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.350063] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.350069] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.350075] vip2-s0: Dropping frame
    [ 1092.350080] vip2-s0: start_dma: dropped
    [ 1092.383385] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.383395] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.383402] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.383408] vip2-s0: Dropping frame
    [ 1092.383415] vip2-s0: start_dma: dropped
    [ 1092.416713] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.416722] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.416729] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.416736] vip2-s0: Dropping frame
    [ 1092.416742] vip2-s0: start_dma: dropped
    [ 1092.450043] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.450052] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.450059] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.450066] vip2-s0: Dropping frame
    [ 1092.450072] vip2-s0: start_dma: dropped
    [ 1092.483372] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.483382] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.483389] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.483395] vip2-s0: Dropping frame
    [ 1092.483401] vip2-s0: start_dma: dropped
    [ 1092.516701] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.516710] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.516717] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.516723] vip2-s0: Dropping frame
    [ 1092.516730] vip2-s0: start_dma: dropped
    [ 1092.550030] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.550039] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.550046] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.550053] vip2-s0: Dropping frame
    [ 1092.550059] vip2-s0: start_dma: dropped
    [ 1092.583359] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.583368] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.583376] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.583382] vip2-s0: Dropping frame
    [ 1092.583388] vip2-s0: start_dma: dropped
    [ 1092.616687] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.616697] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.616704] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.616710] vip2-s0: Dropping frame
    [ 1092.616717] vip2-s0: start_dma: dropped
    [ 1092.650017] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.650026] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.650033] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.650040] vip2-s0: Dropping frame
    [ 1092.650046] vip2-s0: start_dma: dropped
    [ 1092.683346] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.683357] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.683366] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.683373] vip2-s0: Dropping frame
    [ 1092.683380] vip2-s0: start_dma: dropped
    [ 1092.716674] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.716684] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.716692] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.716699] vip2-s0: Dropping frame
    [ 1092.716706] vip2-s0: start_dma: dropped
    [ 1092.750004] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.750015] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.750022] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.750028] vip2-s0: Dropping frame
    [ 1092.750035] vip2-s0: start_dma: dropped
    [ 1092.783334] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.783343] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.783351] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.783358] vip2-s0: Dropping frame
    [ 1092.783364] vip2-s0: start_dma: dropped
    [ 1092.816663] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.816672] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.816679] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.816685] vip2-s0: Dropping frame
    [ 1092.816692] vip2-s0: start_dma: dropped
    [ 1092.849991] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.850001] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.850009] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.850015] vip2-s0: Dropping frame
    [ 1092.850022] vip2-s0: start_dma: dropped
    [ 1092.883321] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.883330] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.883338] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.883345] vip2-s0: Dropping frame
    [ 1092.883352] vip2-s0: start_dma: dropped
    [ 1092.916650] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.916660] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.916667] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1092.916674] vip2-s0: Dropping frame
    [ 1092.916680] vip2-s0: start_dma: dropped
    [ 1092.949978] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.949988] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.949995] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1092.950001] vip2-s0: Dropping frame
    [ 1092.950008] vip2-s0: start_dma: dropped
    [ 1092.983308] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1092.983317] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1092.983324] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1092.983331] vip2-s0: Dropping frame
    [ 1092.983337] vip2-s0: start_dma: dropped
    [ 1093.016637] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.016647] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.016654] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.016661] vip2-s0: Dropping frame
    [ 1093.016667] vip2-s0: start_dma: dropped
    [ 1093.049966] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.049975] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.049982] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.049989] vip2-s0: Dropping frame
    [ 1093.049995] vip2-s0: start_dma: dropped
    [ 1093.083295] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.083304] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.083312] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.083319] vip2-s0: Dropping frame
    [ 1093.083325] vip2-s0: start_dma: dropped
    [ 1093.116624] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.116633] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.116641] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.116647] vip2-s0: Dropping frame
    [ 1093.116654] vip2-s0: start_dma: dropped
    [ 1093.149953] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.149962] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.149970] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.149976] vip2-s0: Dropping frame
    [ 1093.149983] vip2-s0: start_dma: dropped
    [ 1093.183282] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.183293] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.183300] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.183307] vip2-s0: Dropping frame
    [ 1093.183314] vip2-s0: start_dma: dropped
    [ 1093.216611] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.216621] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.216628] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.216635] vip2-s0: Dropping frame
    [ 1093.216641] vip2-s0: start_dma: dropped
    [ 1093.249940] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.249950] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.249957] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.249963] vip2-s0: Dropping frame
    [ 1093.249969] vip2-s0: start_dma: dropped
    [ 1093.283269] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.283281] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.283288] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.283295] vip2-s0: Dropping frame
    [ 1093.283302] vip2-s0: start_dma: dropped
    [ 1093.316598] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.316607] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.316615] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.316621] vip2-s0: Dropping frame
    [ 1093.316628] vip2-s0: start_dma: dropped
    [ 1093.349927] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.349938] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.349945] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.349952] vip2-s0: Dropping frame
    [ 1093.349958] vip2-s0: start_dma: dropped
    [ 1093.383256] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.383266] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.383273] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.383279] vip2-s0: Dropping frame
    [ 1093.383286] vip2-s0: start_dma: dropped
    [ 1093.416585] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.416595] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.416602] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.416609] vip2-s0: Dropping frame
    [ 1093.416615] vip2-s0: start_dma: dropped
    [ 1093.449914] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.449924] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.449931] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.449939] vip2-s0: Dropping frame
    [ 1093.449945] vip2-s0: start_dma: dropped
    [ 1093.483243] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.483253] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.483260] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.483267] vip2-s0: Dropping frame
    [ 1093.483273] vip2-s0: start_dma: dropped
    [ 1093.516572] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.516582] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.516589] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.516596] vip2-s0: Dropping frame
    [ 1093.516602] vip2-s0: start_dma: dropped
    [ 1093.549902] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.549911] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.549919] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.549925] vip2-s0: Dropping frame
    [ 1093.549931] vip2-s0: start_dma: dropped
    [ 1093.583230] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.583240] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.583247] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.583254] vip2-s0: Dropping frame
    [ 1093.583260] vip2-s0: start_dma: dropped
    [ 1093.616559] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.616569] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.616577] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.616583] vip2-s0: Dropping frame
    [ 1093.616590] vip2-s0: start_dma: dropped
    [ 1093.649888] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.649898] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.649906] vip2-s0: vip buffer complete 0xed527000, 0x1
    [ 1093.649912] vip2-s0: Dropping frame
    [ 1093.649919] vip2-s0: start_dma: dropped
    [ 1093.683217] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.683227] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.683234] vip2-s0: vip buffer complete 0xed526a00, 0x1
    [ 1093.683241] vip2-s0: Dropping frame
    [ 1093.683248] vip2-s0: start_dma: dropped
    [ 1093.716549] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1
    [ 1093.716562] vip2-s0: IRQ 0: handling LIST0_COMPLETE
    [ 1093.716570] vip2-s0: vip buffer complete 0xed737600, 0x1
    [ 1093.716577] vip2-s0: Dropping frame
    [ 1093.716584] vip2-s0: start_dma: dropped
    [ 1093.721316] vip2-s0: FUNC: vip_stop_streaming:
    [ 1093.721327] vip2-s0: vip_stop_streaming:
    [ 1093.721333] vip2-s0: vip_disable_sc_path:
    [ 1093.721341] adv7842 4-0020: adv7842_s_stream:
    [ 1093.721350] vip2-s0: Clear channel no: 38
    [ 1093.724737] vip2-s0: vip_release
    [ 1093.724754] vip2-s0: vip_release_stream: stream instance 0xc0037e08ed446800
    [ 1093.724763] vip2-s0: vip_release_port: port instance 0xedbe7b40ed7bb010
    root@am57xx-evm:~#
  • Hi Margarita,

    we just installed new sdk ti-processor-sdk-linux-am57xx-evm-04.00.00.04. We still get the same error "dma_alloc_coherent of size 4149248 failed". So we don't know how to go on. Could you please help us to locate the error? How can we increase the pool used by dma_alloc_coherent?


    Thanks

    Marc

  • We thought of increasing the memory pool used by dma_alloc_coherent. How can we achieve this? Does this make sense?

    Additional Info:

     

     

    Kernel Boot Args:

     

    => printenv

    arch=arm

    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}

    baudrate=115200

    board=am57xx

    board_name=am57xx_evm_reva3

    board_rev=A.30

    board_serial=11164P550380

    boot_fdt=try

    boot_fit=0

    bootcmd=run findfdt; run getuenv; setenv autoload no;dhcp ;tftp ${loadaddr} zImage; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}

    bootdelay=2

    bootdir=/boot

    bootenvfile=uEnv.txt

    bootfile=zImage

    bootm_size=0x10000000

    bootpart=0:2

    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}

    console=ttyO2,115200n8

    cpu=armv7

    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1

    1

    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1

    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000

    dfu_bufsiz=0x10000

    dofastboot=0

    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd

    ;fi;fi;fi;

    eth1addr=a0:f6:fd:bd:76:7d

    ethact=cpsw

    ethaddr=a0:f6:fd:bd:76:7c

    fdt_addr_r=0x88000000

    fdtaddr=0x88000000

    fdtcontroladdr=fdf1e458

    fdtfile=undefined

    findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile

    dra72-evm.dtb; fi;if test $board_name = dra71x; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name

    = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtf

    ile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am57

    1x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = und

    efined; then echo WARNING: Could not determine device tree to use; fi;

    finduuid=part uuid mmc ${bootpart} uuid

    fit_bootfile=fitImage

    fit_loadaddr=0x87000000

    getuenv=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootenv; then run importbootenv; fi; fi;

    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}

    ip_method=dhcp

    kernel_addr_r=0x82000000

    loadaddr=0x82000000

    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}

    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr

    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}

    loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};

    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}

    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;

    mmcdev=0

    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;

    mmcrootfstype=ext4 rootwait

    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp

    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}

    netloadfdt=tftp ${fdtaddr} ${fdtfile}

    netloadimage=tftp ${loadaddr} ${bootfile}

    nfsopts=nolock,v3,tcp,rsize=4096,wsize=4096

    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}

    partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};name=environment,size=128K,uuid=${uuid_gpt_environment};name=misc,size=128K,uuid=${uuid_gpt_misc};name=reserved,size=2

    56K,uuid=${uuid_gpt_reserved};name=efs,size=16M,uuid=${uuid_gpt_efs};name=crypto,size=16K,uuid=${uuid_gpt_crypto};name=recovery,size=10M,uuid=${uuid_gpt_recovery};name=boot,size=10M,uuid=${uuid_gpt_boot};name=system,size=768M,uuid=${uuid_gpt_system};name=cache,size=256M,uuid=$

    {uuid_gpt_cache};name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};name=userdata,size=-,uuid=${uuid_gpt_userdata}

    pxefile_addr_r=0x80100000

    ramdisk_addr_r=0x88080000

    rdaddr=0x88080000

    rootpath=/home/marc/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/targetNFS

    scriptaddr=0x80000000

    scsidevs=0

    serverip=192.168.3.221

    soc=omap5

    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off

    stderr=serial@48020000

    stdin=serial@48020000

    stdout=serial@48020000

    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}

    usbtty=cdc_acm

    vendor=ti

    ver=U-Boot 2017.01-g9fd60700db (Jun 28 2017 - 19:55:57 -0400)

    vram=16M

    Environment size: 6200/65532 bytes

    =>

    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                    

     

    Startup Log:

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 4.9.28-geed43d1050 (marc@marc-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #14 SMP PREEMPT Tue Jul 25 17:05:01 CEST 2017

    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d

    [    0.000000] CPU: div instructions available: patching division code

    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache

    [    0.000000] OF: fdt:Machine model: TI AM572x EVM Rev A3

    [    0.000000] efi: Getting EFI parameters from FDT:

    [    0.000000] efi: UEFI not found.

    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB

    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB

    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB

    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB

    [    0.000000] OF: reserved mem: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool

    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000

    [    0.000000] Memory policy: Data cache writealloc

    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier

    [    0.000000] On node 0 totalpages: 474368

    [    0.000000] free_area_init_node: node 0, pgdat c104bc00, node_mem_map eeda2000

    [    0.000000]   DMA zone: 1728 pages used for memmap

    [    0.000000]   DMA zone: 0 pages reserved

    [    0.000000]   DMA zone: 147456 pages, LIFO batch:31

    [    0.000000]   HighMem zone: 326912 pages, LIFO batch:31

    [    0.000000] DRA752 ES2.0

    [    0.000000] percpu: Embedded 13 pages/cpu @eed34000 s22092 r8192 d22964 u53248

    [    0.000000] pcpu-alloc: s22092 r8192 d22964 u53248 alloc=13*4096

    [    0.000000] pcpu-alloc: [0] 0 [0] 1

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472640

    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=192.168.3.221:/home/marc/ti-processor-sdk-linux-am57xx-evm-04.00.00.04/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 rw ip=dhcp

    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

    [    0.000000] Memory: 1675680K/1897472K available (8192K kernel code, 314K rwdata, 2412K rodata, 2048K init, 296K bss, 33376K reserved, 188416K cma-reserved, 1283072K highmem)

    [    0.000000] Virtual kernel memory layout:

                      vector  : 0xffff0000 - 0xffff1000   (   4 kB)

                      fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

                      vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

                      lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

                      pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

                      modules : 0xbf000000 - 0xbfe00000   (  14 MB)

                        .text : 0xc0008000 - 0xc0a00000   (10208 kB)

                        .init : 0xc0e00000 - 0xc1000000   (2048 kB)

                        .data : 0xc1000000 - 0xc104e860   ( 315 kB)

                         .bss : 0xc1050000 - 0xc109a130   ( 297 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

     

    Log when error occurs:

    [   73.905289] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905296] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.905326] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080

    [   73.905331] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905336] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080

    [   73.905341] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905345] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905350] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905354] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905360] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200

    [   73.905372] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080

    [   73.905376] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905381] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080

    [   73.905385] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905389] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905393] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905397] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905413] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080

    [   73.905417] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905421] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080

    [   73.905425] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905429] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905433] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905437] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905443] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200

    [   73.905461] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905481] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905487] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.905508] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080

    [   73.905512] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905516] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080

    [   73.905520] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905525] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905529] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905533] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905538] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200

    [   73.905547] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080

    [   73.905551] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905555] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080

    [   73.905560] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905564] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905568] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905572] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905585] vip2-s0: try_fmt fourcc:UYVY size: 1920x1080

    [   73.905589] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905593] vip2-s0: try_fmt loop:0 fourcc:UYVY size: 1920x1080

    [   73.905597] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905601] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905605] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905609] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905614] vip2-s0: calc_format_size: fourcc:UYVY size: 1920x1080 bpl:3840 img_size:4147200

    [   73.905628] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905643] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905649] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.905671] vip2-s0: try_fmt fourcc:BGR4 size: 1920x1080

    [   73.905676] vip2-s0: CSC active on Port A: going Y2R

    [   73.905680] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905684] vip2-s0: try_fmt loop:0 fourcc:BGR4 size: 1920x1080

    [   73.905688] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905692] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905696] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905700] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905706] vip2-s0: calc_format_size: fourcc:BGR4 size: 1920x1080 bpl:7680 img_size:8294400

    [   73.905715] vip2-s0: try_fmt fourcc:BGR4 size: 1920x1080

    [   73.905719] vip2-s0: CSC active on Port A: going Y2R

    [   73.905722] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905727] vip2-s0: try_fmt loop:0 fourcc:BGR4 size: 1920x1080

    [   73.905731] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905735] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905738] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905742] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905755] vip2-s0: try_fmt fourcc:BGR4 size: 1920x1080

    [   73.905759] vip2-s0: CSC active on Port A: going Y2R

    [   73.905763] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905767] vip2-s0: try_fmt loop:0 fourcc:BGR4 size: 1920x1080

    [   73.905771] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905775] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905778] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905782] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905787] vip2-s0: calc_format_size: fourcc:BGR4 size: 1920x1080 bpl:7680 img_size:8294400

    [   73.905801] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905817] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905822] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.905843] vip2-s0: try_fmt fourcc:RGB4 size: 1920x1080

    [   73.905847] vip2-s0: CSC active on Port A: going Y2R

    [   73.905850] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905855] vip2-s0: try_fmt loop:0 fourcc:RGB4 size: 1920x1080

    [   73.905859] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905862] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905866] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905870] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905875] vip2-s0: calc_format_size: fourcc:RGB4 size: 1920x1080 bpl:7680 img_size:8294400

    [   73.905884] vip2-s0: try_fmt fourcc:RGB4 size: 1920x1080

    [   73.905888] vip2-s0: CSC active on Port A: going Y2R

    [   73.905892] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905896] vip2-s0: try_fmt loop:0 fourcc:RGB4 size: 1920x1080

    [   73.905900] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905904] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905908] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905911] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905923] vip2-s0: try_fmt fourcc:RGB4 size: 1920x1080

    [   73.905927] vip2-s0: CSC active on Port A: going Y2R

    [   73.905931] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905935] vip2-s0: try_fmt loop:0 fourcc:RGB4 size: 1920x1080

    [   73.905939] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.905943] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.905947] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.905950] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.905956] vip2-s0: calc_format_size: fourcc:RGB4 size: 1920x1080 bpl:7680 img_size:8294400

    [   73.905969] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905984] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.905989] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.906011] vip2-s0: try_fmt fourcc:BGR3 size: 1920x1080

    [   73.906015] vip2-s0: CSC active on Port A: going Y2R

    [   73.906019] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906023] vip2-s0: try_fmt loop:0 fourcc:BGR3 size: 1920x1080

    [   73.906027] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906031] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906035] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906039] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906044] vip2-s0: calc_format_size: fourcc:BGR3 size: 1920x1080 bpl:5760 img_size:6220800

    [   73.906053] vip2-s0: try_fmt fourcc:BGR3 size: 1920x1080

    [   73.906056] vip2-s0: CSC active on Port A: going Y2R

    [   73.906060] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906064] vip2-s0: try_fmt loop:0 fourcc:BGR3 size: 1920x1080

    [   73.906068] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906071] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906076] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906080] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906092] vip2-s0: try_fmt fourcc:BGR3 size: 1920x1080

    [   73.906096] vip2-s0: CSC active on Port A: going Y2R

    [   73.906099] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906103] vip2-s0: try_fmt loop:0 fourcc:BGR3 size: 1920x1080

    [   73.906107] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906111] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906115] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906118] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906123] vip2-s0: calc_format_size: fourcc:BGR3 size: 1920x1080 bpl:5760 img_size:6220800

    [   73.906137] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906152] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906158] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.906177] vip2-s0: try_fmt fourcc:RGB3 size: 1920x1080

    [   73.906182] vip2-s0: CSC active on Port A: going Y2R

    [   73.906185] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906189] vip2-s0: try_fmt loop:0 fourcc:RGB3 size: 1920x1080

    [   73.906193] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906197] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906201] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906205] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906210] vip2-s0: calc_format_size: fourcc:RGB3 size: 1920x1080 bpl:5760 img_size:6220800

    [   73.906218] vip2-s0: try_fmt fourcc:RGB3 size: 1920x1080

    [   73.906222] vip2-s0: CSC active on Port A: going Y2R

    [   73.906225] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906230] vip2-s0: try_fmt loop:0 fourcc:RGB3 size: 1920x1080

    [   73.906233] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906237] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906241] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906245] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906258] vip2-s0: try_fmt fourcc:RGB3 size: 1920x1080

    [   73.906262] vip2-s0: CSC active on Port A: going Y2R

    [   73.906266] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906270] vip2-s0: try_fmt loop:0 fourcc:RGB3 size: 1920x1080

    [   73.906274] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906277] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906281] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906285] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906289] vip2-s0: calc_format_size: fourcc:RGB3 size: 1920x1080 bpl:5760 img_size:6220800

    [   73.906303] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906318] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906323] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.906342] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080

    [   73.906346] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906350] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080

    [   73.906354] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906357] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906361] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906365] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906370] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400

    [   73.906379] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080

    [   73.906382] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906387] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080

    [   73.906390] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906394] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906398] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906402] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906413] vip2-s0: try_fmt fourcc:NV12 size: 1920x1080

    [   73.906417] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906422] vip2-s0: try_fmt loop:0 fourcc:NV12 size: 1920x1080

    [   73.906425] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906429] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906433] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906437] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906442] vip2-s0: calc_format_size: fourcc:NV12 size: 1920x1080 bpl:1920 img_size:3110400

    [   73.906455] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906469] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906474] vip2-s0: vip_enum_framesizes: index: 0 code: 2006 W:[1920,1920] H:[1080,1080]

    [   73.906494] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080

    [   73.906498] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906502] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080

    [   73.906506] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906510] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906514] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906518] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906523] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200

    [   73.906531] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080

    [   73.906535] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906540] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080

    [   73.906544] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906547] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906551] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906555] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906567] vip2-s0: try_fmt fourcc:YVYU size: 1920x1080

    [   73.906571] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906575] vip2-s0: try_fmt loop:0 fourcc:YVYU size: 1920x1080

    [   73.906579] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906583] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906587] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906591] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906596] vip2-s0: calc_format_size: fourcc:YVYU size: 1920x1080 bpl:3840 img_size:4147200

    [   73.906609] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906781] vip2-s0: s_fmt input fourcc:YUYV size: 1920x1080 bpl:3840 img_size:0

    [   73.906786] vip2-s0: try_fmt fourcc:YUYV size: 1920x1080

    [   73.906790] adv7842 4-0020: adv7842_enum_frame_sizes:

    [   73.906795] vip2-s0: try_fmt loop:0 fourcc:YUYV size: 1920x1080

    [   73.906799] vip2-s0: try_fmt loop:0 found new larger: 1920x1080

    [   73.906803] vip2-s0: try_fmt loop:0 found at least larger: 1920x1080

    [   73.906807] vip2-s0: try_fmt loop:0 found new best: 1920x1080

    [   73.906811] vip2-s0: try_fmt loop:0 found direct match: 1920x1080

    [   73.906816] vip2-s0: calc_format_size: fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200

    [   73.906822] vip2-s0: s_fmt try_fmt fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200

    [   73.906827] vip2-s0: s_fmt fourcc:YUYV size: 1920x1080 bpl:3840 img_size:4147200

    [   73.906831] vip2-s0: s_fmt pix_to_mbus mbus_code: 2006 size: 1920x1080

    [   73.906835] adv7842 4-0020: adv7842_set_format start

    [   73.919920] adv7842 4-0020: adv7842_get_format:

    [   73.919927] vip2-s0: s_fmt subdev fmt mbus_code: 2006 size: 1920x1080

    [   73.919931] vip2-s0: s_fmt vpdma data type: 0x07

    [   74.268036] vip2-s0: get 3 buffer(s) of size 4147200 each.

    [   74.274708] vip2-s0: vip_set_slice_path:

    [   74.274717] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000

    [   74.274721] vip2-s0: vip_set_slice_path:

    [   74.274726] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 40008000

    [   74.275009] adv7842 4-0020: adv7842_s_stream:

    [   74.275020] vip2-s0: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:0

    [   74.275026] vip2-s0: start_dma: vb2 buf idx:0, dma_addr:0xfe600000

    [   74.276149] vip2-s0: vip_load_vpdma_list_fifo: start_dma vb2 buf idx:1

    [   74.276155] vip2-s0: start_dma: vb2 buf idx:1, dma_addr:0xfea00000

    [   74.277279] vip2-s0: added next buffer

    [   74.277284] vip2-s0: start_dma: vb2 buf idx:2, dma_addr:0xfee00000

    [   74.317360] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.317366] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.317371] vip2-s0: vip buffer complete 0xed099200, 0x0

    [   74.317379] vip2-s0: Dropping frame

    [   74.317384] vip2-s0: start_dma: dropped

    [   74.350689] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.350696] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.350701] vip2-s0: vip buffer complete 0xed099800, 0x0

    [   74.350709] vip2-s0: Dropping frame

    [   74.350714] vip2-s0: start_dma: dropped

    [   74.350755] vip2-s0: get 1 buffer(s) of size 4147200 each.

    [   74.384018] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.384025] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.384030] vip2-s0: vip buffer complete 0xed098e00, 0x0

    [   74.384038] vip2-s0: added next buffer

    [   74.384044] vip2-s0: start_dma: vb2 buf idx:0, dma_addr:0xfe600000

    [   74.417346] vip2-s0: IRQ_STATUS0 0x1

    [   74.417352] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.417357] vip2-s0: vip buffer complete 0xed91b200, 0x1

    [   74.417362] vip2-s0: added next buffer

    [   74.417368] vip2-s0: start_dma: vb2 buf idx:3, dma_addr:0xff200000

    [   74.450675] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.450681] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.450686] vip2-s0: vip buffer complete 0xed91ba00, 0x1

    [   74.450690] vip2-s0: added next buffer

    [   74.450696] vip2-s0: start_dma: vb2 buf idx:1, dma_addr:0xfea00000

    [   74.484004] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.484010] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.484015] vip2-s0: vip buffer complete 0xed099200, 0x0

    [   74.484023] vip2-s0: added next buffer

    [   74.484028] vip2-s0: start_dma: vb2 buf idx:2, dma_addr:0xfee00000

    [   74.517334] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.517340] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.517345] vip2-s0: vip buffer complete 0xed9a5400, 0x0

    [   74.517353] vip2-s0: added next buffer

    [   74.517359] vip2-s0: start_dma: vb2 buf idx:0, dma_addr:0xfe600000

    [   74.550663] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.550669] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.550674] vip2-s0: vip buffer complete 0xed099800, 0x0

    [   74.550682] vip2-s0: added next buffer

    [   74.550688] vip2-s0: start_dma: vb2 buf idx:3, dma_addr:0xff200000

    [   74.583995] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.584002] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.584008] vip2-s0: vip buffer complete 0xed098e00, 0x0

    [   74.584017] vip2-s0: added next buffer

    [   74.584023] vip2-s0: start_dma: vb2 buf idx:1, dma_addr:0xfea00000

    [   74.617322] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.617329] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.617334] vip2-s0: vip buffer complete 0xed099200, 0x0

    [   74.617342] vip2-s0: added next buffer

    [   74.617348] vip2-s0: start_dma: vb2 buf idx:2, dma_addr:0xfee00000

    [   74.650650] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.650656] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.650661] vip2-s0: vip buffer complete 0xed9a5400, 0x0

    [   74.650669] vip2-s0: added next buffer

    [   74.650674] vip2-s0: start_dma: vb2 buf idx:0, dma_addr:0xfe600000

    [   74.683979] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.683984] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.683989] vip2-s0: vip buffer complete 0xed099800, 0x0

    [   74.683997] vip2-s0: Dropping frame

    [   74.684002] vip2-s0: start_dma: dropped

    [   74.717309] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.717316] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.717322] vip2-s0: vip buffer complete 0xed098e00, 0x0

    [   74.717331] vip2-s0: Dropping frame

    [   74.717336] vip2-s0: start_dma: dropped

    [   74.717384] vip2-s0: get 1 buffer(s) of size 4147200 each.

    [   74.750639] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.750647] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.750653] vip2-s0: vip buffer complete 0xed099200, 0x0

    [   74.750662] vip2-s0: added next buffer

    [   74.750669] vip2-s0: start_dma: vb2 buf idx:4, dma_addr:0xff600000

    [   74.750713] vip2-s0: get 1 buffer(s) of size 4147200 each.

    [   74.750738] vip 48990000.vip: dma_alloc_coherent of size 4149248 failed

    [   74.783969] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.783977] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.783985] vip2-s0: vip buffer complete 0xed91b800, 0x1

    [   74.783992] vip2-s0: Dropping frame

    [   74.784000] vip2-s0: start_dma: dropped

    [   74.817297] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.817306] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.817314] vip2-s0: vip buffer complete 0xed91b200, 0x1

    [   74.817321] vip2-s0: Dropping frame

    [   74.817328] vip2-s0: start_dma: dropped

    [   74.850627] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.850635] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.850641] vip2-s0: vip buffer complete 0xedba0000, 0x0

    [   74.850649] vip2-s0: added next buffer

    [   74.850655] vip2-s0: start_dma: vb2 buf idx:0, dma_addr:0xfe600000

    [   74.883956] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.883963] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.883969] vip2-s0: vip buffer complete 0xed91ba00, 0x1

    [   74.883974] vip2-s0: added next buffer

    [   74.883981] vip2-s0: start_dma: vb2 buf idx:3, dma_addr:0xff200000

    [   74.917285] vip2-s0: IRQ 366 VIP_INT0_STATUS0 0x1

    [   74.917293] vip2-s0: IRQ 0: handling LIST0_COMPLETE

    [   74.917299] vip2-s0: vip buffer complete 0xed91b800, 0x1

    [   74.917304] vip2-s0: added next buffer

    [   74.917311] vip2-s0: start_dma: vb2 buf idx:1, dma_addr:0xfea00000

    [   74.942424] vip2-s0: vip_stop_streaming:

    [   74.942432] vip2-s0: vip_disable_sc_path:

    [   74.942442] adv7842 4-0020: adv7842_s_stream:

    [   74.942448] vip2-s0: Clear channel no: 38

    [   74.983455] vip2-s0: vip_release

    [   74.983469] vip2-s0: vip_release_stream: stream instance 0xdfeaac60edf08000

    [   74.983475] vip2-s0: vip_release_port: port instance 0xed900300ed98a410

    root@am57xx-evm:~#

    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0            

    Thanks

    Marc

  • Hello,

    no update on this?!

    in the RidgeRun sdk all memory sizes can easily be adjusted via sdk menu config tool. There is also an example how to calculate the neeeded memory sizes.

    But we don't use RidgeRun sdk. How can we adjust the memory pools in Ti sdk? We capture 1920x1080p30 via vip and use gstreamer pipeline with dma buffering.There should be a boot argument and/or kernel config option to increase dma coherent memory pool. So give us a hint please.

    Thanks

    Marc

  • Hello,

    Let me ask the video expert.

    BR
    Margarita
  • Additional info:

    If we run the pipeline directly after startup it seems to run without interruption. If we abort the pipeline (CTRL-C) several times and restart it, the dma_alloc_failed error occurs immediately after starting it. So it seems as if something isn't cleaned up when pressing CTRL-C when gst-launch is running.


    Just some additional questions to locate the error:


    1. Is there an explanation (picture) of the default memory map of the psdk 04.00.00.04 for AM572x EVM?
    2. Is there a tool where we can see the actual usage of the memory pools?
    3. Which pools ared used by the pipeline? From which pool does dma_alloc_buffer() retrieve the buffer (v4l2src)?
    4. If we run our gstreamer pipeline (see above) how can we see which processors (ARM A15, ARM M4, DSP,...) is executing which tasks?

    Thanks in advance

    Marc

  • Hello Marc,

    Marc48067 said:
    If we run the pipeline directly after startup it seems to run without interruption. If we abort the pipeline (CTRL-C) several times and restart it, the dma_alloc_failed error occurs immediately after starting it.

    Gstreamer point of view you should have -e in the pipeline if you must press ctrl+c. -e option will causes gst-lanch to intercept and send eos to the pads. All pads should receive eos this takes a while. The other option is to set v4l2crs's property num-buffers ( v4l2src  num-buffers=1000 ) instead of using ctrl+c.


    Marc48067 said:
    So it seems as if something isn't cleaned up when pressing CTRL-C when gst-launch is running.

    You could try to add --gst-debug=GST_REFCOUNTING:5 to the pipeline.

    This is gstreamer point of view.

    BR
    Margarita

  • When I scale down the resolution at vpe, everything works fine. 

    gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 num-buffers = 100 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! 'video/x-raw, format=(string)NV12, width=(int)800, height=(int)600' ! tee name=t ! queue ! ducatih264enc ! queue ! h264parse ! mpegtsmux ! udpsink host=192.168.3.147 port=5555 sync=false t. ! queue ! kmssink connector=36 -e -v

    I think memory pools are too small/fragmented. So it would be nice to know from which pools the v4l2 and the following gstreamer blocks get their memory from and to have a look inside those pools during rutime.

    Additionally we would ike to know how to increase those pools or use other pools for the tasks. 

    Is the memory retrieved from the cma blocks defined in am57xx-beagle-x15-common.dtsi?

    memory@0 {
    device_type = "memory";
    reg = <0x0 0x80000000 0x0 0x80000000>;
    };

    reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;
    ranges;

    ipu2_cma_pool: ipu2_cma@95800000 {
    compatible = "shared-dma-pool";
    reg = <0x0 0x95800000 0x0 0x3800000>;
    reusable;
    status = "okay";
    };

    dsp1_cma_pool: dsp1_cma@99000000 {
    compatible = "shared-dma-pool";
    reg = <0x0 0x99000000 0x0 0x4000000>;
    reusable;
    status = "okay";
    };

    ipu1_cma_pool: ipu1_cma@9d000000 {
    compatible = "shared-dma-pool";
    reg = <0x0 0x9d000000 0x0 0x2000000>;
    reusable;
    status = "okay";
    };

    dsp2_cma_pool: dsp2_cma@9f000000 {
    compatible = "shared-dma-pool";
    reg = <0x0 0x9f000000 0x0 0x800000>;
    reusable;
    status = "okay";
    };
    };

  • It seems that cma_alloc() fails:

    : cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.236284] cma: cma_alloc(): returned eff67800

    [  851.238405] cma: cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.238812] cma: cma_alloc(): returned eff70800

    [  851.241043] cma: cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.241460] cma: cma_alloc(): returned eff79800

    [  851.243996] adv7842 4-0020: adv7842_s_stream:

    [  851.324171] cma: cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.324658] cma: cma_alloc(): returned eff82800

    [  851.690753] cma: cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.693093] cma: cma_alloc(): returned eff8b800

    [  851.724075] cma: cma_alloc(cma c10804d8, count 1013, align 8)

    [  851.724085] cma: cma_alloc(): returned   (null)

    [  851.724094] vip 48990000.vip: dma_alloc_coherent of size 4149248 failed

    [  851.918426] adv7842 4-0020: adv7842_s_stream:

    [  851.918973] cma: cma_release(page eff67800)

    [  851.920868] cma: cma_release(page eff70800)

    [  851.921350] cma: cma_release(page eff79800)

    [  851.921826] cma: cma_release(page eff82800)

    [  851.922300] cma: cma_release(page eff8b800)

  • Hello,

    I have tried around 20 times to execute this pipeline:
    gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=NV12,width=1920,height=1080' ! tee name=t ! queue ! ducatih264enc ! queue ! h264parse ! mpegtsmux ! fakesink silent=true t. ! queue ! kmssink scale=true -v -e
    and press ctrl+c.

    Could you try with it on your side?

    I replace udpsink with fakesink.
    If the above works for you could try to set udpsink sync=true?

    BR
    Margarita

  • Hi Margarita,

    I tested your pipeline, it works. I realized when using kmssink to output the video on HDMI, the pipeline fails immediately. Could you try to use kmssink connector=36 in your pipeline? On my side it immediately aborts. Perhaps you could activate debugging messages for v4l2, vip, vpe and kernel features -> cma debug messages so that system load is similar to mine. It must have something to do with kmssink in combination with HDMI output.

    Thanks

    Marc

  • Hello,

    I am sorry but could you link the latest pipeline that you are using?
    Do you setting the kmssink scale property?

    BR
    Margarita
  • gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=NV12,width=1920,height=1080' ! tee name=t ! queue ! ducatih264enc ! queue ! h264parse ! mpegtsmux ! fakesink silent=true t. ! queue ! kmssink connector=36 scale=true -v -e

    Enable Debug messages for v4l2, vip, vpe and kernel features -> cma debug messages!!