-
Notifications
You must be signed in to change notification settings - Fork 28
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
drmOpen Failure in jetson orin #15
Comments
I'm no expert on this, but my understanding is that for Orin/t23x, NVIDIA has dumped the old nvdc approach, and moved all the drivers out of tree - repo here. You can read the Jetson Linux documentation, particularly the sections on graphics and windows systems, for a bit more information on how to use it. |
@madisongh Thanks for response.
I also confirmed that
Regardless the above |
I'd suggest looking at some example code from NVIDIA - either the L4T graphics demos or the Jetson Multimedia API sample code - to see how to make this work for you. For example, in the Multimedia API code, I see this:
where DRM_DEVICE_NAME is "drm-nvdc". I think this is how they handle working with both their pre-t23x NVDC implementation and the newer, more standard, DRM interface. |
Thank you so much, @madisongh. |
@madisongh It succeeded to get drm device info from The old nvidia board only supported |
I think it's fairer to say that NVIDIA has been transitioning to using GBM, under the hood, with the R35.x series BSP. That applies to both Orin and Xavier platforms, although it does look like with Orin they just never implemented the old method. That's about as much as I know, though. Hopefully you'll find what you need in the Jetson Linux docs and NVIDIA's example code I mentioned earlier. |
I've tried to call drmOpen() like the following.
drmOpen("drm-nvdc', nullptr);
Since it failed and I noticed the device driver error occurred before in the kernel logs.
https://github.com/OE4T/linux-tegra-5.10/blob/oe4t-patches-l4t-r35.4.ga/nvidia/drivers/video/tegra/dc/dc.c#L113
Kernel couldn't find the compatible device node, hence it couldn't create the device node, consequently drm seemed not working properly because it couldn't interface with the display-controller device.
I've checked the device tree for jetson-orin, it didn't have the compatible devices , but it had
tegra234-display
.jetson-xavior has
nvidia,tegra194-dc
, but orin doesn't. So the currentlynvidia/driver/video
andnvidia/driver/drm
might work on jetson-xavior, but it will fail on jetson-orin.Please let me know if I miss-understood.
The text was updated successfully, but these errors were encountered: