Skip to contentSkip to conversation

arch: x86: efi_defconfig: remove framebuffer console to fix duplicate screen.

PATCH In review [email protected] 2 participants 2 messages Sep 14, 2025 – Sep 15, 2025 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: x86: efi_defconfig: remove framebuffer console to fix duplicate screen.

From: Chali Anis <[email protected]>

remove the framebuffer console and let develpers select it when needed, this fixes the problem that consist of having the screen splited to top and bottom displaying the output twice, and considerably speedup the efi payload on x86.

Fixes 67498b411276 ("x86: configs: efi: enable some more useful options")
---
 arch/x86/configs/efi_defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/x86/configs/efi_defconfig +0 -1
index 1dd823af40ea..9844a70d2628 100644
@@ -78,7 +78,6 @@ CONFIG_DRIVER_NET_EFI_SNP=y
 CONFIG_DISK=y
 CONFIG_DISK_WRITE=y
 CONFIG_VIDEO=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_DRIVER_VIDEO_EFI_GOP=y
 CONFIG_FINTEK_SUPERIO=y
 CONFIG_SMSC_SUPERIO=y
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 8 lines · On 9/14/25 9:40 PM, [email protected] wrote:

From: Chali Anis <[email protected]>

remove the framebuffer console and let develpers select it when needed, this fixes the problem that consist of having the screen splited to top and bottom displaying the output twice, and considerably speedup the efi payload on x86.

Fixes 67498b411276 ("x86: configs: efi: enable some more useful options")

In the worst case, the EFI stdio goes only to serial and users end up seeing nothing on the screen at all with this configuration.

I thus don't think it's a good idea to disable it by default, unless we have a way to check if stdio and GOP go to the same screen or not.

Cheers,
Ahmad

Quoted 16 lines
---
 arch/x86/configs/efi_defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/x86/configs/efi_defconfig +0 -1
index 1dd823af40ea..9844a70d2628 100644
@@ -78,7 +78,6 @@ CONFIG_DRIVER_NET_EFI_SNP=y
 CONFIG_DISK=y
 CONFIG_DISK_WRITE=y
 CONFIG_VIDEO=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_DRIVER_VIDEO_EFI_GOP=y
 CONFIG_FINTEK_SUPERIO=y
 CONFIG_SMSC_SUPERIO=y
Signature · 4 lines
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |