LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2018, 05:30 AM   #1
victor001
LQ Newbie
 
Registered: Mar 2018
Location: Uzbekistan
Distribution: Slackware64
Posts: 18

Rep: Reputation: Disabled
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?
 
Old 06-11-2018, 06:36 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,288

Rep: Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055Reputation: 3055
Hello,

no.
 
Old 06-11-2018, 06:41 AM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,838

Rep: Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738Reputation: 1738
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.
 
Old 06-11-2018, 07:11 AM   #4
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 704

Rep: Reputation: Disabled
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.
 
Old 06-11-2018, 07:44 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,950

Rep: Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702Reputation: 1702
Just for fun, for a pseudo animation you can try adding ' fbcon=rotate:1' to your kernel boot parameters.
 
Old 06-11-2018, 09:16 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,573
Blog Entries: 20

Rep: Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570Reputation: 3570
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.
 
Old 06-12-2018, 02:35 AM   #7
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 477

Rep: Reputation: Disabled
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
... where $1 is your video file

So you could have a real high quality splash video, like a spinning globe with a company logo or something.
 
2 members found this post helpful.
Old 06-14-2018, 06:56 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,431
Blog Entries: 15

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
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.
 
Old 06-14-2018, 08:14 AM   #9
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 649
Blog Entries: 3

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by elcore View Post
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
... where $1 is your video file

So you could have a real high quality splash video, like a spinning globe with a company logo or something.
Yes, that's one way to do it, also works for sound in the chosen video, i wrote an rc script called "msplash" for slackware a while back which solely relies on mplayer; There's instructions etc here:
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!

Last edited by coralfang; 06-14-2018 at 08:18 AM.
 
1 members found this post helpful.
Old 06-14-2018, 09:55 AM   #10
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 834

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Quote:
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.
why these in particular? And, please, I do not want to start the endless debate about file systems...

Quote:
Be sure to enable TRIM on both.
Enable it from fstab?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14 graphic issue Mazer Slackware 3 11-04-2012 02:30 AM
Slackware 8.1 No start-up graphic jtp51 Linux - General 2 01-02-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration