IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.53k stars 4.81k forks source link

Depth consistently does not come up since flashing new firmware #7594

Closed pbeeson closed 3 years ago

pbeeson commented 3 years ago

Required Info
Camera Model D415
Firmware Version 05.12.08.200
Operating System & Version Ubuntu 18
Kernel Version (Linux Only) (e.g. 5.4.0-48)
Platform Dell XPS Laptop
SDK Version { 2.39.0-0~realsense0.3571 }
Language {C++ }
Segment {Robot }

Issue Description

My development D415 was working fine for months. Yesterday I flashed with new firmware after being prompted to by realsense-viewer. Since then, my programs (and realsense-viewer) consistently come up with no depth stream, and the camera needs to be unplugged from USB and replugged in before it will work.

MartyG-RealSense commented 3 years ago

Hi @pbeeson Would it be possible please to downgrade your camera firmware to version 5.12.7.100 by visiting the firmware releases page and downloading the file Signed_Image_UVC_5_12_7_100.bin ?

https://dev.intelrealsense.com/docs/firmware-releases#section-d400-series-firmware-downloads

After the download, if your camera is detected in the RealSense Viewer then you can go to the More option at the top of the Viewer's options side-panel and select the Update Firmware option from its drop-down menu.

image

Browse to the location where the Signed_Image_UVC_5_12_7_100.bin file was downloaded to and select it. The Viewer should now start installing that earlier firmware version into your camera.

Once the downgrade is completed, you have the option to try re-upgrading back to firmware version 5.12.8.200 by going back to the More option and this time selecting Install Recommended Firmware from its menu. Doing so does not require you to download the firmware file for that version if you are using SDK 2.39.0, and the firmware update should begin automatically.

If you find that you continue to have problems with depth when using firmware 5.12.8.200 then you could downgrade back to 5.12.7.100 if that works for you. Please bear in mind though that RealSense cameras have a limit of 20 downgrades, after which you can only upgrade to a newer firmware version, so please do not perform the downgrade repeatedly.

pbeeson commented 3 years ago

Yeah, I’ll run downgraded for a few days next week and report back.

On Sat, Oct 17, 2020 at 6:11 AM MartyG-RealSense notifications@github.com wrote:

Hi @pbeeson https://github.com/pbeeson Would it be possible please to downgrade your camera firmware to version 5.12.7.100 by visiting the firmware releases page and downloading the file Signed_Image_UVC_5_12_7_100.bin ?

After the download, if your camera is detected in the RealSense Viewer then you can go to the More option at the top of the Viewer's options side-panel and select the Update Firmware option from its drop-down menu.

[image: image] https://user-images.githubusercontent.com/41145062/96335513-14212f00-1071-11eb-9c37-ab65da90b4a8.png

Browse to the location where the *Signed_Image_UVC_5_12_7_100.bin** file was downloaded to and select it. The Viewer should now start installing that earlier firmware version int your camera.

Once the downgrade is completed, you have the option to try re-upgrading back to firmware version 5.12.8.200 by going back to the More option and this time selecting Install Recommended Firmware from its menu. Doing so does not require you to download the firmware file for that version if you are using SDK 2.39.0, and the firmware update should begin automatically.

If you find that you continue to have problems with depth when using firmware 5.12.8.200 then you could downgrade back to 5.12.7.100 if that works for you. Please bear in mind thouh that RealSense cameras have a limit of 20 downgrades, after which you can only upgrade to a newer firmware version, so please do not perform the downgrade repeatedly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/7594#issuecomment-710830383, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5N7RXFODT7KAYSVPJOOI3SLF3XTANCNFSM4STTCC6A .

pbeeson commented 3 years ago

An update: I haven't downgraded the firmware yet, but I noticed this morning that this started up randomly again, but this time I did notice that there are a small number of non-zero depth pixels (see non-black pixels in attached image), so it's like the depth camera is switching gains or modes or something without me commanding it to. The camera was working fine, I CTRL-C out of a program, restart, and it gives me this. Btu my program is shutting things down correctly, as it's based on your sample C code and was working fine with all firmware version for the past 4 months until the most recent one. Screenshot from 2020-10-19 10-38-57

MartyG-RealSense commented 3 years ago

Okay, thank you very much for the update. I look forward to hearing how the camera behaves after a firmware downgrade.

akifh commented 3 years ago

Same here and I can confirm that it works after downgrade to 5.12.7.100

pbeeson commented 3 years ago

After downgrading, it seems to be behaving ok. Given that @akifh also sees this, it sounds like the depth-based HDR of the newest firmware isn't very robust for the D415.

MartyG-RealSense commented 3 years ago

@akifh Thanks for your report!

@pbeeson I will make a note of the problems that yourself and @akifh had with firmware 5.12.8.200 on D415 and inquire to Intel if I see similar cases. Thanks!

MartyG-RealSense commented 3 years ago

Hi @pbeeson Are you continuing to get stable performance after your recent firmware downgrade, please?

You may also be interested in a new white-paper document Intel have publised about HDR if you have not seen it already.

https://github.com/IntelRealSense/librealsense/issues/7657

pbeeson commented 3 years ago

I am. The production firmware works great, while the newer HDR firmware definitely was affecting the depth image randomly on startup. It was about 25 % of the time that it came up with almost all zero depth readings.

On Fri, Oct 30, 2020 at 3:11 AM MartyG-RealSense notifications@github.com wrote:

Hi @pbeeson https://github.com/pbeeson Are you continuing to get stable performance after your recent firmware downgrade, please?

You may also be interested in a new white-paper document Intel have publised about HDR if you have not seen it already.

7657 https://github.com/IntelRealSense/librealsense/issues/7657

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/7594#issuecomment-719394770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5N7RQKPSEAZ6OFAUWHXRLSNJYJJANCNFSM4STTCC6A .

MartyG-RealSense commented 3 years ago

@pbeeson Thank you very much for the update.

MartyG-RealSense commented 3 years ago

Hi @pbeeson Do you require further assistance with this case, please? Thanks!

pbeeson commented 3 years ago

I don't believe so. Hopefully the next release will fix this issue.

MartyG-RealSense commented 3 years ago

Thanks very much for the update @pbeeson