Jetpack 6 rev2 does not work when using 2 csi cameras imx219

Hello,
I have to reflash my jetson nano orin board to jetpack version 6 rev2
When I connect one imx219 to the CSI port(either cam0 or cam1) it works fine
When I connect one camera to cam0 and one to cam1 the only camera that works is cam1, before I flashed it to version6rev2 it was working,
If I do
sudo dmesg | grrep -i imx219
it works and shows theinformation for both of the cameras without error
I try to also run the sudo /opt/nvidia/jetson-io/jetson-io.py and select IMX219-dual and reboot but still that doesnt work

hello elizabeth_morales,

please examine release tag for confirmation, i.e. $ cat /etc/nv_tegra_release
you may also gather complete kernel logs for reference, $ dmesg > klog.txt

My cat /etc/nv_tegra_release is:

R36 (release), REVISION: 3.0, GCID: 36191598, BOARD: generic, EABI: aarch64, DATE: Mon May 6 17:34:21 UTC 2024

KERNEL_VARIANT: oot

TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia

This is the error I have with one of the cameras when are both connected it:
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: TIMEOUT
Additional debug info:
Argus Error Status
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:732 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:243 (propagating)
Execution ended after 0:00:07.874265273
Setting pipeline to NULL …
GST_ARGUS: Cleaning up
Freeing pipeline …

and from the dmseg > klog.txt when I search for the imx219 I found this

[ 12.087915] nvvrs_pseq 4-003c: NVVRS PSEQ probe successful
[ 12.129255] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[ 12.132583] at24 0-0050: 256 byte 24c02 EEPROM, read-only
[ 12.133185] at24 0-0057: 256 byte 24c02 EEPROM, read-only
[ 12.145466] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx219 9-0010 bound
[ 12.157309] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[ 12.173460] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx219 10-0010 bound
[ 12.183146] tegra-hda 3510000.hda: Adding to iommu group 38

please narrow down the issue by checking Verifying the V4L2 Sensor Driver.

I check it by running
v4l2-compliance -d /dev/video0
and gives me the following errors

jet@ubuntu:~$ v4l2-compliance -d /dev/video0
v4l2-compliance 1.22.1, 64 bits, 64-bit time_t

Compliance test for tegra-video device /dev/video0:

Driver Info:
Driver name : tegra-video
Card type : vi-output, imx219 9-0010
Bus info : platform:tegra-capture-vi:2
Driver version : 5.15.136
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : tegra-camrtc-ca
Model : NVIDIA Tegra Video Input Device
Serial :
Bus info :
Media version : 5.15.136
Hardware revision: 0x00000003 (3)
Driver version : 5.15.136
Interface Info:
ID : 0x0300000b
Type : V4L Video
Entity Info:
ID : 0x00000009 (9)
Name : vi-output, imx219 9-0010
Function : V4L2 I/O
Pad 0x0100000a : 0: Sink
Link 0x0200000f: from remote pad 0x1000006 of entity ‘13e00000.host1x:nvcsi@15a00000-’ (Unknown sub-device (0002000a)): Data, Enabled

Required ioctls:
test MC information (see ‘Media Driver Info’ above): OK
test VIDIOC_QUERYCAP: OK
fail: v4l2-compliance.cpp(783): doioctl(node, ioc, nullptr) != ENOTTY
test invalid ioctls: FAIL

Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK

Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK

Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)

Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 1 Private Controls: 13
Standard Compound Controls: 0 Private Compound Controls: 7

Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
fail: v4l2-test-formats.cpp(1344): ret && node->has_frmintervals
test VIDIOC_G/S_PARM: FAIL
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)

Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

Buffer ioctls (Input 0):
fail: v4l2-test-buffers.cpp(751): q.create_bufs(node, 1, &fmt) != EINVAL
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)

Total for tegra-video device /dev/video0: 46, Succeeded: 43, Failed: 3, Warnings: 0

BTW, were they Raspberry Pi Camera Module 2, IMX219? we’ve tested these IMX219 on Orin Nano.

Yes, v2.1, and I try to change them from connection, and cable thinking maybe is something like that but no still using both at the same time doesnt work. I test using two USB cameras and that work .
And I try to downgrade to 5.1.3 since in some forums people comment that work for them, but in my case was the same, could it be something of my Host computer that cause the problem, I’m using Ubuntu22.04 Legion Lenovo with GeForceRTX 4080

hello elizabeth_morales,

it’s likely a hardware issue, please double check the connector (gold fingers).

Hello Jerry, but if it will be hardware will not be always failing for example the CAM1 when are both connected and when is just one connected?
And I also have this outputs from both devices, when they are both connected


When I test the sensor-id=0 this happend

when I test sensor-id=1(detected from CAM 0 ) works okay

This are the connections



hello elizabeth_morales,

may I double confirm which carrier board you’re using?
for example, is it tested on Orin Nano Developer kit?

Is the recomputer j30 with Nvidia Jetson Orin Nano 8GB and reComputer J401 carrier board with NVMe SSD reComputer J3011-Edge AI Device with Jetson Orin™ Nano 8GB module - Seeed Studio

hello elizabeth_morales,

this is not a developer kit, please validate IMX219 on Orin Nano developer kit, you may also contact with Seeed Studio for further supports.

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