Zed 2i camera disconnects, Non-zero status (-71) in video completion handler

Hello, I am having problems with my Zed 2i camera connection. Sometimes it randomly disconnects when closing and reopening ZED_Depth_Viewer or, rarely, when reopening ZED_Explorer.
dmsg says uvcvideo 2-3:1.1: Non-zero status (-71) in video completion handler.
ZED_Diagnostic shows no errors. There is a full report:

report
AI Models
info
0 “MULTI CLASS DETECTION is not optimized”
1 “MULTI CLASS MEDIUM DETECTION is not optimized”
2 “MULTI CLASS ACCURATE DETECTION is not optimized”
3 “HUMAN BODY FAST DETECTION is not optimized”
4 “HUMAN BODY MEDIUM DETECTION is not optimized”
5 “HUMAN BODY ACCURATE DETECTION is not optimized”
6 “HUMAN BODY 38 FAST DETECTION is not optimized”
7 “HUMAN BODY 38 MEDIUM DETECTION is not optimized”
8 “HUMAN BODY 38 ACCURATE DETECTION is not optimized”
9 “PERSON HEAD DETECTION is not optimized”
10 “PERSON HEAD ACCURATE DETECTION is not optimized”
11 “REID ASSOCIATION is not optimized”
valid
0 “NEURAL LIGHT DEPTH is optimized”
1 “NEURAL DEPTH is optimized”
2 “NEURAL PLUS DEPTH is optimized”
Camera Test
CorruptedFirmware []
InternalDevicesCount (GMSL) []
InternalDevicesCount (USB) []
MCUDetected []
Serial Number []
USBList
0
USB_path “/5”
idProduct “0x7523”
idVendor “0x1a86”
1
USBMode 2
USB_path “/3/2”
bDescriptorType 1
bDeviceProtocol 0
bLength 18
bMaxPacketSize0 64
bNumConfigurations 1
bcdDevice “3.9”
bcdUSB “2.0”
bcdUSBClass 0
bcdUSBSubClass 0
busNumber 1
device “ZED2i MCU”
iManufacturer 1
iProduct 2
iSerial 3
idProduct “0xf881”
idVendor “0x2b03”
2
USB_path “/3”
idProduct “0x2512”
idVendor “0x0424”
3
USBMode 3
USB_path “/3”
bDescriptorType 1
bDeviceProtocol 1
bLength 18
bMaxPacketSize0 9
bNumConfigurations 1
bcdDevice “1.0”
bcdUSB “3.0”
bcdUSBClass 239
bcdUSBSubClass 2
busNumber 2
device “ZED2i”
iManufacturer 1
iProduct 2
iSerial 4
idProduct “0xf880”
idVendor “0x2b03”
USBMode []
ZED Camera Module Detected []
ZED MCU Module Detected []
ZEDCount []
ZEDDetected []
ZEDs []
camera []
resolutions []
sensors []
valid
0 Camera: ZED 2i”
1 USB Bandwidth: OK”
2 USB Bandwidth: OK”
Graphics Card
deviceCount 1
deviceDriverVersion 13000
devices
0
arch “Ampere”
computeCapability “8.6”
cores 3584
name “NVIDIA GeForce RTX 3060”
totalMemoryBytes “12485197824”
totalMemoryMB 11906.8125
glx_info “OpenGL vendor string: NVIDIA Corporation\nOpenGL renderer string: NVIDIA GeForce RTX 3060/PCIe/SSE2\nOpenGL core profile version string: 4.6.0 NVIDIA 580.119.02\nOpenGL core profile shading language version string: 4.60 NVIDIA\nOpenGL core profile context flags: (none)\nOpenGL core profile profile mask: core profile\nOpenGL core profile extensions:\nOpenGL version string: 4.6.0 NVIDIA 580.119.02\nOpenGL shading language version string: 4.60 NVIDIA\nOpenGL context flags: (none)\nOpenGL profile mask: (none)\nOpenGL extensions:\nOpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 580.119.02\nOpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20\nOpenGL ES profile extensions:\n”
initResult 0
valid
0 Graphics card: NVIDIA GeForce RTX 3060”
Processor
OS "Pop!_OS 22.04 LTS "
avxSupported true
coreCount “20”
cpu " 12th Gen Intel(R) Core™ i7-12700TE"
datetime “2026-02-13 10:12:44 AM”
hyperThreading “1”
motherboard “Default string, Default string”
ramCapacity “33.381868”
ramUsage “”
ramUsed “4.949139”
threadCount “40”
valid
0 Processor: 12th Gen Intel(R) Core™ i7-12700TE”
1 Motherboard: Default string, Default string”
ZED SDK
CUDA Toolkit version “V12.8.93 -->located in /usr/local/cuda-12.8/bin/nvcc”
CUDA loading false
GPU Driver Version “Driver Version : 580.119.02”
GPU Performance " Performance State : P0"
ZED SDK Version (Diag) “5.1.1”
ZED SDK Version (RT) “5.1.1”
ai
checkAI true
cudaVersion 12080
tensorVersion 100900
binFiles
0 “libsl_ai.so”
1 “libsl_zed.so”
resourcesFiles
0 “neural_depth_5.3.model”
1 “neural_depth_light_5.2.model”
2 “objects_accurate_3.2.model”
3 “objects_medium_3.2.model”
4 “objects_performance_3.2.model”
5 “person_head_accurate_2.6.model”
6 “person_head_performance_2.6.model”
7 “person_reid_1.4.model”
8 “skeleton_body18_3.2.model”
9 “skeleton_body38_3.5.model”
10 “warehouse_accurate_1.0.model”
resourcesFilesExpected
0 “objects_performance_3.2”
valid
0 ZED SDK version: 5.1.1”
1 CUDA version: V12.9.86”
2 CUDA version: V12.8.93”

