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