Platform: NVIDIA Jetson AGX Orin
JetPack / L4T version: 7.2 L4T39.2
Display server: Xorg
Graphics stack: NVIDIA Tegra (nvgpu), EGL/GLX, Mesa
GStreamer: 1.24.2
Issue Description
We are experiencing an intermittent graphics initialization issue on our Jetson AGX Orin. During some boots, Xorg fails to initialize the NVIDIA graphics driver and falls back to the modesetting driver with Mesa software rendering (llvmpipe). During normal boots, Xorg initializes the NVIDIA driver correctly.
This affects our GStreamer camera streaming performance. We also observed that switching the NVIDIA power mode sometimes restores the expected streaming performance.
Observed Behavior
We compared the Xorg logs and graphics renderer information between a bad boot and a good boot.
| Parameter | Bad boot | Good boot |
|---|---|---|
| Xorg startup | Approximately 19.5 seconds | Approximately 23.9 seconds |
| NVIDIA probe | (EE) No devices detected. |
NVIDIA driver initializes |
| Fallback driver | modeset(0) |
No fallback observed |
| GLX provider | DRISWRAST |
NVIDIA |
| OpenGL renderer | llvmpipe |
NVIDIA Tegra Orin (nvgpu) |
| GStreamer performance | FPS drops observed | Expected FPS |
The bad boot also produces the following warning:
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering
In the bad state, Xorg appears to fall back to software rendering. We suspect that this may contribute to the GStreamer performance degradation, but we would like NVIDIA to confirm whether this is the expected behavior and whether it explains our observations.
Recovery Behavior
We have observed two ways to recover the expected performance:
- Restarting the display manager:
sudo systemctl restart display-manager
- Switching the NVIDIA power mode using
nvpmodel.
Restarting the display manager restores NVIDIA rendering and the expected camera streaming performance.
However, we have not yet confirmed whether switching power mode restores the NVIDIA renderer itself or only improves performance while software rendering remains active.
The NVIDIA device nodes are present in both the good and bad states, and nvidia_drm reports modesetting enabled.
Questions for NVIDIA
-
What could cause Xorg to intermittently report
No devices detectedfor the NVIDIA graphics device on Jetson AGX Orin, even when the NVIDIA device nodes exist? -
Is this a known issue related to the timing of NVIDIA kernel driver initialization,
nvidia_drm, EGL/GLX initialization, or Xorg startup? -
Is there a recommended systemd dependency or startup-ordering configuration to ensure that the NVIDIA graphics stack is fully initialized before the display manager starts?
-
Why might switching
nvpmodelpower mode restore the expected performance without an explicit display-manager restart? Can power-mode switching trigger any relevant GPU or graphics-driver reinitialization? -
What is the recommended permanent fix to prevent Xorg from falling back to
modesetand Mesa software rendering on some boots? -
Are there specific NVIDIA services, kernel logs, or diagnostic commands we should collect to identify the component that fails during initialization?
We would appreciate NVIDIA’s guidance on identifying the root cause and implementing a reliable permanent fix.
Thank you.