-
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
Jetson 6.0DP and "No Device Detected" in Python only #12807
Comments
Hi @lesreaper Is the camera detected if you alter your code to use the method shown below, please?
|
No, it does not. Which leads me to believe it's something with the Python wrapper. However, not sure how to change that config to work. I'd really like to avoid the |
Using the CMake flag DFORCE_LIBUVC=true should be essentially the same as using RSUSB, since the LIBUVC flag was deprecated in favor of using -DFORCE_RSUSB_BACKEND=TRUE instead, though the deprecated flag is still valid. Both of these flags build the SDK in a mode that bypasses the Linux kernel and so avoids the need to apply a kernel patch. The two approaches for installing successfully from source code on a Jetson are typically to either (1) use the LIBUVC / RSUSB flag, or (2) not use the RSUSB / LIBUVC flag but do not apply a kernel patch script. I note in the title of this issue that you refer to Jetson 6.0DP, which is JetPack 6.0 Developer Preview (DP), the first release of JetPack 6. As the librealsense SDK only supports up to JetPack 5.0.2 in the /patch-realsense-ubuntu-L4T.sh Jetson patch script at the time of writing this, this makes it important to not apply the patch script. What happens if you remove config from the brackets of the pipeline start line so that the script ignores the stream config lines and applies the camera's default stream profile instead?
|
If I pull the config out, it still gives me the No, I didn't apply any patches. I've tried compiling both with and without the Ideas? I really don't want to have to, as I get downgraded Python 3.8 and CUDA 11, but I can downgrade the system to Jetpack 5.1.3 and try again. I need to put these into production for a residential pilot program, so I need to have stable streams coming in. What's the best way of making that happen with the various installation procedures for Jetson, and having a need for Python? |
Have you seen the librealsense / Python source code installation guide for Jetson at #6964 (comment) |
Yes, I did that exact process, I was just wondering if there was a better way to do it so it was more stable. Looks like I'm going to have to downgrade for now and test. Thank you!! |
Hi. JP6 kernel has no hidraw support, we enable it with our mipi integration. |
Hey @dmipx , those are interesting for sure, but adding $800 to our Cost of Goods for a camera is going to price us out of the market. I'm going to downgrade and be back to update shortly. |
Hi. I'm not asking you to use gmsl camera, I suggested to use jp6.0 kernel we built for and use with USB camera. |
Ah, I see @dmipx , thank you for the clarification. I will try that again when I have some extra time hopefully. For now, I downgraded to 5.1.3, and was able to get it running with a night's worth of work. Hopefully it will continue to operate ok. Thank you all!! |
You are very welcome, @lesreaper - I'm pleased to hear that you achieved a solution with a downgrade. Thanks very much for the update! |
Hello, I am facing a similar issue, building from source completes without error, i am able to import pyrealsense2 into python scripts, however, in python, "No Device Detected" error is thrown in every script ive tried Realsense binaries are working (rs-sensor-control, multicam, etc) JP6, Nvidia Orin dev kit, librealsense 2.55.1 |
Hi. I suggest you run |
Hi, I am not quiet sure what I should to do to 'use jp6.0 kernel' as you said according to the github repo https://github.com/IntelRealSense/realsense_mipi_platform_driver/tree/dev, can you shed some light? |
@jeezrick Using the MIPI driver on a USB connection with JetPack 6 provides support for the IMU. |
Issue Description
I'm trying to run the through Python the D455 camera.
Runs fine in Realsense Viewer. I check this related issue, and already rebuilt from scratch using this script:
I can load
import pyrealsense2 as rs
no problem. When I run this basic script:I get this error:
The text was updated successfully, but these errors were encountered: