librealsense
librealsense copied to clipboard
Release to apt repository for ubuntu focal / arm64
Hello,
I'm using Ubuntu focal (20.04) on my computer whose architecture is arm64 and found that there is no released packages for the environment in the apt repo: https://librealsense.intel.com/Debian/apt-repo
(FYI, there is released packages for Ubuntu bionic (18.04) / arm64)
Is there any issue that blocks the release?
Maybe related to: https://github.com/IntelRealSense/librealsense/issues/8782
Hi @furushchev Could you provide details please about the Arm-equipped computer that you are using? For example, is it an Apple Mac with the Apple Silicon M1 processor chip? Thanks!
I'm using Raspberry pi 4, Jetson Xavier and TX2 for the real hardware.
$ apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
$ add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u
Get:1 https://librealsense.intel.com/Debian/apt-repo focal InRelease [2400 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Fetched 2400 B in 1s (1631 B/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://librealsense.intel.com/Debian/apt-repo focal InRelease' doesn't support architecture 'arm64'
If you are using the Linux Distribution instructions in the link below then those packages are not compatible with Arm processors as they require x86 / x64 processors like those in desktop and laptop computers.
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
Packages can be installed on Jetson using the instructions in the link below:
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md
There is also the option of building librealsense from source code with CMake on Jetson using these instructions:
https://github.com/IntelRealSense/librealsense/issues/6964#issuecomment-707501049
If you are using Ubuntu on Raspberry Pi 4 then the guide below may be helpful:
https://ramith.fyi/setting-up-raspberry-pi-4-with-ubuntu-20-04-ros-intel-realsense/
Thank you for the instruction.
So my question is, there is released packages in the https://librealsense.intel.com/Debian/apt-repo
repo for bionic / arm64 which is not supported according to the instructions.
Do you have any plan to add arm64 to the list of supported architecture and add packages for the focal / arm64 to the repo?
Since many of arm64 hardwares are less powerful than amd64 and it is really helpful if we can install librealsense binaries by just running apt-get install
instead of building it from source which will take very long time.
I am not aware of an official arm64 alternative to the Jetson page's instructions for installing from packages or of upcoming plans to change this.
The website JetsonHacks offers a method of installing on Jetson from the librealsense Debian respository using a script called installLibrealsense.sh though as it is 17 months old at the time of writing this, I cannot confirm if it is still working.
https://github.com/jetsonhacks/installRealSenseSDK#installlibrealsensesh
Thanks for sharing the information. I know how to install the packages using apt-get install, I'd like to ask maintainers of the apt repository of this library (maybe @dorodnic ? ) if they have a plan to support the arm64 architecture.
It will be helpful if you can provide more information please about the kind of support that you are asking for regarding arm64. For example, do you wish the X86/AMD64 packages in the Linux distribution instructions to work with Arm devices too?
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
do you wish the X86/AMD64 packages in the Linux distribution instructions to work with Arm devices too?
@MartyG-RealSense Yes. Currently, we can install the library following the Linux distribution instructions on environment below:
i386 | amd64 | arm64 | |
---|---|---|---|
xenial (16.04) | Yes | Yes | Yes |
bionic (18.04) | Yes | Yes | Yes |
focal (20.04) | Yes | Yes | No |
I'd like you to support focal / arm64 environment as same as other environments.
ref: https://librealsense.intel.com/Debian/apt-repo/dists/xenial/InRelease https://librealsense.intel.com/Debian/apt-repo/dists/bionic/InRelease https://librealsense.intel.com/Debian/apt-repo/dists/focal/InRelease Only in focal release, packages for arm64 is missing.
Thanks very much @furushchev for the clarification. I will seek advice from my Intel RealSense colleagues about your question. Thanks for your patience!
@MartyG-RealSense @dorodnic Kindly ping to maintainers...
Hi @furushchev After discussion with my Intel colleagues, I have filed an official feature request asking for consideration of adding Arm64 apt repo support for Focal. This case should be kept open whilst that feature request is active. You do not need to take any further action though. Thanks for the report!
@MartyG-RealSense Any update on this issue? It has passed about one month since the last update...
@furushchev I do not have a time schedule for this feature that I can provide at present, though Intel have been looking at it.
I, too, am hoping for an easier ARM64 installation! I'm going crazy trying to install a D455 on a Raspbetty Pi 4b under Ubuntu 20.04 64bit Server and ROS2. I've tried installing the SDK and the ROS2_Wrapper from source but run into errors at every turn. Please make a package for this! Thanks!! JHP P.S. In the May 18th post from @MartyG-RealSense:
If you are using Ubuntu on Raspberry Pi 4 then the guide below may be helpful: https://ramith.fyi/setting-up-raspberry-pi-4-with-ubuntu-20-04-ros-intel-realsense/
The link refers to another github install page that has been deprecated.
Hi @JHPHELAN The official feature request to Intel to add this feature that I mentioned in https://github.com/IntelRealSense/librealsense/issues/9040#issuecomment-856709220 remains active but I do not have information about its progress to provide at the time of writing this.
+1 I am also looking for this release for our robots running on arm64. In addition, I'd like to report that the package librscalibrationtool
is missing on 20.04 for both arm64 and amd64.
Hi @rosskidson Whilst the Dynamic Calibration tool supports Arm, the most recent edition of the tool's user guide (July 2021) lists support for Ubuntu 16.04 and 18.04, but not 20.04.
You can alternatively calibrate the camera using the On-Chip Calibration tool that is built into the RealSense Viewer, or access on-chip calibration through script code. On-chip calibration is incorporated into the camera firmware driver and so does not require a separate software package.
https://dev.intelrealsense.com/docs/self-calibration-for-depth-cameras
Hi @MartyG-RealSense, thanks for the quick response. I am mainly interested in access functions ReadCalibrationParameters
and WriteCustomCalibrationParameters
in DSDynamicCalibration.h
so we can incorporate calibration of the realsenses into our own robot calibration process.
Currently our robots still run 18.04, however we will be transitioning to 20.04, so I very much hope that this library will also come to 20.04 in the near future.
Hi @rosskidson If you are using C++ in your robot calibration process (as suggested by your interest in the Dynamic Calibration tool's 'DSDynamicCalibration.h' file) then you should still be able to access the On-Chip system of calibration that is embedded in the camera firmware, as the On-Chip system can be interfaced with using C++ code. That way, you should be able to program controls for read and write of calibration parameters immediately without having to wait for 20.04 Arm support in the Dynamic Calibration tool.
Any updates on arm64 support for 20.04?
Hi @andresgalaviz I will make enquiries and let you know when I have information about Arm64 support for 20.04. Thanks very much for your patience!
@MartyG-RealSense @andresgalaviz I second that!! The ARM community is a huge market that should be courted by Intel. Also especially the ROS and moreso the ROS2 community to provide nodes for the whole RealSense family. So far I've found librealsense frustrating to work with and have had to look at alternative sensors. A plug-and-play "apt get" download would be MOST appreciated!!!!! JHP
Hi everyone, there is a draft kernel patch at https://github.com/IntelRealSense/librealsense/issues/10439#issuecomment-1171965106 that can be tried out. It adds initial support for kernel 5.13 / 5.15 and provides a pre-built package for testing.
Hello I am also having the same problem installing Realsense SDK 2.0 on Ubuntu 20.04 arm64, Rpi4. Would it be possible to have a great source I follow up?
Hi @Chrisx19 A RealSense user with Pi 4 and Ubuntu 20.04 recommended an installation reference at the link below. Skip the section of the guide about ROS if you do not need it.
https://github.com/IntelRealSense/realsense-ros/issues/1724#issuecomment-901465582
It appears that link is deprecated:
"[deprecated] Feb 2021 Ubuntu 20.04 LTS is now natively supported by the RealSense™ SDK 2.0."
and suggests
"Have a look on https://github.com/IntelRealSense/lib..."
Have a look on https://github.com/IntelRealSense/lib...
J
James H Phelan "Nihil est sine ratione cur potius sit quam non sit" Leibniz
"Here am I, the servent of the Lord; let it be with me, according to your Word" Luke 1:38
On 8/10/2022 1:36 AM, MartyG-RealSense wrote:
Hi @Chrisx19 https://github.com/Chrisx19 A RealSense user with Pi 4 and Ubuntu 20.04 recommended an installation reference at the link below. Skip the section of the guide about ROS if you do not need it.
IntelRealSense/realsense-ros#1724 (comment) https://github.com/IntelRealSense/realsense-ros/issues/1724#issuecomment-901465582
— Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/9040#issuecomment-1210226295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOK5I2KFYHCRLRVJ3FTDLTVYNEXXANCNFSM45CBHEHA. You are receiving this because you were mentioned.Message ID: @.***>
That statement did not include Arm64 package installation of the librealsense SDK for Ubuntu 20.04 Focal, unfortunately.
Bump for any updates for an official apt package on Ubuntu 20.04 arm64? It would be tremendously helpful if any information could be given about timelines, since I would prefer to avoid compiling from source if possible.
The latest information that I have now from my Intel RealSense colleagues is that Arm64 package support for Ubuntu 20.04 will not be added in the foreseeable future unfortunately and the SDK must therefore be compiled from source code for Arm64 on Ubuntu 20.
That's unfortunate, but thanks for your swift response.
I did find an alternative to compiling from source - for some reason ROS maintains their own version of librealsense as a dependency for realsense2-camera which has been published for arm64 Ubunutu 20.04. It can be found on apt as ros-noetic-librealsense2. It seems to work fine, although I don't know for sure if it is complete or will be updated.