-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Poor streaming performance with v2.50.0 and RSUSB backend #10174
Comments
I only have this issue on 2.50.0. 2.49.0 and below work fine. I tested reverting PR #9821 and that fixes the issue, so I think that PR might need revision. |
It looks like the libusb object is destructed a couple times a second at least when using realsense-viewer, which means the device is constantly detached and reattached from v4l, causing these glitches. |
@tpwrules I can reproduce the issue you've got. Will track this as a bug. Any update will let you know. Thanks! |
@MartyG-RealSense @RealSenseSupport. |
Hi @PeixinC A fix for RSUSB / V4L interoperability was implemented in 2.50.0. Using 2.50.0 may resolve your problem with the V4L backend not finding the device when using the RSUSB backend. However, you have been experiencing repeated disconnects and reconnects with 2.50.0. Is that correct, please? There have not been SDK updates to RSUSB in 2.51.1 according to the SDK release notes. If you are confident in editing scripts and would like 2.49.0's stability and 2.50.0's interoperability, conceivably you could edit the handle-libusb.h file of the 2.49.0 source code to recreate the changes made in 2.50.0 (shown in green in the link below) and then build that amended 2.49.0 source code with the RSUSB backend. |
Thanks for the information. Yes, you are correct. But according to tpwrules who found that
I will experience frame drops if I added the code in green to 2.49.0 source code. Please tell me if I misunderstand anything. |
My theory would be that if 2.49.0 has good performance for you but has the V4L interoperability problem then adding the code in green may give good performance and resolve the V4L issue. |
@tpwrules ** **L515 is EOL. If SDK v2.49.0 works well for you, please go ahead with v2.49.0. This ticket will be closed. Thanks! |
Issue Description
When trying to stream RGB video from an L515 using the RSUSB backend and
realsense-viewer
in the new v2.50.0 SDK, the video is jerky and the dropped frame percentage hovers between 10-20%. Additionally, the kernel log is spammed with messages indicating the connection of a newuvcvideo
device, as if the camera is constantly disconnecting and reconnecting every second or so. The log pane inrealsense-viewer
doesn't show anything.If I switch to the v2.49.0 SDK, try to stream RGB video from the same camera, and make no other changes to the setup, the video stream is rock solid and no frames are dropped.
The text was updated successfully, but these errors were encountered: