Repository navigation
Conversation
|
|
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NVKMS KAPI failures currently lose their diagnostic messages in release builds: both KAPI logging macros call
nvEvoLogDebug, which becomes an empty macro withoutDEBUG. Settingnvidia-modeset.debug=1therefore does not expose the existing modeset rejection statuses.Use
nvEvoLogbehindnvDoDebugLogging()for these macros. Logging remains disabled by default in release builds, and debug builds retain their existing logging behavior. The device macro also uses its supplied device argument. Arguments are evaluated only when logging is enabled.This was found while investigating a four-monitor atomic modeset rejection on an RTX 5090 with 610.43.02: DRM reported
atomic driver check ... failed: -22, while the runtime NVIDIA debug switch produced no KAPI rejection details. This change enables investigation; it does not claim to fix that display failure.Validation:
src/nvidia-modesetcomponent on current main (610.57.04), release configuration.nvidia-modeset.koagainst Ubuntu kernel 7.0.0-30 using the installed Ubuntu kernel interface sources and NVIDIA symbol versions.vmlinuxwas unavailable.