linux icon indicating copy to clipboard operation
linux copied to clipboard

Fullscreen splashscreen image gets overwritten by text when no console parameter in cmdline.txt

Open lurch opened this issue 3 months ago • 5 comments

Describe the bug

If you enable a fullscreen splashscreen image, and there's neither console=tty1 nor console=serial0,115200 in cmdline.txt, then the splashscreen image gets displayed, but Linux bootup messages get displayed over the top of it, which kind of defeats the point of the splashscreen!

Example shown in the photo below: Image

Steps to reproduce the behaviour

  1. Flash RPi OS Trixie to an SD card (and boot it up)
  2. Install ImageMagick : sudo apt install imagemagick
  3. Create a suitable TGA image : convert /usr/share/rpd-wallpaper/fisherman.jpg -colors 224 -depth 8 -type TrueColor -alpha off -compress none -define tga:bits-per-sample=8 -crop 1920x1080+0+100 fisherman.tga
  4. Install rpi-splash-screen-support : sudo apt install rpi-splash-screen-support
  5. Configure the splash image : sudo configure-splash fisherman.tga
  6. Reboot your Pi : sudo reboot
  7. You'll get a nice full-sceen splashscreen before the desktop appears
  8. Launch Control Centre from the main Preferences menu and navigate to the Interfaces tab
  9. Turn off the Serial Console option, select Close, and reboot your Pi again
  10. This time you'll get ugly bootup messages displayed over the top of your beautiful splashscreen image

Device (s)

Raspberry Pi 5

System

https://pastebin.com/zq9LGTek

Logs

No response

Additional context

I've observed the same behaviour on both Bookworm and Trixie, so this definitely seems to be a kernel problem rather than an OS problem. Step 5 in my reproduction above removes console=tty1 from /boot/firmware/cmdline.txt, and step 9 in my reproduction removes console=serial0,115200 from cmdline.txt. The final contents of cmdline.txt end up being:

root=PARTUUID=9fe6b099-02 rootfstype=ext4 fsck.repair=yes rootwait splash cfg80211.ieee80211_regdom=GB fullscreen_logo=1 fullscreen_logo_name=logo.tga vt.global_cursor_default=0

lurch avatar Oct 08 '25 17:10 lurch

Does adding "quiet" to cmdline.txt help?

popcornmix avatar Oct 09 '25 09:10 popcornmix

Does adding "quiet" to cmdline.txt help?

I tried that already, and adding "quiet" seems to stop the splashscreen appearing at all! (see also https://github.com/raspberrypi/rpi-splash-screen-support/commit/1b72b4c90b8c15a28e25bc63dafe04cec50f7c11 ~which isn't yet in the apt-version of rpi-splash-screen-support~)

lurch avatar Oct 09 '25 09:10 lurch

The version of rpi-splash-screen-support in the Trixie repo has now been updated, so I've updated my reproduction-steps accordingly.

lurch avatar Oct 10 '25 10:10 lurch

Does console=tty2 change anything?

pelwell avatar Oct 10 '25 14:10 pelwell

Does console=tty2 change anything?

It changes the behaviour slightly, but not in a useful way - the kernel messages still get written over the top of the splash-screen, but the splash-screen now gets displayed for a shorter time.

lurch avatar Oct 13 '25 10:10 lurch