Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The Gentoo Framebuffer, Bootsplash & Grubsplash How-To
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 20, 21, 22 ... 25, 26, 27  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Fri Aug 06, 2004 12:24 am    Post subject: Reply with quote

Follow the instructions here and that is what you will get.

GJ
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Fri Aug 06, 2004 8:59 am    Post subject: Reply with quote

carrett wrote:
hey, is there any way to get the kernel logo working with 2.6.x? not really interested in bootsplash, i just want my tux back on the vts!! thanks.


Enable framebuffer and framebuffer logo and disable bootsplash if you have it in the kernel and that should give you the logo only without bootsplash.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
res0r9lm
n00b
n00b


Joined: 30 Jul 2004
Posts: 56

PostPosted: Fri Aug 06, 2004 9:52 pm    Post subject: Reply with quote

Ok I figure out what is needed for animation. first you need /sbin/bootanim

Code:
#!/bin/bash
#
# bootanim - boot animation wrapper script for fbmngplay
#
# This program parses /etc/bootsplash/[THEME]/config/bootsplash-XxY.cfg
# to determine the correct animation position.
#
# This program is free software; you may redistribute it under the terms
# of the GNU General Public License. This program has absolutely no warranty.
#
# (C) 2002,2003 SuSE Linux AG. Written by Stefan Reinauer <stepan@suse.de>
#
# See http://www.bootsplash.org/ for more information.
#

usage()
{
    echo "usage: $0 [start|stop|kill|next] -m [-r XxY] [-d dir] mng1 [mng2..]"
    cat << EOF

  Available commands:
   start      starts given animation
   stop      fades out all running animations
   kill      immediately stops all animations
   next      continue to next animation.

  Options for use with start command:
   -r XxY      screen resolution to use if unable to autodetect.
   -d dir      directory containing the animation files
   -m       play multiple animations
   mng1|mng2   animation filename(s). Specify -m if multiple.

EOF

}

if [ "$UID" -ne "0" ]; then
    echo "$0 must be started as user root!!!"
    echo "Exiting..."
    exit 1
fi

THEME="$(/sbin/splash theme)"
test -f /etc/conf.d/bootsplash.conf && . /etc/conf.d/bootsplash.conf

if [ ! -d /etc/bootsplash/$THEME ]
then
  echo "$0: could not find theme $THEME in /etc/bootsplash/."
  exit 0
fi

MODE=`/sbin/fbresolution 2>/dev/null`
DIRECTORY=/etc/bootsplash/$THEME/animations
OPTIONS="-b -c 1"
FILES=""

case "$1" in
start)
   # echo "$0 start"
   # We fall through here.
   ;;
stop)
   # echo "$0 stop"
   killall -q -2 fbmngplay
   exit 0
   ;;
kill)
   # echo "$0 kill"
   killall -q fbmngplay
   exit 0
   ;;
next)
   # echo "$0 next"
   killall -q -USR1 fbmngplay
   exit 0
   ;;
*)
   usage;
   echo "  Error: illegal parameter.";
   exit 1
   ;;
esac

shift

# We end up in bootanim start

TEMP=`getopt -o mr:d:  -- "$@"`
eval set -- "$TEMP"

while true ; do
   # echo "loop: $*"
        case "$1" in
        -d) # directory
      shift
      if [ ! -d "$1" ]; then
         echo "Not a valid directory."
         exit 1
      fi
      DIRECTORY=$1
      shift
      ;;
   -r) # resolution
      shift
      MODE=$1;
      shift
      ;;
   -m) # multiple files
      shift
      OPTIONS="$OPTIONS -s"
      ;;
   --) # end
      shift
      break;;
   *) # Weird
      echo "Internal Error."
      exit 1
      ;;
   esac
done

function box() { true; } # ignore box descriptions in the config file

# Sourcing config file
if [ -f /etc/bootsplash/$THEME/config/bootsplash-$MODE.cfg ]; then
    . /etc/bootsplash/$THEME/config/bootsplash-$MODE.cfg
else
    echo "$0: No config file found for theme $THEME ($MODE)."
    exit 1
fi

# echo "Dir:   $DIRECTORY"
# echo "Files: $*"
# echo "Mode:  $MODE"
# echo "Pos:  $ax,$ay"
# echo "options: $OPTIONS"

CMDLINE="fbmngplay -x $ax -y $ay $OPTIONS"
for i in $*; do
    CMDLINE="$CMDLINE $DIRECTORY/$i"
done

eval "$CMDLINE &"


next you need to get the mng files http://aichler.net/gentoo/bootsplash/bootsplash-animations.tar.gz put them under /etc/bootsplash/$your-theme/animation

lastly you need to make a /etc/bootsplash/$your-theme/config/animations.cfg you may need to change some of the hooks depending on your system



Code:
checkroot start:bootanim start hdd.mng
checkfs start:bootanim next
localmount start:bootanim start key.mng
urandom start:bootanim next
net.eth0 start:bootanim start network.mng
numlock start:bootanim next 
xdm stop:bootanim start shutdown.mng
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Fri Aug 06, 2004 10:50 pm    Post subject: Reply with quote

I don't quite understand what these animations are. What do they do? is there an .avi file showing them working anywhere I can look at?

GJ
Back to top
View user's profile Send private message
res0r9lm
n00b
n00b


Joined: 30 Jul 2004
Posts: 56

PostPosted: Fri Aug 06, 2004 11:24 pm    Post subject: Reply with quote

you can look at them with fbmngplay <image> or animate <image> and what they do is at checkfs a animated hdd pops up on bootsplash then switches to some keys for keymap then from there it changes to a spinning globe sort of thing when network goes up and also at shutdown there is an image for that as well.
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Sat Aug 07, 2004 12:21 am    Post subject: Reply with quote

Sounds cool. Maybe I will look at it. :)

GJ
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Sun Aug 08, 2004 10:46 am    Post subject: Reply with quote

Hi, well I decided to risk a 2.6 X kernel again as i think I found what was wrong. Anyway I now have a dark screen on boot.

I have followed the instructions here for a 2.6X kernel - but can someone take a look at my lilo options and tell me if I have somehow fuzzed up the syntax?

Code:
image="/boot/kernel-2.6.7test1"
 vga=0x317
 root="/dev/hda2"
 label="Carbon_OSX"
 read-only
 append="video=vesafb:1204x768@75:ywrap,vram:16 splash=silent"
 initrd=/boot/initrd-1024x768


Have I missed something here or is that OK?

Also when the vesa FB was working in 2.4x I was having awful problems with it when switching back and forth between X and the console, where the screen would become very horribly yellow and corrupted. I added the hz an vfresh lines myself just prior to installing the 2.6x kernel after reading on the forum that this might help the driver know what resolution to use and prevent it from trying to change - but I'm not sure if I got it right? What do you think?

Lastly does anybody know if either of the radeon frame buffer drivers in the kernel are compatible with a radeon 9800 graphics card? (if so which one and what should I call it in lilo?). I ask just in case things go wrong and I am in search of other options. I might have not very much left to try.

Any input would be appreciated.

GJ

[/code]
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sun Aug 08, 2004 1:41 pm    Post subject: Reply with quote

raid517 wrote:
Code:

 append="video=vesafb:1204x768@75:ywrap,vram:16 splash=silent"



Don't you mean 1024x768 and not 1204x768? Also, merely appending @75 does not give 75Hz refresh rate. For that there is another thread and another patch.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Sun Aug 08, 2004 5:19 pm    Post subject: Reply with quote

Yes thanks - you are right, it was a typo.

Which thread in particular are you referring to? Also, like I said has anybody got any experience with the radeonfb driver on a radeon 9800 video card? I'd be curious to know if the setup proceedure was the same and if it would be likely to help resolve any of my difficulties.

Thanks for the input.

GJ
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sun Aug 08, 2004 7:22 pm    Post subject: Reply with quote

raid517 wrote:
Which thread in particular are you referring to?


[UPDATE] Getting higher refresh rates using vesafb driver

As for radeonfb you should search the forums. I'm reasonably sure this has been discussed before.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Sun Aug 08, 2004 7:38 pm    Post subject: Reply with quote

Thanks.

I answered my own question about the radeonfb too. Apparently it conflicts with 3D acceleration in fglrx.

Maybe ATI's new drivers will help my issues - if that is the gentoo maintainers ever get round to releasing an ebuild. :(

GJ
Back to top
View user's profile Send private message
-inTru-
n00b
n00b


Joined: 18 May 2004
Posts: 22

PostPosted: Wed Aug 11, 2004 11:23 pm    Post subject: Reply with quote

why doesn't work bootsplash with my personal image ?
1280x1024@24depth , 48x48 dpi (lilo.conf is ok)

the default bootsplash .jpg (gentoo-cow) works excellent with 1280x1024

just an idea?
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Thu Aug 12, 2004 12:17 am    Post subject: Reply with quote

-inTru- wrote:
why doesn't work bootsplash with my personal image ?
1280x1024@24depth , 48x48 dpi (lilo.conf is ok)

the default bootsplash .jpg (gentoo-cow) works excellent with 1280x1024

just an idea?


Bootsplash is very picky about what images it works with. The image has to be a jpg and low quality. I can't remember what the exact specifications are but I'm sure you'll find it if you search. It may be on the original post too.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Aug 12, 2004 12:30 am    Post subject: Reply with quote

if you wan to use better images, check out the gensplash project,

http://dev.gentoo.org/~spock/

https://forums.gentoo.org/viewtopic.php?t=206778&highlight=
Back to top
View user's profile Send private message
-inTru-
n00b
n00b


Joined: 18 May 2004
Posts: 22

PostPosted: Thu Aug 12, 2004 12:51 am    Post subject: Reply with quote

WORKS WORKS >D

i tried medium quality (.jpg) @ photoshop CS 8.0

bootsplash rockx ! ;)
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Aug 12, 2004 1:53 am    Post subject: Reply with quote

Here's my problem: Bootsplash works great if I reboot my computer. If I cold boot (it's been off for a while) then it doesn't work. I get an "undefined mode number" or some such error at boot time with an option to press "Enter" to see available settings or "Space" to continue booting.

I'm using a Geforce FX 5700 Ultra. Has anybody else experienced this problem? Even better, do you know how to fix it? I've tried everything I can think of and it's really frustrating!
_________________
I suck at signatures.
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 Aug 14, 2004 11:02 am    Post subject: Reply with quote

is a new bootsplash patch necessary for kernel 2.6.8?
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Sat Aug 14, 2004 3:05 pm    Post subject: help, questions with vesa and vesafb? Reply with quote

I ever made my computer working with framebuffer, bootsplash, grubsplash. But now with the new kernel(2.6.7-gentoo-r14), I have troubles.
If in the grub.conf,using
Quote:
video=vesafb:ywrap,mtrr
,
the computer will halt. But if I change vesafb to vesa,it works well.
IF I just use
Code:
video=vesa:ywrap,mtrr vga=0x318
in grub.conf
excute dmesg
Quote:

.....
vesafb: framebuffer at 0xfd000000, mapped to 0xce800000, size 4096k
vesafb: mode is 1024x768x24, linelength=3072, pages=0
vesafb: protected mode interface info at c927:000f
vesafb: scrolling: redraw
vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0
fb0: VESA VGA frame buffer device
......

it seems there is vesafb device and also it works.
I am wondering why I can not use vesafb now since It works for me before.
pls give any suggestions.
thanks.
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Sat Aug 14, 2004 7:54 pm    Post subject: Reply with quote

Well, I found a work-around to my problem. If I set vga to 0x314 (800x600) then it works fine every time. Don't know why 1024x768 only works on reboots.
_________________
I suck at signatures.
Back to top
View user's profile Send private message
irc_gloom
n00b
n00b


Joined: 15 Aug 2004
Posts: 1

PostPosted: Sun Aug 15, 2004 5:17 pm    Post subject: Reply with quote

Hi everybody.

I'm new in the world of gentoo so my problem may be stupid.

Yesterday I installed gentoo 2004.2 on my laptop. Everything except wireless is working fine.

I did a emerge bootsplash, downloaded a theme and tried to install it with splash -s -f [theme cfg file] [initrd file]

After that I see initrd file has changed about the size so I suppose everything has be done correctly.

But once I reboot, I get the standard splash of gentoo. Can get the new one :s

Any idea why ?
Back to top
View user's profile Send private message
bk0
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 266

PostPosted: Mon Aug 16, 2004 2:52 am    Post subject: Reply with quote

hoschi wrote:
is a new bootsplash patch necessary for kernel 2.6.8?


Yes. You'll need to patch the kernel yourself since the maintainer of gentoo-dev-sources decided to drop the bootsplash patch.
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Mon Aug 16, 2004 7:54 am    Post subject: Reply with quote

bk0 wrote:

Yes. You'll need to patch the kernel yourself since the maintainer of gentoo-dev-sources decided to drop the bootsplash patch.

That sucks. Con Kolivas dropped it to for 2.6.8x-ck1. He said
con kolivas wrote:
As of 2.6.8.1-ck1 this is no longer included because the framebuffer code had changed too much for me to try and keep in sync without a lot of effort. Also it did prove a little buggy.

I wonder if anyone's going to attempt a patch then. The latest one that comes with the bootsplash ebuild is for 2.6.6.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Mon Aug 16, 2004 12:02 pm    Post subject: 2.6.8.1 patch Reply with quote

There is now a link to a 2.6.8.1 patch on the original howto.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Wed Aug 18, 2004 12:54 am    Post subject: nice how-to Reply with quote

Thank's very very much for this how-to!!
Very very nice ;D
Back to top
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Wed Aug 18, 2004 5:33 pm    Post subject: Reply with quote

i'm running latest nitro-sources and love-sources. do i have to apply any patches to those kernel? in the howto, where do i start?
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 ... 20, 21, 22 ... 25, 26, 27  Next
Page 21 of 27

 
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