Skip to content

Show the systemd-boot menu before and after, captured from a VM - #11

Merged
clhodapp merged 1 commit into
mainfrom
feature/readme-visuals
Sep 7, 2026
Merged

clhodapp merged 1 commit into
mainfrom
feature/readme-visuals

Conversation

@clhodapp

@clhodapp clhodapp commented Sep 7, 2026

Copy link
Copy Markdown
Owner

The README shows the difference now: the systemd-boot menu at
3840x2160 with the stock console, with Big Console, and with the 2x
build, as 1:1 crops of the same 1280x720 window (glyphs at real size)
and as reduced whole frames (how much of the panel each uses).

Where the images come from

A new check, systemd-boot-menu, boots systemd-boot from an ESP at 4K
with the driver in EFI/systemd/drivers/, the way it is deployed,
dumps the framebuffer once the menu has settled, and asserts the glyph
height (19 px for the stock console, the cell height for the driver).
Four scenes: stock, driver, driver with console-mode max, and the 2x
driver. Nothing was loaded from a shell, so this is the first check of
the drop-in path end to end; the existing VM checks load from the
shell.

OVMF's stock console runs at the resolution its PlatformConfig
variable prefers (what its setup screen writes) and defaults to a small
mode, which would have made the "before" image a low-resolution
console rather than the tiny-text-at-4K case the driver exists for. So
each scene first boots the shell, stores 3840x2160 in that variable
with setvar, and resets; the second boot then starts from a 4K stock
console, which is also the flickerless case for the takeover.

The console-mode max scene looks the same as the default because
systemd-boot centers its menu inside whatever grid it has; it stays as
a check of that setting and is not in the README.

The verifier gains --band (tallest lit-row band) and --bbox
(bounding box of what was drawn), used for the assertion and to place
the 1:1 crop window.

🤖 Generated with Claude Code

A new check, systemd-boot-menu, boots systemd-boot from an ESP at 4K
with the driver in its drivers directory, the deployment path, dumps
the framebuffer once the menu has settled, and asserts the glyph
height. Its images are the README's: the menu with the stock console,
the driver, and the 2x build, as 1:1 crops of one window and as
reduced whole frames. OVMF's stock console runs at the resolution its
PlatformConfig variable prefers and defaults to a small mode, so each
scene first boots the shell, stores 3840x2160 there, and resets; the
boot that matters then starts from a 4K stock console.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@clhodapp clhodapp self-assigned this Sep 7, 2026
@clhodapp
clhodapp merged commit ba8ad38 into main Sep 7, 2026
2 checks passed
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.

1 participant