Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth stream freezes with error "USB SCP overflow" #6

Open
WasabiFan opened this issue Mar 7, 2019 · 9 comments
Open

Depth stream freezes with error "USB SCP overflow" #6

WasabiFan opened this issue Mar 7, 2019 · 9 comments

Comments

@WasabiFan
Copy link

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
Copy link
Author

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.

@longwoo
Copy link

longwoo commented May 14, 2019

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

@WasabiFan
Copy link
Author

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... IntelRealSense/librealsense#3268 was closed and IntelRealSense/librealsense#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.

@longwoo
Copy link

longwoo commented May 15, 2019

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
Copy link

longwoo commented May 17, 2019

It works on usb3.0 hub.

@WasabiFan
Copy link
Author

@longwoo a hub or a PCIe card?

@longwoo
Copy link

longwoo commented May 17, 2019

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

@ustyui
Copy link

ustyui commented May 19, 2019

@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.

@WasabiFan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants