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

L515 not working #13142

Closed
DarthBogdo opened this issue Jul 10, 2024 · 15 comments
Closed

L515 not working #13142

DarthBogdo opened this issue Jul 10, 2024 · 15 comments

Comments

@DarthBogdo
Copy link

Required Info
Camera Model L515
Firmware Version 1.5.8.1
Operating System & Version Ubuntu 20.04
Kernel Version (Linux Only) 5.8.0
Platform PC
SDK Version v2.50.0
Language ROS/python
Segment Robot

Issue Description

The camera doesn't display a depth image in the realsense viewer or does so shortly only to report unreachable streams afterwards and show a black screen with occasional colorful dots. After unplugging the camera, the pointer submits a value of null and the device doesn't get recognized.

I am trying to use the 5.8 kernel and SDK v2.50.0 for compatibility, but I can't get past the patched kernel modules step:

Screenshot from 2024-07-10 13-55-35

@MartyG-RealSense
Copy link
Collaborator

Hi @DarthBogdo Could you first try unplugging the micro-sized end of the USB cable from the base of the camera, reversing the connector's orientation and plugging it back into the L515 camera, please (USB-C cables are two-way insertion at the micro-sized end). Does doing so make any difference?

@DarthBogdo
Copy link
Author

Hello @MartyG-RealSense
I tried this previously on other versions of the SDK - didn't bear any results. Mostly doing so would initiate the "null pointer" issue as soon as I reconnected the device.

@MartyG-RealSense
Copy link
Collaborator

Have you tried building the 2.50.0 SDK from source code and including the flag -DFORCE_RSUSB_BACKEND=TRUE in the CMake build instruction, please? An RSUSB = true build of librealsense is not dependent on kernel versions or Linux versions and does not require a kernel patch script to be applied.

@DarthBogdo
Copy link
Author

I have added RSUSB to the CMake step of the process described here: https://dev.intelrealsense.com/docs/compiling-librealsense-for-linux-ubuntu-guide

However, when I switched back, the issues with the depth stream:
Screenshot from 2024-07-10 18-16-01
Screenshot from 2024-07-10 18-17-35

and connecting:
Screenshot from 2024-07-10 18-19-22

persisted.

@MartyG-RealSense
Copy link
Collaborator

The instructions at #9931 (comment) for an RSUSB source code build are a little clearer than the guide that you linked to.

These are the CMake build flags that I recommend to use.

cmake ../ -DFORCE_RSUSB_BACKEND=true -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true

@DarthBogdo
Copy link
Author

I've built 2.50.0 SDK according to your instructions. Unfortunately, the depth stream issue didn't go away. The feed is visible when I start the the SDK after booting and then it becomes unreachable as soon as I turn it off or it disappears by itself after a short period of time:
Screenshot from 2024-07-11 16-05-51

@MartyG-RealSense
Copy link
Collaborator

A quickly disappearing depth image can be caused by GLSL settings in the Viewer's settings interface. #8110 (comment) has instructions on how to disable GLSL.

@DarthBogdo
Copy link
Author

After looking into it, the GLSL options were already turned off.

@MartyG-RealSense
Copy link
Collaborator

The Viewer images that you have provided look like a hardware fault in the camera that is not repairable. If you purchased the camera less than a year ago then I would recommend enquiring to the retailer that you purchased it from about an RMA return.

@DarthBogdo
Copy link
Author

I see. Thank you. Is there anything else I can try/do?

@MartyG-RealSense
Copy link
Collaborator

You could run the rs-capture example program to confirm whether the depth display problem is limited to the RealSense Viewer tool.

@DarthBogdo
Copy link
Author

I can't properly test it because of the irregular behaviour of the camera in terms of device detection (the null pointer case I described before). Could you give me any advice for that?

@MartyG-RealSense
Copy link
Collaborator

It is highly likely that your camera has a hardware fault on its USB port on the base of the camera that causes the irregular behaviour, unfortunately. It is not repairable.

@DarthBogdo
Copy link
Author

The camera now displays irregular behaviour: the depth stream actually works after launching rs-capture and waiting for a couple of minutes. Albeit, the device heats up considerably.

Thank you for your support and efforts to help me!

@MartyG-RealSense
Copy link
Collaborator

You are very welcome!

I would add that if a camera heats up considerably after only a few minutes after starting the camera then it can indicate that there is a problem with the USB port or with the USB cable (such as a cable that has internal damage from having been bent a lot).

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

2 participants