Public bug reported:

Package: grub2 (grub-efi-amd64-signed 1.215+2.14-2ubuntu1, shim-signed 
1.59+15.8-0ubuntu2)
Release: Ubuntu 26.04 (upgraded from 24.04)
Hardware: ASUS ExpertBook P1403CVA (Intel Raptor Lake-P, i915), AMI UEFI 
firmware P1403CVA.345, Secure Boot enabled

== Summary ==
Since upgrading from 24.04 to 26.04, the ASUS firmware logo disappears within 
about 1 second of appearing, and the screen stays black for several seconds 
until Plymouth starts. On 24.04 the logo stayed on screen until Plymouth took 
over.

The firmware draws its logo at 1920x1080, but the kernel is handed a
640x480 framebuffer. Something in the shim -> GRUB path changes the GOP
mode to 640x480 (probably by putting the firmware text console into
80x25 text mode) before any grub.cfg command runs.

== Evidence ==
1. The firmware draws the logo at the native mode: the BGRT xoffset/yoffset of 
736/432 is the logo centered at 1920x1080.

2. Normal boot (firmware -> shimx64.efi -> grubx64.efi -> kernel):
   /sys/kernel/boot_params/data screen_info -> lfb 640x480x32

3. Direct firmware boot of the Canonical-signed kernel EFI stub, with no shim 
and no GRUB
   (efibootmgr entry \EFI\test\vmlinuz.efi, "initrd=\EFI\test\initrd.img 
root=... ro quiet splash"):
   screen_info -> lfb 1920x1080x32. The logo stays visible until Plymouth, with 
no black gap.

4. A silent "sleep 3" inserted as the very first line of
/boot/grub/grub.cfg (and another right after "terminal_output console")
does NOT keep the logo on screen: it still disappears within ~1 s. The
mode change therefore happens before grub.cfg is evaluated, so it is not
caused by gfxmode/gfxpayload/terminal settings. The grub.cfg in use has
no gfxterm, no echo, and "set gfxpayload=keep".

5. A sleep after the "linux" and "initrd" commands only lengthened the
black period, which confirms the kernel and initrd loading are not
involved.

== Config ==
GRUB_TIMEOUT_STYLE=hidden, GRUB_TIMEOUT=0, GRUB_GFXPAYLOAD_LINUX=keep, 
GRUB_TERMINAL=console
(The behavior is the same without GRUB_GFXMODE/GRUB_GFXPAYLOAD_LINUX; these 
were only added while trying to work around the problem.)

== Not yet isolated ==
I could not cleanly separate shim from GRUB: booting grubx64.efi directly 
without shim prints an early error, which forces text mode by itself. GRUB 
changed from 2.12 to 2.14 in this upgrade while shim stayed at 15.8, so GRUB's 
EFI console initialization (no longer deferring text-mode setup until the first 
output?) is the most likely cause.

== Expected ==
shim/GRUB should not change the GOP mode or touch the text console unless they 
actually need to print something, as on 24.04 (GRUB 2.12), so that the firmware 
logo stays on screen through to Plymouth.

== Workaround ==
Booting the signed kernel directly from the firmware (efibootmgr EFI stub 
entry) avoids the problem.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: grub-efi-amd64-bin 2.14-2ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 23 22:42:44 2026
InstallationDate: Installed on 2026-03-13 (255 days ago)
InstallationMedia: Ubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: grub2-unsigned
UpgradeStatus: Upgraded to resolute on 2026-11-21 (2 days ago)

** Affects: grub2-unsigned (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175661

Title:
  [26.04] Booting via shim + GRUB 2.14 switches EFI GOP to 640x480
  before grub.cfg runs, breaking flicker-free boot (firmware logo
  replaced by black screen)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2175661/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to