hi,
I config a GMSL camera in Orin, the video node can be found in /dev, but when I try to get video, it report error:
log as follow:
“
car@ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,format=UYVY,width=1920,height=1080’ ! videoconvert ! fpsdisplaysink video-sink=xvimagesink e
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Signal lost
Additional debug info:
../sys/v4l2/gstv4l2src.c(693): gst_v4l2src_query_preferred_size (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
No input source was detected - video frames invalid
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.002394991
Setting pipeline to NULL …
Freeing pipeline …
“
and I find some error report in kernel init as follow, is it the matter?:
“[ 13.935260] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx390 9-0021 bound
[ 13.953401] tegra-nvcsi 8181200000.host1x:nvcsi@8188000000: Failed to create device link (0x180) with 9-0021
“
and here is media-ctl output:
car@ubuntu:~$ sudo media-ctl -p -d /dev/media0
Media controller API version 6.8.12
Media device information
driver tegra-camrtc-ca
model NVIDIA Tegra Video Input Device
serial
bus info platform:tegra-capture-vi
hw revision 0x3
driver version 6.8.12
Device topology
-
entity 1: 8181200000.host1x:nvcsi@8188000 (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: SINK
← “imx390 9-0021”:0 [ENABLED]
pad1: SOURCE
→ “vi-output, imx390 9-0021”:0 [ENABLED] -
entity 4: imx390 9-0021 (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: SOURCE
[stream:0 fmt:YUYV8_1X16/1920x1080@1/30 field:none colorspace:srgb]
→ “8181200000.host1x:nvcsi@8188000”:0 [ENABLED] -
entity 6: vi-output, imx390 9-0021 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: SINK
← “8181200000.host1x:nvcsi@8188000”:1 [ENABLED]
attachment is device-tree
dump.txt (20.3 KB)
pls. provide some suggestion for trouble shooting, Thanks.
