From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SaGpO-0003Lg-Ia for garchives@archives.gentoo.org; Fri, 01 Jun 2012 01:38:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A8D4E0552; Fri, 1 Jun 2012 01:38:38 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D8BE2E04EB for ; Fri, 1 Jun 2012 01:37:00 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so1449733lbb.40 for ; Thu, 31 May 2012 18:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=lM1Nqil2V9xm3FjVjx62busND7nU6XFmP9eIbFgCREM=; b=0r970fFwzoei6AvVnB7+PwpmQLH+PXzSklmWoQ7xOiiQv2+rSmM8R30GsXepneV7ev cAD1TWk7qjFJyu/mwtLNre9GLH3GgzBzoOFtL14TWfPiDPn/SpUjD31+90sqMjOEZV2O qDb4Qz9IjN2Kl7kKbmm+AXaFD0IQKdKvUSnqroW2EVA132yCdUV1YdJ7a33nYjym17D+ icVWyh8It1eNs4ySuB8CZcEIGfhulyir8zjAvLRq7aCEPXQNJOhLuo9H+trTw/u8pmEs okxZ40aGbbP9cxFa3SOIPaGhd1eOhf/9A5C41Nb9JaOUm2VMddpUJIPD+ioRpOCCd32r 6xHw== Received: by 10.152.122.116 with SMTP id lr20mr772985lab.42.1338514619552; Thu, 31 May 2012 18:36:59 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.112.77.4 with HTTP; Thu, 31 May 2012 18:36:39 -0700 (PDT) In-Reply-To: References: From: Paul Hartman Date: Thu, 31 May 2012 20:36:39 -0500 X-Google-Sender-Auth: uT8pz3Ln8WqNGpesf7HocwWhQWg Message-ID: Subject: Re: [gentoo-user] Re: A couple questions related to fbsplash To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 04878a4d-1e07-4794-82fe-38a25e8b2265 X-Archives-Hash: 67eb71efcbcfee7dc48fcb0854ccc2ff On Thu, May 31, 2012 at 2:09 AM, Nikos Chantziaras wrote= : > 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. =A0If = it's > set, comment it out: > > =A0# Name of the boot service starting X. =A0Useful in cases when X is > =A0# started by a custom initscript, other than the usual 'xdm'. =A0If yo= u > =A0# are using a custom X initscript and do not set this variable > =A0# correctly, do not be surprised if you end up at tty1 at the end of > =A0# the boot process (instead of in an X session). > =A0# SPLASH_XSERVICE=3D"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). =A0Try the below, which shoul= d > duplicate my own working config: > > =A0emerge media-gfx/splash-themes-livecd > > =A0emerge media-gfx/splashutils > > =A0splash_geninitramfs --verbose --res 1920x1080 --generate \ > =A0/boot/initrd.splash1920x1080 livecd-2007.0 > > Then edit your grub config: > > =A0kernel quiet splash=3Dtheme:livecd-200= 7.0 > console=3Dtty1 > =A0initrd /boot/initrd.splash1920x1080 > > (Substitute 1920x1080 with whatever you're using.) > > Another useful thing to do is to disable clearing the text of tty1, so th= at > the OpenRC messages don't get cleared. =A0To do that, find this line: > > =A0c1:12345:respawn:/sbin/agetty 38400 tty1 linux > > in /etc/inittab and append "--noclear" to it: > > =A0c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear > > Lastly, make sure that tty7 doesn't get a decoration. =A0In > /etc/conf.d/fbcondecor, set something like: > > =A0FBCONDECOR_TTYS=3D"1 2 3 4 5 6" > > to only decorate tty1 through tt6. =A0Reboot and check if it works, espec= ially > automatic switching to tty7/xdm. Thanks. By eliminating dracut, the flashing & the XDM problem both went away. splash & fbcondecor both worked properly. Going back to my dracut config, trying to eliminate modules to find out which ones cause the flashing. This was my first time using dracut and I'm using the default modules (with the -H switch) with the addition of the gensplash module. Omitting the "i18n" module got rid of the largest blank screen delay during splash. Two shorter delays remain, but they are quick flashes. Omitting the "resume" module fixed the xdm-starts-in-the-background problem. Omitting other modules resulted in kernel panic/unbootable system... ran out of patience trying every possible combination. Nex experiment: A minimal dracut (no modules except for "btrfs" and "gensplash"). This does not allow me to boot by UUID on the kernel commandline, but with this configuration I get no blank flashing screen and XDM starts properly. With this I don't see any kernel messages/OpenRC stuff at all during boot, just like using the non-dracut configuration. Thanks, Paul