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: Memory allocation error in VIP capture

Part Number: AM5728

Tool/software: Linux

Hi,

we are developing a custom board based AM5728 GP EVM. in our board we are tying to capture video on VIN5A and VIN6A simultaneously. The g-streamer pipeline is not working. Below is the pipeline

root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device="/dev/video3" io-mode=4 ! 'video/x-raw,width=1024,height=768,framerate=30
/1' ! vpe num-input-buffers=8  ! 'video/x-raw,height=768,width=1024,framerate=30/1' ! queue ! ducatih264enc ! h264parse ! que
ue ! mp4mux  ! filesink location=/home/root/19_01.mp4 v4l2src device="/dev/video2" io-mode=4 ! 'video/x-raw,width=1024,height
=768,framerate=30/1'! vpe num-input-buffers=8 ! 'video/x-raw,height=768,width=1024,framerate=30/1' ! queue ! ducatih264enc !
h264parse ! queue ! mp4mux ! filesink location=/home/root/19_02.mp4
Setting pipeline to PAUSED ...
[  231.985071] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[  232.052567] vip 489b0000.vip: dma_alloc_coherent of size 1572864 failed
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../../../gst-plugins-good-1.6.3/sys/v4l2/gstv4l2src.c(511): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
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 not-negotiated (-4)
[  233.438273] vip 489b0000.vip: dma_alloc_coherent of size 1572864 failed

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

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

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

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

Please help us to resolve the issue

BR

Marka reddy