How to fix the Plymouth boot splash screen on Linux Ubuntu and other distros with NVIDIA proprietary drivers installed.
Here is what you will have to do. First, restart your system and hold Shift to display GRUB menu. Now press C to get to a command line. Things are now a bit different depending on your computer.
For an older BIOS based computer, write the following commands:
insmod vbe vbeinfoIt will give you an output similar to this:
vbeinfo example output |
If you boot in UEFI mode, at the GRUB console write:
insmod video videoinfoThe output will look like this:
videoinfo example output |
Remember the best resolution or make a photo of this screen, then press Esc to boot into the operating system. Besides resolution, keep in mind the UEFI driver (EFI GOP here and on most machines; there is also EFI UGA for Mac machines).
Let's tell GRUB to use the resolution and driver. Edit /etc/default/grub with root permissions (i.e. sudo gedit /etc/default/grub) and add the following lines[4, 5].
BIOS
GRUB_GFXPAYLOAD_LINUX="keep" GRUB_VIDEO_BACKEND="vbe" GRUB_GFXMODE="1280x1024x32"UEFI
GRUB_GFXPAYLOAD_LINUX="keep" GRUB_VIDEO_BACKEND="efi_gop" GRUB_GFXMODE="1280x1024x32"Replace 1280x1024x32 from my example with your resolution. Replace efi_gop with efi_uga if UGA has been detected by videoinfo.
Now we need to tell Plymouth to use framebuffer to display graphics. Open /etc/initramfs-tools/conf.d/splash with a text editor with root permissions and add this line:
FRAMEBUFFER=yWe're almost done. All that is left is to update GRUB and the kernel. Run the following commands:
sudo update-initramfs -u sudo update-grubNow you can reboot. You may still notice strange behavior. For example, on my computer, the Ubuntu logo appears for a short time, then it disappears and only the dots remain. But it's better than Plymouth in text mode.
References:
- sambrightman. Plymouth on Ubuntu Wiki (CC-BY-SA 3.0).
- BinaryTides. Fix low resolution grub and splash screen with Nvidia drivers on Ubuntu 14.04.
- ArchLinux Wiki. Plymouth (GNU FDL).
- If Not True Then False. Fedora 20 nVidia Drivers Install / Uninstall / Restore Plymouth.
- Nolt. Answer on How to fix plymouth (splash screen) in all Ubuntu releases! at AskUbuntu (CC-BY-SA 3.0).
Any idea how to get this working under VMware? sudo gedit won’t load and gives me some kind of a magic cookie error & a GKT error.
ReplyDeletegksudo gives me a popup window for my password but won’t allow me to enter the password. Any guidance would be appreciated. I can’t get anyone to help on Ubuntu Forums.
Use a console text editor like nano or vim.
DeleteThanks, that did the trick when I was updating from 19.04 to 19.10.
ReplyDeleteDon't work on Ubuntu 20.04 LTS.
ReplyDelete