Cannot get CAM1 to show a video feed

Hey guys, I am a beginner, I have a jetson orin nano super and an IMX519 camera. Upon downloading the drivers from arducam, it works perfectly on CAM0 CSI port.
https://docs.arducam.com/Nvidia-Jetson-Camera/Native-Camera/Quick-Start-Guide/

For whatever reason CAM1 just shows a black screen then it closes. Upon doing --list-devices, it shows both cameras connected but I cannot for the life of me get the second camera feed to show. The second camera works fine when in CAM0 so thats how I suspected it was the port.

I don’t know what to do. If its due to the drivers not supporting this.

If anyone has gotten two CSI cameras working, can you let me know which ones it was so I can buy it. This is for a camera vision project where I will have YOLO running on all camera feeds.

PS: I tried opening the device tree overlay of the drivers of the camera but honestly had no idea what to edit.

*** Please note that this reply is generated by LLM automatically ***

I’d be happy to help you troubleshoot the issue with your Jetson Orin Nano and IMX519 camera.

Firstly, it’s great that you’ve managed to get the camera working on CAM0 CSI port. However, the issue with CAM1 showing a black screen and then closing is likely due to a configuration or driver issue.

Since you’ve already checked that both cameras are connected and recognized by the system using listdevices, the next step is to investigate the device tree overlay and driver configuration.

The device tree overlay is a critical component in configuring the CSI ports on the Jetson Orin Nano. It defines the pinout and configuration of the CSI ports, including the camera interface, clock, and data lanes.

To troubleshoot the issue, I recommend the following steps:

  1. Check the device tree overlay: Open the device tree overlay file for the IMX519 camera driver and verify that it is configured correctly for CAM1. You can find the device tree overlay file in the arducam directory, usually named imx519.dtbo.
  2. Verify the CSI port configuration: Ensure that the CSI port configuration in the device tree overlay matches the physical connection of the camera to the Jetson Orin Nano. You can check the CSI port configuration in the jetson-io tool, which is a graphical interface for configuring the Jetson’s GPIO and CSI ports.
  3. Check the driver configuration: Verify that the camera driver is configured correctly for CAM1. You can check the driver configuration in the arducam directory, usually in a file named imx519.conf.
  4. Try a different camera: If possible, try using a different camera on CAM1 to rule out any issues with the IMX519 camera.
  5. Check the kernel logs: Check the kernel logs for any error messages related to the camera or CSI port. You can use the dmesg command to view the kernel logs.

Regarding your question about getting two CSI cameras working, it is possible to use multiple CSI cameras on the Jetson Orin Nano, but it requires careful configuration of the device tree overlay and driver configuration.

Some popular CSI cameras that are known to work on the Jetson Orin Nano include:

  • IMX219
  • IMX477
  • OV5647
  • OV5693

However, it’s essential to note that not all cameras are compatible with the Jetson Orin Nano, and some may require custom device tree overlays or driver configurations.

In your case, since you’re using the IMX519 camera, I recommend checking the device tree overlay and driver configuration specifically for this camera model.

If you’re still having trouble, feel free to provide more details about your setup, and I’ll do my best to help you troubleshoot the issue.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Confirm the capture function by v4l2-ctl fist.

v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video*

unknown arguments: /dev/video1

Any updates regarding this issue please? Still cannot get it to work. If there is a camera that is known to work in tandem on both ports, please let me know which one

You need to modify the video*

v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video0
v4l2-ctl --stream-mmap -c bypass_mode=0 -d /dev/video1

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.