Uvcvideo: Non-zero status (-71) in completion handler

With a Zed 2i, using latest SDK and firmware at the time of this writing, on Ubuntu 22.04, GPU Nvidia RTX A2000, using the Python API, I recently started receiving the following error every time I try to open the camera:

Mar 02 16:23:43 B2CON00024 kernel: uvcvideo 2-2.4.4:1.1: Non-zero status (-71) in video completion handler.
Mar 02 16:23:43 B2CON00024 kernel: uvcvideo 2-2.4.4:1.1: Non-zero status (-71) in video completion handler.
Mar 02 16:23:44 B2CON00024 kernel: uvcvideo 2-2.4.4:1.1: Non-zero status (-71) in video completion handler.
Mar 02 16:23:44 B2CON00024 kernel: uvcvideo 2-2.4.4:1.1: Non-zero status (-71) in video completion handler.
Mar 02 16:23:45 B2CON00024 kernel: uvcvideo 2-2.4.4:1.1: Non-zero status (-71) in video completion handler.
Mar 02 16:23:45 B2CON00024 circusd[1272]: [2025-03-02 16:23:45 UTC][ZED][WARNING] CAMERA NOT DETECTED in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)

Occasionally, it also says this:

 kernel: uvcvideo 2-2.4.4:1.1: Failed to resubmit video URB (-1).

That is, a series of uvcvideo errors followed by the open call failing to detect the camera.

Reloading the uvcvideo module did not help, nor did rebooting the system, nor does unplugging and replugging the camera. This error just started recently and is happening 100% of the time.

The camera itself is detected by the usb subsystem without issue:

[  584.386051] usb 2-2.4.4: new SuperSpeed USB device number 28 using xhci_hcd
[  584.406898] usb 2-2.4.4: New USB device found, idVendor=2b03, idProduct=f880, bcdDevice= 1.00
[  584.406911] usb 2-2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[  584.406918] usb 2-2.4.4: Product: ZED 2i
[  584.406924] usb 2-2.4.4: Manufacturer: Technologies, Inc.
[  584.406929] usb 2-2.4.4: SerialNumber: OV0001
[  584.410752] usb 2-2.4.4: Found UVC 1.10 device ZED 2i (2b03:f880)
[  584.418668] input: ZED 2i: ZED 2i as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4/2-2.4.4/2-2.4.4:1.0/input/input32

It’s just that attempting to open it produces these uvcvideo errors and then fails.

What is going on?

Today, it just magically started working again… argh. Would love to know what was going on.

1 Like

If the problem comes back, please run the ZED Diagnostic tool and send the report that it generates to support@stereolabs.com

It stopped working again and I am emailing the diagnostic tool logs to support now.

We have similar setup, using the Python SDK version 4.x, and this an issue we would hit very often when closing and reopening the camera. A sequence of step which is required to change the camera native resolution.

We did add waits before reopening cameras to make it less likely to happen but this doesn’t fully prevent connection issues and isn’t desirable either.

Was the issue root caused?
Are there known solutions?

Thank!

Bad USB3 connectivity

Please write an email to support@stereolabs.com with the report generated by the ZED Diagnostic tool attached.
We will investigate one the cause of your problem.

Thanks, @Myzhar! I will reach out by email soon.