Support two camera imx477 and imx219 simultaneously on devkit

Hi,
I’m using Jetson Orin NX, with Jetpack 5.1.2.
The carrier i use is devkit-xavier.
I try to use two different camera imx219, imx477.
When I connect each of the cameras to CAM0 port.
The pipeline can retrieve frames.

sudo gst-launch-1.0 nvarguscamerasrc  sensor-id=$SENSOR_ID !  nv3dsink -e.

I can see also in the dmesg that the driver is recognizing the cameras.

[   13.006809] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[   13.014533] nv_imx477: no symbol version for module_layout
[   13.022830] imx477 9-001a: tegracam sensor driver:imx477_v2.0.6
[   13.034967] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx219 10-0010 bound
[   13.324377] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx477 9-001a bound

But when i connect any camera to CAM1 port, I cant get any frames . I get this error in the pipeline.

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:694 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
Got EOS from element "pipeline0".
Execution ended after 0:00:04.008859616
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success

hello ahkovitz,

I assume you’ve CSI connector configuration through Jetson-IO, it’s Camera IMX477-A and IMX219-B, right?
for instance, it’s Jetson Device-tree overlay to enable Camera IMX477 rbpcv3 on port-A along with camera IMX219 on port-B, for dual cam connector baseboards.

according to Jetson FAQ,
re-cap as below.

†† Jetson Orin NX & Jetson Orin Nano series modules are not pin-compatible with Jetson Xavier NX series modules, but you can design a carrier board for the I/Os they have in common, such that both modules are supported.

since Orin NX/Nano are not pin-to-pin compatible with Xavier NX.
please test again with Orin Nano carrier board.