Skip to content

Restore the console after the preflight menu, once - #32

Merged
xXJSONDeruloXx merged 3 commits into
mainfrom
fix/preflight-console-once
Dec 4, 2026
Merged

xXJSONDeruloXx merged 3 commits into
mainfrom
fix/preflight-console-once

Conversation

@xXJSONDeruloXx

Copy link
Copy Markdown
Owner

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:

  • `mdeck-menu` leaves the console in graphics mode when it exits, as before.
  • `mdeck-menu -r` puts it back in text mode.
  • `mdeck-preflight` runs `mdeck-menu -r` once, in its EXIT trap (also on TERM/INT/HUP), after the last screen.

Tested on the RG40XX-H:

  • the menu's picture stays after it exits, and `-r` brings back the console;
  • reboot into Steam (gamescope) and into Desktop (Xorg) both come up.

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.

Achilles-Cloud and others added 3 commits December 4, 2026 12:56
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
@xXJSONDeruloXx
xXJSONDeruloXx merged commit 5c14dc7 into main Dec 4, 2026
15 checks passed
@xXJSONDeruloXx
xXJSONDeruloXx deleted the fix/preflight-console-once branch December 4, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RG35XXPRO black screen after lastest update 11.2

2 participants