Piotru
Posts: 17
Joined: Tue Apr 28, 2020 10:08 am

Custom graphics during entire boot sequence.

Tue Apr 28, 2020 10:29 am

Hello.

I'm asking for your help with making a custom splash screen when booting Pi 4. I already managed to replace a splash screen and got rid of all text and other stuff that is displayed when booting. What I did:
- replaced the "/usr/share/plymouth/themes/pix/splash.png" to my custom graphic
- removed these lines from "/usr/share/plymouth/themes/pix/pix.script"

Code: Select all

message_sprite = Sprite();
message_sprite.SetPosition(screen_width * 0.1, screen_height * 0.9, 10000);
my_image = Image.Text(text, 1, 1, 1);
message_sprite.SetImage(my_image);
- added to the command in "/boot/cmdline.txt"

Code: Select all

logo.nologo vt.global_cursor_default=0
and changed "console=tty1" to "tty3"

It all works but the problem is, my custom splash screen is displayed just for a split second and you can even miss it if you blink. Before and after it's displayed there is a black empty screen for the most of the time. So I would like to make it last longer so the splash screen would be visible for the entire boot sequence until my app (which runs automatically after boot) shows on the screen. Instead of remove the "rasperries" logo with "logo.nologo" and have the black screen I would like to display the same splash screen which is "/usr/share/plymouth/themes/pix/splash.png".

Is it possible?
Thanks.

hondaman900
Posts: 6
Joined: Mon Nov 23, 2020 12:45 am

Re: Custom graphics during entire boot sequence.

Mon Nov 23, 2020 1:28 am

Also looking to resolve this. Did you find a solution?

DarkElvenAngel
Posts: 1416
Joined: Tue Mar 20, 2018 9:53 pm

Re: Custom graphics during entire boot sequence.

Mon Nov 23, 2020 1:58 am

This is the problem of the KMS and FKMS graphics drivers and how late in the boot process Plymouth displays the image if you want a few more seconds of splashy goodness try an initramfs splash or bake the splash into the kernel neither method works well with the (F)KMS driver.

If you're interested in the initramfs method I have a guide here

Return to “General discussion”