gitbls / sdm

Raspberry Pi SD Card Image Manager
MIT License
464 stars 48 forks source link

Changing the splash screen #171

Open atifghaffar opened 9 months ago

atifghaffar commented 9 months ago

hi,

is it possible with sdm to change the splash screen from the rainbow image to a custom image?

Could not find the setting for that.

thanks.

gitbls commented 9 months ago

ISTR that there's no way to change it. It's only on the screen for a bit, and to me, never seemed worth spending any time on it.

atifghaffar commented 9 months ago

I will have a dozen screens running in a gym and they maybe rebooted ( power-cycled ) when stuck/mafunctioning or they will be shutdown in the night and started in the morning.

I wanted to make the startup screen as clean as possible, no startup message, no kernel messages, etc, just a screen with the logo while the system boots.

Any ideas on to achieve that using sdm?

perhaps something with quietness plugin.

I have currently

quietness:"consoleblank=600|noquiet=keep|nosplash=keep|noplymouth" but I guess I have to play with different variations of it,

I am not worried about the first-boot screen, that is fine, it just the recurring boots should be as less verbose as possible.

thanks

gitbls commented 9 months ago

Why are you using noquiet, or is that just for testing? By default quiet is set. When you use noquiet you get a much more chatty boot.

The other 2 make it quieter, which is what you want.

atifghaffar commented 9 months ago

So, I wanted that on firstboot, there are kernel messages, so : noquiet Then next boots quiet.

So I guess it should remove the=keep from the noquiet something like this

quietness:"consoleblank=600|noquiet|nosplash=keep|noplymouth"

rebuilding with this now

gitbls commented 8 months ago

How's this for a deal?

If you can figure out how to reliably replace the rainbow image with a custom image, I'll gladly add support for it to sdm.

atifghaffar commented 8 months ago

The rainbow image no, as its some pixels and rendering from the gfx card. I have found the solution for me ( hide the rainbow rendering, change the image used with plymouth pix theme" , I can make a patch if you like.

gitbls commented 8 months ago

I don't need a patch. Just tell me what you did, and I'll see if it's something that can be incorporated into sdm.

atifghaffar commented 8 months ago

sure.

For changing the splash image to I used the default raspberry plymouth theme called pix and changed its splash image.

with the following options

--plugin quietness:"quiet|nosplash|plymouth" \ --plugin apps:"apps=rpd-plym-splash" \ --plugin copyfile:"from=./files/mysplash.png|to=/usr/share/plymouth/themes/pix/splash.png|chown=root.root|chmod=0644|mkdirif" \

atifghaffar commented 8 months ago

you can find some more optimizations here https://retropie.org.uk/docs/FAQ/#how-do-i-hide-the-boot-text

for hiding the rainbow image: disable_splash=1 in /boot/config.txt ( I do it in my first-run script )

gitbls commented 8 months ago

Thx will have a look at it.