Repository navigation
Show error dialog when OpenGL is unsupported (GDI Generic / OpenGL < 2.0) - #3205
Merged
Merged
Conversation
…L < 2.0) Detect the Windows software renderer (GDI Generic, OpenGL 1.1) early during GL context initialization and show a clear error dialog rather than crashing with obscure null-pointer or native exceptions downstream. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
GLEventListeneron theGLWindowbefore the viz engine registers its own listener, so it fires first during GL context initializationGDI Genericrenderer or OpenGL version < 2.0, both of which indicate the Windows software fallback (no GPU driver / RDP session)NotifyDescriptoron the EDT explaining the issue and pointing the user to install a graphics driverAtomicBooleanto show the warning only once per JVM sessionFixes GEPHI-5JK, GEPHI-5JM, GEPHI-5HQ (all cascades from this root cause).
Test plan
🤖 Generated with Claude Code