All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to capture adv7280-m on i.MX6Q
@ 2021-05-17 20:58 Fabio Estevam
  2021-05-17 23:48 ` Fabio Estevam
  0 siblings, 1 reply; 14+ messages in thread
From: Fabio Estevam @ 2021-05-17 20:58 UTC (permalink / raw)
  To: Schrempf Frieder, Steve Longerbeam, Tim Harvey, Philipp Zabel
  Cc: Lars-Peter Clausen, linux-media, Nicolas Dufresne

Hi,

I am trying to capture from an adv7280-m (via MIPI-CSI2 interface) on
an imx6q board.

Here is the configuration:

media-ctl -e "adv7180 2-0020"
/dev/v4l-subdev13

media-ctl -e "ipu1_ic_prpvf capture"
/dev/video2

v4l2-ctl --device /dev/v4l-subdev13 --set-standard PAL
media-ctl -l "'adv7180 2-0020':0 -> 'imx6-mipi-csi2':0[1]"
media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]"
media-ctl -l "'ipu1_csi1':1 -> 'ipu1_vdic':0[1]";
media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]"
media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]"
media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]"
media-ctl -V "'adv7180 2-0020':0 [fmt:UYVY2X8/720x480 field:seq-tb]"
media-ctl -V "'imx6-mipi-csi2':2 [fmt:UYVY2X8/720x480]"
media-ctl -V "'ipu1_csi1':1 [fmt:AYUV32/800x480]";
media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/800x480 field:none]"
media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/800x480 field:none]"
media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/800x480 field:none]"
v4l2-ctl -d2 --set-fmt-video=field=none

Then when I try to launch Gstreamer:

gst-launch-1.0 v4l2src device=/dev/video2 ! kmssink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[  124.519578] ipu1_ic_prpvf: pipeline start failed with -32
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed
to allocate required memory.
Additional debug info:
../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.032104334
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)

Does anyone have any ideas as to why the pipeline fails?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-06-25  9:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 20:58 Unable to capture adv7280-m on i.MX6Q Fabio Estevam
2021-05-17 23:48 ` Fabio Estevam
2021-06-08  3:13   ` Fabio Estevam
2021-06-08  7:09     ` Philipp Zabel
2021-06-08  7:54       ` Ian Arkver
2021-06-08 10:55         ` Frieder Schrempf
2021-06-08 11:20           ` Ian Arkver
2021-06-08 11:21           ` Fabio Estevam
2021-06-09  2:34       ` Fabio Estevam
2021-06-09  7:20         ` Philipp Zabel
2021-06-09 12:27           ` Fabio Estevam
2021-06-09 17:28           ` Ian Arkver
2021-06-25  1:20             ` Fabio Estevam
2021-06-25  9:22               ` Ian Arkver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.