public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: A couple questions related to fbsplash
Date: Thu, 31 May 2012 10:09:05 +0300	[thread overview]
Message-ID: <jq75fj$k7a$1@dough.gmane.org> (raw)
In-Reply-To: <CAEH5T2P-bQFhb0Bbyq9_Las+Jymk+=F-YVRDCQZGJbVCc3=N0g@mail.gmail.com>

On 31/05/12 06:29, Paul Hartman wrote:
> [...]
> I see Tux for a microsecond, then the splash screen appears

To fix that one, disable the "Bootup logo" in the kernel config:


CONFIG_LOGO: Device drivers -> Graphics support


> and
> flashes black three times before stabilizing. I don't think it is the
> display changing modes (the backlight stays on), it just looks like
> it's switching between blank screen and back to showing the graphics.
> It happens at the very beginning of the splash, before root is
> remounted and the progress bar is moving.

Make sure that SPLASH_XSERVICE is *not* set in /etc/conf.d/splash.  If 
it's set, comment it out:

   # Name of the boot service starting X.  Useful in cases when X is
   # started by a custom initscript, other than the usual 'xdm'.  If you
   # are using a custom X initscript and do not set this variable
   # correctly, do not be surprised if you end up at tty1 at the end of
   # the boot process (instead of in an X session).
   # SPLASH_XSERVICE="xdm"


> I'm using dracut's gensplash
> module to generate the initrd, maybe it's doing something funny.

OK, to verify that it's not a problem with dracut, try to use Gentoo's 
native tool for this (splash_geninitramfs).  Try the below, which should 
duplicate my own working config:

   emerge media-gfx/splash-themes-livecd

   emerge media-gfx/splashutils

   splash_geninitramfs --verbose --res 1920x1080 --generate \
   /boot/initrd.splash1920x1080 livecd-2007.0

Then edit your grub config:

   kernel <your kernel> <your other opts> quiet 
splash=theme:livecd-2007.0 console=tty1
   initrd /boot/initrd.splash1920x1080

(Substitute 1920x1080 with whatever you're using.)

Another useful thing to do is to disable clearing the text of tty1, so 
that the OpenRC messages don't get cleared.  To do that, find this line:

   c1:12345:respawn:/sbin/agetty 38400 tty1 linux

in /etc/inittab and append "--noclear" to it:

   c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear

Lastly, make sure that tty7 doesn't get a decoration.  In 
/etc/conf.d/fbcondecor, set something like:

   FBCONDECOR_TTYS="1 2 3 4 5 6"

to only decorate tty1 through tt6.  Reboot and check if it works, 
especially automatic switching to tty7/xdm.




  reply	other threads:[~2012-05-31  7:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30  6:42 [gentoo-user] A couple questions related to fbsplash Paul Hartman
2012-05-30  9:45 ` [gentoo-user] " Nikos Chantziaras
2012-05-31  3:29   ` Paul Hartman
2012-05-31  7:09     ` Nikos Chantziaras [this message]
2012-06-01  1:36       ` Paul Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jq75fj$k7a$1@dough.gmane.org' \
    --to=realnc@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox