View previous topic :: View next topic |
Author |
Message |
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Thu Dec 09, 2004 6:44 am Post subject: Why does fbsplash start so late? |
|
|
Hi, I have installed fbsplash (via splashutils) on my box (using ck-sources 2.6.8 ).
It does work, but it starts so late that it's almost useless : most of boot / default services come before fbsplash during boot sequence, and only a few seconds after it has started x and kdm start, so I don't see my splash screen anymore.
splash service is on boot runlevel. I have tried default level but it makes splash come even later (and then startx fails).
Any ideas on this? Thanks! |
|
Back to top |
|
|
LB06 n00b
Joined: 09 Dec 2004 Posts: 6 Location: Hooge Mierde, NL
|
Posted: Thu Dec 09, 2004 10:01 am Post subject: |
|
|
I have the same problems, starting with linux-dev-sources-2.6.9-r8. R6 worked fine for me. So it seems to be kernel related. Can't help you, though. |
|
Back to top |
|
|
pulgitaflo n00b
Joined: 28 Apr 2004 Posts: 59
|
Posted: Thu Dec 09, 2004 10:58 am Post subject: |
|
|
Do you use initial ramdisk? It should then be displayed right after the kernel boot... if you have configured initial ramdisk, I'm pretty clueless what your problem might be - if not, refer to the Documentation - Good luck |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Thu Dec 09, 2004 11:07 am Post subject: |
|
|
I use genkernel, so i have an initrd (genkernel automatically generates an initrd). |
|
Back to top |
|
|
pulgitaflo n00b
Joined: 28 Apr 2004 Posts: 59
|
Posted: Thu Dec 09, 2004 12:23 pm Post subject: |
|
|
OK, I think this explains a lot - Actually I never used genkernel, but I'm pretty sure the initrd it generates does not contain the necessary stuff for splash (pictures, helper-apps and configs)... so try (assuming you're using grub) Code: | # mount /boot
# cd /etc/splash
# splash_geninitramfs -v -g /boot/fbsplash-emergence-1024x768 -r 1024x768 emergence
# cd /boot/grub
# $EDITOR menu.lst | and change Code: | root=/dev/ram0 real_root=/dev/$ROOT
initrd (hd0,0)/boot/initrd | to Code: | root=/dev/$ROOT
initrd (hd0,0)/boot/fbsplash-emergence-1024x768 |
Of course you should keep to the appropriate partition in place of $ROOT.
According to the docs that should do it, but note that I have no experience with genkernel, so please take care that you can still boot into your system if something breaks dreadfully - back up your old kernel line in menu.lst or have a live cd (like the gentoo one or knoppix) at hand, so you can undo your changes. If you do so you won't have to worry about messing up your system, just revert menu.lst and everything will be fine again (except splash, which will behave just like it does now )
Hope I could provide some help... |
|
Back to top |
|
|
LB06 n00b
Joined: 09 Dec 2004 Posts: 6 Location: Hooge Mierde, NL
|
Posted: Thu Dec 09, 2004 3:47 pm Post subject: |
|
|
My menu.lst
Code: |
default 0
timeout 15
splashimage=(hd0,4)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,4)
kernel (hd0,4)/kernel-2.6.9-gentoo-r9 root=/dev/hda2 video=vesafb:ywrap,1024x768-16@60 splash=silent,theme:gentoo gentoo=nodevfs devfs=nomount vga=0x317
initrd (hd0,4)/fbsplash-gentoo-1024x768
title=Windows XP
root (hd0,0)
makeactive
chainloader +1
|
The kernel image has been generated with
Code: | genkernel --menuconfig --udev --bootsplash kernel | .
The ramdisk image has been created with
Code: | splash_geninitramfs -v -g fbsplash-gentoo-1024x768 -r 1024x768 gentoo | .
What am I doing wrong? |
|
Back to top |
|
|
pulgitaflo n00b
Joined: 28 Apr 2004 Posts: 59
|
Posted: Thu Dec 09, 2004 6:41 pm Post subject: |
|
|
Like I said, I never used genkernel - what's the --bootsplash option doing? Adds it support for bootsplash (which is deprecated and AFAIK no longer included in the current 2.6.x series) or does it also support fbsplash (which is obviously what you are trying to use)... your grub setup looks perfectly sane to me... might it be an udev issue in your case? fbsplash won't be started until there is a framebuffer device. Well, maybe just the right time to give udev a try to see what happens |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Thu Dec 09, 2004 8:04 pm Post subject: |
|
|
My kernel was also generated by genkernel with --bootsplash option.
I don't think it adds support for fbsplash.
This might be the problem.
Now I don't know how to solve this? Genkernel generated an initrd that contains stuff, I can't delete it to replace it with a fbsplash initrd.
I'll try pulgitaflo's tip to see if it works that way! |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Thu Dec 09, 2004 8:07 pm Post subject: |
|
|
I've just noticed that the latest genkernel has a --gensplash option which
will 'Install gensplash support into bzImage'.
Is it the same as fbsplash? |
|
Back to top |
|
|
LB06 n00b
Joined: 09 Dec 2004 Posts: 6 Location: Hooge Mierde, NL
|
Posted: Mon Dec 13, 2004 11:02 pm Post subject: |
|
|
I compiled my own g-d-s 2.6.9 r9, which has the appropriate patch built-in. My menu.lst is still the same, with only some minor changes that only affects my debian install.
Still no luck, though. The progressbar comes up after 10 sec or so, and my console background image comes up only 2 seconds before I see the login prompt. Adding splash to boot instead of the default runlevel helps somewhat, but only for the console background image. |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Mon Dec 13, 2004 11:24 pm Post subject: |
|
|
I recently switched to 2.6.9 nitro 4.
And the splash screen still appears as late as it would with other kernel.
I'm quite sure it's genkernel related - on my box.
I should try to compile my kernel manually. |
|
Back to top |
|
|
Evil Dark Archon Guru
Joined: 21 Dec 2002 Posts: 562 Location: Santa Rosa, CA
|
Posted: Tue Dec 14, 2004 10:07 am Post subject: |
|
|
i would use the --gensplash option, fbsplash is another name for gensplash (or the other way around, i'm not quite sure) _________________ This post has been over explained for newb-informing purposes.
Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro |
|
Back to top |
|
|
LB06 n00b
Joined: 09 Dec 2004 Posts: 6 Location: Hooge Mierde, NL
|
Posted: Tue Dec 14, 2004 3:23 pm Post subject: |
|
|
tristure wrote: | I recently switched to 2.6.9 nitro 4.
And the splash screen still appears as late as it would with other kernel.
I'm quite sure it's genkernel related - on my box.
I should try to compile my kernel manually. |
Well I did roll my own kernel this time and it still doesn't work properly. Also, my 2.6.9-r6 genkernel build didn't have any of the aforementioned problems.
edit: I think I have found the problem. I compiled ramfs as a module, which didn't make the initrd option visible. I had to compile ramfs into the kernel in order to enable initrd. |
|
Back to top |
|
|
D1g1talS0ul n00b
Joined: 24 Feb 2004 Posts: 9 Location: whereis me
|
Posted: Tue Dec 14, 2004 9:27 pm Post subject: |
|
|
I was having the same issue today until I added the following to my kernel.
Quote: |
------ Device Drivers ------
--- Block devices ----------
(8192) Default RAM disk size (kbytes)
[*] Initial RAM disk (initrd) support
|
I'm running a 2.6.9-nitro4 kernel and here's what I've enabled on the Graphics support page.
Quote: |
<*> VESA VGA graphics support
VESA driver type (vesafb-tng) --->
(1024X768@75) VESA default mode
Console display driver support --->
[*] Video mode selection support
< > MDA text console (dual-headed) (EXPERIMENTAL)
<*> Framebuffer Console support
[*] Select compiled-in fonts
[ ] VGA 8x8 font
[ ] VGA 8x16 font
[ ] Mac console 6x11 font (not supported by all drivers)
[ ] Pearl (old m68k) console 8x8 font
[ ] Acorn console 8x8 font
[ ] Mini 4x6 font
[*] Sparc console 8x16 font
[ ] Sparc console 12x22 font (not supported by all drivers)
Logo configuration --->
[ ] Bootup logo
[*] Support for the framebuffer splash
|
|
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Wed Dec 15, 2004 12:02 am Post subject: |
|
|
Well I have the same options as you (except for the bootup logo, which I enabled, I don't know if it's a possible cause).
Anyway fbsplash does work. It's just that the switch to framebuffer console image happens so late in the boot process that it's useless.
Well I can live with that, I think.
Especially given the really awesome quality of the nitro 2.6.9 I use. I'm really impressed! |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Thu Dec 16, 2004 5:26 pm Post subject: |
|
|
Another surprising thing I have just noticed : if I set my splash option to silent instead of verbose, the splash remains verbose during boot. It only switches to silent when I shut the computer down, during shutdown sequence.
Weird. |
|
Back to top |
|
|
pulgitaflo n00b
Joined: 28 Apr 2004 Posts: 59
|
Posted: Fri Dec 17, 2004 5:03 am Post subject: |
|
|
This might well be because splash switches to verbose if errors or warnings are displayed - I like seeing those boot messages, so I don't care too much for silent mode . But it does not explain why it is initialized so late - mine is displayed after just a few lines of kernel ouput... weird. Are all of you using udev? I'm still on devfs, this might be an idea - /dev/fb0 must be available before any framebuffer can be used IIRC and I don't know when udev is available...
It's just a shot in the dark, though.... |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Fri Dec 17, 2004 6:28 am Post subject: |
|
|
I'm using devfs as well, so I don't think that's the explanation.
Verbose mode is allright for me, anyway. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Fri Dec 17, 2004 6:35 am Post subject: |
|
|
tristure wrote: | Well I have the same options as you (except for the bootup logo, which I enabled, I don't know if it's a possible cause).
Anyway fbsplash does work. It's just that the switch to framebuffer console image happens so late in the boot process that it's useless.
Well I can live with that, I think.
Especially given the really awesome quality of the nitro 2.6.9 I use. I'm really impressed! |
I'm using nitro4, my splashy goodness kicks in almost instantly. Sounds initrd related to me - without that it won't kick in until fbsplash is started, which is typically in the default runlevel.
My impression is that genkernel uses it's own initrd, which makes it a bit difficult to use one for fbsplash. Would highly recommend doing it yourself; it's not particularly difficult really and is probably simpler than trying to reconcile the two initrd's |
|
Back to top |
|
|
F.Ultra Apprentice
Joined: 17 Mar 2004 Posts: 169 Location: Sweden
|
Posted: Fri Dec 17, 2004 9:09 am Post subject: |
|
|
I have the same problem on a desktop I built for my wife, it seams like her graphics card is initialized at the very end of the kernel-boot and the splash isn't displayed until then. Is there a way to perhaps move the graphics driver up in the boot process? This is an i845G card.
On my laptop the graphics-card is found quite early in the boot so there is no problems. |
|
Back to top |
|
|
Evil Dark Archon Guru
Joined: 21 Dec 2002 Posts: 562 Location: Santa Rosa, CA
|
Posted: Fri Dec 17, 2004 11:00 pm Post subject: |
|
|
you would have to use the old vesafb driver, that gets initialized imediately but at the expense of support for refresh rates beyond 60 hertz, and the problem of the fbsplash starting late is probably the fact that loopback, ramdisk and inital ramdisk support is probably not compiled into the kernel, at least on the unstable (~arch) baselayout it will at least start after it initializes udev (or devfs on a devfs system) _________________ This post has been over explained for newb-informing purposes.
Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro |
|
Back to top |
|
|
tristure Apprentice
Joined: 30 Oct 2003 Posts: 270 Location: France
|
Posted: Fri Dec 17, 2004 11:05 pm Post subject: |
|
|
Some interesting progress here, but still weird stuff.
I compiled my own kernel successfully (first time for me, whooohoo -and yes I know that it's not a huge achievement, but still).
I have no initrd, I just use the default theme as stated in the gentoo howto.
Silent mode starts right from the start.
But there is a point in the boot process when the silent splash screen disappears and I get the console display with a background - it's the same point as when the image would switch in my former configuration.
The message at this very moment is "setting console to framebuffer image [ok]" or something like that.
So now, splash works right from the start... but not until the end of the boot sequence!!!
Weird, huh? |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Dec 30, 2004 4:31 am Post subject: |
|
|
For a few weeks (and many gentoo-dev-sources-2.6.9 versions) I was using the --gensplash option of genkernel to install my splash theme (emergence) into the kernel and it worked fine (kernel huge though) but now with the latest build (gentoo-dev-sources-2.6.10-r1 I get the late splash effect. I may go back to the initrd way as this method will not work on my amd64 boxes because the kernel compile fails with an error that the kernel is too big... _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
F.Ultra Apprentice
Joined: 17 Mar 2004 Posts: 169 Location: Sweden
|
Posted: Thu Dec 30, 2004 9:05 am Post subject: |
|
|
By the strangest way I have removed my late start of the fsplash image, I simly added the default splash image for grub. I have never used the splash facility for grub before because I really liked the text version better, but somehow when grub is configured to use a splash, atleast on my system, then the fsplash image also comes up at once on boot and not until the kernel is almost finished.
I have tryed to remove the splashimage from grub and then the old behaviour was back, adding it again and it works nice again
The only problem now is that the splash switches to verbose mode before kdm kicks in its graphics, I can see the console login line some second before kdm starts. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Jan 05, 2005 5:23 pm Post subject: |
|
|
That is interesting. I have always had a splash image with grub and still I get the late effect.. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
|