root@am62xx-evm:~# dmesg | grep csi [ 0.256531] i2c 1-0044: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000 [ 0.351377] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY root@am62xx-evm:~# dmesg | grep tp2855 [ 6.635043] tp2855 1-0044: tp2855: probing start (v5 - simplified pads)... [ 6.635132] tp2855 1-0044: GPIO lookup for consumer reset [ 6.635140] tp2855 1-0044: using device tree for GPIO lookup [ 6.635182] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/bus@f0000/i2c@20010000/tp2855@44[0]' - status (0) [ 6.646398] tp2855 1-0044: Consider updating driver tp2855 to match on endpoints [ 6.790276] tp2855 1-0044: tp2855: probe succeeded (v5)! root@am62xx-evm:~# ls /dev/ autofs loop2 mtd6 ptype tty2 tty47 ttyS5 vcs2 block loop3 mtd6ro ptypf tty20 tty48 ttyS6 vcs3 btrfs-control loop4 mtdblock0 random tty21 tty49 ttyS7 vcs4 bus loop5 mtdblock1 rfkill tty22 tty5 ttyS8 vcs5 char loop6 mtdblock2 rpmsg0 tty23 tty50 ttyS9 vcs6 console loop7 mtdblock3 rpmsg_ctrl0 tty24 tty51 ttyp0 vcsa cpu_dma_latency mapper mtdblock4 rtc tty25 tty52 ttyp1 vcsa1 crypto media0 mtdblock5 rtc0 tty26 tty53 ttyp2 vcsa2 cuse mem mtdblock6 rtc1 tty27 tty54 ttyp3 vcsa3 disk mmcblk0 net shm tty28 tty55 ttyp4 vcsa4 dma_heap mmcblk0boot0 null snapshot tty29 tty56 ttyp5 vcsa5 dri mmcblk0boot1 port snd tty3 tty57 ttyp6 vcsa6 fb mmcblk0p1 pps0 stderr tty30 tty58 ttyp7 vcsu fb0 mmcblk0rpmb ptmx stdin tty31 tty59 ttyp8 vcsu1 fd mmcblk1 ptp0 stdout tty32 tty6 ttyp9 vcsu2 full mmcblk1p1 pts tee0 tty33 tty60 ttypa vcsu3 fuse mmcblk1p2 ptyp0 teepriv0 tty34 tty61 ttypb vcsu4 gpiochip0 mqueue ptyp1 tty tty35 tty62 ttypc vcsu5 gpiochip1 mtd0 ptyp2 tty0 tty36 tty63 ttypd vcsu6 gpiochip2 mtd0ro ptyp3 tty1 tty37 tty7 ttype vfio hugepages mtd1 ptyp4 tty10 tty38 tty8 ttypf video0 i2c-0 mtd1ro ptyp5 tty11 tty39 tty9 udev_network_queue video1 i2c-1 mtd2 ptyp6 tty12 tty4 ttyGS0 uinput video2 initctl mtd2ro ptyp7 tty13 tty40 ttyS0 urandom video3 input mtd3 ptyp8 tty14 tty41 ttyS1 v4l zero kmsg mtd3ro ptyp9 tty15 tty42 ttyS10 v4l-subdev0 log mtd4 ptypa tty16 tty43 ttyS11 v4l-subdev1 loop-control mtd4ro ptypb tty17 tty44 ttyS2 v4l-subdev2 loop0 mtd5 ptypc tty18 tty45 ttyS3 vcs loop1 mtd5ro ptypd tty19 tty46 ttyS4 vcs1 root@am62xx-evm:~# ls /dev/dri/ by-path card0 card1 renderD128 root@am62xx-evm:~# media-ctl -p Media controller API version 6.1.33 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:30102000.ticsi2rx hw revision 0x1 driver version 6.1.33 Device topology - entity 1: 30102000.ticsi2rx (5 pads, 5 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source -> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] - entity 7: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] <- "tp2855 1-0044":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE] pad2: Source pad3: Source pad4: Source - entity 13: tp2855 1-0044 (1 pad, 1 link, 0 route) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev2 pad0: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE] - entity 19: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE] - entity 25: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video1 pad0: Sink <- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE] - entity 31: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video2 pad0: Sink <- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE] - entity 37: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video3 pad0: Sink <- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE] root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"tp2855 1-0044":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=YUYV --verbose root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"cdns_csi2rx.30101000.csi-bridge":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"tp2855 1-0044":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=YUYV --verbose VIDIOC_QUERYCAP: ok VIDIOC_G_FMT: ok VIDIOC_S_FMT: ok Format Video Capture: Width/Height : 1280/720 Pixel Format : 'YUYV' (YUYV 4:2:2) Field : None Bytes per Line : 2560 Size Image : 1843200 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Limited Range) Flags : root@am62xx-evm:~# media-ctl -p Media controller API version 6.1.33 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:30102000.ticsi2rx hw revision 0x1 driver version 6.1.33 Device topology - entity 1: 30102000.ticsi2rx (5 pads, 5 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source -> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] - entity 7: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] <- "tp2855 1-0044":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE] pad2: Source pad3: Source pad4: Source - entity 13: tp2855 1-0044 (1 pad, 1 link, 0 route) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev2 pad0: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE] - entity 19: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE] - entity 25: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video1 pad0: Sink <- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE] - entity 31: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video2 pad0: Sink <- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE] - entity 37: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video3 pad0: Sink <- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE] root@am62xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! kmssink sync=true Setting pipeline to PAUSED ... ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not open DRM module (NULL) Additional debug info: ../gst-plugins-bad-1.20.6/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: reason: No such file or directory (2) ERROR: pipeline doesn't want to preroll. ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: Failed to start ERROR: pipeline doesn't want to preroll. Failed to set pipeline to PAUSED. Setting pipeline to NULL ... Freeing pipeline ... root@am62xx-evm:~# GST_DEBUG=4 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! kmssink sync=true 0:00:00.000411470 693 0x1d998600 INFO GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.6 0:00:00.000726160 693 0x1d998600 INFO GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib 0:00:00.000792050 693 0x1d998600 INFO GST_INIT gst.c:610:init_pre: Linux am62xx-evm 6.1.33-g40c32565ca #1 SMP PREEMPT Thu Jul 6 14:17:24 UTC 2023 aarch64 0:00:00.001905885 693 0x1d998600 INFO GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages 0:00:00.003947505 693 0x1d998600 INFO GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts 0:00:00.004830585 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.005280755 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.005330110 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.005547340 693 0x1d998600 INFO GST_REGISTRY gstregistry.c:1826:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.068778275 693 0x1d998600 INFO GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.063100 seconds 0:00:00.069213700 693 0x1d998600 INFO GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.074028890 693 0x1d998600 INFO GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed 0:00:00.074105570 693 0x1d998600 INFO GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done 0:00:00.074148370 693 0x1d998600 INFO GST_INIT gst.c:826:init_post: GLib runtime version: 2.72.3 0:00:00.074178780 693 0x1d998600 INFO GST_INIT gst.c:828:init_post: GLib headers version: 2.72.3 0:00:00.074199490 693 0x1d998600 INFO GST_INIT gst.c:830:init_post: initialized GStreamer successfully 0:00:00.074345165 693 0x1d998600 INFO GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! kmssink sync=true ' 0:00:00.088088370 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded 0:00:00.088200890 693 0x1d998600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "v4l2src" 0:00:00.094234820 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.095829045 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoconvert.so" loaded 0:00:00.095904465 693 0x1d998600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "videoconvert" 0:00:00.097186345 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.097275980 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.099283385 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstkms.so" loaded 0:00:00.099364560 693 0x1d998600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "kmssink" 0:00:00.100603055 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.101431555 693 0x1d998600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline" 0:00:00.443103395 693 0x1d998600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstV4l2Src named v4l2src0 to some pad of GstVideoConvert named videoconvert0 (0/0) with caps "video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720" 0:00:00.445820690 693 0x1d998600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded 0:00:00.445909895 693 0x1d998600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "capsfilter" 0:00:00.446260600 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.446326115 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.446386165 693 0x1d998600 INFO GST_STATES gstbin.c:2070:gst_bin_get_state_func: getting state 0:00:00.446502815 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:00.446558155 693 0x1d998600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.446606310 693 0x1d998600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink 0:00:00.446643070 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:sink 0:00:00.446674510 693 0x1d998600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads 0:00:00.446738160 693 0x1d998600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink 0:00:00.446801895 693 0x1d998600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.446903300 693 0x1d998600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful 0:00:00.446927580 693 0x1d998600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.446955220 693 0x1d998600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:00.447009825 693 0x1d998600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element capsfilter0:src to element videoconvert0:(any) 0:00:00.447038905 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:src 0:00:00.447080210 693 0x1d998600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link capsfilter0:src and videoconvert0:sink 0:00:00.785916925 693 0x1d998600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.789046315 693 0x1d998600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: capsfilter0 and videoconvert0 in same bin, no need for ghost pads 0:00:00.789241545 693 0x1d998600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link capsfilter0:src and videoconvert0:sink 0:00:00.789425545 693 0x1d998600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.790631215 693 0x1d998600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked capsfilter0:src and videoconvert0:sink, successful 0:00:00.790721045 693 0x1d998600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.790761935 693 0x1d998600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:00.790888050 693 0x1d998600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstVideoConvert named videoconvert0 to some pad of GstKMSSink named kmssink0 (0/0) with caps "(NULL)" 0:00:00.790932770 693 0x1d998600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element videoconvert0:(any) to element kmssink0:(any) 0:00:00.790988240 693 0x1d998600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link videoconvert0:src and kmssink0:sink 0:00:00.791617515 693 0x1d998600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: videoconvert0 and kmssink0 in same bin, no need for ghost pads 0:00:00.791719100 693 0x1d998600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link videoconvert0:src and kmssink0:sink 0:00:00.792234765 693 0x1d998600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked videoconvert0:src and kmssink0:sink, successful 0:00:00.792279885 693 0x1d998600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.792314795 693 0x1d998600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding Setting pipeline to PAUSED ... 0:00:00.792915460 693 0x1d998600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:01.144973755 693 0x1d998600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: Could not open DRM module (NULL) 0:00:01.145323870 693 0x1d998600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: reason: No such file or directory (2) 0:00:01.145662460 693 0x1d998600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: Could not open DRM module (NULL) ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not open DRM module (NULL) Additional debug info: ../gst-plugins-bad-1.20.6/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: reason: No such file or directory (2) ERROR: pipeline doesn't want to preroll. 0:00:01.147078885 693 0x1d998600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: Could not open DRM module (NULL) 0:00:01.147291195 693 0x1d998600 WARN basesink gstbasesink.c:5878:gst_base_sink_change_state: error: Failed to start 0:00:01.147546905 693 0x1d998600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: Failed to start ERROR: pipeline doesn't want to preroll. 0:00:01.148417710 693 0x1d998600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. 0:00:01.148605325 693 0x1d998600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return 0:00:01.148906405 693 0x1d998600 INFO GST_STATES gstelement.c:2680:gst_element_abort_state: aborting state from NULL to READY 0:00:01.149110865 693 0x1d998600 INFO GST_STATES gstbin.c:2945:gst_bin_change_state_func: child 'kmssink0' failed to go to state 2(READY) 0:00:01.149463510 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.149694455 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.149917885 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.150122755 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.150344845 693 0x1d998600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return Failed to set pipeline to PAUSED. Setting pipeline to NULL ... 0:00:01.150971915 693 0x1d998600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.151158020 693 0x1d998600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.485103845 693 0x1d998600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'kmssink0' changed state to 1(NULL) successfully 0:00:01.485405850 693 0x1d998600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.485587265 693 0x1d998600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.485773335 693 0x1d998600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 1(NULL) successfully 0:00:01.486002025 693 0x1d998600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.486180145 693 0x1d998600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.486366485 693 0x1d998600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 1(NULL) successfully 0:00:01.486573205 693 0x1d998600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.486744665 693 0x1d998600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.486929125 693 0x1d998600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 1(NULL) successfully 0:00:01.487128200 693 0x1d998600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL Freeing pipeline ... 0:00:01.487706575 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking v4l2src0:src(0x1dc00080) and capsfilter0:sink(0x1dc009c0) 0:00:01.488008960 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink 0:00:01.488308395 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking capsfilter0:src(0x1dc00c10) and videoconvert0:sink(0x1dc002d0) 0:00:01.488549020 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked capsfilter0:src and videoconvert0:sink 0:00:01.488873655 693 0x1d998600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "capsfilter0" 0:00:01.489191845 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x1dc101d0 dispose 0:00:01.489371750 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.489851050 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.818566600 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x1dc101d0 parent class dispose 0:00:01.818793770 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x1dc101d0 finalize 0:00:01.818963735 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x1dc101d0 finalize parent 0:00:01.819232100 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking videoconvert0:src(0x1dc00520) and kmssink0:sink(0x1dc00770) 0:00:01.819500125 693 0x1d998600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked videoconvert0:src and kmssink0:sink 0:00:01.819746455 693 0x1d998600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "kmssink0" 0:00:01.820027760 693 0x1d998600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "videoconvert0" 0:00:01.820257860 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x1dbf20e0 dispose 0:00:01.820428415 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.820786515 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.821027775 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x1dbf20e0 parent class dispose 0:00:01.821212285 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x1dbf20e0 finalize 0:00:01.821376925 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x1dbf20e0 finalize parent 0:00:01.821632095 693 0x1d998600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "v4l2src0" 0:00:01.821861395 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x1dbfe180 dispose 0:00:01.822030005 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.822255205 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x1dbfe180 parent class dispose 0:00:01.822448115 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x1dbfe180 finalize 0:00:01.822613445 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x1dbfe180 finalize parent 0:00:01.822784280 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x1dc0c080 dispose 0:00:02.152725175 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x1dc0a330 dispose 0:00:02.152932325 693 0x1d998600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:02.153180210 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x1dc0a330 parent class dispose 0:00:02.153663440 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x1dc0a330 finalize 0:00:02.153845270 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x1dc0a330 finalize parent 0:00:02.154276340 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x1dc0c080 parent class dispose 0:00:02.154459690 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x1dc0c080 finalize 0:00:02.154630965 693 0x1d998600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x1dc0c080 finalize parent 0:00:02.154809240 693 0x1d998600 INFO GST_INIT gst.c:1116:gst_deinit: deinitializing GStreamer 0:00:02.211628470 693 0x1d998600 INFO GST_INIT gst.c:1260:gst_deinit: deinitialized GStreamer root@am62xx-evm:~# yavta -s 1280x720 -f YUYV -Fframe-#.yuv /dev/video0 Device /dev/video0 opened. Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes. Video format set: YUYV (56595559) 1280x720 (stride 2560) field none buffer size 1843200 Video format: YUYV (56595559) 1280x720 (stride 2560) field none buffer size 1843200 root@am62xx-evm:~# yavta -s 1280x720 -f UYVY -Fframe-#.yuv /dev/video0 Device /dev/video0 opened. Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes. Video format set: UYVY (59565955) 1280x720 (stride 2560) field none buffer size 1843200 Video format: UYVY (59565955) 1280x720 (stride 2560) field none buffer size 1843200 root@am62xx-evm:~# yavta -c20 -f YUYV -s 1280x720 /dev/video0 Device /dev/video0 opened. Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes. Video format set: YUYV (56595559) 1280x720 (stride 2560) field none buffer size 1843200 Video format: YUYV (56595559) 1280x720 (stride 2560) field none buffer size 1843200 8 buffers requested. length: 1843200 offset: 0 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xffff9fb3e000. length: 1843200 offset: 1843200 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xffff9f97c000. length: 1843200 offset: 3686400 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xffff9f7ba000. length: 1843200 offset: 5529600 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xffff9f5f8000. length: 1843200 offset: 7372800 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffff9f436000. length: 1843200 offset: 9216000 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xffff9f274000. length: 1843200 offset: 11059200 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xffff9f0b2000. length: 1843200 offset: 12902400 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xffff9eef0000. 0 (0) [-] any 0 1843200 B 159.515978 159.516070 1141.553 fps ts mono/EoF 1 (1) [-] any 1 1843200 B 159.519954 159.520049 251.509 fps ts mono/EoF 2 (2) [-] any 2 1843200 B 159.529522 159.529558 104.515 fps ts mono/EoF 3 (3) [-] any 3 1843200 B 159.537959 159.537987 118.526 fps ts mono/EoF 4 (4) [-] any 4 1843200 B 159.541024 159.541048 326.264 fps ts mono/EoF 5 (5) [-] any 5 1843200 B 159.554623 159.554652 73.535 fps ts mono/EoF 6 (6) [-] any 6 1843200 B 159.562076 159.562106 134.174 fps ts mono/EoF 7 (7) [-] any 7 1843200 B 159.562824 159.562850 1336.898 fps ts mono/EoF 8 (0) [-] any 8 1843200 B 159.596446 159.596475 29.742 fps ts mono/EoF 9 (1) [-] any 9 1843200 B 159.596567 159.596594 8264.463 fps ts mono/EoF 10 (2) [-] any 10 1843200 B 159.629811 159.629854 30.081 fps ts mono/EoF 11 (3) [-] any 11 1843200 B 159.646446 159.646533 60.114 fps ts mono/EoF 12 (4) [-] any 12 1843200 B 159.646599 159.646670 6535.948 fps ts mono/EoF 13 (5) [-] any 13 1843200 B 159.663111 159.663198 60.562 fps ts mono/EoF 14 (6) [-] any 14 1843200 B 159.663243 159.663310 7575.758 fps ts mono/EoF 15 (7) [-] any 15 1843200 B 159.688537 159.688621 39.535 fps ts mono/EoF 16 (0) [-] any 16 1843200 B 159.696565 159.696648 124.564 fps ts mono/EoF 17 (1) [-] any 17 1843200 B 159.729773 159.729858 30.113 fps ts mono/EoF 18 (2) [-] any 18 1843200 B 159.729884 159.729969 9009.009 fps ts mono/EoF 19 (3) [-] any 19 1843200 B 159.763097 159.763125 30.109 fps ts mono/EoF Captured 20 frames in 0.248023 seconds (80.637538 fps, 148631110.256532 B/s). 8 buffers released. root@am62xx-evm:~# gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! fpsdisplaysink text-overlay=false name=fpssink video-sink="kmssink sync=false" sync=false -v Setting pipeline to PAUSED ... ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: Could not open DRM module (NULL) Additional debug info: ../gst-plugins-bad-1.20.6/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: reason: No such file or directory (2) ERROR: pipeline doesn't want to preroll. ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: Failed to start ERROR: pipeline doesn't want to preroll. Failed to set pipeline to PAUSED. Setting pipeline to NULL ... Freeing pipeline ... root@am62xx-evm:~# GST_DEBUG=4 gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! fpsdisplaysink text-overlay=false name=fpssink video-sink="kmssink sync=false" sync=false -v 0:00:00.000411135 706 0xb73f600 INFO GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.6 0:00:00.000606455 706 0xb73f600 INFO GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib 0:00:00.000666460 706 0xb73f600 INFO GST_INIT gst.c:610:init_pre: Linux am62xx-evm 6.1.33-g40c32565ca #1 SMP PREEMPT Thu Jul 6 14:17:24 UTC 2023 aarch64 0:00:00.001927225 706 0xb73f600 INFO GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages 0:00:00.004070585 706 0xb73f600 INFO GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts 0:00:00.004900045 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.005320720 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.005369600 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.005582920 706 0xb73f600 INFO GST_REGISTRY gstregistry.c:1826:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.068104530 706 0xb73f600 INFO GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.062392 seconds 0:00:00.068531280 706 0xb73f600 INFO GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.072660925 706 0xb73f600 INFO GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed 0:00:00.072737715 706 0xb73f600 INFO GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done 0:00:00.072779045 706 0xb73f600 INFO GST_INIT gst.c:826:init_post: GLib runtime version: 2.72.3 0:00:00.072808975 706 0xb73f600 INFO GST_INIT gst.c:828:init_post: GLib headers version: 2.72.3 0:00:00.072829685 706 0xb73f600 INFO GST_INIT gst.c:830:init_post: initialized GStreamer successfully 0:00:00.073008350 706 0xb73f600 INFO GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'v4l2src io-mode=dmabuf device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! fpsdisplaysink text-overlay=false name=fpssink video-sink=kmssink\ sync=false sync=false ' 0:00:00.086643975 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded 0:00:00.086761955 706 0xb73f600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "v4l2src" 0:00:00.092637970 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.102239190 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstdebugutilsbad.so" loaded 0:00:00.102352705 706 0xb73f600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "fpsdisplaysink" 0:00:00.103036450 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.103183565 706 0xb73f600 INFO GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'kmssink sync=false' 0:00:00.105243705 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstkms.so" loaded 0:00:00.105354320 706 0xb73f600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "kmssink" 0:00:00.106668085 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.107099195 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad kmssink0:sink 0:00:00.439655380 706 0xb73f600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline" 0:00:00.447885355 706 0xb73f600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstV4l2Src named v4l2src0 to some pad of GstFPSDisplaySink named fpssink (0/0) with caps "video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720" 0:00:00.452195565 706 0xb73f600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded 0:00:00.452283895 706 0xb73f600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "capsfilter" 0:00:00.452641790 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.452732050 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.452787225 706 0xb73f600 INFO GST_STATES gstbin.c:2070:gst_bin_get_state_func: getting state 0:00:00.452905755 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:00.452964020 706 0xb73f600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.453012065 706 0xb73f600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink 0:00:00.453044725 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:sink 0:00:00.453075485 706 0xb73f600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads 0:00:00.453139760 706 0xb73f600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink 0:00:00.453199975 706 0xb73f600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.453284970 706 0xb73f600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful 0:00:00.453309250 706 0xb73f600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.453335445 706 0xb73f600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:00.453408255 706 0xb73f600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element capsfilter0:src to element fpssink:(any) 0:00:00.453438105 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:src 0:00:00.784765340 706 0xb73f600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link capsfilter0:src and fpssink:sink 0:00:00.788566235 706 0xb73f600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.791152635 706 0xb73f600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: capsfilter0 and fpssink in same bin, no need for ghost pads 0:00:00.793280355 706 0xb73f600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link capsfilter0:src and fpssink:sink 0:00:00.796133520 706 0xb73f600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.796181100 706 0xb73f600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked capsfilter0:src and fpssink:sink, successful 0:00:00.796206760 706 0xb73f600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.796234650 706 0xb73f600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding Setting pipeline to PAUSED ... 0:00:00.796699585 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:00.796743770 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad kmssink0:sink 0:00:00.796779465 706 0xb73f600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link sink:proxypad0 and kmssink0:sink 0:00:00.796813585 706 0xb73f600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked sink:proxypad0 and kmssink0:sink, successful 0:00:00.796836245 706 0xb73f600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.796897505 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:01.152284020 706 0xb73f600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: Could not open DRM module (NULL) 0:00:01.152558715 706 0xb73f600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: reason: No such file or directory (2) 0:00:01.152910420 706 0xb73f600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: Could not open DRM module (NULL) ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: Could not open DRM module (NULL) Additional debug info: ../gst-plugins-bad-1.20.6/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: reason: No such file or directory (2) ERROR: pipeline doesn't want to preroll. 0:00:01.154507785 706 0xb73f600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: Could not open DRM module (NULL) 0:00:01.154725400 706 0xb73f600 WARN basesink gstbasesink.c:5878:gst_base_sink_change_state: error: Failed to start 0:00:01.155002860 706 0xb73f600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpssink/GstKMSSink:kmssink0: Failed to start ERROR: pipeline doesn't want to preroll. 0:00:01.155922745 706 0xb73f600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. 0:00:01.156110035 706 0xb73f600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return 0:00:01.156286940 706 0xb73f600 INFO GST_STATES gstelement.c:2680:gst_element_abort_state: aborting state from NULL to READY 0:00:01.156488010 706 0xb73f600 INFO GST_STATES gstbin.c:2945:gst_bin_change_state_func: child 'kmssink0' failed to go to state 2(READY) 0:00:01.156789705 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.157009715 706 0xb73f600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return 0:00:01.157197925 706 0xb73f600 INFO GST_STATES gstbin.c:2945:gst_bin_change_state_func: child 'fpssink' failed to go to state 2(READY) 0:00:01.157554640 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.157736680 706 0xb73f600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.158197335 706 0xb73f600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'kmssink0' changed state to 1(NULL) successfully 0:00:01.492130055 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.492432615 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.492646910 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.492846260 706 0xb73f600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return Failed to set pipeline to PAUSED. Setting pipeline to NULL ... 0:00:01.493448025 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.493725685 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.494014340 706 0xb73f600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.494207770 706 0xb73f600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'kmssink0' changed state to 1(NULL) successfully 0:00:01.494391945 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.494586105 706 0xb73f600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'fpssink' changed state to 1(NULL) successfully 0:00:01.494810130 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.494983085 706 0xb73f600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.495167190 706 0xb73f600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 1(NULL) successfully 0:00:01.495371650 706 0xb73f600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.495543550 706 0xb73f600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.495726105 706 0xb73f600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 1(NULL) successfully 0:00:01.495911790 706 0xb73f600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL Freeing pipeline ... 0:00:01.496432325 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking v4l2src0:src(0xb9a6080) and capsfilter0:sink(0xb9a6520) 0:00:01.496722580 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink 0:00:01.826282675 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking capsfilter0:src(0xb9a6770) and fpssink:sink(0xb9ae050) 0:00:01.826559470 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked capsfilter0:src and fpssink:sink 0:00:01.826788455 706 0xb73f600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "capsfilter0" 0:00:01.827119280 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0xb9b61e0 dispose 0:00:01.827295715 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.827656915 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.827892445 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0xb9b61e0 parent class dispose 0:00:01.828074390 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0xb9b61e0 finalize 0:00:01.828240080 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0xb9b61e0 finalize parent 0:00:01.828500385 706 0xb73f600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "fpssink" 0:00:01.828915580 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking sink:proxypad0(0xb9b0100) and kmssink0:sink(0xb9a62d0) 0:00:01.829119535 706 0xb73f600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked sink:proxypad0 and kmssink0:sink 0:00:01.829292375 706 0xb73f600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "kmssink0" 0:00:01.829504930 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0xb9ac200 dispose 0:00:01.829673140 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.830110450 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0xb9ac200 parent class dispose 0:00:01.830297450 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0xb9ac200 finalize 0:00:01.830463255 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0xb9ac200 finalize parent 0:00:01.830712815 706 0xb73f600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "v4l2src0" 0:00:01.830943165 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0xb9a4180 dispose 0:00:01.831113205 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:02.159913975 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0xb9a4180 parent class dispose 0:00:02.160119995 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0xb9a4180 finalize 0:00:02.160287885 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0xb9a4180 finalize parent 0:00:02.160460190 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0xb9ac460 dispose 0:00:02.160670115 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0xb9b3330 dispose 0:00:02.160835275 706 0xb73f600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:02.161066040 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0xb9b3330 parent class dispose 0:00:02.161499790 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0xb9b3330 finalize 0:00:02.161680105 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0xb9b3330 finalize parent 0:00:02.162255320 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0xb9ac460 parent class dispose 0:00:02.162483510 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0xb9ac460 finalize 0:00:02.162656995 706 0xb73f600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0xb9ac460 finalize parent 0:00:02.162833390 706 0xb73f600 INFO GST_INIT gst.c:1116:gst_deinit: deinitializing GStreamer 0:00:02.219828350 706 0xb73f600 INFO GST_INIT gst.c:1260:gst_deinit: deinitialized GStreamer root@am62xx-evm:~# kmscube -sh: kmscube: command not found root@am62xx-evm:~# GST_DEBUG=4 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! kmssink sync=false 0:00:00.000408815 708 0x20176600 INFO GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.6 0:00:00.000604030 708 0x20176600 INFO GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib 0:00:00.000665140 708 0x20176600 INFO GST_INIT gst.c:610:init_pre: Linux am62xx-evm 6.1.33-g40c32565ca #1 SMP PREEMPT Thu Jul 6 14:17:24 UTC 2023 aarch64 0:00:00.001811195 708 0x20176600 INFO GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages 0:00:00.004067725 708 0x20176600 INFO GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts 0:00:00.004883615 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.005313050 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.005362850 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.005577410 708 0x20176600 INFO GST_REGISTRY gstregistry.c:1826:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.068293940 708 0x20176600 INFO GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.062588 seconds 0:00:00.068731080 708 0x20176600 INFO GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.072691270 708 0x20176600 INFO GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed 0:00:00.072762095 708 0x20176600 INFO GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done 0:00:00.072800605 708 0x20176600 INFO GST_INIT gst.c:826:init_post: GLib runtime version: 2.72.3 0:00:00.072830270 708 0x20176600 INFO GST_INIT gst.c:828:init_post: GLib headers version: 2.72.3 0:00:00.072851595 708 0x20176600 INFO GST_INIT gst.c:830:init_post: initialized GStreamer successfully 0:00:00.073010080 708 0x20176600 INFO GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! kmssink sync=false ' 0:00:00.086823605 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded 0:00:00.086936885 708 0x20176600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "v4l2src" 0:00:00.092729490 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.094335015 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoconvert.so" loaded 0:00:00.094415970 708 0x20176600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "videoconvert" 0:00:00.095607685 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.095686930 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.097677135 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstkms.so" loaded 0:00:00.097753495 708 0x20176600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "kmssink" 0:00:00.099176605 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.429697745 708 0x20176600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline" 0:00:00.439565305 708 0x20176600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstV4l2Src named v4l2src0 to some pad of GstVideoConvert named videoconvert0 (0/0) with caps "video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720" 0:00:00.442271480 708 0x20176600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded 0:00:00.442363205 708 0x20176600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "capsfilter" 0:00:00.442718780 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:00.442787235 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:00.442842215 708 0x20176600 INFO GST_STATES gstbin.c:2070:gst_bin_get_state_func: getting state 0:00:00.442960500 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:00.443019655 708 0x20176600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.443071230 708 0x20176600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink 0:00:00.443108050 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:sink 0:00:00.443139645 708 0x20176600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads 0:00:00.443205465 708 0x20176600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink 0:00:00.443268470 708 0x20176600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.443369305 708 0x20176600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful 0:00:00.443395130 708 0x20176600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.443422085 708 0x20176600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:00.443477995 708 0x20176600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element capsfilter0:src to element videoconvert0:(any) 0:00:00.443507030 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:src 0:00:00.443547350 708 0x20176600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link capsfilter0:src and videoconvert0:sink 0:00:00.773479455 708 0x20176600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.774875140 708 0x20176600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: capsfilter0 and videoconvert0 in same bin, no need for ghost pads 0:00:00.774965975 708 0x20176600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link capsfilter0:src and videoconvert0:sink 0:00:00.775064010 708 0x20176600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:00.776279530 708 0x20176600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked capsfilter0:src and videoconvert0:sink, successful 0:00:00.776314400 708 0x20176600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.776349755 708 0x20176600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:00.776432040 708 0x20176600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstVideoConvert named videoconvert0 to some pad of GstKMSSink named kmssink0 (0/0) with caps "(NULL)" 0:00:00.776476055 708 0x20176600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element videoconvert0:(any) to element kmssink0:(any) 0:00:00.776528235 708 0x20176600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link videoconvert0:src and kmssink0:sink 0:00:00.777066715 708 0x20176600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: videoconvert0 and kmssink0 in same bin, no need for ghost pads 0:00:00.777121725 708 0x20176600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link videoconvert0:src and kmssink0:sink 0:00:00.777618565 708 0x20176600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked videoconvert0:src and kmssink0:sink, successful 0:00:00.777650450 708 0x20176600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:00.777681930 708 0x20176600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding Setting pipeline to PAUSED ... 0:00:00.778196245 708 0x20176600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:01.146229895 708 0x20176600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: Could not open DRM module (NULL) 0:00:01.146540190 708 0x20176600 WARN kmssink gstkmssink.c:850:gst_kms_sink_start: error: reason: No such file or directory (2) 0:00:01.146862355 708 0x20176600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: Could not open DRM module (NULL) ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not open DRM module (NULL) Additional debug info: ../gst-plugins-bad-1.20.6/sys/kms/gstkmssink.c(850): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: reason: No such file or directory (2) ERROR: pipeline doesn't want to preroll. 0:00:01.148335780 708 0x20176600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: Could not open DRM module (NULL) 0:00:01.148547875 708 0x20176600 WARN basesink gstbasesink.c:5878:gst_base_sink_change_state: error: Failed to start 0:00:01.148803780 708 0x20176600 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0: Failed to start ERROR: pipeline doesn't want to preroll. 0:00:01.149673490 708 0x20176600 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure. 0:00:01.149859905 708 0x20176600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return 0:00:01.150233765 708 0x20176600 INFO GST_STATES gstelement.c:2680:gst_element_abort_state: aborting state from NULL to READY 0:00:01.150443485 708 0x20176600 INFO GST_STATES gstbin.c:2945:gst_bin_change_state_func: child 'kmssink0' failed to go to state 2(READY) 0:00:01.150792030 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.151020890 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.151241630 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.151447860 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.151669400 708 0x20176600 INFO GST_STATES gstelement.c:3093:gst_element_change_state: have FAILURE change_state return Failed to set pipeline to PAUSED. Setting pipeline to NULL ... 0:00:01.152226490 708 0x20176600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.152410395 708 0x20176600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.486074925 708 0x20176600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'kmssink0' changed state to 1(NULL) successfully 0:00:01.486335685 708 0x20176600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.486516065 708 0x20176600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.486702700 708 0x20176600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 1(NULL) successfully 0:00:01.486928190 708 0x20176600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.487103625 708 0x20176600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.487288420 708 0x20176600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 1(NULL) successfully 0:00:01.487492795 708 0x20176600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next NULL 0:00:01.487664635 708 0x20176600 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from NULL to NULL 0:00:01.487848325 708 0x20176600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 1(NULL) successfully 0:00:01.488045265 708 0x20176600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL Freeing pipeline ... 0:00:01.488577470 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking v4l2src0:src(0x203de080) and capsfilter0:sink(0x203de9c0) 0:00:01.488868795 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink 0:00:01.489161045 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking capsfilter0:src(0x203dec10) and videoconvert0:sink(0x203de2d0) 0:00:01.489401625 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked capsfilter0:src and videoconvert0:sink 0:00:01.489619400 708 0x20176600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "capsfilter0" 0:00:01.490019875 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x203ee1d0 dispose 0:00:01.490199615 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.490676020 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.819759610 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x203ee1d0 parent class dispose 0:00:01.819947825 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x203ee1d0 finalize 0:00:01.820115005 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x203ee1d0 finalize parent 0:00:01.820384910 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2137:gst_pad_unlink: unlinking videoconvert0:src(0x203de520) and kmssink0:sink(0x203de770) 0:00:01.820641635 708 0x20176600 INFO GST_ELEMENT_PADS gstpad.c:2192:gst_pad_unlink: unlinked videoconvert0:src and kmssink0:sink 0:00:01.820886675 708 0x20176600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "kmssink0" 0:00:01.821169180 708 0x20176600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "videoconvert0" 0:00:01.821400220 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x203d00e0 dispose 0:00:01.821568315 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:01.821789385 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.822146085 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x203d00e0 parent class dispose 0:00:01.822334630 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x203d00e0 finalize 0:00:01.822501020 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x203d00e0 finalize parent 0:00:01.822752805 708 0x20176600 INFO GST_PARENTAGE gstbin.c:1805:gst_bin_remove_func: removed child "v4l2src0" 0:00:01.822980315 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x203dc180 dispose 0:00:01.823149630 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'src' 0:00:01.823375545 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x203dc180 parent class dispose 0:00:01.823566335 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x203dc180 finalize 0:00:01.823730145 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x203dc180 finalize parent 0:00:01.823899870 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x203ea080 dispose 0:00:02.153474955 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3384:gst_element_dispose: 0x203e8330 dispose 0:00:02.153658495 708 0x20176600 INFO GST_ELEMENT_PADS gstelement.c:877:gst_element_remove_pad: removing pad 'sink' 0:00:02.153890785 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x203e8330 parent class dispose 0:00:02.154431380 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x203e8330 finalize 0:00:02.154612825 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x203e8330 finalize parent 0:00:02.155025615 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3430:gst_element_dispose: 0x203ea080 parent class dispose 0:00:02.155210155 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3462:gst_element_finalize: 0x203ea080 finalize 0:00:02.155379410 708 0x20176600 INFO GST_REFCOUNTING gstelement.c:3467:gst_element_finalize: 0x203ea080 finalize parent 0:00:02.155558010 708 0x20176600 INFO GST_INIT gst.c:1116:gst_deinit: deinitializing GStreamer 0:00:02.212207280 708 0x20176600 INFO GST_INIT gst.c:1260:gst_deinit: deinitialized GStreamer root@am62xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 ! videoconvert ! fbdevsink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ===> sometime it gets stuck here.! Reboot and try with fbdevsink again, the gstreamer is playing but only black screen is on LCD. root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' olorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' media-ctl -d /dev/media0 -V '"tp2855 1-0044":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"cdns_csi2rx.30101000.csi-bridge":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"30102000.ticsi2rx":1 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# media-ctl -d /dev/media0 -V '"tp2855 1-0044":0 [fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range]' root@am62xx-evm:~# v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720,pixelformat=YUYV --verbose VIDIOC_QUERYCAP: ok VIDIOC_G_FMT: ok VIDIOC_S_FMT: ok Format Video Capture: Width/Height : 1280/720 Pixel Format : 'YUYV' (YUYV 4:2:2) Field : None Bytes per Line : 2560 Size Image : 1843200 Colorspace : sRGB Transfer Function : Default (maps to sRGB) YCbCr/HSV Encoding: Default (maps to ITU-R 601) Quantization : Default (maps to Limited Range) Flags : root@am62xx-evm:~# media-ctl -p Media controller API version 6.1.33 Media device information ------------------------ driver j721e-csi2rx model TI-CSI2RX serial bus info platform:30102000.ticsi2rx hw revision 0x1 driver version 6.1.33 Device topology - entity 1: 30102000.ticsi2rx (5 pads, 5 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx context 0":0 [ENABLED,IMMUTABLE] pad2: Source -> "30102000.ticsi2rx context 1":0 [ENABLED,IMMUTABLE] pad3: Source -> "30102000.ticsi2rx context 2":0 [ENABLED,IMMUTABLE] pad4: Source -> "30102000.ticsi2rx context 3":0 [ENABLED,IMMUTABLE] - entity 7: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 1 route) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 routes: 0/0 -> 1/0 [ACTIVE] pad0: Sink [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] <- "tp2855 1-0044":0 [ENABLED,IMMUTABLE] pad1: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE] pad2: Source pad3: Source pad4: Source - entity 13: tp2855 1-0044 (1 pad, 1 link, 0 route) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev2 pad0: Source [stream:0 fmt:YUYV8_1X16/1280x720 field:none colorspace:srgb xfer:709 ycbcr:601 quantization:lim-range] -> "cdns_csi2rx.30101000.csi-bridge":0 [ENABLED,IMMUTABLE] - entity 19: 30102000.ticsi2rx context 0 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "30102000.ticsi2rx":1 [ENABLED,IMMUTABLE] - entity 25: 30102000.ticsi2rx context 1 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video1 pad0: Sink <- "30102000.ticsi2rx":2 [ENABLED,IMMUTABLE] - entity 31: 30102000.ticsi2rx context 2 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video2 pad0: Sink <- "30102000.ticsi2rx":3 [ENABLED,IMMUTABLE] - entity 37: 30102000.ticsi2rx context 3 (1 pad, 1 link, 0 route) type Node subtype V4L flags 0 device node name /dev/video3 pad0: Sink <- "30102000.ticsi2rx":4 [ENABLED,IMMUTABLE] root@am62xx-evm:~# ls /dev autofs loop2 mtd6 ptype tty2 tty47 ttyS5 vcs2 block loop3 mtd6ro ptypf tty20 tty48 ttyS6 vcs3 btrfs-control loop4 mtdblock0 random tty21 tty49 ttyS7 vcs4 bus loop5 mtdblock1 rfkill tty22 tty5 ttyS8 vcs5 char loop6 mtdblock2 rpmsg0 tty23 tty50 ttyS9 vcs6 console loop7 mtdblock3 rpmsg_ctrl0 tty24 tty51 ttyp0 vcsa cpu_dma_latency mapper mtdblock4 rtc tty25 tty52 ttyp1 vcsa1 crypto media0 mtdblock5 rtc0 tty26 tty53 ttyp2 vcsa2 cuse mem mtdblock6 rtc1 tty27 tty54 ttyp3 vcsa3 disk mmcblk0 net shm tty28 tty55 ttyp4 vcsa4 dma_heap mmcblk0boot0 null snapshot tty29 tty56 ttyp5 vcsa5 dri mmcblk0boot1 port snd tty3 tty57 ttyp6 vcsa6 fb mmcblk0p1 pps0 stderr tty30 tty58 ttyp7 vcsu fb0 mmcblk0rpmb ptmx stdin tty31 tty59 ttyp8 vcsu1 fd mmcblk1 ptp0 stdout tty32 tty6 ttyp9 vcsu2 full mmcblk1p1 pts tee0 tty33 tty60 ttypa vcsu3 fuse mmcblk1p2 ptyp0 teepriv0 tty34 tty61 ttypb vcsu4 gpiochip0 mqueue ptyp1 tty tty35 tty62 ttypc vcsu5 gpiochip1 mtd0 ptyp2 tty0 tty36 tty63 ttypd vcsu6 gpiochip2 mtd0ro ptyp3 tty1 tty37 tty7 ttype vfio hugepages mtd1 ptyp4 tty10 tty38 tty8 ttypf video0 i2c-0 mtd1ro ptyp5 tty11 tty39 tty9 udev_network_queue video1 i2c-1 mtd2 ptyp6 tty12 tty4 ttyGS0 uinput video2 initctl mtd2ro ptyp7 tty13 tty40 ttyS0 urandom video3 input mtd3 ptyp8 tty14 tty41 ttyS1 v4l zero kmsg mtd3ro ptyp9 tty15 tty42 ttyS10 v4l-subdev0 log mtd4 ptypa tty16 tty43 ttyS11 v4l-subdev1 loop-control mtd4ro ptypb tty17 tty44 ttyS2 v4l-subdev2 loop0 mtd5 ptypc tty18 tty45 ttyS3 vcs loop1 mtd5ro ptypd tty19 tty46 ttyS4 vcs1 root@am62xx-evm:~# ls /dev/dri/ by-path card0 card1 renderD128 root@am62xx-evm:~# GST_DEBUG=4 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! fbdevsink 0:00:00.076298460 677 0x302ff600 INFO GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.6 0:00:00.076866200 677 0x302ff600 INFO GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib 0:00:00.077097245 677 0x302ff600 INFO GST_INIT gst.c:610:init_pre: Linux am62xx-evm 6.1.33-g40c32565ca #1 SMP PREEMPT Thu Jul 6 14:17:24 UTC 2023 aarch64 0:00:00.082906100 677 0x302ff600 INFO GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages 0:00:00.111704520 677 0x302ff600 INFO GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts 0:00:00.115331190 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.117144640 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.117366735 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.141058560 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1826:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.400306640 677 0x302ff600 INFO GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.258820 seconds 0:00:00.400984160 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin 0:00:00.437644345 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1375:gst_registry_scan_path_level: cached info for /usr/lib/gstreamer-1.0/libgstvideo4linux2.so is stale 0:00:00.000666585 678 0x10c9200 INFO GST_INIT gst.c:591:init_pre: Initializing GStreamer Core Library version 1.20.6 0:00:00.000897370 678 0x10c9200 INFO GST_INIT gst.c:592:init_pre: Using library installed in /usr/lib 0:00:00.000950230 678 0x10c9200 INFO GST_INIT gst.c:610:init_pre: Linux am62xx-evm 6.1.33-g40c32565ca #1 SMP PREEMPT Thu Jul 6 14:17:24 UTC 2023 aarch64 0:00:00.001975360 678 0x10c9200 INFO GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages 0:00:00.004003035 678 0x10c9200 INFO GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts 0:00:00.004893535 678 0x10c9200 INFO GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.005351840 678 0x10c9200 INFO GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.005398440 678 0x10c9200 INFO GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.005593085 678 0x10c9200 INFO GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done 0:00:00.005647170 678 0x10c9200 INFO GST_INIT gst.c:826:init_post: GLib runtime version: 2.72.3 0:00:00.005680675 678 0x10c9200 INFO GST_INIT gst.c:828:init_post: GLib headers version: 2.72.3 0:00:00.005705975 678 0x10c9200 INFO GST_INIT gst.c:830:init_post: initialized GStreamer successfully 0:00:00.425425970 678 0x10c9200 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded 0:00:00.931886425 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1794:scan_and_update_registry: Registry cache changed. Writing new registry cache 0:00:00.932099040 677 0x302ff600 INFO GST_REGISTRY gstregistrybinary.c:431:priv_gst_registry_binary_write_cache: Building binary registry cache image 0:00:01.036720660 677 0x302ff600 INFO GST_REGISTRY gstregistrybinary.c:463:priv_gst_registry_binary_write_cache: Writing binary registry cache 0:00:01.290338045 677 0x302ff600 INFO GST_REGISTRY gstregistrybinary.c:314:gst_registry_binary_cache_finish: Wrote binary registry cache 0:00:01.291659015 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1803:scan_and_update_registry: Registry cache written successfully 0:00:01.291880320 677 0x302ff600 INFO GST_REGISTRY gstregistry.c:1861:ensure_current_registry: registry reading and updating done 0:00:01.292063025 677 0x302ff600 INFO GST_INIT gst.c:826:init_post: GLib runtime version: 2.72.3 0:00:01.292235865 677 0x302ff600 INFO GST_INIT gst.c:828:init_post: GLib headers version: 2.72.3 0:00:01.292362775 677 0x302ff600 INFO GST_INIT gst.c:830:init_post: initialized GStreamer successfully 0:00:01.293118395 677 0x302ff600 INFO GST_PIPELINE gstparse.c:344:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720 ! videoconvert ! fbdevsink ' 0:00:01.340880865 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded 0:00:01.341140230 677 0x302ff600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "v4l2src" 0:00:01.356221425 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:01.366856690 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideoconvert.so" loaded 0:00:01.367131845 677 0x302ff600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "videoconvert" 0:00:01.372209835 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:01.372367985 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:01.377555060 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstfbdevsink.so" loaded 0:00:01.377667200 677 0x302ff600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "fbdevsink" 0:00:01.378617180 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:01.378884500 677 0x302ff600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline" 0:00:01.379672245 677 0x302ff600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstV4l2Src named v4l2src0 to some pad of GstVideoConvert named videoconvert0 (0/0) with caps "video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720" 0:00:01.457858590 677 0x302ff600 INFO GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded 0:00:01.458025875 677 0x302ff600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "capsfilter" 0:00:01.458968160 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'sink' 0:00:01.459160640 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:760:gst_element_add_pad: adding pad 'src' 0:00:01.459309075 677 0x302ff600 INFO GST_STATES gstbin.c:2070:gst_bin_get_state_func: getting state 0:00:01.459555355 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to NULL 0:00:01.459691225 677 0x302ff600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:01.459847475 677 0x302ff600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink 0:00:01.459953455 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:sink 0:00:01.460046155 677 0x302ff600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads 0:00:01.460235470 677 0x302ff600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink 0:00:01.460388535 677 0x302ff600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:01.791930740 677 0x302ff600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful 0:00:01.792101625 677 0x302ff600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:01.792256745 677 0x302ff600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:01.792544235 677 0x302ff600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element capsfilter0:src to element videoconvert0:(any) 0:00:01.792736625 677 0x302ff600 INFO GST_ELEMENT_PADS gstelement.c:1018:gst_element_get_static_pad: found pad capsfilter0:src 0:00:01.792956450 677 0x302ff600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link capsfilter0:src and videoconvert0:sink 0:00:01.793387135 677 0x302ff600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:01.800070235 677 0x302ff600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: capsfilter0 and videoconvert0 in same bin, no need for ghost pads 0:00:01.800389075 677 0x302ff600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link capsfilter0:src and videoconvert0:sink 0:00:01.800821835 677 0x302ff600 INFO GST_PADS gstpad.c:4357:gst_pad_peer_query: pad has no peer 0:00:01.807061820 677 0x302ff600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked capsfilter0:src and videoconvert0:sink, successful 0:00:01.807228215 677 0x302ff600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:01.807391355 677 0x302ff600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding 0:00:01.807763275 677 0x302ff600 INFO GST_PIPELINE gst/parse/grammar.y:683:gst_parse_perform_link: linking some pad of GstVideoConvert named videoconvert0 to some pad of GstFBDEVSink named fbdevsink0 (0/0) with caps "(NULL)" 0:00:01.807980055 677 0x302ff600 INFO GST_ELEMENT_PADS gstutils.c:1816:gst_element_link_pads_full: trying to link element videoconvert0:(any) to element fbdevsink0:(any) 0:00:01.808209505 677 0x302ff600 INFO GST_PADS gstutils.c:1079:gst_pad_check_link: trying to link videoconvert0:src and fbdevsink0:sink 0:00:01.810966480 677 0x302ff600 INFO GST_PADS gstutils.c:1632:prepare_link_maybe_ghosting: videoconvert0 and fbdevsink0 in same bin, no need for ghost pads 0:00:01.811237375 677 0x302ff600 INFO GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link videoconvert0:src and fbdevsink0:sink 0:00:01.814771695 677 0x302ff600 INFO GST_PADS gstpad.c:2590:gst_pad_link_full: linked videoconvert0:src and fbdevsink0:sink, successful 0:00:01.814932395 677 0x302ff600 INFO GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event 0:00:02.147698245 677 0x302ff600 INFO GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked: Received event on flushing pad. Discarding Setting pipeline to PAUSED ... 0:00:02.149272025 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:02.149857340 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to READY 0:00:02.150065570 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:02.150437685 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'fbdevsink0' changed state to 2(READY) successfully 0:00:02.150890805 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:02.151085310 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to READY 0:00:02.151273800 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:02.151520205 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 2(READY) successfully 0:00:02.151748600 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:02.151931095 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to READY 0:00:02.152113005 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:02.152350130 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 2(READY) successfully 0:00:02.152559020 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY 0:00:02.153652745 677 0x302ff600 INFO v4l2 v4l2_calls.c:588:gst_v4l2_open: Opened device 'j721e-csi2rx' (/dev/video0) successfully 0:00:02.153926420 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to READY 0:00:02.154123920 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:02.154380505 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 2(READY) successfully 0:00:02.487613710 677 0x302ff600 INFO GST_STATES gstelement.c:2780:gst_element_continue_state: committing state from NULL to READY, pending PAUSED, next PAUSED 0:00:02.487846340 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (PAUSED pending) 0:00:02.488511130 677 0x302ff600 INFO GST_STATES gstelement.c:2788:gst_element_continue_state: continue state change READY to PAUSED, final PAUSED 0:00:02.488892365 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next PAUSED 0:00:02.489233780 677 0x302ff600 INFO GST_STATES gstbin.c:2936:gst_bin_change_state_func: child 'fbdevsink0' is changing state asynchronously to PAUSED 0:00:02.489467745 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next PAUSED 0:00:02.489741265 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PAUSED 0:00:02.489930705 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending) 0:00:02.490182620 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 3(PAUSED) successfully 0:00:02.490409645 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next PAUSED 0:00:02.490993665 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PAUSED 0:00:02.491191750 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending) 0:00:02.491442305 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 3(PAUSED) successfully 0:00:02.491652540 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next PAUSED 0:00:02.492095240 677 0x302ff600 INFO basesrc gstbasesrc.c:1430:gst_base_src_do_seek: seeking: time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999 0:00:02.492681675 677 0x302ff600 INFO task gsttask.c:516:gst_task_set_lock: setting stream lock 0x3072e100 on task 0x3073e050 0:00:02.492882830 677 0x302ff600 INFO GST_PADS gstpad.c:6292:gst_pad_start_task: created task 0x3073e050 0:00:02.494464065 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PAUSED 0:00:02.826626525 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending) 0:00:02.826707785 677 0x30729000 INFO GST_ELEMENT_PADS gstelement.c:1015:gst_element_get_static_pad: no such pad 'sink' in element "v4l2src0" 0:00:02.827042460 677 0x302ff600 INFO GST_STATES gstbin.c:2972:gst_bin_change_state_func: child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll 0:00:02.827137470 677 0x302ff600 INFO pipeline gstpipeline.c:533:gst_pipeline_change_state: pipeline is live 0:00:02.827181955 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PAUSED 0:00:02.827233005 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending) 0:00:02.827328630 677 0x30729000 INFO v4l2src gstv4l2src.c:558:gst_v4l2src_query_preferred_size: Detect input 0 as `30102000.ticsi2rx context 0` Pipeline is live and does not need PREROLL ... 0:00:02.827544630 677 0x30729000 INFO v4l2 gstv4l2object.c:1256:gst_v4l2_object_fill_format_list: got 24 format(s): 0:00:02.827612465 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: YUYV 0:00:02.827659645 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: UYVY 0:00:02.827705375 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: IGB0 0:00:02.827748870 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GIB0 0:00:02.827802355 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: IGR0 0:00:02.827859680 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GIR0 0:00:02.827906460 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GBI0 0:00:02.827955075 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BGI0 0:00:02.828000130 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GRI0 0:00:02.828044800 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: RGI0 0:00:02.828088580 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: RG12 0:00:02.828131670 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BA12 Pipeline is PREROLLED ... 0:00:03.160058160 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GB12 Setting pipeline to PLAYING ... 0:00:03.160295920 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BG12 0:00:03.160377600 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: RG10 0:00:03.160445150 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BA10 0:00:03.160506775 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GB10 0:00:03.160568270 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BG10 0:00:03.160633000 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: RGGB 0:00:03.160692130 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GRBG 0:00:03.160751715 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: GBRG 0:00:03.160814965 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: BA81 0:00:03.160875450 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: VYUY 0:00:03.160933345 677 0x30729000 INFO v4l2 gstv4l2object.c:1260:gst_v4l2_object_fill_format_list: YVYU 0:00:03.161042190 677 0x302ff600 INFO GST_EVENT gstevent.c:1530:gst_event_new_latency: creating latency event 0:00:00.000000000 0:00:03.161186355 677 0x302ff600 INFO bin gstbin.c:2760:gst_bin_do_latency_func: configured latency of 0:00:00.000000000 0:00:03.161328755 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current READY pending PAUSED, desired next PLAYING 0:00:03.161399495 677 0x302ff600 INFO GST_STATES gstbin.c:2936:gst_bin_change_state_func: child 'fbdevsink0' is changing state asynchronously to PLAYING 0:00:03.161479960 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PAUSED pending VOID_PENDING, desired next PLAYING 0:00:03.161549760 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PLAYING 0:00:03.161614850 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending) 0:00:03.161709630 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 4(PLAYING) successfully 0:00:03.162763975 677 0x30729000 INFO v4l2 gstv4l2object.c:4764:gst_v4l2_object_probe_caps: probed caps: video/x-raw, format=(string)YUY2, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(format:Interlaced), format=(string)YUY2, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate; video/x-raw, format=(string)UYVY, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(format:Interlaced), format=(string)UYVY, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate; video/x-bayer, format=(string)iggb10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)gibg10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)iggr10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)girg10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)gbig10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)bggi10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)grig10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)rggi10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)rggb12, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)grbg12, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)gbrg12, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)bggr12, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)rggb10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)grbg10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)gbrg10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)bggr10, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)rggb, width=(int)[ 16, 16384, 16 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)grbg, width=(int)[ 16, 16384, 16 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)gbrg, width=(int)[ 16, 16384, 16 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string)bggr, width=(int)[ 16, 16384, 16 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YVYU, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(format:Interlaced), format=(string)YVYU, width=(int)[ 8, 8192, 8 ], height=(int)[ 1, 16384 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)alternate 0:00:03.493839720 677 0x302ff600 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PAUSED pending VOID_PENDING, desired next PLAYING 0:00:03.827407120 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PLAYING 0:00:03.827603080 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending) 0:00:03.827797600 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 4(PLAYING) successfully 0:00:03.827938050 677 0x302ff600 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PLAYING 0:00:03.828035690 677 0x302ff600 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending) 0:00:03.828165660 677 0x302ff600 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 4(PLAYING) successfully New clock: GstSystemClock 0:00:03.840651740 677 0x30729000 INFO v4l2src gstv4l2src.c:655:gst_v4l2src_negotiate: fixated to: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709 0:00:03.840908770 677 0x30729000 INFO GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709 0:00:03.843834895 677 0x30729000 INFO basetransform gstbasetransform.c:1326:gst_base_transform_setcaps: reuse caps 0:00:03.844185785 677 0x30729000 INFO GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)bt709 0:00:03.851778825 677 0x30729000 INFO GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw, format=(string)BGRx, width=(int)1280, height=(int)720, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)1:1:5:1 0:00:03.856616950 677 0x30729000 INFO v4l2 gstv4l2object.c:3268:gst_v4l2_object_setup_pool: accessing buffers via mode 4 0:00:03.857890210 677 0x30729000 INFO v4l2bufferpool gstv4l2bufferpool.c:593:gst_v4l2_buffer_pool_set_config: increasing minimum buffers to 2 0:00:03.858003530 677 0x30729000 INFO v4l2bufferpool gstv4l2bufferpool.c:606:gst_v4l2_buffer_pool_set_config: reducing maximum buffers to 32 0:00:03.858316625 677 0x30729000 INFO v4l2bufferpool gstv4l2bufferpool.c:606:gst_v4l2_buffer_pool_set_config: reducing maximum buffers to 32 0:00:03.967481515 677 0x30729000 WARN v4l2bufferpool gstv4l2bufferpool.c:1397:gst_v4l2_buffer_pool_dqbuf: Driver should never set v4l2_buffer.field to ANY 0:00:03.967675090 677 0x30729000 INFO GST_EVENT gstevent.c:972:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999 0:00:03.967813445 677 0x30729000 INFO basesrc gstbasesrc.c:3018:gst_base_src_loop: marking pending DISCONT 0:00:04.252819820 677 0x30729000 INFO GST_STATES gstbin.c:3407:bin_handle_async_done: setting state from PAUSED to PAUSED, pending PLAYING 0:00:04.252915705 677 0x30729000 INFO GST_STATES gstbin.c:3429:bin_handle_async_done: continue state change, pending PLAYING Redistribute latency... 0:00:04.253605590 677 0x30729180 INFO GST_STATES gstbin.c:3225:gst_bin_continue_func: continue state change PAUSED to PLAYING, final PLAYING 0:00:04.253650230 677 0x302ff600 INFO GST_EVENT gstevent.c:1530:gst_event_new_latency: creating latency event 0:00:00.023333333 0:00:04.253782145 677 0x30729180 INFO GST_EVENT gstevent.c:1530:gst_event_new_latency: creating latency event 0:00:00.023333333 0:00:04.253877670 677 0x30729180 INFO bin gstbin.c:2760:gst_bin_do_latency_func: configured latency of 0:00:00.023333333 0:00:04.253974430 677 0x30729180 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PAUSED pending VOID_PENDING, desired next PLAYING 0:00:04.254034510 677 0x30729180 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PLAYING 0:00:04.254067805 677 0x30729180 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending) 0:00:04.254166120 677 0x30729180 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'fbdevsink0' changed state to 4(PLAYING) successfully 0:00:04.254215650 677 0x30729180 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PLAYING pending VOID_PENDING, desired next PLAYING 0:00:04.254247145 677 0x30729180 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from PLAYING to PLAYING 0:00:04.254280800 677 0x30729180 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'videoconvert0' changed state to 4(PLAYING) successfully 0:00:04.254320085 677 0x30729180 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PLAYING pending VOID_PENDING, desired next PLAYING 0:00:04.254350510 677 0x30729180 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from PLAYING to PLAYING 0:00:04.254384555 677 0x30729180 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'capsfilter0' changed state to 4(PLAYING) successfully 0:00:04.254422345 677 0x30729180 INFO GST_STATES gstbin.c:2480:gst_bin_element_set_state: current PLAYING pending VOID_PENDING, desired next PLAYING 0:00:04.254451515 677 0x30729180 INFO GST_STATES gstbin.c:2598:gst_bin_element_set_state: skipping transition from PLAYING to PLAYING 0:00:04.254484160 677 0x30729180 INFO GST_STATES gstbin.c:2929:gst_bin_change_state_func: child 'v4l2src0' changed state to 4(PLAYING) successfully 0:00:04.584204400 677 0x30729180 INFO GST_STATES gstelement.c:2808:gst_element_continue_state: completed state change to PLAYING 0:00:04.584352900 677 0x30729180 INFO GST_STATES gstelement.c:2708:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending) 0:00:04.584727035 677 0x302ff600 INFO bin gstbin.c:2760:gst_bin_do_latency_func: configured latency of 0:00:00.023333333 0:00:05.303034670 677 0x30729000 WARN basesink gstbasesink.c:3143:gst_base_sink_is_too_late: warning: A lot of buffers are being dropped. 0:00:05.303134520 677 0x30729000 WARN basesink gstbasesink.c:3143:gst_base_sink_is_too_late: warning: There may be a timestamping problem, or this computer is too slow. 0:00:05.303225740 677 0x30729000 INFO GST_ERROR_SYSTEM gstelement.c:2273:gst_element_message_full_with_details: posting message: A lot of buffers are being dropped. 0:00:05.303414180 677 0x30729000 INFO GST_ERROR_SYSTEM gstelement.c:2300:gst_element_message_full_with_details: posted warning message: A lot of buffers are being dropped. WARNING: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: A lot of buffers are being dropped. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: There may be a timestamping problem, or this computer is too slow. 0:00:02.5 / 99:99:99. 0:00:02.5 / 99:99:99. 0:00:02.5 / 99:99:99. ==> if we use "framerate=10/1" as below: , we could see a clean solid green color on full screen root@am62xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720,framerate=10/1 ! videoconvert ! fbdevsink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:01:04.881318875 Setting pipeline to NULL ... root@am62xx-evm:~# modetest -sh: modetest: command not found root@am62xx-evm:~# kmscube -sh: kmscube: command not found => We could see a vertical color bar slide moving from left to right. root@am62xx-evm:~# kmstest --flip Connector 0/@40: DPI-1 Crtc 0/@38: 800x480@46.90 26.000 800/40/128/88/+ 480/10/2/33/+ 47 (46.90) 0x5 0x48 Plane 0/@31: 0,0-800x480 Fb 50 800x480-XR24 press enter to exit Connector 0: fps 46.91, slowest 22.30 ms Connector 0: fps 46.90, slowest 22.33 ms Connector 0: fps 46.90, slowest 22.30 ms Connector 0: fps 46.90, slowest 21.44 ms Connector 0: fps 46.90, slowest 22.29 ms Connector 0: fps 46.90, slowest 22.25 ms Connector 0: fps 46.90, slowest 22.28 ms