I've done this for a while, initially to kill the modeswitch between my GRUB 2 splash screen and plymouth. I use dracut to build the initramfs, so I modify
/usr/lib/dracut/modules.d/50drm/module-setup.sh
to exclude graphics drivers/firmware, then set a graphical mode in GRUB 2. This takes tens of MB out of my initramfs and reduces the number of screen blanks on boot by one. The one just before X11 or wayland starts (not sure what SDDM uses for itself) does get a little longer but overall boot time is reduced, and I do get graphical passphrase entry just fine without having to include not only all the AMD firmware but all the Nvidia firmware too in the initramfs.
No need for graphics drivers in the initramfs. If we can get the wayland and/or xorg drivers not to clear the screen again (like in 2010), we get seamless boot without loading graphics drivers until they are truly needed.
/usr/lib/dracut/modules.d/50drm/module-setup.sh
to exclude graphics drivers/firmware, then set a graphical mode in GRUB 2. This takes tens of MB out of my initramfs and reduces the number of screen blanks on boot by one. The one just before X11 or wayland starts (not sure what SDDM uses for itself) does get a little longer but overall boot time is reduced, and I do get graphical passphrase entry just fine without having to include not only all the AMD firmware but all the Nvidia firmware too in the initramfs.
No need for graphics drivers in the initramfs. If we can get the wayland and/or xorg drivers not to clear the screen again (like in 2010), we get seamless boot without loading graphics drivers until they are truly needed.
Comment