buildLibrealsense2Xavier icon indicating copy to clipboard operation
buildLibrealsense2Xavier copied to clipboard

Depth stream freezes with error "USB SCP overflow"

Open WasabiFan opened this issue 5 years ago • 9 comments

After following the setup instructions in this repo, the depth stream stops updating within a few minutes of opening it. It doesn't recover unless I unplug/replug the device or click "Hardware Reset" in the viewer. Here's what it looks like in the realsense-viewer app:

screenshot from 2019-03-06 18-16-18

I believe this is specific to the Jetson. I had similar depth stream freezing issues on the TX2, but it works fine on my Windows laptop.

Any suggestions for debugging this?

WasabiFan avatar Mar 07 '19 02:03 WasabiFan

Update: building with -DFORCE_LIBUVC=true seems to help. Whereas the depth stream consistently froze within 50 seconds before, now I've been able to run it for 10+ minutes multiple times without it stopping. I don't know why this occurs.

WasabiFan avatar Mar 08 '19 03:03 WasabiFan

I had the same problem. It is weird that it is OK in the https://www.youtube.com/watch?v=Pp18JL6H2zc tutorials.

longwoo avatar May 14 '19 12:05 longwoo

Currently, in my system it runs OK at first but then will intermittently freeze for anywhere from a second to ten seconds. I still haven't been able to figure out what is causing it.

I've been trying to get the official librealsense maintainers to help out, but they seem to be ignoring my issues... https://github.com/IntelRealSense/librealsense/issues/3268 was closed and https://github.com/IntelRealSense/librealsense/issues/3906 hasn't had any responses since I posted it. It might be that they don't want to deal with platforms other than x86... I can't say.

WasabiFan avatar May 14 '19 20:05 WasabiFan

The Intel and Nvidia corp is not support offcially.

The comments on the blog https://www.jetsonhacks.com/2019/01/21/intel-realsense-d435i-on-nvidia-jetson-agx-xavier/ gives some ideas to solve this ,such as usb3.0 hub , pcie to usb. Have you tried? I don't have a Xavier at hand now, so I cannot make a test.

longwoo avatar May 15 '19 01:05 longwoo

It works on usb3.0 hub.

longwoo avatar May 17 '19 03:05 longwoo

@longwoo a hub or a PCIe card?

WasabiFan avatar May 17 '19 04:05 WasabiFan

@WasabiFan A use3.0 hub connected to Xavier usb port. I had tested it for hours.

longwoo avatar May 17 '19 06:05 longwoo

@WasabiFan A use3.0 hub connected to Xavier usb port. I had tested it for hours.

@WasabiFan I also have tested using an usb3.0 hub and it actually works, but that is because when using usb3.0 configuration the camera resolution is 1024768 or something (less than when you are using usb3.2, 1280768 or so).

If lowing the resolution would be okay for you I suggest that you use a USB 3.0 config.

ustyui avatar May 19 '19 13:05 ustyui

I'm running color at 960x540 and depth at 640x480. I highly doubt that resolution is the issue.

WasabiFan avatar May 19 '19 17:05 WasabiFan