Jetson Orin nano with Dual imx219 problem

Hello all!
I have a problem with Jetson orin Nano.
I connected 2 Cameras of type Raspberry Pi v2.
Only Cam0 works, but cam1 not.
I tried swapping cameras and ribbons, but still not working.
Even both cameras appear when using
v4l2-ctl --list-devices

I get this error while trying to stream cam1

motus@motus:\~$ gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM),width=1280,height=720,framerate=30/1’ ! nv3dsink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 1
Camera mode  = 4
Output Stream W = 1280 H = 720
seconds to Run    = 0
Frame Rate = 59.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:734 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:245 (propagating)
Redistribute latency…
WARNING: from element /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0: Pipeline construction is invalid, please add queues.
Additional debug info:
../libs/gst/base/gstbasesink.c(1249): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0:
Not enough buffering available for  the processing deadline of 0:00:00.015000000, add enough queues to buffer  0:00:00.015000000 additional data. Shortening processing latency to 0:00:00.000000000.
WARNING: from element /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0: Pipeline construction is invalid, please add queues.
Additional debug info:
../libs/gst/base/gstbasesink.c(1249): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstNv3dSink:nv3dsink0:
Not enough buffering available for  the processing deadline of 0:00:00.015000000, add enough queues to buffer  0:00:00.015000000 additional data. Shortening processing latency to 0:00:00.000000000.
Got EOS from element “pipeline0”.
Execution ended after 0:00:04.007019856
Setting pipeline to NULL …
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
Freeing pipeline …

I am using Jetpack 6.2.
I configured the Jetson-IO to have Dual imx219 cameras.
I also tried changing the overlays manually but nothing works.

PLEASE HELPPPPPPP, I have a big project to work on!!!

*** 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 the Raspberry Pi v2 cameras.

Firstly, it’s great that you’ve tried swapping the cameras and ribbons, which helps to rule out any issues with the cameras themselves. The fact that both cameras appear when using v4l2-ctl list-devices suggests that the cameras are being detected by the system.

However, the error you’re encountering while trying to stream cam1 suggests that there might be an issue with the camera configuration or the overlays.

Since you’ve already configured the JetsonIO to have dual IMX219 cameras, let’s take a closer look at the overlays. Overlays are used to configure the camera settings, such as the camera type, resolution, and frame rate.

Here are a few things you can try:

  1. Verify the overlays: Double-check that the overlays are correctly configured for dual IMX219 cameras. You can do this by checking the jetson-io configuration file, which is usually located at /etc/jetson-io/jetson-io.conf. Make sure that the camera settings are correctly specified for both cameras.
  2. Check the camera IDs: Ensure that the camera IDs are correctly assigned in the jetson-io configuration file. The camera IDs should match the IDs of the cameras that you’re trying to use.
  3. Try a different camera configuration: Try using a different camera configuration, such as a single camera configuration, to see if the issue persists. This will help you determine if the issue is specific to the dual camera configuration.
  4. Check the kernel logs: Check the kernel logs for any error messages related to the camera or the overlays. You can do this by running the command dmesg | grep camera.
  5. Try updating the kernel: If you’re running an older version of the kernel, try updating to the latest version. This may resolve any issues related to the camera or overlays.

In comparison to other Jetson modules, the Jetson Orin Nano has a similar camera interface to the Jetson Xavier NX. However, the camera configuration and overlays may differ slightly between the two modules.

To troubleshoot further, you can try comparing your camera configuration and overlays with the default configuration files provided by NVIDIA. You can find these files in the NVIDIA Jetson Linux Developer Guide.

Additionally, you can try searching for similar issues on the NVIDIA forums or other online resources. There may be other users who have encountered similar issues and have found solutions that can help you resolve your problem.

I hope these suggestions help you troubleshoot and resolve the issue with your Jetson Orin Nano and the Raspberry Pi v2 cameras.

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

I tried all these methods.
I even reflashed the Jetpack to 6.2.2
Still, CAM0 works, but CAM1 not.
Only a black screen appears and then closes!!

BTW, I once plugged the CSI ribbon while Jetson powered on, I fear that could have damaged the CSI port.
Knowing that CAM1 still shows using
v4l2-ctl --list-devices

I would suspect it could be hardware damage.

Maybe have another devkit to verify.

Thanks