This problem also appears when I’m using my camera with zed ros2 wrapper. It works fine only when depth_mode is set to NONE.

What might be the cause?
Are there known solutions?

Hi @gslnkvmx
Welcome to the Sterolabs community.

Have you tested if the problem persists with the latest ZED SDK v5.2?

I’ve tried it now and problem remains. It works the same, but now i also got this error when running ZED_Diagnostic -c

Stack trace (most recent call last) in thread 38715:
#9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#8    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x74d80d7268cf, in 
#7    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x74d80d694ac2, in 
#6    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x74d80dadc252, in 
#5    Object "ZED_Diagnostic", at 0x458dc6, in 
#4    Object "ZED_Diagnostic", at 0x473504, in 
#3    Object "ZED_Diagnostic", at 0x47dddb, in 
#2    Object "ZED_Diagnostic", at 0x47b2a4, in 
#1    Object "ZED_Diagnostic", at 0x479d1e, in 
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x74d80d7a088d, in 
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)
1 Like

Please try to clean the folder containing the optimized AI models:

sudo rm /usr/local/zed/resources/* 
sudo rm /usr/local/zed/resources/.* 

then try to re-optimize the AI Depth model.

You can force it by simply opening ZED Depth Viewer.

Ok, now zed ros2 wrapper works fine, as well as ZED_Depth_Viewer :folded_hands: :folded_hands:
But camera disconnects sometimes randomly (like 1 in 10 launches), ZED_Explorer --reboot always helps.
and ZED_Diagnostic still throws same error, when checking camera connection. (not really a problem for me)
Anyways, that’s a great improvement, thank you!!

Please check the stability of the USB3 connection. Be sure that the screws of the camera plug are strongly strengthened, and that the connector on the host side is tight.

I also get this error using Zed SDK 5.2 using Ubuntu 24.04 server with HWE kernel.

Downgrading to 5.1 solved the issue with Zed_Diagnostic -c and in my C# application.