nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 271
|
Posted: Tue Nov 19, 2024 9:50 pm Post subject: Which framebuffer options need to be selected for console? |
|
|
Which framebuffer options do I need to select in my kernel configuration if I wish to have a text console at native panel resolution as a fallback even if X/Waxland fails for some reason?
I am using UEFI boot with EFI stub and Plymouth boot animation. Fox X/Wayland I am using the i915 DRM driver. However, if (for some reason) X/Waxland fails and I need to fall back to the text console, I still want a "proper" console not the 80 char, 25 line legacy thing. Until now I was under the impression that I have to select CONFIG_FB_SIMPLE in combination with CONFIG_SYSFB_SIMPLEFB for that, but I was recently told that I should disable it. All my kernel configurations essentially look like this Code: | Device Drivers -->
Firmware Drivers -->
[*] Mark VGA/VBE/EFI FB as generic framebuffer (CONFIG_SYSFB_SIMPLEFB)
Graphics Support -->
<*> Direct Rendering Manager --> (CONFIG_DRM)
[*] Enable legacy fbdev support for your modesetting driver (CONFIG_DRM_FBDEV_EMULATION)
<*> Intel 8xx/9xx/G3x/G4x/HD Graphics (CONFIG_DRM_I915)
< > Simple framebuffer driver (CONFIG_DRM_SIMPLEDRM)
Frame buffer Devices -->
<*> Support for frame buffer device drivers --> (CONFIG_FB)
[ ] EFI-based Framebuffer Support (CONFIG_FB_EFI)
<*> Simple Framebuffer Support (CONFIG_FB_SIMPLE) | After giving it some thought, I believe CONFIG_DRM_FBDEV_EMULATION is all I need for Plymouth and a text console, right? (Besides CONFIG_DRM_I915 of course, or any other graphic card (CONFIG_AMDGPU, CONFIG_NOUVEAU) I have).
Is it safe to deselect CONFIG_FB and CONFIG_FB_SIMPLE and CONFIG_SYSFB_SIMPLEFB? Will there be any regression? The kernel help text says to select it, if unsure. That is why I did it. |
|