Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: A couple questions related to fbsplash
Date: Thu, 31 May 2012 07:11:49
Message-Id: jq75fj$k7a$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: A couple questions related to fbsplash by Paul Hartman
1 On 31/05/12 06:29, Paul Hartman wrote:
2 > [...]
3 > I see Tux for a microsecond, then the splash screen appears
4
5 To fix that one, disable the "Bootup logo" in the kernel config:
6
7
8 CONFIG_LOGO: Device drivers -> Graphics support
9
10
11 > and
12 > flashes black three times before stabilizing. I don't think it is the
13 > display changing modes (the backlight stays on), it just looks like
14 > it's switching between blank screen and back to showing the graphics.
15 > It happens at the very beginning of the splash, before root is
16 > remounted and the progress bar is moving.
17
18 Make sure that SPLASH_XSERVICE is *not* set in /etc/conf.d/splash. If
19 it's set, comment it out:
20
21 # Name of the boot service starting X. Useful in cases when X is
22 # started by a custom initscript, other than the usual 'xdm'. If you
23 # are using a custom X initscript and do not set this variable
24 # correctly, do not be surprised if you end up at tty1 at the end of
25 # the boot process (instead of in an X session).
26 # SPLASH_XSERVICE="xdm"
27
28
29 > I'm using dracut's gensplash
30 > module to generate the initrd, maybe it's doing something funny.
31
32 OK, to verify that it's not a problem with dracut, try to use Gentoo's
33 native tool for this (splash_geninitramfs). Try the below, which should
34 duplicate my own working config:
35
36 emerge media-gfx/splash-themes-livecd
37
38 emerge media-gfx/splashutils
39
40 splash_geninitramfs --verbose --res 1920x1080 --generate \
41 /boot/initrd.splash1920x1080 livecd-2007.0
42
43 Then edit your grub config:
44
45 kernel <your kernel> <your other opts> quiet
46 splash=theme:livecd-2007.0 console=tty1
47 initrd /boot/initrd.splash1920x1080
48
49 (Substitute 1920x1080 with whatever you're using.)
50
51 Another useful thing to do is to disable clearing the text of tty1, so
52 that the OpenRC messages don't get cleared. To do that, find this line:
53
54 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
55
56 in /etc/inittab and append "--noclear" to it:
57
58 c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear
59
60 Lastly, make sure that tty7 doesn't get a decoration. In
61 /etc/conf.d/fbcondecor, set something like:
62
63 FBCONDECOR_TTYS="1 2 3 4 5 6"
64
65 to only decorate tty1 through tt6. Reboot and check if it works,
66 especially automatic switching to tty7/xdm.

Replies

Subject Author
Re: [gentoo-user] Re: A couple questions related to fbsplash Paul Hartman <paul.hartman+gentoo@×××××.com>