Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89436

Re: Bug: "insmod all_video" should be equivalent to "insmod efi_gop" on UEFI

From Askar Safin <safinaskar@zohomail.com>
Newsgroups linux.debian.kernel
Subject Re: Bug: "insmod all_video" should be equivalent to "insmod efi_gop" on UEFI
Date 2025-09-28 00:50 +0200
Message-ID <LzLTQ-14MW-7@gated-at.bofh.it> (permalink)
References <Lz4OR-AQ5-3@gated-at.bofh.it> <LzEpj-ZwZ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


---- On Sat, 27 Sep 2025 18:27:29 +0400 Andrew Hamilton <adhamilt@gmail.com> wrote ---
 > I wonder, is there any valid use case for the bochs driver to be built in efi configuration? I assume efi must provide that gop interface?
 > 
 >  That seems like a possibly simple fix… to remove bochs for efi so it isn’t loaded by all video.

Yes, I totally agree.

I don't want to write such patch myself, because I'm not familar with GRUB codebase.

Also: I did bisect and I discovered, that this bug also affects Linux kernel
starting from GRUB commit cfbfae1aef0694b41 ("efi: Use generic EFI loader for x86_64 and i386").

Reproduction steps are same, you just need to ensure that your GRUB version
has cfbfae1aef0694b41 and replace "chainloader /boot/shellx64.efi" with
"linux vmlinuz", where "vmlinuz" is some Linux kernel with EFI stub.

You will see artifacts, and Linux will be unsable until native Linux bochs driver
will be loaded.

This bug is fixed by dropping video_bochs, too.

-- 
Askar Safin
https://types.pl/@safinaskar

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug: "insmod all_video" should be equivalent to "insmod efi_gop" on  UEFI Askar Safin <safinaskar@zohomail.com> - 2025-09-26 02:50 +0200
  Re: Bug: "insmod all_video" should be equivalent to "insmod efi_gop"  on UEFI Andrew Hamilton <adhamilt@gmail.com> - 2025-09-27 16:50 +0200
    Re: Bug: "insmod all_video" should be equivalent to "insmod  efi_gop" on UEFI Askar Safin <safinaskar@zohomail.com> - 2025-09-28 00:50 +0200

csiph-web