-
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
Manually installing SDK possible for Debian 12.6? #13284
Comments
Hi @h-a-n-n-e-s If you are building the SDK from source code then you can patch the kernel for 6.2 or 6.5 and Ubuntu 20.04 or 22.04 using the patch script ./scripts/patch-realsense-ubuntu-lts-hwe.sh If you are unable to change your kernel version then you can bypass the kernel and avoid the need to apply a patch for it by building from source code with the libuvc backend or the RSUSB backend installation method. The SDK will be built in RSUSB = true mode if the flag -DFORCE_RSUSB_BACKEND=TRUE is added to the CMake build instruction. Instructions for an RSUSB installation can be found at #9931 (comment) The libuvc backend method, which works similarly to RSUSB, is easier to use as there is a pre-made build script available for it. https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md Another advantage of the libuvc and RSUSB backends is that they are not dependent on a particular Linux version, so it is easier to use a non-Ubuntu Linux with it. |
Thanks a lot @MartyG-RealSense ! By pypassing the kernel, are there any performance differences, like gpu usage? |
You're very welcome. I'm pleased that I could help. :) There are some differences between a libuvc build and a kernel-patched build. For a comparison of libuvc backend with a patch-based librealsense build, please visit #5212 (comment) and scroll down through the linked-to comment to the section headed What are the advantages and disadvantages of using libuvc vs patched kernel modules? GPU performance should not be negatively impacted by choosing the libuvc method though. |
Thanks again for the detailed info @MartyG-RealSense ! For our system, we are mainly interested in the depth data and I need to get this data into a Rust program. Can I directly use the libuvc for this? Or do I need to write some Rust bindings to the function in the RealSense API? Any hints are greatly appreciated! Thanks again! |
There is an actively maintained RealSense Rust binding available outside of the RealSense SDK. The most recent SDK version that it has been updated for is 2.54.2, the one before 2.55.1, so it will likely work with 2.55.1. |
Hi @h-a-n-n-e-s Do you require further assistance with this case, please? Thanks! |
| Camera Model | D456 |
| Operating System & Version | Linux Debian 12.6 |
| Kernel Version (Linux Only) | 6.1.0 |
| Platform | PC |
| SDK Version | 2.55.1 |
Issue Description
Would there be a chance to install the sdk from source manually for Debian 12.6 if the Linux kernel version would be right, like 6.2 or 6.5?
Or is the distribution name also important, like it has to be Ubuntu?
Currently I use kernel 6.1 and get the error
Unsupported distribution bookworm, kernel version 6.1.0-23-amd64 . The patches are maintained for Ubuntu 16/18/20 LTS
The text was updated successfully, but these errors were encountered: