I am experiencing an issue with the /dev/video0 device on my Jetson Nano, where the TC358746 HDMI-to-MIPI bridge is connected to the cam1 CSI port. Although /dev/video0 is detected by v4l2-ctl, I cannot obtain a valid video stream—tools like gst-launch-1.0 and cheese show a black screen or hang, and I see video frame timeout errors in the logs. The device tree overlay for the TC358746 connected on cam1 is loaded correctly, and the HDMI source provides a valid signal. However, the video stream does not appear properly. I am seeking advice on troubleshooting this issue, especially regarding device tree configurations or driver settings for TC358746 on the cam1 interface of Jetson Nano.
From the looks of it, it seems like the driver is loading and creating the video device.
Which means that the driver is probably probing the sensor successfully.
Now, the reason why GStreamer shows a black screen, is because it is most likely receiving no buffers. That is why GStreamer defaults to a black screen instead.
One test we would recommend you run is trying to capture with v4l2-ctl instead.
That way we can simplify the test environment and first try to make sure the driver and dtb are configured properly for video capture to work.
Would you opposed to trying capturing with v4l2-ctl ?
best regards,
Andrew
Embedded Software Engineer at ProventusNova
esl@esl-desktop:~$ v4l2-ctl --device=/dev/video0 --all
Driver Info (not using libv4l2):
Driver name : tegra-video
Card type : vi-output, tc358746 6-000e
Bus info : platform:54080000.vi:0
Driver version: 4.9.255
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 0: no power)
Format Video Capture:
Width/Height : 640/480
Pixel Format : ‘UYVY’
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : SMPTE 170M
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :