ZED_Depth_Viewer ERROR

Hello, I encountered some issues while using the Zed2i 4mm camera. I searched for information on the forum and found similar issues, but couldn’t find a solution. Therefore, I would like to seek your help.

The current direct phenomenon is that the ZED_Explorer can run normally, but the parameters are not visible, and the ZED_Depth_Viewer not available. I also have a phenomenon that, I can use a Zed2i 2mm camera normally (with no bug), but the above problem occurs when I use the same cable to use a newly purchased Zed2i 4mm camera.

The following is the environmental information I am trying to output, and I am not sure if it is useful. Thank you very much for your help.

The following is the table of contents:

  • ZED_Depth_Viewer
  • ldd libsl_ai.so
  • ZED_Explorer
  • OpenGL
  • ZED_Diagnostic

I don’t know if this is due to the mismatch between the SDK version I am using and Zed2i 4mm. Can you recommend a tested SDK and CUDA version that supports running Zed2i 4mm. Thank you very much.

ZED_Depth_Viewer

(zed) ➜  [/home/zhao/下载] /usr/local/zed/tools/ZED_Depth_Viewer
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_default_append
Stack trace (most recent call last) in thread 27547:
#17   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#16   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb576d9761e, in clone
#15   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fb5844bd6da, in 
#14   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fb577a5217c, in 
#13   Object "/usr/local/zed/tools/ZED_Depth_Viewer", at 0x5575f19bc879, in 
#12   Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb57a06c44b, in sl::Camera::grab(sl::RuntimeParameters)
#11   Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb579d942bc, in 
#10   Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb579db8774, in 
#9    Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb579db79b6, in 
#8    Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb579d9a7bb, in 
#7    Object "/usr/local/zed/lib/libsl_zed.so", at 0x7fb579d9abc5, in 
#6    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb5776ab810, in 
#5    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb5776afd53, in __cxa_throw
#4    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb5776afb20, in std::terminate()
#3    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb5776afae5, in 
#2    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb5776a9956, in 
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb576cb67f0, in abort
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb576cb4e87, in gsignal
Aborted (Signal sent by tkill() 27497 1000)
[1]    27497 abort (core dumped)  /usr/local/zed/tools/ZED_Depth_Viewer

ldd libsl_ai.so


(zed) ➜  [/home/zhao/下载] ldd /usr/local/zed/lib/libsl_ai.so
	linux-vdso.so.1 (0x00007ffe52d02000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f84e22fd000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f84e20f9000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f84e1ef1000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f84e1cbf000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f84e1aa2000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f84e183a000)
	libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 (0x00007f84dfb59000)
	libnvinfer.so.8 => /usr/local/cuda/lib64/libnvinfer.so.8 (0x00007f84c63a2000)
	libnvinfer_plugin.so.8 => /usr/local/cuda/lib64/libnvinfer_plugin.so.8 (0x00007f84c3de0000)
	libnvonnxparser.so.8 => /usr/local/cuda/lib64/libnvonnxparser.so.8 (0x00007f84c3933000)
	libarchive.so.13 => /usr/lib/x86_64-linux-gnu/libarchive.so.13 (0x00007f84c3683000)
	libsl_zed.so => /usr/local/zed/lib/libsl_zed.so (0x00007f84baffd000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f84bac74000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f84ba8d6000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f84ba6a7000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f84ba48f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f84ba09e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f84e440a000)
	libcublas.so.11 => /usr/local/cuda/lib64/libcublas.so.11 (0x00007f84b0920000)
	libcublasLt.so.11 => /usr/local/cuda/lib64/libcublasLt.so.11 (0x00007f849bad2000)
	libcudnn.so.8 => /usr/local/cuda/lib64/libcudnn.so.8 (0x00007f849b8ac000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f849b676000)
	libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007f849b46e000)
	liblzo2.so.2 => /lib/x86_64-linux-gnu/liblzo2.so.2 (0x00007f849b24c000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f849b026000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f849ae0a000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f849abfa000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f849a839000)
	libturbojpeg.so.0 => /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 (0x00007f849a5c8000)
	libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f849a3b0000)
	libnvcuvid.so.1 => /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1 (0x00007f8499a43000)
	libnvidia-encode.so.1 => /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.1 (0x00007f8499812000)
	libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f849960d000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f8499255000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f8499037000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f849748e000)


ZED_Explorer

/usr/local/zed/tools/ZED_Explorer
This program can be run normally and see the camera image. But no camera calibration parameters are displayed. N/A

OpenGL

(zed) ➜  [/home/zhao/下载] glxinfo |grep OpenGL            
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA TITAN RTX/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 525.105.17
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 525.105.17
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 525.105.17
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

ZED_Diagnostic

(zed) ➜  [/home/zhao/下载] ZED_Diagnostic -c
ZED Diagnostic Tool

- Running ZED SDK Diagnostic : Warning
    Multiple version of CUDA has been detected. It is recommended to uninstall other versions than 11.7.
    ZED SDK version: 3.8.2
    CUDA version: V11.7.64
- Running Processor Diagnostic : Warning
    Unable to identify your processor, make sure that it fits the requirements.
    Motherboard:  ROG STRIX Z390-H GAMING, ASUSTeK COMPUTER INC.
- Running Graphics Card Diagnostic : OK  
    Graphics card:  NVIDIA TITAN RTX
    Graphics card:  NVIDIA TITAN RTX
- Running Camera Test Diagnostic : OK  
    Camera: ZED 2i
    Firmware: 1523
- Running USB Diagnostic : OK  
    USB Bandwidth:  OK
Diagnostic finished, a file has been generated : ZED_Diagnostic_Results.json
{
    "Camera Test": {
        "InternalDevicesCount": 2,
        "ZEDCount": 1,
        "camera": {
            "Device ID": 0,
            "Firmware": 1523,
            "Init Output": "OK",
            "Model": "ZED 2i",
            "Serial Number": 31114542,
            "valid": [
                "<b>Camera: </b>ZED 2i",
                "<b>Firmware: </b>1523"
            ]
        },
        "resolutions": {
            "HD1080@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD1080@30": {
                "fps (input)": 30,
                "fps (output)": 30,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD2K@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 1242,
                "height (output)": 1242,
                "initialization": "OK",
                "status": true,
                "width (input)": 2208,
                "width (output)": 2208
            },
            "HD720@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@30": {
                "fps (input)": 30,
                "fps (output)": 30,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@60": {
                "dropCount": -1,
                "fps (input)": 60,
                "fps (output)": 60,
                "height (input)": 720,
                "height (output)": 720,
                "imageCount": 502,
                "initialization": "OK",
                "status": true,
                "tearingCount": 0,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "VGA@100": {
                "fps (input)": 100,
                "fps (output)": 100,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@30": {
                "fps (input)": 30,
                "fps (output)": 30,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@60": {
                "fps (input)": 60,
                "fps (output)": 60,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            }
        },
        "sensors": {
            "Firmware": 777,
            "Init Output": "OK",
            "Model": "ZED 2i (MCU)",
            "Serial Number": 31114542
        }
    },
    "Graphics Card": {
        "deviceCount": 2,
        "deviceDriverVersion": 12000,
        "devices": [
            {
                "arch": "Turing",
                "computeCapability": "7.5",
                "cores": 9216,
                "name": "NVIDIA TITAN RTX",
                "totalMemoryBytes": "25388515328",
                "totalMemoryMB": 24212.375
            },
            {
                "arch": "Turing",
                "computeCapability": "7.5",
                "cores": 9216,
                "name": "NVIDIA TITAN RTX",
                "totalMemoryBytes": "25379930112",
                "totalMemoryMB": 24204.1875
            }
        ],
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> NVIDIA TITAN RTX",
            "<b>Graphics card: </b> NVIDIA TITAN RTX"
        ]
    },
    "Processor": {
        "OS": "Ubuntu 18.04.6 LTS ",
        "avxSupported": true,
        "coreCount": "",
        "cpu": " Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz",
        "datetime": "2023-05-01 17时30分15秒",
        "hyperThreading": "0",
        "motherboard": "ROG STRIX Z390-H GAMING, ASUSTeK COMPUTER INC.",
        "ramCapacity": "67.348242",
        "ramUsage": "",
        "ramUsed": "27.351310",
        "threadCount": "0",
        "valid": [
            "<b>Motherboard: </b> ROG STRIX Z390-H GAMING, ASUSTeK COMPUTER INC."
        ],
        "warning": [
            "Unable to identify your processor, make sure that it fits the requirements."
        ]
    },
    "USB": {
        "CorruptedFirmware": false,
        "MCUDetected": true,
        "USBList": [
            {
                "USB_path": "/9",
                "idProduct": "0xc534",
                "idVendor": "0x046d"
            },
            {
                "USBMode": 3,
                "USB_path": "/1",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 6,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USBMode": 2,
                "USB_path": "/1/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 0,
                "bLength": 18,
                "bMaxPacketSize0": 64,
                "bNumConfigurations": 1,
                "bcdDevice": "3.9",
                "bcdUSB": "2.0",
                "bcdUSBClass": 0,
                "bcdUSBSubClass": 0,
                "busNumber": 5,
                "device": "ZED2i MCU",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 3,
                "idProduct": "0xf881",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/1",
                "idProduct": "0x2512",
                "idVendor": "0x0424"
            }
        ],
        "USBMode": 3,
        "ZED Camera Module Detected": 63616,
        "ZED MCU Module Detected": 63617,
        "ZEDDetected": true,
        "valid": [
            "<b>USB Bandwidth: </b> OK"
        ]
    },
    "ZED SDK": {
        "CUDA Toolkit version": "V11.7.64 -->located in /usr/local/cuda-11.7/bin/nvcc",
        "CUDA loading": false,
        "GPU Driver Version": "Driver Version                            : 525.105.17",
        "GPU Performance": "    Performance State                     : P8",
        "ZED SDK Version (Diag)": "3.8.2",
        "ZED SDK Version (RT)": "3.8.2",
        "[Warning] Other cuda version N°0": "V11.8.89-->located in  in /usr/local/cuda-11.8/bin/nvcc",
        "[Warning] Other cuda version N°1": "V11.3.109-->located in  in /usr/local/cuda-11.3/bin/nvcc",
        "ai": {
            "checkAI": true,
            "cudaVersion": 11070,
            "cudnnCudartVersion": 11060,
            "cudnnVersion": 8401,
            "cudnnVersionExpected": 8401,
            "tensorVersion": 8402
        },
        "binFiles": [
            "libsl_ai.so",
            "libsl_zed.so",
            "libsl_zed_static.a"
        ],
        "resourcesFiles": [
            "neural_depth_2.0.model",
            "objects_performance_2.2.model"
        ],
        "resourcesFilesExpected": [
            "objects_performance_2.2"
        ],
        "valid": [
            "<b>ZED SDK version:</b> 3.8.2",
            "<b>CUDA version:</b> V11.7.64"
        ],
        "warning": [
            "Multiple version of CUDA has been detected. It is recommended to uninstall other versions than 11.7."
        ]
    }
}

Hi @zhaojinjian0000
Welcome to the Stereolabs community.

The 2.1 mm and 4 mm camera models are handled in the same way by our software, so the error that you are reporting is quite strange.
Can you please record an SVO with ZED Explorer and share it with us to be analyzed by our team?
You can share it by email (support@stereolabs.com) if you prefer to not share it publicly.

Thank you very much for your help.

My email is zhaojinjian0000@qq.com
I just sent an email containing an SVO video with the following subject “[zhaojinjian0000] ZED_ Depth_ Viewer ERROR”

1 Like