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

Issue with depth sensor on L515 #9374

Closed
GitNzino opened this issue Jul 12, 2021 · 22 comments
Closed

Issue with depth sensor on L515 #9374

GitNzino opened this issue Jul 12, 2021 · 22 comments

Comments

@GitNzino
Copy link

GitNzino commented Jul 12, 2021

Required Info
Camera Model L515
Firmware Version 01.05.08.01
Operating System & Version Ubuntu 18.04 LTS
Kernel Version (Linux Only) 5.4.0-77-generic
Platform PC
SDK Version 2.48.0
Language C++/python/ROS
Segment Lidar

Issue Description

The depth sensor seems to not work properly either in code and in realsense app. I suggest that resolving the problem for realsense app the L515 will work also with my script because some week before all worked properly.

Error showed from realsense app:
Screenshot from 2021-07-12 09-56-33

Same error but terminal output:
Screenshot from 2021-07-12 09-57-10

Camera info:
Screenshot from 2021-07-12 10-00-29

@MartyG-RealSense
Copy link
Collaborator

Hi @GitNzino Some previous occurrences of xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error on the L515 camera model when enabling the depth sensor can be found in the link below:

#8723

Could you first try unplugging the end of the USB cable that is inserted in the camera, turning it around the opposite way and re-inserting it please (the connector is two-way insertion on the camera end of the cable). Does doing so stop the error from appearing when enabling the depth sensor?

@GitNzino
Copy link
Author

Thank you for reading and responding!

I have already read and this issue, but also trying to rotate the USB type C connectors nothing change.

I want also tell you that I'm using the original Type C connectors and when I start Realsense exe the Red ligth on camera does not appear.

@GitNzino
Copy link
Author

In addiction I have
tried the Realsense exe also for Windows, but not works neither

@MartyG-RealSense
Copy link
Collaborator

As the camera is able to be detected in the Viewer, and display its details, let's explore the possibility of a firmware-related problem first. I see that you are using firmware 1.5.8.1 - if you have updated the firmware recently, did the firmware update coincide with the start of the problem or happen some tine later?

@GitNzino
Copy link
Author

I have tried to installe the 1.5.4.1 firmware, but with Ubuntu does not work.

At the start I had no problem with camera, after I leave the camera to another person but I cannot known if he done a firmware upgrade meanwhile, and then the camera returned with this problem.

@MartyG-RealSense
Copy link
Collaborator

Did you download the firmware file from the L515 firmware page in the link below and then use the Update Firmware option in the RealSense Viewer program to select the downloaded firmware file to initiate the update?

https://dev.intelrealsense.com/docs/firmware-releases-l500

@GitNzino
Copy link
Author

Yes I followed all the step in that page

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 12, 2021

If the firmware that is shown in the Viewer's Info display is currently 1.5.8.1 then you have the most recent firmware installed.

Although the depth stream will not enable, is the RGB stream able to be enabled correctly?

Also, were you using SDK 2.48.0 with the camera successfully before you gave the camera to another person?

@GitNzino
Copy link
Author

GitNzino commented Jul 12, 2021

I tried with firmware 1.5.4.1 but when I saw that not worked I re-installed 1.5.8.1.

Yes the other sensor work fine, the only that not works is the depth sensor.

Honestly I don't remember what version of SDK I had, but on Linux i update the libraries very often so if in June you released a new version of SDK then I changed SDK version

@MartyG-RealSense
Copy link
Collaborator

2.48.0 was released at the very end of June . Before that, 2.47.0 was released on 6 June.

@GitNzino
Copy link
Author

Well fine!

Can you suggest a correct method to downgrade the SDK to 2.46 or less?

@MartyG-RealSense
Copy link
Collaborator

Do you build librealsense from packages or from source code please?

@GitNzino
Copy link
Author

I build it with apt install

@MartyG-RealSense
Copy link
Collaborator

Before 2.47.0, the next oldest version is 2.45.0 as there is not a 2.46.0.

My understanding is that installing a specific librealsense package version is more complex than just installing the latest one, as described in the link below.

#5773 (comment)

Installing from source code may be more straightforward, as you just select the source-code folder version that you want from the 'Assets' file lists on the SDK Releases page and build it with CMake.

https://github.com/IntelRealSense/librealsense/releases

Changing versions is considerably easier if you have a Windows computer available instead of Ubuntu, as you can use the automated installer file in the 'Assets' list and the installation simply overwrites the previously installed version.

image

@GitNzino
Copy link
Author

I get the SDK 2.47.0 on Ubuntu, but the error is still present.

@GitNzino
Copy link
Author

Screenshot from 2021-07-13 10-59-12

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 13, 2021

Could you try the rs-capture SDK example program please to test whether the problem is only in the RealSense Viewer or affecting depth streaming in general?

You can launch this example from the Ubuntu terminal with the command rs-capture or on Windows using the instructions in the link below.

#8024 (comment)

Here is an image from rs-capture on my own L515.

image

@GitNzino
Copy link
Author

GitNzino commented Jul 13, 2021

Ok thank you!

I tried and i obtained this error:

13/07 11:17:09,850 ERROR [139888354895744] (types.h:310) xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
RealSense error calling rs2_pipeline_start(pipe:0x55c697fa2640):
    xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
 13/07 11:17:09,850 ERROR [139888354895744] (l500-depth.cpp:576) Exception caught in l500_depth_sensor::open

And no window opened

@MartyG-RealSense
Copy link
Collaborator

I will check with Intel again for further advice and update you when I have information. I recommend putting the problem aside until then. I appreciate your continued patience.

@GitNzino
Copy link
Author

Thank you for support and patience too!

See you soon, have a nice time

@MartyG-RealSense
Copy link
Collaborator

Hi @GitNzino After discussing your case with Intel, they requested that you return your L515 camera to wherever you purchased it from, using the RMA (Return Merchandise Authorization) returns process of that supplier.

@GitNzino
Copy link
Author

Ok, thank you!

I'm closing the issue

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