Graphic Init on Slackware
Hello Friends!
I was wondering if it is possible to load image at init. Of course text based init is useful if error occurs. But is it possible to load images or some kinda animations while loading? |
Hello,
no. |
Do you mean like a bootloader splash screen? If so, that is possible. I just don't like it preferring a simple boot menu graphic that ends as soon as text begins upon boot selection. I want to see those messages.
|
You can do a search here for bootsplash, but I don't think that it ever went very far. Probably won't go very far if resurrected either.
|
Just for fun, for a pseudo animation you can try adding ' fbcon=rotate:1' to your kernel boot parameters.
|
It's not the same as displaying a splash screen to hide the boot messages, but you can configure Slackware to boot to a GDM in /etc/inittab. The file is well annotated and explains how to do so.
Depending on your desktop environment, you may get an option to configure a splash screen for the login screen. In KDE, for example, you can select a splash screen in Settings--->Workspace Appearance-->Splash Screen. |
I think in other distros this is done by plymouth.
But it's possible to achieve by other means, for example mplayer can use a framebuffer device to display video: Code:
mplayer -keepaspect -quiet -zoom -x 1280 -y 1024 -ao alsa -vo fbdev2 $1 So you could have a real high quality splash video, like a spinning globe with a company logo or something. |
There are various methods to "trim" the information loaded at boot, but most revolve around sysvinit rather than bsd based or stylized init systems. This can kinda make loading "seem" faster, unless the system has an issue loading a daemon. I just recommend using an SSD drive for yous system with btrfs as your root (/) partition and something light and fast like ext4 for your /boot partition. Be sure to enable TRIM on both. SSDs tend to boot fairly quickly anyway.
Plymouth is one method used by various distributions. I would suggest looking into it and see how you can incorporate it into Slackware. If you do, it never hurts to craft together a buildscript set and contribute it to SlackBuilds.org either. |
Quote:
https://github.com/Jigoku/msplash One problem is that text output "fights" with the video, so to stop that, you'd need to suppress text output from the other rc scripts. Here's two videos of my msplash script; https://www.youtube.com/watch?v=YQM8MLlqVcY https://www.youtube.com/watch?v=4Tdn77cy92g The other problem, is that the video won't play until fairly late into the boot process... It could do with some improving though! |
Quote:
Quote:
|
All times are GMT -5. The time now is 01:27 PM. |