-
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
Release to Ubuntu 22.4 / jammy #10439
Comments
Hi @doisyg The librealsense SDK currently officially supports up to Ubuntu 20.04 (Focal) at the time of writing this. Support for newer Ubuntu versions will be announced at a future date. You should be able to attempt to build the SDK from source code with CMake for Jammy immediately though if the SDK is built with the RSUSB backend method, as that type of librealsense build is not dependent on Linux versions or kernel versions and does not require patching |
Thanks so much @doisyg for your confirmation that librealsense can be made to work with Ubuntu 22.04. |
Why not? Can we please get real support instead of canned responses here? This is the LTS release of the most popular Linux distro in the world, and by far the most popular OS for robots, a little friendliness in communication with the dev community about timelines would go a long way. We do pay for these devices. |
It doesn't make sense to close this issue until realsense is properly released to Ubuntu 22.04. And this is the good place to communicate about the progress, schedule, beta and blocking points I believe. |
Well, if it is going to be released for Jammy, this issue should be left open until it is. There is no problem in leaving issues open for a long time, it is actually good practice, signaling to the community that it is being addressed, for instance: ros-navigation/navigation2#1391 |
For stable long-term support I would recommend using SDK and firmware pairings that Intel has categorized as Production (suitable for critical applications and commercial products). The most recent Production configuration at the time of writing this is SDK 2.50.0 and firmware 5.13.0.50. https://dev.intelrealsense.com/docs/recommended-production-camera-configurations |
To @doisyg ’s comment, that attitude is incredibly problematic and why most companies are looking to Realsense alternatives even though they dont want to. Hardware is great, software support is some of the worst I’ve ever run into… it should take a day to release for 22.04 but Intel really can’t spend a day on it? |
This problem is not solved but closed!? |
Hi, I represent a company very well established in the ROS 2 community (PickNik). We've worked with 70+ companies, including Intel, helping them best use ROS with their robots, and we frequently recommend and sell Realsense cameras into our client projects. However we are switching to Jammy and a lack of driver support is a pretty big deal for us.
I generally agree with @SteveMacenski's sentiment here. |
Ubuntu 22.04 |
Hi. I wrote to Intel Realsense's sales team to ask for a timeline on the release (the company I work for relies on realsense cameras for the main product as well). He told me the release was planned for December 31st, but that they would try their best to push it forward. Sadly it seems that it will still be a long time :( |
This is reassuring and then
this is alarming There is almost nothing to do. As described above, it is already working on Humble/Jammy by forcing the install of the Focal packets (at least for the D435s). Just add Jammy to the deb repo. I don't understand how complex stacks like Moveit 2 or nav2 are ready very soon after the Humble release, and something as trivial as this is taking months. |
Hi Realsense team, relasense SDKAs suggested, we tried compiling relasense SDK on U2204. realsense_viewer:Also works but we see this error(in red box) which does not go away even after applying udev rules from librelasense repo & rebooting machine. ros2-wrapper:The ros2-wrapper for realsense seems not working when compiled on ros2-humble.
On launch of the node, we get below error:
Do you know how to solve this issue? |
Thanks very much @aagrawa3-dev for your makefile patch for the beta wrapper! I have passed the details to the ROS2 wrapper development team. Official support for Humble in the ros2_beta wrapper is being worked on. The launch error that you reported was previously experienced by a RealSense ROS user at IntelRealSense/realsense-ros#2245 and they suggested setting a dynamic_typing flag as a fix. In regard to missing udev rules, please try installing them with the instructions below.
|
Hello there, using the dkms prebuild provided by @MartyG-RealSense and some tricky configurations, we were able to use the relasense-ros package (Ubuntu 22.04 and ROS2 Humble).
|
Thanks so much @dadaroce for sharing the news of your success and the details of your procedure! |
Update: Building from source the Kernel patched for 5.15 is not included, so the support is currently without full metadata. Still on the roadmap:
|
Hi @Nir-Az Thanks for info. But this patch is merged to branch "IntelRealSense:ros2-beta" !! Is this branch going to be main branch for humble upgrade? When is it planned to merge to development branch? |
Hi @aagrawa3-dev , I know it might be confusing but I will try to clarify the
The ROS2 branch is Hope it helps.. |
Hi, is there any plan or work in progress that try to resolve the build error of arm64 build in ros humble? https://build.ros2.org/job/Hsrc_uJ__librealsense2__ubuntu_jammy__source/ |
Hi @Benjamin-Tan, This release builds as expected at all x86 environments foxy/galactic/humble and also works at arm64 for foxy & galactic. If you have some idea's about what is special about that build against foxy/galactic builds please share 😀 |
Hi @Nir-Az, thanks for the information and i just manage to see your ROS Discourse post. Hi @tfoote, thanks for the help last time on the advice for humble release for pinocchio package. Would you happen to know what might cause this issue of librealsense failing on Humble arm64 build farm as detailed in the ROS Discourse post? |
Likely there's a library with different content between the two builds. I would look on a working platform where you can find the missing symbols (find the appropriate |
The library that the librealsense2 link complains about is our internal library called |
I wasn't sure if this is related. When trying to add the repository on 22.04, I get this error: I'm following the installation instructions from here. If my issue is related to the one here, I didn't see many people talking about the repo not being signed for jammy? |
Hi @justinyue1643 The librealsense SDK does not yet officially support Ubuntu 22.04 Jammy. An unofficial test patch and pre-built package is available at #10439 (comment) |
@dHofmeister thank you very much for sharing your Dockerfile in #10439 (comment) It worked for me also, and I was able to build the image on an Intel NUC8 running Ubuntu 18.04 on the host, and Docker server 20.10.20 (Note: I had to upgrade Docker to 20.10.x to solve some apt-get update errors with Ubuntu 22.04). I also converted your
Thank you again! |
@tfoote / @Benjamin-Tan Hi, Any idea about this compiler flags that were added? |
I found this reference where link time optimization support was added to dpkg-buildpackage: https://wiki.debian.org/ToolChain/LTO "Starting with dpkg 1.21.0, dpkg-buildflags introduced a new optimization area, which adds the necessary flags to enable LTO." And OpenSUSE enabled it by default in 2019: https://www.phoronix.com/news/GCC-9-LTO-Tumbleweed-Firefox I can't find an announcement of Debian doing the same, but I assume they followed suit. Ubuntu's statement here is that it's enabled for basically all architectures now. https://wiki.ubuntu.com/ToolChain/LTO You could override the LTO settings of the build by patching the debian rules file template in the release repository. But the cleaning and stripping unreferenced content is generally helpful to avoid system bloat. These sorts of optimizations have been great at allowing our number of packages to grow, but the installation size to shrink so I'd strongly prefer to find a way to reference them properly so they don't get stripped rather than just disable the cleanup. |
@tfoote thanks, I will look at the patch you suggested if we have another issue with this library cause we cannot spend this amount of time investigating issues that do not interrupting the native build.. Thanks |
Hi everyone, Version 2.53.1 of the librealsense SDK has been released, featuring support for Ubuntu 2020 kernels 5.13 and 5.15, and Ubuntu 2022 with kernel 5.15. https://github.com/IntelRealSense/librealsense/releases/tag/v2.53.1 The SDK installation instruction pages have been updated to reflect this new support. Package build Source code build |
Thanks for the update @MartyG-RealSense, where can I find realsense firmware 5.14.0.0 recommended for SDK v2.53.1? It's not here |
Hi @tonynajjar Updating of the firmware release archive page sometimes lags slightly behind the release date of a new SDK version. In the meantime, if you install SDK 2.53.1 and launch its RealSense Viewer tool then it should have a pop-up panel that prompts to install the recommended firmware for 2.53.1. The recommended firmware for a particular SDK version is bundled with it. |
Hi again @tonynajjar Firmware 5.14.0.0 is now available on the firmware archive page. Thanks very much for your patience! https://dev.intelrealsense.com/docs/firmware-releases#d400-series-firmware-downloads |
As support for Ubuntu 2020 kernels 5.13 and 5.15, and Ubuntu 2022 with kernel 5.15 was released in SDK 2.53.1, does anyone require further support with this issue please? Thanks! |
Case closed due to kernel 5.13 and 5.15 support implemented in SDK version 2.53.1 and no further comments received after 2 weeks. |
Now that ubuntu 22.04 is out, would it be possible to get updated binaries or if they are the same to update the debian repo ?
The text was updated successfully, but these errors were encountered: