Difference between revisions of "Splashy"

From ArchWiki
Jump to: navigation, search
m (Default Framebuffer)
(Remove out of date info. Mark configuration out of date.)
(48 intermediate revisions by 20 users not shown)
Line 1: Line 1:
[[Category: Boot process (English)]]
+
[[Category:Bootsplash]]
[[Category: Eye candy (English)]]
+
[[es:Splashy]]
{{i18n_links_start}}
+
[[ru:Splashy]]
{{i18n_entry|English|Splashy}}
+
[[zh-CN:Splashy]]
{{i18n_entry|Русский|Splashy(русский)}}
+
[http://alioth.debian.org/projects/splashy/ Splashy] is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer via [http://www.directfb.org directfb].
{{i18n_entry|简体中文|Splashy (简体中文)}}
+
{{i18n_entry|Español|Splashy (Español)}}
+
{{i18n_links_end}}
+
  
==Introduction==
+
==Installation==
[http://splashy.alioth.debian.org Splashy] is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer via [http://www.directfb.org directfb].
+
  
Please see [http://bbs.archlinux.org/viewtopic.php?id=48978 this post] on the Arch Linux forum for a repo you can add with working splashy packages.   Splashy in AUR also works (see below).
+
Before you can use Splashy, you should enable [[Kernel Mode Setting]]. Please refer to the specific instructions for [[ATI#Kernel_mode-setting_.28KMS.29|ATI cards]], [[Intel#KMS_.28Kernel_Mode_Setting.29|Intel cards]] or [[Nouveau#KMS|Nvidia cards]].  
  
==Installation==
+
Install {{AUR|splashy-full}} from the [[Arch User Repository]].
  
# Grab the [http://aur.archlinux.org/packages.php?ID=27916 splashy-full package] in AUR, build it via makepkg (or whatever makepkg wrapper you like) and install via Pacman.
+
You may also check out [https://bbs.archlinux.org/viewtopic.php?id=48978 this topic] on the [https://bbs.archlinux.org/ Arch Linux forum] for a repository you can add with working splashy packages.
  
 
==Configuration==
 
==Configuration==
=== Uvesafb Framebuffer (Preferred) ===
+
{{Out of date|Update for systemd.}}
It is recommended to use [[Uvesafb]] if your hardware supports it. This allows you to use the exact native resolution of your monitor. It also allows you a widescreen boot splash.
+
  
# Follow the instructions on the [[Uvesafb]] page to install and configure.
+
===/etc/rc.conf===
# Add <code>quiet splash</code> to your kernel command line in ''/boot/grub/menu.lst'', e.g.:<br> <code>kernel (hd0,6)/vmlinuz26 root=/dev/sda6 ro '''quiet splash'''</code>
+
  
=== Default Framebuffer ===
+
Add this in {{ic|/etc/[[rc.conf]]}}:
You can also use the default kernel framebuffer if your hardware does not support Uvesafb.
+
{{hc|/etc/rc.conf|2=SPLASH="splashy"}}
  
# [http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers Find the kernel framebuffer mode number closest as possible to your monitor].
+
===Including Splashy in initramfs===
# Add <code>quiet vga='''>mode number<''' splash</code> to your kernel command line in ''/boot/grub/menu.lst'', e.g.: <br> <code>kernel (hd0,6)/vmlinuz26 root=/dev/sda6 ro '''quiet vga=791 splash'''</code>
+
  
=== Other Configuration Files ===
+
Add Splashy to the HOOKS array in {{ic|/etc/[[mkinitcpio.conf]]}}. It '''must''' be added ''after'' '''base''', '''udev''' and '''autodetect''' for it to work:
====/etc/rc.conf====
+
{{hc|/etc/mkinitcpio.conf|2=HOOKS="base udev autodetect splashy [...]"}}
Add <code>SPLASH="splashy"</code> in ''/etc/[[rc.conf]]'', e.g.:
+
SPLASH="splashy"
+
====/etc/mkinitcpio.conf====
+
'''Remember to rebuild the initramfs image whenever Splashy's config changes.''' (E.g. Splashy theme was changed.)
+
#Add '''<code>splashy</code>''' at the '''end''' of the HOOKS in ''/etc/mkinitcpio.conf'', e.g.:<pre>HOOKS="base udev autodetect ide sata filesystems ... splashy"</pre>
+
#Rebuild initramfs image<pre># mkinitcpio -p <kernel name></pre>E.g.<pre># mkinitcpio -p kernel26</pre>
+
  
===Upgrading===
+
For early KMS start add the module [[radeon]] (for radeon cards), [[Intel|i915]] (for intel cards) or [[nouveau]] (for nvidia cards) to the MODULES line in {{ic|/etc/mkinitcpio.conf}}:
Don't forget to rebuild the initramfs image after upgrading Splashy.
+
{{hc|/etc/mkinitcpio.conf|2=MODULES="i915"
 +
'''or'''
 +
MODULES="radeon"
 +
'''or'''
 +
MODULES="nouveau"}}
 +
 
 +
Rebuild your kernel image (refer to the [[mkinitcpio]] article for more info):
 +
{{bc|# mkinitcpio -p [name of your kernel preset]}}
 +
 
 +
===The kernel command line===
 +
 
 +
You now need to set {{ic|quiet splash}} as you kernel command line parameters in your bootloader. See [[Kernel parameters]] for more info.
  
 
===Themes===
 
===Themes===
You can install [http://aur.archlinux.org/packages.php?ID=19626 splashy-themes] in AUR to get a nice splashy theme.  After installing, look at the available themes like so:
 
$ ls /usr/share/splashy/themes
 
The folder name is the theme name.  Now edit /etc/splashy/config.xml  and change the theme name to the want you want.  Note that themes ending in 43 are 4:3 aspect ration, and the others are widescreen.  Try "simplyblack" as a good first theme.  After you set your theme (and any time you change your theme) you will need to again run
 
# mkinitcpio -p kernel26
 
  
==Known Problems==
+
You can install {{AUR|splashy-themes}} from the AUR. After installing, look at the available themes like so:
#Splashy doesn't terminate or automatically switch to verbose mode if an error occurs or when an init script fails. '''No longer true with splashy-full package.'''
+
{{bc|ls /usr/share/splashy/themes}}
#Something goes "terribly wrong" when a forced filesystem check commences while Splashy is running. For some unknown reason (yet), the system reboots itself after the fsck.
+
 
#X can show artefacts on the top of the screen, if splashy is activated during bootup.
+
The folder name is the theme name. Now change the theme to the one you want, eg.:
#Adding <code><autoverboseonerror>no</autoverboseonerror></code> in /etc/splashy/config.xml may solve problems when booting in battery mode on laptops
+
{{bc|# splashy_config -s darch-white}}
#If you get a lot of directfb errors, change "1.2" to "1.4" in /lib/initcpio/install/splashy
+
 
#If you get an error with libjpeg, try installing libjpeg6
+
{{Note|Themes ending in 43 are of 4:3 aspect ratio - the others are widescreen.}}
#If you use gsplashy and a theme does not appear on the list, make sure that config.xml in the folder of the theme is named theme.xml instead
+
 
#If you get a libz.so.1 error, try either symlinking /lib/libz.so.1 to /usr/lib/libz.so.1 or changing /lib/libz.so.1 to /usr/libz.so.1 in /lib/initcpio/install/splashy
+
Rebuild your kernel image with:
 +
{{bc|# mkinitcpio -p [name of your kernel preset]}}
  
==Links==
+
and reboot.
* http://splashy.alioth.debian.org
+
* http://www.directfb.org
+

Revision as of 13:00, 1 August 2013

Splashy is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer via directfb.

Installation

Before you can use Splashy, you should enable Kernel Mode Setting. Please refer to the specific instructions for ATI cards, Intel cards or Nvidia cards.

Install splashy-fullAUR from the Arch User Repository.

You may also check out this topic on the Arch Linux forum for a repository you can add with working splashy packages.

Configuration

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: Update for systemd. (Discuss in Talk:Splashy#)

/etc/rc.conf

Add this in /etc/rc.conf:

/etc/rc.conf
SPLASH="splashy"

Including Splashy in initramfs

Add Splashy to the HOOKS array in /etc/mkinitcpio.conf. It must be added after base, udev and autodetect for it to work:

/etc/mkinitcpio.conf
HOOKS="base udev autodetect splashy [...]"

For early KMS start add the module radeon (for radeon cards), i915 (for intel cards) or nouveau (for nvidia cards) to the MODULES line in /etc/mkinitcpio.conf:

/etc/mkinitcpio.conf
MODULES="i915"
or
MODULES="radeon"
or
MODULES="nouveau"

Rebuild your kernel image (refer to the mkinitcpio article for more info):

# mkinitcpio -p [name of your kernel preset]

The kernel command line

You now need to set quiet splash as you kernel command line parameters in your bootloader. See Kernel parameters for more info.

Themes

You can install splashy-themesAUR from the AUR. After installing, look at the available themes like so:

ls /usr/share/splashy/themes

The folder name is the theme name. Now change the theme to the one you want, eg.:

# splashy_config -s darch-white
Note: Themes ending in 43 are of 4:3 aspect ratio - the others are widescreen.

Rebuild your kernel image with:

# mkinitcpio -p [name of your kernel preset]

and reboot.