Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gensplash-How-to with progressbar!!!!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 24, 25, 26, 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
eandry
n00b
n00b


Joined: 15 Nov 2004
Posts: 50

PostPosted: Fri Apr 15, 2005 4:56 pm    Post subject: Reply with quote

I did an experiment. I wanted to see if there was a difference in the frame buffers and options so I set my kernel options to compile the frame buffers as modules and not set a default screen size.

Quote:
$ cat /usr/src/linux-2.6.11-gentoo-r6/.config | grep _FB_ | grep -v "not set"
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=m
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE=""
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_SPLASH=y


With the correct combination of the "video=<your fb>fb:<resolution>..." I'm able to use other themes that are different sizes.

Well the side-effect is that selecting the framebuffer doesn't make a difference because the kernel autoloads both vesafb-tng and radeonfb. I don't think it's hurting anything and seems that the radeonfb is taking precedence anyway.

Another thing that happens is I don't see the splash screen till it goes run level 3 in bootup.

At least now I'm able to see other themes with different resolution sizes. But still don't have progress bars.

From other people's posts it looks like that the CONSOLE line is required to see the progress bars.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Fri Apr 15, 2005 7:39 pm    Post subject: Reply with quote

I've got it working with progress bar, without CONSOLE option with lower version of splashitils
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
eandry
n00b
n00b


Joined: 15 Nov 2004
Posts: 50

PostPosted: Fri Apr 15, 2005 9:57 pm    Post subject: Reply with quote

peka wrote:
I've got it working with progress bar, without CONSOLE option with lower version of splashitils


What version are you using? Last post from you it said you tried 0.9.1 and it worked.

This is frustrating...What am I missing then? :x

Quote:
gundam root # eix splashutils
* media-gfx/splashutils
Available versions: 0.9_rc1 0.9.1 [M]1.1.9.1 [M]1.1.9.2 [M]1.1.9.3
Installed: 0.9.1
Homepage: http://dev.gentoo.org/~spock/
Description: Framebuffer splash utilities.
Found 1 matches

gundam root # rc-update -s | grep splash
splash | default network nonetwork

gundam root # cat /usr/src/linux-2.6.11-gentoo-r6/.config | grep -v "not set" | grep _FB_
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=m
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE=""
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_SPLASH=y

gundam root # cat /boot/grub/grub.conf | grep -v '#' | grep -m 1 -A 4 title title GNU/Linux 2.6.11-gentoo-r6-20050412 Net IDE CDRW emergence vesafb-tng
root (hd0,0)
kernel /kernel-linux-2.6.11-gentoo-r6-20050412 root=/dev/hda4 video=radeonfb:ywrap,mtrr,1400x1050-32@60 splash=silent,theme:emergence gentoo=nodevfs devfs=nomount acpi=on softlevel=network
initrd /fbsplash-emergence-1400x1050


I haven't touched /etc/splash/emergence/1400x1050.cfg configuration file either!
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Sat Apr 16, 2005 1:39 am    Post subject: Reply with quote

Nope, version 0.9.1 didn't work at all during boot. Oh, well, guess will just have to wait.
Thanks for the try.
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Sat Apr 16, 2005 7:14 am    Post subject: Reply with quote

I'm using onlu vesa-tng.
I didn't compile driver for my nvidia card.
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Sun Apr 17, 2005 1:31 am    Post subject: Reply with quote

Tried splashutils-1.1.9.2 and splashutils-1.1.9.3 and both almost work.

Silent Splash comes up, progress bar works for a bit, then the text of the boot process starts
overwriting the splash screen, then about a 1/4 of way down it kills the whole splash and continues
with boot. Reboot/Shutdown works like it did before.

Almost, but not quite. Looking like maybe in future this will work.
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
Back to top
View user's profile Send private message
diamondsw
n00b
n00b


Joined: 05 May 2004
Posts: 67

PostPosted: Sun Apr 17, 2005 7:44 am    Post subject: Reply with quote

For those trying the new splashutils (1.1.9 series), have you tried "CONSOLE=/dev/tty1"? I found that "CONSOLE=/dev/vc1" didn't work properly for me either.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Sun Apr 17, 2005 10:09 am    Post subject: Reply with quote

I've tried both tty1 and vc/1. The latter coused my system hang up. tty1 had a scrolling effect :)
downgrade, downgrade, downgrade.....
it works
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Sun Apr 17, 2005 11:38 am    Post subject: Reply with quote

On the 1.1.9.2 and 1.1.9.3 series with amd64 and vesafb.

/dev/vc/1 same as mentioned above, starts overwriting then screen, then about 1/4 way down kills splash screen
and finishes boot like never had it working.

/dev/tty1 doesn't over write it, little black squares do appear in some places, then kills splash screen and finishes boot like never had it working.

Progress bar works for a bit in both, sometimes drops all the way back and starts over.
Silent Splash still works great on shutdown.

**Later: Got the progress bar to work better by uncommenting in /etc/conf.d/splash: SPLASH_VERBOSE_ON_ERRORS="no"

On CONSOLE=/dev/tty1
Rest of splash still behaved the same, it was killed, but progressbar stayed on a blank screen and finished. Still acted flaky at the beginning though, but before done had gone all the way across.

On CONSOLE=/dev/vc/1
Rest of splash still behaved the same, it was killed in same way, but progressbar stayed on and finished with text in background, BUT: right at end of progressbar and boot text, locks up and have to reboot. Tried twice same results.
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
Back to top
View user's profile Send private message
EndrjuX
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2005
Posts: 75
Location: Poland

PostPosted: Sun Apr 17, 2005 8:18 pm    Post subject: Reply with quote

same here....

I've tried:

Code:
append="video=vesafb:ywrap,mtrr,1024x768-32@85 splash=silent,fadein,tty:8,theme:*** CONSOLE=/dev/tty1"


and after boot I couldn't write anything in console (reset :D)

splash=verbose works perfectly

(gentoo-sources 2.6.11, vesafb-tng, lilo, splashutils 1.1.9.3)

(during reboot I saw something like: "silent mode won't be used, You must put 'CONSOLE=/dev/tty1' to your kernel command line" :? )
_________________
Yes. No. Dunno.
Back to top
View user's profile Send private message
Debentoo_Gao
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2003
Posts: 85
Location: Shanghai,China

PostPosted: Fri Apr 22, 2005 10:29 am    Post subject: Reply with quote

How can I set differenet background image for different console?

I edit the /etc/conf.d/splash like this,but nothing happened:
Code:

# Config file for splashutils

# a theme to use, probably best left commented (the theme specified
# on the kernel command line is used)
# SPLASH_THEME="personal"

# on which ttys should fbsplash be enabled? defaults to RC_TTY_NUMBER
SPLASH_TTYS="0 1 2 3 4 5"

# what font to use? defaults to what fbtruetype uses
#SPLASH_FONT="luxisri.ttf"

# boot/reboot/shutdown message overrides
#SPLASH_BOOT_MESSAGE="Booting the system"
#SPLASH_REBOOT_MESSAGE="Rebooting the system"
#SPLASH_SHUTDOWN_MESSAGE="Shutting the system down"

# should we drop to verbose mode on initscript errors? (yes/no)
SPLASH_VERBOSE_ON_ERRORS="no"

# allows to set different themes on different consoles
# format: "<console>:<theme> <console>:<theme> (...)"
SPLASH_TTY_MAP="0:personal1"
SPLASH_TTY_MAP="1:personal2"
SPLASH_TTY_MAP="2:personal3"
SPLASH_TTY_MAP="3:personal4"
SPLASH_TTY_MAP="4:personal5"
SPLASH_TTY_MAP="5:personal3"

_________________
More Love~~More Dream~~More Happiness

Free Your Mind~~Free Your Body~~Free Your Life

http://www.myblue.ws
Back to top
View user's profile Send private message
chrismcdirty
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 160
Location: Newark, DE

PostPosted: Fri Apr 22, 2005 7:43 pm    Post subject: Reply with quote

I'm using gentoo-sources-2.6.11-r6 and I don't get the option for "Support for framebuffer splash". I have both Initial RAM disk and Framebuffer console support enabled, but the option still doesn't exist. Any ideas?
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Sat Apr 23, 2005 7:26 am    Post subject: Reply with quote

Do you have
Code:
CONFIG_RAMFS=y
set up?

Anyway copare your config with mine, Here are the parts you're interested in.
    Block devices
    Code:
    CONFIG_BLK_DEV_FD=y
    # CONFIG_BLK_CPQ_DA is not set
    # CONFIG_BLK_CPQ_CISS_DA is not set
    # CONFIG_BLK_DEV_DAC960 is not set
    # CONFIG_BLK_DEV_UMEM is not set
    # CONFIG_BLK_DEV_COW_COMMON is not set
    CONFIG_BLK_DEV_LOOP=m
    # CONFIG_BLK_DEV_CRYPTOLOOP is not set
    # CONFIG_BLK_DEV_NBD is not set
    # CONFIG_BLK_DEV_SX8 is not set
    # CONFIG_BLK_DEV_UB is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_COUNT=16
    CONFIG_BLK_DEV_RAM_SIZE=4096
    CONFIG_BLK_DEV_INITRD=y
    CONFIG_INITRAMFS_SOURCE=""
    # CONFIG_LBD is not set
    CONFIG_CDROM_PKTCDVD=m
    CONFIG_CDROM_PKTCDVD_BUFFERS=8
    CONFIG_CDROM_PKTCDVD_WCACHE=y

    Pseudo filesystems
    Code:
    CONFIG_PROC_FS=y
    CONFIG_PROC_KCORE=y
    CONFIG_SYSFS=y
    # CONFIG_DEVFS_FS is not set
    # CONFIG_DEVPTS_FS_XATTR is not set
    CONFIG_TMPFS=y
    # CONFIG_TMPFS_XATTR is not set
    # CONFIG_HUGETLBFS is not set
    # CONFIG_HUGETLB_PAGE is not set
    CONFIG_RAMFS=y

    Graphics support
    Code:
    CONFIG_FB=y
    CONFIG_FB_MODE_HELPERS=y
    # CONFIG_FB_TILEBLITTING is not set
    # CONFIG_FB_CIRRUS is not set
    # CONFIG_FB_PM2 is not set
    # CONFIG_FB_CYBER2000 is not set
    # CONFIG_FB_ASILIANT is not set
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_VGA16 is not set
    CONFIG_FB_VESA=y
    # CONFIG_FB_VESA_STD is not set
    CONFIG_FB_VESA_TNG=y
    CONFIG_FB_VESA_DEFAULT_MODE="1024x768@100"
    CONFIG_VIDEO_SELECT=y
    # CONFIG_FB_HGA is not set
    # CONFIG_FB_RIVA is not set
    # CONFIG_FB_I810 is not set
    # CONFIG_FB_INTEL is not set
    # CONFIG_FB_MATROX is not set
    # CONFIG_FB_RADEON_OLD is not set
    # CONFIG_FB_RADEON is not set
    # CONFIG_FB_ATY128 is not set
    # CONFIG_FB_ATY is not set
    # CONFIG_FB_SAVAGE is not set
    # CONFIG_FB_SIS is not set
    # CONFIG_FB_NEOMAGIC is not set
    # CONFIG_FB_KYRO is not set
    # CONFIG_FB_3DFX is not set
    # CONFIG_FB_VOODOO1 is not set
    # CONFIG_FB_TRIDENT is not set
    # CONFIG_FB_VIRTUAL is not set

    #
    # Console display driver support
    #
    CONFIG_VGA_CONSOLE=y
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE=y
    # CONFIG_FONTS is not set
    CONFIG_FONT_8x8=y
    CONFIG_FONT_8x16=y

    #
    # Logo configuration
    #
    # CONFIG_LOGO is not set
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
    CONFIG_FB_SPLASH=y

_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Apr 23, 2005 1:22 pm    Post subject: Reply with quote

how i can use vesafb (not tng) with gensplash?

what i need in kernel (bootsplash patch inside, background image too)?
what i need in lilo?

Quote:

boot=/dev/sda
default=Gentoo-2005

image=/boot/kernel-2.6
label=Gentoo-2005
vga=0x318
append="video=vesa:ywrapp,mtrr splash=verbose,theme:gentoo"
read-only
root=/dev/sda6



System:
Sucker-Tree (Vanilla-Sources) 2.6.11.7 -> with newest splashutils (hard masked), couldtn compile stable against Sucker-Tree (why i cant emerge Stable-Vanilla 2.6.11 -> THAT SUCKS!)

Latest 2.6.11 Gensplash patches, and Vesafb-TNG Patches

I got this Error with VesaFB-TNG: http://bugs.gentoo.org/show_bug.cgi?id=77674
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
BLooTze
n00b
n00b


Joined: 31 Jul 2004
Posts: 6

PostPosted: Sun Apr 24, 2005 2:41 am    Post subject: Reply with quote

I have splashutils-1.1.93 installed and working properly as i wanted. Also configured it with my personal splash and icons working with progress bar but my problem is the splash parameter fadein,tty:8 which is not working. i'm getting
the following message.

fbsplash: unrecognized option fadein
fbsplash: unrecognized option tty

i opened /usr/src/linux/drivers/video/fbsplash.c and the handling of fbsplash option fadein,tty:8 is not yet incorporated in the kernel... anything im missing here so that fadein,tty:8 will be enabled... im using latest gentoo-sources 10 and 11 series.
Back to top
View user's profile Send private message
eandry
n00b
n00b


Joined: 15 Nov 2004
Posts: 50

PostPosted: Sun Apr 24, 2005 4:51 pm    Post subject: Reply with quote

Has anyone found a way to have splash logos but NOT have the background images?

It seems that when I use background images in the console, it screws up ncurses-based programs such as alsamixer and 'make menuconfig' for the kernel.

Just turning off 'splash' or 'bootsplash' startup services doesn't work, in fact removal of the initrd is the only way I've found but that also removes the startup/shutdown splash screens.
Back to top
View user's profile Send private message
jhgz1
Retired Dev
Retired Dev


Joined: 16 Dec 2003
Posts: 115
Location: Gainesville

PostPosted: Mon Apr 25, 2005 4:13 am    Post subject: Reply with quote

Since my laptop runs at a resolution of 1400x1050 I just had to have the new splash theme for the 2005.0 LiveCD on it.
Following is the content of the config file 1400x1050.cfg. Just place that in the theme directory and create the background and verbose images for it. Really a simple thing, just resize the 1600x1200 images and name acccordingly. After that create your initrd as usual.
Hope somebody also finds this useful :)

Code:

# Copyright 2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
#   Blackace <blackace@gentoo.org>
#
# Theme configs and scripts by
#   Michal Januszewski <spock@gentoo.org> and Blackace <blackace@gentoo.org>
#

bgcolor=0

pic=images/verbose-1400x1050.png
silentpic=images/background-1400x1050.png

tx=0
ty=0
tw=1400
th=987

text_x=5
text_y=965
text_size=18
text_color=0x8f6dff
text_font=Vera.ttf

box silent       0    986 1399 986 #000000
box silent       0    987 1399 1018 #bca7f4 #bca7f4 #a595d3 #a595d3
box silent       0    1017 1399 1049 #a595d3 #a595d3 #bca7f4 #bca7f4

icon images/iconbar_text.png 1159 978

box silent inter 0    987 0    1015 #8162e7 #8162e7 #45357d #45357d
box silent       0    987 1399 1015 #8162e7 #8162e7 #45357d #45357d

box silent inter 0    1016 0    1022 #45357d #45357d #45357d #45357d
box silent       0    1016 1399 1022 #45357d #45357d #45357d #45357d

box silent inter 0    1023 0    1049 #45357d #45357d #8162e7 #8162e7
box silent       0    1023 1399 1049 #45357d #45357d #8162e7 #8162e7

rect repaint     0    986 1400 1050

_________________
Bei Gentoo mithelfen wollen und kein Programmierer? Gentoo sucht Übersetzer, die bereit sind kontinuierlich mitzuarbeiten.
Back to top
View user's profile Send private message
fuhreal
n00b
n00b


Joined: 29 Apr 2004
Posts: 66
Location: Toronto

PostPosted: Tue Apr 26, 2005 3:01 pm    Post subject: Reply with quote

My original post is

http://forums.gentoo.org/viewtopic.php?p=2350732#2350732

I can't get gensplash to work. I've followed the wiki a number of times and unmerged re emerged ... rebuilt my kernel probaby 10 times at the least in the last day, now the console / terminal fbsplash is working by just adding the options to default, it does load a little late however never the less its working. But i can't get the splash screen with progress bar on boot, all i get is the normal little logo in the top left corner, and my plain black background console loading all my kernel options. My dmesg has no errors, no error after grub loads kernel, i have no idea what I'm doing wrong......
Back to top
View user's profile Send private message
guduri
Apprentice
Apprentice


Joined: 04 Apr 2005
Posts: 230
Location: Ann Arbor, Michigan

PostPosted: Tue Apr 26, 2005 4:21 pm    Post subject: Problems with fbsplash Reply with quote

I am having problems getting fbsplash working correctly. The odd thing is that I see the image and progress bar fine when shutting down. When the maching is booting up I see text over the image for some time then I see the correct image with progress bar. Then I see messages with the just progress bar in the middle of the screen. Has anybody seen this behaviour? I dont see any error messages booting up.

I am using gentoo-sources and at 2.6.11 release 6.

