Disable building video_bochs for EFI x86 platforms. For EFI platforms
efi_gop or efi_uga should provide the video support. Currently,
in EFI platforms there is a risk that both the bochs devices is
present and the EFI video interface - which can cause unexpected
video corruption when a mix of the two interfaces are used. This
can happen when all_video is loaded for simplicity in a GRUB config.

There is some additional analysis from the Qemu team in this thread:
https://gitlab.com/qemu-project/qemu/-/issues/2562

This is an issue on some major distros such as Debian on EFI
when running under Qemu and potentially other scenarios.

There is some discussion on the Debian side in this thread:
https://salsa.debian.org/kernel-team/linux/-/merge_requests/1453

This relates to this discussion from grub-devel also:
https://lists.gnu.org/archive/html/grub-devel/2025-09/msg00244.html

Fixes: https://savannah.gnu.org/bugs/index.php?66200

Andrew Hamilton (1):
  build: Disable building video_bochs for EFI x86 platforms

 grub-core/Makefile.core.def | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.47.3


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to