Repository navigation
Restore the console after the preflight menu, once - #32
Merged
Merged
Conversation
The direct framebuffer preflight menu switches tty0 to KD_GRAPHICS but never restores it. On some H700 display combinations that leaves the following Xorg or gamescope session with a black screen. Restore KD_TEXT on normal exit and termination so Steam and Desktop start with a clean VT. Fixes #28
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.
Builds on #31 (Achilles-Cloud), which fixes #28: the preflight menu puts the console in graphics mode and never gives it back, and on some displays (RG35XX Pro) the session then starts on a black screen.
#31 restores text mode every time `mdeck-menu` exits or is killed. The preflight starts a new `mdeck-menu` per screen (every toggle, Wi-Fi list, the "Searching..." wait screen), so on the RG40XX the console's blank tty showed between screens, where the picture used to stay. A framebuffer dump right after a menu exits shows the console's text with #31 and the menu with v0.11.3.
This keeps #31's commit and changes where the restore happens:
Tested on the RG40XX-H:
There is no RG35XX Pro here, so the original bug is not reproduced.
Also adds the v0.11.4 release notes.
Closes #28. Merging with a merge commit lands #31's commit as is.