Thanks
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1559
Location: U.S.A.

PostPosted: Wed Apr 27, 2005 3:06 am    Post subject: Reply with quote

Ok, got a weird setup for ya. Has anyone gotten an amd64 sort working with an old pci card (Nvidia RivaTnT)?
I have splash sort of working on mine, but this other setup uses a old PCI card and won't work. The same system
was installed on it.
_________________
http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens.
Back to top
View user's profile Send private message
ferret
n00b
n00b


Joined: 30 Jul 2003
Posts: 22
Location: Oxford UK

PostPosted: Tue May 03, 2005 11:05 pm    Post subject: Reply with quote

I have a working gensplash, after a little messing about and a lot of reboots. Everything I needed to knew was on http://dev.gentoo.org/~spock/ somewhere. In case it's helpful to someone, I'll detail the steps I took. This is NOT a replacement for any of the above mini-HOWTOs, information on spock's site, or the information at the end of the splashutils merge.


You need to unmask a recent version of splashutils. 0.* are getting old, 1.* should work nicely if you pick the right versions. As I write this, the latest version is 1.1.9.5, which I fully recommend you use. It's masked, which means it might be broken. If you don't like this, don't use gensplash.

To pick this version, use this command:

Code:
# echo '~media-gfx/splashutils-1.1.9.5' >> /etc/portage/package.unmask


Why '~'? Go read 'man 5 ebuild', search for 'DEPEND Atoms'. Basically, with ~ you will benefit from bug fixes to the ebuild. You will not benefit from any bug fixes in releases later than 1.1.9.5, so if you want to use later versions that may or may not be broken, specify 'media-gfx/splashutils' instead. YMMV.

Now emerge splashutils -av; if you have a version of it already then emerge world -uDav. Don't set the kdgraphics USE flag unless nothing here works for you. KD_GRAPHICS mode sucks, seriously.

The end of the emerge tells you to regenerate your initrds. You can manage that. I used:

Code:
# emerge media-gfx/splash-themes-gentoo -av

(say yes, wait for it to finish)
Code:
# splash_geninitramfs -v -r 1024x768 -g /boot/fbsplash-emergence-1024x768 emergence


Don't forget to mount /boot first if necessary.

Next, kernel. I used gentoo-sources-2.6.11-r7. No manual patching was required. Here are the relevant parts of my config:

Code:
Device Drivers
-> Input Device Support
   -> <*> Event interface
-> Graphics support
   -> [*] Support for frame buffer devices
   -> <*> VESA VGA graphics support
      -> VESA driver type (vesafb-tng)
   -> (800x600@60) VESA default mode
   -> Console display driver support
      -> [*] Video mode selection support
      -> <*> Framebuffer Console support
   -> [*] Support for the framebuffer splash


I think that's all of them. I don't think any of these are unnecessary/undesirable. Go ahead and try with modules; but you should really try to get a static configuration working first. Here's the above list in internal kernel config format:

Code:
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE="800x600@60"
CONFIG_VIDEO_SELECT=y
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_SPLASH=y


Perform your usual 'make all modules modules_install install' or equivalent mantra. Then bootloader configuration -- the
following is the one for GRUB, the one for LILO or whatever will be very similar, probably with only the initrd different.

Code:
title gentoo
kernel (hd0,0)/boot/vmlinuz ro root=/dev/hda1 video=vesafb:ywrap,pmipal,1024x768-32@85 splash=silent,theme:emergence,tty:13 CONSOLE=/dev/tty1 quiet
initrd (hd0,0)/boot/fbsplash-emergence-1024x768


NOTES:
- You need to edit the (hdX,Y), root=/dev/hdxn and kernel location to reflect working values for your box. You should have these already, if you are currently booted to Gentoo. You might have the (hdX,Y) set on a root line above. Also, use the right initrd line for the file you generated earlier with splash_geninitramfs.
- video= will vary, don't exceed your monitor's or graphics-card's limits. The values I give work for me.
- If you're using a tuned udev or devfs, you might not have a /dev/tty1. At the moment, due to initscript limitations, you need one. At least I think so. It all works without one, but you get warnings in dmesg and maybe some things don't ge
started. Replacing the CONSOLE= line with anything other than CONSOLE=/dev/tty1 will probably not work. If you're usig udev, you can place the following line in your custom rules file above your tty[0-9]* line, if there is one:
KERNEL="tty1", NAME="vc/%n", GROUP="tty", SYMLINK="tty1"
If you don't know what this means, you don't need to do this.
- The tty:13 bit is VERY IMPORTANT if you are experiencing text on top of your splash screen even when you've specified quiet and CONSOLE=1 and splash=silent. You probably need to use a different value to me. Here's the deal:

I have 8 login consoles ("gettys"), 3 blank consoles which I use for X displays, 1 console which syslog-ng prints to, and
1 console which gensplash uses. I only want the first 11 of these to have a splash background, so syslog-ng background is black. So in my /etc/conf.d/rc I set RC_TTY_NUMBER=11. Now, in general, bootsplash will try to use the ninth console, and the advice given on spock's site is to use RC_TTY_NUMBER+1 (so for me, 12). THIS DOES NOT WORK. It causes crap to be
printed on my silent splash, because I have syslog-ng (I think). So I use tty:13. I tried tty:12, tty:13, tty:11, tty:1
and tty:0, and tty:13 was the only one to work on my setup.

HINT: Use RC_TTY_NUMBER+1. If that fails, use RC_TTY_NUMBER+2.


That's the lot. I still have a couple of issues:

- I get a tiny black square in the top left hand corner, the size of one character. No big deal.
- I don't like having a /dev/tty1. It's messy. But no big deal.
- I can press F2 to get to verbose mode, but I can't press F2 to get back to silent mode: even though I definitely have CONFIG_INPUT_EVDEV=y. I talked with spock and we tracked it down to a line in /sbin/splash-functions.sh. Look for a line which says grep -si, change it to grep -Hsi.
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1228
Location: San Jose, CA

PostPosted: Wed May 04, 2005 10:16 pm    Post subject: Reply with quote

ferret wrote:
I have a working gensplash, after a little messing about and a lot of reboots. Everything I needed to knew was on http://dev.gentoo.org/~spock/ somewhere. In case it's helpful to someone, I'll detail the steps I took. This is NOT a replacement for any of the above mini-HOWTOs, information on spock's site, or the information at the end of the splashutils merge.
...



Thanks for this!!!

I just have to figure out why the top part of my screen goes to garbage during bootup... The status bar works fine...

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1228
Location: San Jose, CA

PostPosted: Thu May 05, 2005 12:14 am    Post subject: Reply with quote

I got it to work.

The error I was getting involves a series of libpng warnings: Ignoring bad adapt filter and an error: libpng error incorrect data check.

The screen (except for the status bar) shows a bunch of noise instead of the Gentoo logo. The status bar is fine.

I went back to version media-gfx/splashutils-1.1.9.3 and the problem went away.

Although I like the graphics of the 1.1.9.5 version better.

One problem. Once in a while, the boot image doesn't completely load. It only loads half or so. Anyone have any ideas?

Raydude
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
ferret
n00b
n00b


Joined: 30 Jul 2003
Posts: 22
Location: Oxford UK

PostPosted: Thu May 05, 2005 2:23 am    Post subject: Reply with quote

RayDude wrote:
I got it to work.

The error I was getting involves a series of libpng warnings: Ignoring bad adapt filter and an error: libpng error incorrect data check.

The screen (except for the status bar) shows a bunch of noise instead of the Gentoo logo. The status bar is fine.

I went back to version media-gfx/splashutils-1.1.9.3 and the problem went away.

Although I like the graphics of the 1.1.9.5 version better.

One problem. Once in a while, the boot image doesn't completely load. It only loads half or so. Anyone have any ideas?

Raydude


That sounds horribly like some kind of disk reading problem, particularly if it's intermittent. You get partway down the image before data gets corrupted. I hope that isn't the issue. Perhaps you should run fsck.ext3 -c on your boot partition (or whichever is the correct fsck for your /boot fs) just to be extra safe.

As for the libpng errors, those shouldn't get echoed to the splash screen, I think. Consider filing a bug on bugs.gentoo.org for that, assigning to spock@gentoo.org. The errors should probably go to syslog instead.
Back to top
View user's profile Send private message
ferret
n00b
n00b


Joined: 30 Jul 2003
Posts: 22
Location: Oxford UK

PostPosted: Thu May 05, 2005 3:13 pm    Post subject: Reply with quote

Patches also apply cleanly and work perfectly with the latest mm- kernel sources, if anyone wants to do that.

fbsplash-0.9.2-r2-2.6.12-rc3.patch
vesafb-tng-0.9-rc6-r2-2.6.12-rc1.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 24, 25, 26, 27, 28, 29  Next
Page 25 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum