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

Pi4 & SR305: Frame didn't arrived within 5000 #6740

Closed
eldonaldo opened this issue Jul 1, 2020 · 7 comments
Closed

Pi4 & SR305: Frame didn't arrived within 5000 #6740

eldonaldo opened this issue Jul 1, 2020 · 7 comments

Comments

@eldonaldo
Copy link


Required Info
Camera Model SR305
Firmware Version 3.27.3.0
Operating System & Version Raspbian
Platform Raspberry Pi 4, powered over ethernet
SDK Version 2.0
Language Python 3.7.3
Segment Robot

Issue Description

Hi Intel Realsense team,

we are experiencing an issue with the SR305 which is mounted on an ethernet powered Raspberry Pi. We sometimes (bot not always) receive the following error message during the pipeline.wait_for_frames() call: Frame didn't arrived within 5000 issue and frames get dropped.

Do you have any hints for us? We assume that it MIGHT be related to powering issues, i.e. that the Pi can't deliver the required watts over usb 3.0 to the SR305. We already checked all git issue related to 5000er errors and search nearly the entire web, but no proposed solution has worked for us so far :(

Thank you for your help!
Cheers

@eldonaldo eldonaldo changed the title Pi4 + SR305: Frame didn't arrived within 5000 Pi4 & SR305: Frame didn't arrived within 5000 Jul 1, 2020
@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 1, 2020

Hi @eldonaldo If you are not experiencing apparent performance loss from the frame didn't arrived within 50000 error then using try_wait_for_frames() instead might be a solution. Like wait_for_frames, it blocks until a frame is received. The difference though is that it does not throw on timeout but instead returns false.

If it is an occasional error rather than a constant one, I would also check for the possibility of whether the Pi board is overheating.

@dorodnic
Copy link
Contributor

dorodnic commented Jul 9, 2020

Hi @eldonaldo
Please check (and attach) dmesg log when starting streaming.
SR305 creates peak power usage on start. Hence its likely the camera is detected correctly, but when you try to start streaming the Pi is unable to provide enough power causing the camera to disconnect (and hence wait_for_frame to time-out)

@MartyG-RealSense
Copy link
Collaborator

Hi @eldonaldo Do you still require assistance with this case, please or can it be closed? Thanks!

@eldonaldo
Copy link
Author

Dear friends, thank you very much for your help and sorry for the delayed response. Since we had a hard deadline and couldn't add power supply so quickly we decided to add scheduled restarts which solved the problem temporarily. We didn't experience the issue again. However, @dorodnic answer sounds plausible and thus we will add a dedicated power supply for the SR305 to (hopefully) finally get rid of the issue for ever.

@MartyG-RealSense
Copy link
Collaborator

Thanks so much for the update @eldonaldo Please let us know the results of your dedicated power supply testing when you have them.

@MartyG-RealSense
Copy link
Collaborator

Hi again @eldonaldo Do you have test results from your dedicated power supply testing to provide yet? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received after 3 weeks. Please open a new issue if you wish to continue with support for your problem later. Thanks!

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

No branches or pull requests

3 participants