selecting the displays native resolution

This commit is contained in:
2026-07-03 10:07:51 +01:00
parent 21cc0c87e4
commit 6a08081bfe
5 changed files with 322 additions and 13 deletions
+7
View File
@@ -109,6 +109,13 @@ pub fn build(b: *std.Build) void {
b.fmt("format=raw,file=fat:rw:{s}/esp", .{b.install_path}),
"-net",
"none",
// Emulated display advertising 1280x720 as its native (EDID preferred)
// resolution, so the kernel's native-resolution switch has something to
// find. `-vga none` avoids a second, default adapter.
"-vga",
"none",
"-device",
"VGA,edid=on,xres=1280,yres=720",
});
run_efi.step.dependOn(&efi_install.step);
run_efi.step.dependOn(&kernel_install.step);