Skip to content

Correct Video Corruption for EFI Plus Bochs/Cirrus

Andrew Hamilton grub-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 9 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

Also remove video_cirrus when building for i386 EFI or x86-64 EFI

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1build: Disable building video_bochs/cirrus for EFI x86grub-core/Makefile.core.def+10 -20 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchAskar Safin
SeriesT-b
1/1

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] Correct Video Corruption for EFI Plus Bochs/Cirrus

Disable building video_bochs and video_cirrus for EFI x86 platforms (i386_efi and x86_64_efi). For x86 EFI platforms efi_gop or efi_uga should provide the video support. Currently, in EFI platforms there is a risk that both the legacy device 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

Following this change, for x86_64_efi the following modules would be loaded by "all_video": "efi_gop" "efi_uga"

Link to v1 thread:
https://lists.gnu.org/archive/html/grub-devel/2025-09/msg00254.html

Changes v1 => v2:
Also remove video_cirrus when building for i386 EFI or x86-64 EFI

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

 grub-core/Makefile.core.def | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Signature · 7 lines
2.47.3


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