P
P
Polarisru2017-08-22 10:37:05
linux
Polarisru, 2017-08-22 10:37:05

Normal splashscreen (logo) in Linux, is it really possible to achieve?

Tell me, is it possible to show a normal splash screen (logo) at system startup?
The problem is this - I need to show a picture from the moment the system starts until the moment my application starts, which starts under X. I have already tried a lot of things, in the end I settled on the version with the logo built into the kernel. It shows up quite early, after about 2 seconds, hangs on the screen during the entire loading process, but turns off immediately when X starts, maybe even a little earlier, when graphical.target is reached. My system is quite slow, so the Xs start for 3-4 seconds, then the application starts, as a result, the screen is black for at least 5-6 seconds, which looks really unprofessional.
I know there are at least three possibilities to run the logo on my system (iMX6+Debian or Angström):

  1. Enable display in U-boot and patch the kernel to save the picture, this method turns on immediately (which is not critical in general), but turns off, I think, at the same moment and requires considerable effort
  2. Kernel logo support is what I use at the moment.
  3. The script in init.d with rendering via fbi - runs later than from the kernel, the problem with X is not solved, I already used this method and abandoned it.

Is there any additional possibility to bypass the X initialization and save the picture until my application is launched?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dummyman, 2017-09-05
@dummyman

Plymouth is the de facto standard for animating the loading of modules and services after the kernel is loaded. The freedesktop team has not yet expressed any desire to replace it with a more suitable one. Also on the shoulders of plymouth is the task of visualizing a password prompt to activate the lvm key to mount encrypted partitions.
Also, to display logos before booting the kernel, you can customize the GRUB skin.
Well, after launching X, the skin of one of the so-called Display Managers can be responsible for the splash . For example, LightDM, GDM, SDDM.
Look for the work of Linux fork authors. The entire github is filled with examples of work. Github search is at your service.
https://github.com/pld-linux/plymouth
https://github.com/skd1993/nsa-plymouth
https://github.com/Jolicloud/plymouth
https://github.com/RussianFedora/plymouth
https://github.com/madeinnordeste/Banana-plymouth
https://github.com/gooselinux/plymouth
https:// github.com/endlessm/plymouth
https://github.com/aztli/Plymouth-aztli
https://github.com/madeinnordeste/Banana-plymouth
https://github.com/numixproject/numix-plymouth-theme
https: //github.com/jsayol/dark-mint-plymouth-theme
https://github.com/Sabayon/genkernel-next
https://github.com/Generator/Grub2-themes
https://github.com/thias /glim
https://github.com/Rohde-Schwarz-Cybersecurity/Tru...
https://github.com/Se7endAY/grub2-theme-vimix

D
DrDeimos, 2017-08-22
@DrDeimos

plymouth - outdated already?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question