-
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
Throwing an instance of 'librealsense::linux_backend_exception' #12140
Comments
Hi. |
Hi. Camera is not disconnected even when idle. Additional info. |
Hi @shintaro-matsui I would also add that kernel 5.19 is not yet supported by librealsense at the time of writing this. 5.15 is the current most recently supported kernel. The SDK can be used with non-supported kernels but there may be unpredictable consequences in regards to stability. If librealsense is built from source code with CMake then including the flag -DFORCE_RSUSB_BACKEND=TRUE in the CMake build instruction will cause the SDK to bypass the kernel and so avoid that instability, as an RSUSB build is not dependent on Linux versions or kernel versions and does not need to have a kernel patch script applied. If you are using C++ then a script at #2219 (comment) for capturing an image simultaneously from all attached D415 cameras may be a helpful reference if you have not seen it already. @dmipx I believe that your PR for 5.19 support at #11837 was merged into the in-progress development version of librealsense on May 25 2023 but may have just missed the release of librealsense 2.54.1 and so will be incorporated into the next SDK release after 2.54.1? |
Hi, @MartyG-RealSense |
@MartyG-RealSense We will support 5.19 and 6.2 kernels in oncoming release. @shintaro-matsui I see no special issues on kernel log, only |
Thanks for all the info. I use librealsense installed with If that does not work, I will change to a machine with a different kernel and try again. |
It's no problem at all. Please do update here when you have news to report. Good luck! |
Hi @MartyG-RealSense. Next, I installed the development branch from the source code. Then I deleted the build directory of my program and tried to build again, but I get the following error.
Is this a bug on the librealsense2.55? |
The instruction below should ensure that all RealSense-related packages are removed.
|
Hi. I decided to reinstall Ubuntu, but I heard that the kernel version was important, so I decided to install Ubuntu 20.04.
However, I still get the same error.
librealsense2 was installed by |
Your apt install instruction does not include the most important package librealsense2-dkms which is the core of librealsense. librealsense2-utils is the second most important as it installs the SDK's tools and examples. librealsense2-dev and librealsense2-dbg are optional developer and debug packages that do not need to be installed in order for librealsense to work. Please repeat the package uninstall instruction and then try this installation instruction:
CUDA requires an Nvidia graphics GPU and the librealsense SDK's support of it is intended for use with Nvidia Jetson single-board computers rather than a PC. For this reason, the packages on the distribution_linux.md installation instruction page do not contain CUDA support. Jetson boards have their own separate packages that contain CUDA support. https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md |
I understand that |
Hi. @dmipx, @MartyG-RealSense. First, I installed librealsense from the source code with the Next, I changed the implementation of the TCP/IP communication, and inexplicably this solved the problem. In my program, the process that uses RealSense is the client and communicates with other processes.
I changed it to keep an instance of the client communication and it no longer occurs.
I report it, I don't know if this will help others. |
You are very welcome. It's great to hear that you achieved a solution. Thanks very much for the update and for sharing the details of your solution! As you have solved your issue, I will close this case. Thanks again! |
Issue Description
I use D415 to acquire an image once every 2 seconds and process the image in my program.
When running that program, the program terminates with the following error about 1 time in 1000 times.
I dumped the core file and analyzed it using gdb and the result is as follows.
The result of back-trace with gdb is as follows.
The program that causes this phenomenon is too complex and large to post here.
Does anyone have any idea what the cause might be?
The text was updated successfully, but these errors were encountered: