Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Uvesafb & bootsplash

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
MadEgg
l33t
l33t
User avatar
Posts: 678
Joined: Thu Jun 06, 2002 7:46 pm
Location: Netherlands

Uvesafb & bootsplash

  • Quote

Post by MadEgg » Wed Nov 28, 2007 11:48 am

I have been using bootsplash/gensplash for numerous generations of kernels. Now something has changed once again, apparently gensplash has been replaced by uvesafb somehow. The splash option is not available in the kernel config anymore.

Now somewhere on this forum (http://forums.gentoo.org/viewtopic-t-602789.html) I found a solution which was convering my initrd image. Now I've just done that.

I partially got my bootsplash back, but only after a while. When my machine boots, I first get the kernel command line and some things abouts the kernel being unpacked in text mode. After that I get a graphical screen with the tux logo in the upper left corner. It then takes a couple of seconds before the bootsplash actually starts, this is when the splash init-script is executed I suppose.

Before I never got to see the tux-logo, but went right away to the bootsplash. It then took a couple of seconds before it started updating, probably when the splash init-script is executed. How do I get this old behaviour back?
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Top
daithi
n00b
n00b
User avatar
Posts: 9
Joined: Tue Jan 23, 2007 3:06 pm
Contact:
Contact daithi
Website

Re: Uvesafb & bootsplash

  • Quote

Post by daithi » Wed Nov 28, 2007 12:13 pm

MadEgg wrote:The splash option is not available in the kernel config anymore.
"Graphics Support -> Console display driver support -> Support for the Framebuffer Console Decorations"

This is fbcondecor, the kernel component. Allows you to get the splash screen approx 1 second after your bootloader. It decorates only TTY1.
MadEgg wrote:I partially got my bootsplash back, but only after a while. When my machine boots, I first get the kernel command line and some things abouts the kernel being unpacked in text mode. ... this is when the splash init-script is executed I suppose.
This is fbsplash, the userspace component. You do not need fbcondecor for this to work, just a kernel with a framebuffer device. With fbsplash and without fbcondecor the splash screen will not appear to load until init 3, when the script runs. This decorates all geTTYs with the theme specified in the config file in /etc.
MadEgg wrote: How do I get this old behaviour back?
Enable fbcondecor in the kernel, boot this kernel, remerge the new splashutils (with the kernel that has support for fbcondecor not with the ``old'' kernel), regenerate your initrd and reboot. Should do it.
Top
neiljw
Apprentice
Apprentice
User avatar
Posts: 166
Joined: Mon Nov 12, 2007 9:57 am
Location: Telford, UK

Re: Uvesafb & bootsplash

  • Quote

Post by neiljw » Wed Nov 28, 2007 4:35 pm

MadEgg wrote:I have been using bootsplash/gensplash for numerous generations of kernels. Now something has changed once again, apparently gensplash has been replaced by uvesafb somehow. The splash option is not available in the kernel config anymore.
You would do best to have a look here.
Be lucky,

Neil
Top
magowiz
Veteran
Veteran
User avatar
Posts: 1029
Joined: Thu Feb 17, 2005 12:38 pm
Location: Italy/Milan/Bresso
Contact:
Contact magowiz
Website

  • Quote

Post by magowiz » Wed Dec 12, 2007 11:30 am

I have the same issue, I followed spock's guide for uvesafb but now I've got a doubt : if I configure the kernel to include the v86d initram into the kernel, how can I generate the splashutils' initram to include fbcondecor_helper and the theme?
If I remove usr/initramfs_data.cpio.gz and regenerate it with splash_geninitramfs I lose v86d and uvesafb doesn't work anymore, on the other hand if I don't replace initramfs_data.cpio.gz the theme starts 3-4 seconds after and the decorations (also on the first terminal) starts only when fbcondecor starts. What should I do?

EDIT: I solved generating the splash initramfs as a separate file and passing it using initrd to grub, I think that I should solve also using multiple files in kernel configuration as initramfs source, I read that it's possible, I should try anyway.
Top
zAfi
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Tue Aug 08, 2006 7:49 pm
Location: Austria

  • Quote

Post by zAfi » Thu Dec 13, 2007 8:26 pm

it took me some time to get the trick, but this is how i did it (changing from fbsplash/vesafb-tng to uvesafb/fbcondecor):

(assuming /usr/src/linux points to your 2.6.23-kernel, in my case 2.6.23-gentoo-r3)

Code: Select all

su
cd /usr/src/linux
make xconfig

Code: Select all

Device Drivers --->
  Connector - unified userspace <-> kernelspace linker
    <*> Report process events to userspace

Device Drivers  --->
  Graphics support  --->
    [*] Support for frame buffer devices
   <*>  Userspace VESA VGA graphics support (if you don't see this one but "VESA VGA graphics support" return to this point later on)
    < > VESA VGA graphics support (you don't need this one!)
        
       Console display driver support  --->
        [*]    Video mode selection support
       <*>   Framebuffer Console support
        [*]    Support for the Framebuffer Console Decorations

Device Drivers --->
  Block devices  --->
     <*> RAM disk support
     (4096) Default RAM disk size (kbytes)
      [*]   Initial RAM disk (initrd) support
Save to .config.
If you weren't able to select "Userspace VESA VGA graphics support" at the Graphics section before go take a look now, it should be there.

Code: Select all

emerge --oneshot -av klibc && emerge -av v86d
Now reenter the Kernelconfig and add /usr/share/v86d/initramfs

Code: Select all

General setup --->
   [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support 
   ( /usr/share/v86d/initramfs ) Initramfs source file(s)
Now rebuild your kernel

Code: Select all

make && make modules_install
cp arch/i386/boot/bzImage /boot/2.6.23-gentoo-r3
.

As I'm a "stable" user and the last stable splashutils version is "splashutils-1.5.2.1" and that version has no fbcondecor useflag I had to change to the latest unstable version.

Code: Select all

echo "media-gfx/splashutils ~x86" >> /etc/portage/package.keywords
echo "media-gfx/splashutils fbcondecor" >> /etc/portage/package.use
emerge -av splashutils
rc-update del splash
rc-update add fbcondecor
vi /etc/conf.d/fbcondecor
#uncomment the line "FBCONDECOR_TTYS="0 1 2 3 4 5 6" "
Now we're almost done,

Code: Select all

mount /boot
splash_geninitramfs -v -g /boot/fbsplash-livecd-2007.0-1280x1024 -r 1280x1024 livecd-2007.0
vi /boot/grub/grub.conf
and change your grub.conf to fit the new scheme:
OLD LAYOUT wrote:title=Gentoo Linux - create your own world! (2.6.23-gentoo-r3)
root (hd0,1)
kernel /2.6.23-gentoo-r3 root=/dev/hda5 video=vesafb:ywrap,1280x1024-32@75,mtrr:3 splash=verbose,theme:livecd-2007.0 console=tty1
initrd /fbsplash-livecd-2007.0-1280x1024
NEW LAYOUT wrote:title=Gentoo Linux - create your own world! (2.6.23-gentoo-r3)
root (hd0,1)
kernel /2.6.23-gentoo-r3 root=/dev/hda5 video=uvesafb:ywrap,1280x1024-32@75,mtrr:3,splash=verbose,theme:livecd-2007.0 console=tty1
initrd /fbsplash-livecd-2007.0-1280x1024
Now reboot and pray. It should!!! work, if not, retry the steps. I hope I did get the order right, I followed the guide at the wiki (which didn't work for me) and I had to do the steps at a different order but I think this order should be the fastest one. So if it doesn't work retry the kernel settings section and the grub.conf section. I hope I could help a little bit.

At the very end, if you got it working you can change "console=tty1" to "console=/dev/tty1". It changes the startlayout for me, why it does that I have absolutely no clue, but maybe somebody of you can figure it out. ;)

Well...I hope I didn't forget anything! :P Good luck!!!
Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/
Top
Post Reply

5 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic