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

Regarding the issue of the inability to install realsense in Ubuntu 24.04 version #13065

Closed
987640673 opened this issue Jun 21, 2024 · 14 comments

Comments

@987640673
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model D400
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version Linux (Ubuntu 24)
Kernel Version (Linux Only) 6.8.0-1005-raspi
Platform Raspberry P
SDK Version { legacy / 2.. }
Language python
Segment Robot

Issue Description

<My Raspberry Pi has the detailed configuration shown above. When installing realsense, I used the "./scripts/patch realsense ubuntu lts hwe. sh" command to compile, but the terminal prompted that my system's distribution version is not supported. I need to install realsense to use the D435I camera. What should I do?>

@MartyG-RealSense
Copy link
Collaborator

Hello, the best way to install the librealsense SDK on Ubuntu on Raspberry Pi is to use the libuvc backend build script at the link below. This installation method bypasses the kernel and so a patch script does not need to be applied.

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

@987640673
Copy link
Author

I try to use the libuvc backend build script at the link below,but the terminal displays the following prompt:

how should I do?

@MartyG-RealSense
Copy link
Collaborator

The Ubuntu version should not be a problem with libuvc, since it not only bypasses the kernel but is not dependent on particular Linux versions. There have been few people using librealsense with Ubuntu 24.04 at the time of writing this though, so there may be unpredictable compatibility issues. Official support for 24.04 is being added in the next version of librealsense after the current 2.55.1 one.

Another, more complicated method of building the SDK with a kernel bypass like libuvc's is RSUSB backend. Instructions for an RSUSB build can be found at #9931 (comment)

@MartyG-RealSense
Copy link
Collaborator

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

@Schwarzkopf-Henkal
Copy link

encountered same issue, also got 403 ERROR when accessing apt repository when trying to install via libuvc backend

@MartyG-RealSense
Copy link
Collaborator

Hi @Schwarzkopf-Henkal Were you also using Ubuntu 24.04 with the libuvc backend script please?

@Schwarzkopf-Henkal
Copy link

Yes, Ubuntu24.04 on Raspberry Pi5. Got almost identical error logs with above mentioned one when using libuvc backend script. But successfully installed and launched realsense-viewer via RSUSB backend.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 9, 2024

Thanks so much @Schwarzkopf-Henkal for confirmation that using RSUSB backend (the successor to libuvc backend) worked for you on your Pi.

Would you be able to share with @987640673 the details of the installation procedure that you used, please? Thanks again!

@Schwarzkopf-Henkal
Copy link

I followed exactly the same procedure described in #9931 and I was good to go

@Schwarzkopf-Henkal
Copy link

My hypothesis is that libuvc backend is technically ok with ubuntu24.04, the problem is the apt repository or network issue. I got 403 error too when trying to install via apt as described in doc/distribution_linux.md. The installation was already erring when executing sudo apt update, got 403 error connecting to intel realsense apt repository. Then I got error locating package librealsense2-dkms. Also, the Great Firewall of Mainland China could cause connection issue and that could also be the case.

@987640673
Copy link
Author

I used the method @Schwarzkopf-Henkal provided to build the software and it was successful. Thank you very much!

@987640673
Copy link
Author

But when I was building using libuvc, I had already used VPN, but still received a 403 prompt, which is clearly not a problem with the Chinese firewall.

@MartyG-RealSense
Copy link
Collaborator

Thanks very much @987640673 and @Schwarzkopf-Henkal for the updates. I'm pleased to hear that you were successful!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to solution achieved and no further comments received.

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

3 participants