3 .\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer as
11 .\" the first lines of this file unmodified.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 .\" $FreeBSD: src/share/man/man4/splash.4,v 1.9.2.7 2001/08/17 13:08:39 ru Exp $
28 .\" $DragonFly: src/share/man/man4/splash.4,v 1.6 2008/09/02 11:50:46 matthias Exp $
35 .Nd splash screen / screen saver interface
37 .Cd "pseudo-device splash"
41 pseudo device driver adds support for the splash screen and screen
43 This driver is required if the splash bitmap image is to be loaded or
44 any screen saver is to be used.
46 You can load and display an arbitrary bitmap image file as a welcome banner
47 on the screen when the system is about to start.
48 This image will remain on the screen
49 during kernel initialization process
50 until the login prompt appears on the screen
51 or until a screen saver is loaded and initialized.
52 The image will also disappear if you hit any key,
53 although this may not work immediately
54 if the kernel is still probing devices.
60 boot option when loading the kernel, the splash image will not appear.
62 is still loaded and can be used as a screen saver later: see below.
64 In order to display the bitmap, the bitmap file itself and the
65 matching splash image decoder module must be loaded by the boot loader.
66 Currently the following decoder modules are available:
68 .Bl -tag -width splash_decoder -compact
70 W*ndows BMP file decoder.
71 While the BMP file format allows images of various color depths, this
72 decoder currently only handles 256 color bitmaps.
73 Bitmaps of other color depths will not be displayed.
76 This decoder currently only supports version 5 8-bpp single-plane
82 section illustrates how to set up the splash screen.
84 If the standard VGA video mode is used,
85 the size of the bitmap must be 320x200 or less.
86 If you enable the VESA mode support in the kernel,
87 either by statically linking the VESA module or by loading the VESA module
90 you can load bitmaps up to a resolution of 1024x768, depending on the VESA
91 BIOS and the amount of video memory on the video card.
93 The screen saver will activate when the system is considered idle: i.e.\&
94 when the user has not typed a key or moved the mouse for a specified period
96 As the screen saver is an optional module,
97 it must be explicitly loaded into memory.
98 Currently the following screen saver modules are available:
100 .Bl -tag -width splash_module.ko -compact
101 .It Pa blank_saver.ko
102 This screen saver simply blanks the screen.
104 The screen will gradually fade away.
109 .It Pa green_saver.ko
110 If the monitor supports power saving mode, it will be turned off.
116 Draws a shower on the screen.
117 .It Pa snake_saver.ko
118 Draws a snake of string.
125 Screen saver modules can be loaded using
128 .Dl kldload logo_saver
130 The timeout value in seconds can be specified as follows:
134 Alternatively, you can set the
138 to the screen saver of your choice and
139 the timeout value to the
141 variable so that the screen saver is automatically loaded
142 and the timeout value is set when the system starts.
144 The screen saver may be instantly activated by hitting the
146 key: the defaults are
148 on the AT enhanced keyboard and
149 .Em Shift-Ctrl-NumLock/Pause
150 on the AT 84 keyboard.
153 key by modifying the keymap
159 function to a key of your preference.
161 The screen saver will not run if the screen is not in text mode.
162 .Ss Splash screen as a screen saver
163 If you load a splash image but do not load a screen saver,
164 you can continue using the splash module as a screen saver.
165 The screen blanking interval can be specified as described in the
168 .\".Sh DRIVER CONFIGURATION
170 .Bl -tag -width /boot/defaults/loader.conf -compact
171 .It Pa /boot/defaults/loader.conf
172 boot loader configuration defaults
174 system configuration information
175 .It Pa /boot/modules/splash_*.ko
176 splash image decoder modules
177 .It Pa /boot/modules/*_saver.ko
179 .It Pa /boot/modules/vesa.ko
180 the VESA support module
183 In order to load the splash screen or the screen saver, you must
184 have the following line in the kernel configuration file.
186 .Dl pseudo-device splash
189 .Pa /boot/loader.conf
192 and include the following lines:
193 .Bd -literal -offset indent
194 splash_bmp_load="YES"
196 bitmap_name="chuck.bmp"
199 In the above example, the file
202 In the following example, the VESA module
203 is loaded so that a bitmap file which cannot be displayed in standard
204 VGA modes may be shown using one of the VESA video modes.
205 .Bd -literal -offset indent
206 splash_pcx_load="YES"
209 bitmap_name="chuck.pcx"
212 If the VESA support is statically linked to the kernel, it is not
213 necessary to load the VESA module.
214 Just load the bitmap file and the splash decoder module as in the
228 driver first appeared in
234 driver and this manual page were written by
235 .An Kazutaka Yokota Aq yokota@FreeBSD.org .
238 module was written by
239 .An Michael Smith Aq msmith@FreeBSD.org
241 .An Kazutaka Yokota .
244 module was written by
245 .An Dag-Erling Sm\(/orgrav Aq des@FreeBSD.org
250 If you load a screen saver while another screen saver has already
251 been loaded, the first screen saver will not be automatically unloaded
252 and will remain in memory, wasting kernel memory space.