ZED-X detect error

I just install the driver, but can’t get ZED’s data, how may I solve it?
driver: * ZED X Driver v0.6.1 for JetPack 5.1.2 (L4T 35.4)
thanks!

[   26.568631] zedx 30-0010: Detected ZED-X sensor
[   26.568888] zedx 31-0018: Driver Version : v0.6.1
[   26.568892] zedx 31-0018: Probing v4l2 sensor.
[   26.569146] zedx 31-0018: tegracam sensor driver:video2_v2.0.6
[   26.572323] zedx 30-0010: zedx_open: Accessing the camera
[   26.678471] zedx 31-0018: zedx_links_check: 1 link(s) detected
[   26.679120] zedx 31-0018: zedx_write_reg:i2c write failed, 0x301a = 2058
[   26.686060] zedx 31-0018: ZED-X detect error
[   26.686153] zedx: probe of 31-0018 failed with error -1

Hi @llllhs
Welcome to the Stereolabs community.

Please run the command sudo ZED_Diagnostic --dmesg and send the dmesg.log file that it generates.

hi, @Myzhar Thanks for replying.
However, I cannot see dmesg.log generated after running sudo ZED_Diagnostic --dmesg, it output nvbufsurftransform:cuInit failed : 100 instead
Here is my dmesg message incase you need it

$ sudo dmesg | grep zed
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.363294] devtmpfs: initialized
[    0.383192] pinctrl core: initialized pinctrl subsystem
[    0.385380] audit: type=2000 audit(0.384:1): state=initialized audit_enabled=0 res=1
[    1.729095] eventlib_kernel: keventlib is initialized, test id: 0
[    1.735386] SCSI subsystem initialized
[    1.806192] Advanced Linux Sound Architecture Driver Initialized.
[    1.820583] Bluetooth: HCI device and connection manager initialized
[    1.826938] Bluetooth: HCI socket layer initialized
[    1.831814] Bluetooth: L2CAP socket layer initialized
[    1.836868] Bluetooth: SCO socket layer initialized
[    2.032786] la/ptsa driver initialized.
[    2.299678] kvm [1]: VHE mode initialized successfully
[    6.383598] optee: initialized driver
[    6.401000] nvpmodel: initialized successfully
[    6.406541] tegra_hv: get_hvd: not initialized yet
[    6.482223] Bluetooth: RFCOMM socket layer initialized
[    6.499944] Bluetooth: HIDP socket layer initialized
[    6.738608] host1x 13e40000.host1x: initialized
[    6.752041] iommu_context_dev 13e40000.host1x:niso0_ctx0: initialized (streamid=53, iommu=smmu.0x0000000012000000)
[    6.772247] iommu_context_dev 13e40000.host1x:niso0_ctx1: initialized (streamid=54, iommu=smmu.0x0000000012000000)
[    6.792367] iommu_context_dev 13e40000.host1x:niso0_ctx2: initialized (streamid=55, iommu=smmu.0x0000000012000000)
[    6.812567] iommu_context_dev 13e40000.host1x:niso0_ctx3: initialized (streamid=56, iommu=smmu.0x0000000012000000)
[    6.832644] iommu_context_dev 13e40000.host1x:niso0_ctx4: initialized (streamid=57, iommu=smmu.0x0000000012000000)
[    6.852763] iommu_context_dev 13e40000.host1x:niso0_ctx5: initialized (streamid=58, iommu=smmu.0x0000000012000000)
[    6.872909] iommu_context_dev 13e40000.host1x:niso0_ctx6: initialized (streamid=59, iommu=smmu.0x0000000012000000)
[    6.893120] iommu_context_dev 13e40000.host1x:niso0_ctx7: initialized (streamid=60, iommu=smmu.0x0000000012000000)
[    6.913294] iommu_context_dev 13e40000.host1x:niso1_ctx0: initialized (streamid=53, iommu=smmu.0x0000000008000000)
[    6.933447] iommu_context_dev 13e40000.host1x:niso1_ctx1: initialized (streamid=54, iommu=smmu.0x0000000008000000)
[    6.953600] iommu_context_dev 13e40000.host1x:niso1_ctx2: initialized (streamid=55, iommu=smmu.0x0000000008000000)
[    6.973732] iommu_context_dev 13e40000.host1x:niso1_ctx3: initialized (streamid=56, iommu=smmu.0x0000000008000000)
[    6.993853] iommu_context_dev 13e40000.host1x:niso1_ctx4: initialized (streamid=57, iommu=smmu.0x0000000008000000)
[    7.013956] iommu_context_dev 13e40000.host1x:niso1_ctx5: initialized (streamid=58, iommu=smmu.0x0000000008000000)
[    7.034116] iommu_context_dev 13e40000.host1x:niso1_ctx6: initialized (streamid=59, iommu=smmu.0x0000000008000000)
[    7.054252] iommu_context_dev 13e40000.host1x:niso1_ctx7: initialized (streamid=60, iommu=smmu.0x0000000008000000)
[    7.076918] falcon 15340000.vic: initialized
[    7.090153] falcon 15380000.nvjpg: initialized
[    7.104010] falcon 15540000.nvjpg1: initialized
[    7.119731] falcon 154c0000.nvenc: initialized
[    7.134858] falcon 15a50000.ofa: initialized
[    7.152741] nvdec 15480000.nvdec: initialized
[    7.169052] tsec 15500000.tsec: initialized
[    7.291113] t194-nvcsi 13e40000.host1x:nvcsi@15a00000: initialized
[    7.366849] scare-pigeon 13e40000.host1x:vi0-thi@15f00000: initialized
[    7.385000] scare-pigeon 13e40000.host1x:vi1-thi@14f00000: initialized
[    7.403120] scare-pigeon 13e40000.host1x:isp-thi@14b00000: initialized
[    7.420117] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx0: initialized (streamid=18, iommu=smmu.0x0000000008000000)
[    7.441623] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx1: initialized (streamid=19, iommu=smmu.0x0000000008000000)
[    7.463120] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx2: initialized (streamid=20, iommu=smmu.0x0000000008000000)
[    7.484612] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx3: initialized (streamid=21, iommu=smmu.0x0000000008000000)
[    7.506103] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx4: initialized (streamid=22, iommu=smmu.0x0000000008000000)
[    7.527590] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx5: initialized (streamid=23, iommu=smmu.0x0000000008000000)
[    7.549113] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx6: initialized (streamid=24, iommu=smmu.0x0000000008000000)
[    7.570569] pva_iommu_context_dev 16000000.pva0:pva0_niso1_ctx7: initialized (streamid=25, iommu=smmu.0x0000000008000000)
[    7.608271] pva 16000000.pva0: initialized
[    7.638306] nvdla 15880000.nvdla0: initialized
[    7.660128] nvdla 158c0000.nvdla1: initialized
[    7.690266] tegra-fuse-burn efuse-burn: Fuse burn driver initialized
[    8.948534] tegra194-isp5 14800000.isp: initialized
[    8.957850] tegra194-vi5 13e40000.host1x:vi0@15c00000: initialized
[    8.972971] tegra194-vi5 13e40000.host1x:vi1@14c00000: initialized
[   10.879918] tegra-se-nvhost 15810000.se: initialized
[   10.910882] tegra-se-nvhost 15820000.se: initialized
[   10.933421] tegra-se-nvhost 15840000.se: initialized
[   11.806531] systemd[1]: /etc/systemd/system/zed_x_daemon.service:13: Unknown key name 'Port' in section 'Service', ignoring.
[   12.722876] cdi_tsc_probe: Successfully initialized the tsc char driver
[   12.829137] nct1008_nct72 4-004c: nct1008_probe: initialized
[   13.453374] Bluetooth: BNEP socket layer initialized
[   15.276091] zedx 30-0018: Driver Version : v0.6.1
[   15.276099] zedx 30-0018: Probing v4l2 sensor.
[   15.276360] zedx 30-0018: tegracam sensor driver:video0_v2.0.6
[   22.369524] zedx 30-0018: zedx_links_check: 1 link(s) detected
[   25.279785] zedx 30-0018: Single ZED-X camera detect success
[   25.509277] zedx 30-0018: zedx_set_frame_rate: Unsupported value
[   25.840325] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 30-0018 bound
[   25.841354] zedx 30-0018: Detected ZED-X sensor
[   25.841573] zedx 30-0010: Driver Version : v0.6.1
[   25.841576] zedx 30-0010: Probing v4l2 sensor.
[   25.841736] zedx 30-0010: tegracam sensor driver:video1_v2.0.6
[   25.872698] zedx 30-0018: zedx_open: Accessing the camera
[   25.949592] zedx 30-0010: zedx_links_check: 1 link(s) detected
[   26.176863] zedx 30-0010: zedx_set_frame_rate: Unsupported value
[   26.508327] tegra-camrtc-capture-vi tegra-capture-vi: subdev zedx 30-0010 bound
[   26.508991] zedx 30-0010: Detected ZED-X sensor
[   26.509149] zedx 31-0018: Driver Version : v0.6.1
[   26.509151] zedx 31-0018: Probing v4l2 sensor.
[   26.509321] zedx 31-0018: tegracam sensor driver:video2_v2.0.6
[   26.532585] zedx 30-0010: zedx_open: Accessing the camera
[   26.617511] zedx 31-0018: zedx_links_check: 1 link(s) detected
[   26.625325] zedx 31-0018: zedx_write_reg:i2c write failed, 0x301a = 2058
[   26.632247] zedx 31-0018: ZED-X detect error
[   26.632320] zedx: probe of 31-0018 failed with error -1
[   26.637741] zedx 31-0010: Driver Version : v0.6.1
[   26.637743] zedx 31-0010: Probing v4l2 sensor.
[   26.637875] zedx 31-0010: tegracam sensor driver:video3_v2.0.6
[   26.750542] zedx 31-0010: zedx_links_check: 1 link(s) detected
[   26.751203] zedx 31-0010: zedx_write_reg:i2c write failed, 0x301a = 2058
[   26.758125] zedx 31-0010: ZED-X detect error
[   26.763369] zedx: probe of 31-0010 failed with error -1
[ 5298.454827] zedx 30-0010: zedx_open: Accessing the camera
[ 5298.454911] zedx 30-0018: zedx_open: Accessing the camera

@llllhs what NVIDIA Jetson device are you using?
Do you use a custom carrier board or a devkit?

@Myzhar we use NVIDIA Jetson Orin Nano (NX) devkit with ubuntu 20.04

Hi,

The first camera (if you connected only one ZED-X) is correctly detected on the kernel side.

[ 5298.454827] zedx 30-0010: zedx_open: Accessing the camera
[ 5298.454911] zedx 30-0018: zedx_open: Accessing the camera

To explain a bit more, the ZED-X is made of 2 imaging sensor (it’s a stereo camera…) which is bound on adress 30-00xx where xx is the side (10 for left camera, 18 for right camera).
A second zed-x will appear as 31-0010 and 31-0018 and so on…
Here it seems only 1 ZED-X is connected.

The issue you have comes from the Jetpack. How did you install the jetapck (through NVIDIA SDK manager or which apt ?). It seems you are missing CUDA which is part of the Jetpack.
nvbufsurftransform:cuInit failed : 100

@obraun-sl hi, we install jetpack from NVIDIA SDK manager

@llllhs probably you did not correctly perform the last steps of the NVIDIA SDK Manager installation where CUDA and the GPU drivers are installed.
Can you try to flash the board again and verify that CUDA and the GPU drivers are correctly installed?

Then you can install the ZED X Driver and the ZED SDK