DRM backend on NVIDIA Jetson Platform #17898
Unanswered
mattisvoss
asked this question in
Q&A
Replies: 1 comment
-
I can't really directly answer this, but for many years Nvidia refused to support GBM and insisted everyone else use their implementation (EGL Streams) instead. Which nobody did. They do support GBM now, but if you have an older driver/unsupported hardware it might not work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run a simple app using the Avalonia DRM backend, on an NVIDIA Jetson Orin NX; does anyone know if this is supported, as NVIDIA have their own implementation of DRM (nvidia-drm)?
I followed the steps in https://docs.avaloniaui.net/docs/guides/platforms/rpi/running-on-raspbian-lite-via-drm. I am using dotnet 9.0, with Avalonia 11.2.3. I am able to run kmscube to test the DRM setup, and the simple app runs fine using StartLinuxFbDev instead of StartLinuxDrm. However, I am not able to get the app working when using StartLinuxDrm.
Here is the output on the terminal: Using card: /dev/dri/card1
Failed to start DRM: Unable to create GBM surface
Stack trace: at Avalonia.LinuxFramebuffer.Output.DrmOutput.Init(DrmCard card, DrmResources resources, DrmConnector connector, DrmModeInfo modeInfo) at Avalonia.LinuxFramebuffer.Output.DrmOutput..ctor(DrmCard card, Boolean connectorsForceProbe, DrmOutputOptions options) at Avalonia.LinuxFramebuffer.Output.DrmOutput..ctor(String path, Boolean connectorsForceProbe, DrmOutputOptions options) at LinuxFramebufferPlatformExtensions.StartLinuxDrm(AppBuilder builder, String[] args, String card, Double scaling, IInputBackend inputBackend) at Visapp.Program.Main(String[] args)
Any hints much appreciated, also if I should make this a bug report, please let me know. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions