-
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
Intel D455 undetected by Jetson Xavier NX #9344
Comments
Hi @RicLincio The build flags -DBUILD_EXAMPLES and -DBUILD_GRAPHICAL_EXAMPLES determine whether the SDK's examples and tools (including realsense-viewer) and the support for them are built or not when librealsense is installed. If the flags are set to false then the SDK's examples and tools are not included in the build. If you were building for a 'headless' configuration without graphics then you could set -DBUILD_EXAMPLES to true to include support for text based non-graphical examples and tools such as rs-enumerate-devices, and set -DBUILD_GRAPHICAL_EXAMPLES to false so that examples and tools that use OpenGL graphics (such as the Viewer) are not built. Otherwise, if you want the Viewer to be included in the build then set DBUILD_GRAPHICAL_EXAMPLES to true. The SDK's Build Configuration documentation provides information about CMake build flags https://dev.intelrealsense.com/docs/build-configuration Could you also confirm please that the instruction steps that come before the CMake commands in the Jetson installation guide have been completed, please? |
Hello @MartyG-RealSense, you're right. cmake ../ \
-DBUILD_EXAMPLES=on \
-DBUILD_GRAPHICAL_EXAMPLES=on \
-DBUILD_PYTHON_BINDINGS=on \
-DBUILD_WITH_CUDA=true \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \
-DFORCE_RSUSB_BACKEND=off \
-DOpenGL_GL_PREFERENCE=GLVND otherwise, as you said yourself, I wouldn't be able to open |
As you are building with CMake, it may be worth looking at the Jetson installation guide in the link below that installs librealsense from source code along with the Python wrapper and targets Python 3.6 (if you are not using Python 3.6, edit the '3'6' number in the procedure to the Python version number that you are using). This guide has worked consistently for Jetson users, including Xavier NX, and once solved a case (in the link below) where D455 was not being detected. |
I followed this guide already, without success. The main point here is just updating cmake. I tried with version 3.13.0 as indicated at point one, but nothing changed.
The detection problem seems to be solved with the same guide above, so this is not an additional way of solving the issue. |
Hi @RicLincio Can you confirm whether your D455 detection problem was solved using #7766 please? |
No, my problem has not been solved with this guide. In fact that is not even a guide, just a bunch of tips, none of which seem to apply to my case. My compilation seems to be successful since the executables are working with T265, but the problem with D455 is still there. |
Do you have the D455 and T265 plugged into the Jetson at the same time? If so, can the D455 be detected if you unplug the T265 and boot the Jetson only with the D455? |
No, I tried with both and with each singularly, the result is always the same: T265 detected, D455 not. |
Is it able to detect D455 if you follow the official Jetson guide exactly (for example, not changing the CMake process from the one described in the guide).
Although the above process does not install Python support, at this point the most important goal is to achieve detection of the D455 at all. You could also test installing with Debian packages using the information for doing so in the guide instead of building with CMake if you have not tried doing so already. |
Hi @RicLincio Do you require further assistance with this case, please? Thanks! |
Yes, please, but let me try this out first. |
Okay, no problem @RicLincio if you require more time for further testing. Thanks for the update! |
This strategy with standard installation is not working. The same conditions are met: T265 is detected, D455 is not, regardless of having only one or both plugged.
|
This doesn't solve the problem. The same behaviour as above is observed. |
Do the results on Jetson change if you downgrade to firmware 5.12.13.50 on the D455, which is one version older than the currently newest one that you have installed in the camera and is also the recommended firmware for SDK 2.45.0? https://dev.intelrealsense.com/docs/firmware-releases#section-d400-series-firmware-downloads |
Same problem here with official librealsense version 2.47 and D455 on Jetson Xavier NX |
@RicLincio @GuglielmoDev Does the USB insertion sound effect in Ubuntu ever trigger if you unplug the camera, wait a couple of seconds and then re-insert the connector, repeating this up to 10 times? |
No, results are the same. |
No idea, I don't have an audio device available. I think it is more relevant checking the system messages with
|
Another RealSense user who had a non-detecting camera on Ubuntu (an L515, not a D455) reported today that their problem was solved if they disabled USB auto-suspend. |
The command |
I will tag the author of the advice into this discussion. Hi @Consultaing Thanks very much again for your advice about disabling auto-suspend. Could you kindly provide @RicLincio above with advice on how they might avoid an error regard /etc/default/grub being absent when trying to recreate the advice, please? Thanks! |
The Jetson platform uses a Linux distribution for ARM architecture. The ARM architecture has no BIOS and therefore does not use GRUB. What it usually uses are some configuration .conf files in the boot folder. In these files you have to check if the automatic suspension flag exists. (This depends on the capabilities of the hardware and if the distribution contains the option) |
I faced the same problem that realsense-viewer and python were not detecting the Intel RealSense D455 on my Jetson Nano 4GB running Jetpack 4.5 and Ubuntu 18.04. I finally managed to fix the problem an here is how I got it working:
If you now run "rs-enumerate-devices" the camera should be listed. Running realsens-viewer should open the application and the camera should be detected. To check if the python library is working I run the python-tutorial-1-depth.py in the folder wrappers/python/examples. Hope this helps! |
Thanks so much @dgr1992 for sharing your guide with the RealSense community :) |
@dgr1992 I think why you can find device in Jetson is because you are using RSUSB. And patching kernel (run patch-realsense-ubuntu-L4T.sh) is not necessary in your case. If you want to use V4L (-DFORCE_RSUSB_BACKEND=false) as @RicLincio tried, you have to patch the kernel. Otherwise, camera device cannot be found in Jetson. |
I didn't know that, thanks for letting me know! |
I can confirm that this issue with D455 on Jetson Xavier NX still has not a solution for me.
Tried also with multiple cables and usb ports. dmesg output with D435i:
dmesg output with D515:
|
Hi @RicLincio Do you require further assistance with this case, please? Thanks! |
Hello, yes, but I won’t be able to work on it for 2 weeks. I kindly ask you to leave the issue open in the meantime. |
That is no problem at all to leave the case open for that further time period. Thanks for the update! |
Hi @RiccardoLincetto Do you require further assistance with this case, please? Thanks! |
Hi @MartyG-RealSense, I am not working on this anymore. |
Thanks very much @RiccardoLincetto for the update! |
Hi @GuglielmoDev Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
After following the guide on installation for Jetson for patching the kernel and building with:
when I plug my D455, neither
realsense-viewer
norrs-enumerate-devices
are able to detect the camera.On the same setup, my T265 is detected.
Also, D455 is detected on PC with the same version of librealsense, so it seems to be a problem specific to Jetson.
The text was updated successfully, but these errors were encountered: