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 ... 19, 20, 21 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Fri Jan 21, 2005 2:49 pm    Post subject: Reply with quote

actually I fixed that... You need to start the splash daemon...

Code:
# /etc/init.d/splash start


And to make it start up every boot:

Code:
# rc-update add splash default



But colors are still really screwed up with the bootsplash, and I lose my progressbar with 8bit color. I'm using radeonfb, should I use vesafb instead?

Also, when switching between a framebuffer virtual console and X my picture on my monitor gets out of sync with the computer and the image is screwey and skewed off to an angle. and I have to restart X

EDIT: OK, vesafb fixed the colors, but now I can only go at a bleeding-eyes 60 Hz refresh rate. Is there any way I can get a better refresh rate? I tried using vesafb-tng instead of vesafb in my grub.conf but no go, it's screwy colors again. I'd like to have a mode of 1024x768-32@75, which I know is well within my monitor's and graphics card's abilities.

I've got an ATi Radeon 9000 and kernel version 2.6.8-r10, should I upgrade to 2.6.9* or 2.6.10*?
Back to top
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Sun Jan 23, 2005 2:39 am    Post subject: Reply with quote

Well, after more reading and more reading and more playing and some swearing, I fixed my problem.
I can't exactly say what the problem was, but these are the things I changed.
1. Grub.conf
this:
Code:

kernel (hd1,0)/boot/vmlinuz root=/dev/hdd3 elevator=cfq video=vesafb:mtrr,1280x1024-32@85 splash=verbose,theme:emergence

to this:
Code:

kernel (hd1,0)/boot/vmlinuz root=/dev/hdd3 elevator=cfq video=vesafb:mtrr,1280x1024@85 splash=verbose,theme:default


Specifically I changed the reference from emergence as the theme to default, as is selected by the sym link in /etc/splash

2. Creating the initrd
I used
Code:

splash_geninitramfs -v -a /boot/fbsplash-emergence-1280x1024 -r 1280x1024 default

This appended to the initrd I had already created using
Code:

splash_geninitramfs -v -g ......


The main differences was I used default instead of emergence. Appending to the initrd also seemed to make it all good too, for a reason unknown to me, there should be no difference between -g and -a.
I also compiled a new kernel (same sources, just emerge -C then remerged them). I changed no options tho so I think this was of no real consequence.

I have a sneaking suspicion that removing the colour depth was the mitigating factor.

enigma_0Z wrote:

EDIT: OK, vesafb fixed the colors, but now I can only go at a bleeding-eyes 60 Hz refresh rate. Is there any way I can get a better refresh rate? I tried using vesafb-tng instead of vesafb in my grub.conf but no go, it's screwy colors again. I'd like to have a mode of 1024x768-32@75, which I know is well within my monitor's and graphics card's abilities.

I've got an ATi Radeon 9000 and kernel version 2.6.8-r10, should I upgrade to 2.6.9* or 2.6.10*?


You are using a version of fbsplash with a bug that screws up the colours
see:
https://forums.gentoo.org/viewtopic.php?t=264470&highlight=splashgeninitramfs

A fix is provided in the thread if your happy hacking fbcon.c, or you can upgrade to a 2.6.10 (im using nitro and these sources are fixed).

The fix described is an easy one-liner. PM if you have issues with it.
Back to top
View user's profile Send private message
rosschilen
n00b
n00b


Joined: 04 Sep 2004
Posts: 15

PostPosted: Sun Jan 23, 2005 3:16 am    Post subject: themes? Reply with quote

Has anybody made an ebuild for gensplash themes or made them available on the web?
Back to top
View user's profile Send private message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Sun Jan 23, 2005 5:04 am    Post subject: Reply with quote

[UK]Superdude wrote:
Well, after more reading and more reading and more playing and some swearing, I fixed my problem.
I can't exactly say what the problem was, but these are the things I changed.
1. Grub.conf
this:
Code:

kernel (hd1,0)/boot/vmlinuz root=/dev/hdd3 elevator=cfq video=vesafb:mtrr,1280x1024-32@85 splash=verbose,theme:emergence

to this:
Code:

kernel (hd1,0)/boot/vmlinuz root=/dev/hdd3 elevator=cfq video=vesafb:mtrr,1280x1024@85 splash=verbose,theme:default


Specifically I changed the reference from emergence as the theme to default, as is selected by the sym link in /etc/splash


Well looking at those entries, here's the differences that I see (if it helps what has changed), The theme shouldn't matter if default points to emergance, but the video mode specification is different... You don't specify a colour depth in the second one.

perhaps...

I just finished upgrading to the 2.6.10 kernel sources, actually... I'll check out the radeonfb
Back to top
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Sun Jan 23, 2005 9:03 am    Post subject: Reply with quote

enigma_0Z wrote:

Well looking at those entries, here's the differences that I see (if it helps what has changed), The theme shouldn't matter if default points to emergance, but the video mode specification is different... You don't specify a colour depth in the second one.


Exactly what I was thinking,
wonder if its a bug or an error in the way I was declaring it. Oh well, it works now and I'm a little reluctant to start playing with it ;)
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1150
Location: Vienna (Austria)

PostPosted: Tue Jan 25, 2005 12:04 am    Post subject: Reply with quote

Hi everybody!

I've an problem with fbsplash.

My grub.conf:
Code:
title=Gentoo Linux 2.6.10-r6 den-dev Org.
root (hd0,0)
kernel (hd0,0)/gendevk-2.6.10-r6 root=/dev/hda3 video=vesafb-tng:ywrap,mtrr,1024x768-32@60 splash=silent,theme:gechi
initrd (hd0,0)/boot/splash/gechi


The splashscreen is displayed. But there is no progress bar.
dmesg and co doesn't show any errors.

I also can use only some splash screens. Many doesn't work.
It's mysteries.

Any ideas?

Output of splash_geninitramfs
Code:
ndragon root # splash_geninitramfs -v -g /boot/splash/dragonmatrix -r 1024x768 dragonmatrix
o Creating directory structure..
o Copying /sbin/splash_helper..
o Copying themes..
  - dragonmatrix
o Creating initramfs image..

_________________
You are the problem too all my solutions ;)
Back to top
View user's profile Send private message
suineg
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 200
Location: Los Angeles

PostPosted: Thu Jan 27, 2005 7:56 pm    Post subject: Reply with quote

I am also interested in staying in silent mode until X has been started, any update as to whether this is possible or not?
Back to top
View user's profile Send private message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Thu Jan 27, 2005 9:31 pm    Post subject: Reply with quote

NightDragon wrote:
Hi everybody!

I've an problem with fbsplash.

My grub.conf:
Code:
title=Gentoo Linux 2.6.10-r6 den-dev Org.
root (hd0,0)
kernel (hd0,0)/gendevk-2.6.10-r6 root=/dev/hda3 video=vesafb-tng:ywrap,mtrr,1024x768-32@60 splash=silent,theme:gechi
initrd (hd0,0)/boot/splash/gechi


The splashscreen is displayed. But there is no progress bar.
dmesg and co doesn't show any errors.

I also can use only some splash screens. Many doesn't work.
It's mysteries.

Any ideas?

Output of splash_geninitramfs
Code:
ndragon root # splash_geninitramfs -v -g /boot/splash/dragonmatrix -r 1024x768 dragonmatrix
o Creating directory structure..
o Copying /sbin/splash_helper..
o Copying themes..
  - dragonmatrix
o Creating initramfs image..


Try using vesafb instead of vesafb-tng... I think that the vesafb-tng is a distinction only in the kernel, whichever one you have selected still refers to vesafb.
_________________
Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/
Back to top
View user's profile Send private message
enigma_0Z
Guru
Guru


Joined: 29 Aug 2004
Posts: 531
Location: Either lurking here or at my forum (see sig)

PostPosted: Thu Jan 27, 2005 9:40 pm    Post subject: Re: themes? Reply with quote

rosschilen wrote:
Has anybody made an ebuild for gensplash themes or made them available on the web?


no, but you can do this:

first execute this comand to download bootsplash themes:

Code:
emerge -pvO bootsplash-themes


That is, pretend to verbosely emerge bootsplash-themes without dependencies...

then copy this script into a file called /etc/bootsplash/mexec

Code:
#!/bin/bash

ls -d --color=no ./ | while read input
do
   bootsplash2fbsplash ${input}
done

exit 0


Then, (make sure you have splashutils emerged too) execute these commands...

Code:
# cd /etc/bootsplash
# chmod +x ./mexec
# ./mexec

_________________
Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/
Back to top
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Thu Jan 27, 2005 11:43 pm    Post subject: Reply with quote

suineg wrote:
I am also interested in staying in silent mode until X has been started, any update as to whether this is possible or not?


check your /etc/conf.d/splash file:

/etc/conf.d/splash
Code:
 
# should we drop to verbose mode on initscript errors? (yes/no)
SPLASH_VERBOSE_ON_ERRORS="no"


Make sure that line is set to 'no' and your splash will stay silent (ie with progress bar) until xdm is started.
Back to top
View user's profile Send private message
suineg
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 200
Location: Los Angeles

PostPosted: Fri Jan 28, 2005 12:38 am    Post subject: Reply with quote

perfect thanks!
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Jan 28, 2005 11:29 am    Post subject: Reply with quote

enigma_0Z wrote:
Try using vesafb instead of vesafb-tng... I think that the vesafb-tng is a distinction only in the kernel, whichever one you have selected still refers to vesafb.


I've already tried that, but changing to vesafb didn't let me choose the screen resolution and so I had fb at 640x480 with no theme because (I think) I installed a 1024x768 theme. There is a way to set an higher resolution with vesafb?
Thanks
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Magistrat
n00b
n00b


Joined: 04 Apr 2004
Posts: 31
Location: Trier

PostPosted: Fri Jan 28, 2005 11:55 am    Post subject: Reply with quote

a new splashutils is out.

does anybody have a clue yet, how animations and stuff are to get realised? e.g. is anyone _aware_ of themes using this?

(and i don't mean those using the bootsplash project)

thank you!
_________________
Think! Disobey! Create!
Back to top
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Fri Jan 28, 2005 12:11 pm    Post subject: Reply with quote

Magistrat wrote:
a new splashutils is out.

does anybody have a clue yet, how animations and stuff are to get realised? e.g. is anyone _aware_ of themes using this?

(and i don't mean those using the bootsplash project)

thank you!


Changelog from new splashutils:
Code:

 Added numerous new features and bugfixes:
  - support for devfs device names (bug #75515)
  - fixes for consolefont problems (bug #77122)
  - a splash_geninitramfs fix (bug #68518)
  - support for switching back to silent mode after receiving
    user input for services such as dm-crypt
  - support for theme-defined ttf fonts
  - support for boot icons
  - support for event-driven scripts

 Note that some of these are undocumented and usused at this point.
 Please wait for baselayout updates (bug #78492) and/or new themes
 to see them in action.


Nothing immediately leaps out in regards to splash animations.....
Back to top
View user's profile Send private message
growse
Apprentice
Apprentice


Joined: 24 Jan 2003
Posts: 154
Location: Sunny UK

PostPosted: Fri Jan 28, 2005 2:49 pm    Post subject: Reply with quote

Ok, I did everything it said, and I'm having a few problems.

When it boots, I get tux at the top left of the screen. Then it goes into the bit where it says "ok" all the time, and I get an error that it's looking for /etc/splash/default/640x480.cfg. Why is this?

grub menu.lst:
Code:

title=Gentoo Linux 2.6.10r6
root (hd0,2)
kernel /kernel-2.6.10r6 root=/dev/hda7 video=vesafb:ywrap,pmipal,1280x1024@60 splash=silent,theme:default
initrd /boot/fbsplash-gentoo-1280x1024


The fbsplash-gentoo-1280x1024 is there, and /etc/splash/default points at /etc/splash/gentoo.

What's wrong with it?
_________________
Getting there....
Back to top
View user's profile Send private message
RedLeg
n00b
n00b


Joined: 20 Feb 2004
Posts: 20
Location: North America

PostPosted: Fri Jan 28, 2005 3:55 pm    Post subject: Reply with quote

Sounds like a resolution problem.

It also sounds like you're confusing a couple of things. I pointed out earlier in the thread the differences between the image loaded when the kernel starts and the one loaded later by the /etc/init.d/splash startup script.

The args in your grub config have to do with the former. From that, it looks like you're trying to run at 1280x1024.

Once you get logged in, use fbset to verify the resolution your framebuffer is actually using. From your error, I suspect it is at 640x480. You will either need to get the fb running at 1280x1024, or make sure the theme has a background image and config for the resolution that's running.

Now, if:
- your framebuffer is actually running at 640x480 AND
- you created the initrd from the theme in question AND
- the theme doesn't have, or didn't have at the time you created the initrd a config or image for 640x480

That would explain why you are getting tux at boot instead of the image from the theme that I think you are expecting.

.... i think .....


Hope this helps....

Red
_________________
Red
-----
Registered Linux User #16422,
Oldest Registered machine #5166
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1150
Location: Vienna (Austria)

PostPosted: Fri Jan 28, 2005 7:26 pm    Post subject: Reply with quote

Hi again:

enigma_0Z wrote:
Try using vesafb instead of vesafb-tng... I think that the vesafb-tng is a distinction only in the kernel, whichever one you have selected still refers to vesafb.


It doesn't chance anything, but thx for the Info.

Any other ideas?

[EDIT - SOLVED!!]
Old one: video=vesafb-tng:ywrap,mtrr,1024x768-32@60
New one: video=vesafb:mtrr,1024x768-32@60
_________________
You are the problem too all my solutions ;)


Last edited by NightDragon on Sat Jan 29, 2005 11:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Magistrat
n00b
n00b


Joined: 04 Apr 2004
Posts: 31
Location: Trier

PostPosted: Fri Jan 28, 2005 9:08 pm    Post subject: Reply with quote

[UK]Superdude wrote:

Code:

 Added numerous new features and bugfixes:
  - support for devfs device names (bug #75515)
  - fixes for consolefont problems (bug #77122)
  - a splash_geninitramfs fix (bug #68518)
  - support for switching back to silent mode after receiving
    user input for services such as dm-crypt
  - support for theme-defined ttf fonts
  - support for boot icons
  - support for event-driven scripts

 Note that some of these are undocumented and usused at this point.
 Please wait for baselayout updates (bug #78492) and/or new themes
 to see them in action.


Nothing immediately leaps out in regards to splash animations.....


his web page says ( for months)
- DFB MNG video provider
and marked completed.
so i supposed the new support for boot icons in combination with those animations, like the origin bootsplash project, is now available.
_________________
Think! Disobey! Create!
Back to top
View user's profile Send private message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Sun Jan 30, 2005 10:01 am    Post subject: Reply with quote

are there any sites that have gensplash themes?
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Fri Feb 04, 2005 2:52 am    Post subject: Reply with quote

Can anyone tell me how can i change the gensplash theme if i used genkernell to compile the kernel.When i tried to changed it never worked.Please help
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Feb 04, 2005 1:01 pm    Post subject: Reply with quote

look at this. I hope this will be solved soon.....

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
star.dancer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 93

PostPosted: Mon Feb 07, 2005 3:59 am    Post subject: Ati Rage 128 gensplash problems [workaround] Reply with quote

I have an ATI all-in-wonder 128 pro (has an ati rage 128 pro chipset and uses the aty128fb framebuffer device).

For some reason, when using gensplash the colours are totally screwy on bootup, this is a problem that was known with bootsplash (see http://www.bootsplash.org/faq.html "The ATI kernel framebuffer drivers don't use true color for 16/24/32bit resolutions per default but rather some index/true color mix"). There is a patch provided there but it doesn't apply to the newer kernels (I tried to manually stick in the changes, but the code seems to be changed quite drastically).

The strange thing is, when rc sets my console splash screens, the colours all work fine, and when I reboot/shutdown I get the splash screen in nice colours... For some reason, it just doesn't load the colours properly when it's booting up.

The solution is just to use vesafb-tng instead. It works ok for me. I don't really know if there' are hardware acceleration issues for other tasks with the framebuffer that would be brought up with this, like xframebuffer or something, but I only use framebuffer for bootup and my consoles. You may have to compile the kernel with only vesafb(-tng) support and not both that and aty128fb, I did so many kernel recompiles, I don't know what finally did it but I only have vesa compiled in now.

Hopefully someday, somebody fixes the aty128fb colour code, the patch on bootsplash.org seems fairly simple for someone who understands that stuff!
Back to top
View user's profile Send private message
atrain
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2004
Posts: 86

PostPosted: Thu Feb 10, 2005 2:02 pm    Post subject: Reply with quote

I still dont get the progress bar....

everything else works, but it only goes to one console...
Back to top
View user's profile Send private message
star.dancer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 93

PostPosted: Thu Feb 10, 2005 8:49 pm    Post subject: Reply with quote

[UK]Superdude wrote:

check your /etc/conf.d/splash file:

/etc/conf.d/splash
Code:
 
# should we drop to verbose mode on initscript errors? (yes/no)
SPLASH_VERBOSE_ON_ERRORS="no"


Make sure that line is set to 'no' and your splash will stay silent (ie with progress bar) until xdm is started.


Wow thanks! Another thing, which some people won't want to do, that helps get rid of the hiccups between splash switching to the console (like mine does halfway through shutting down for some reason...) is to make the main background image the same for both verbose and silent mode..

So my splash screen is a vampire with a translucent blood progress bar, and when it goes to console it's the same graphic (sans progress bar) but the whole thing is covered with a translucent red (so I can actually use the terminals and read the fonts). The overall effect is very consistent and smooth and although it's still dropping to console, it doesn't seem like anything went wrong.
Back to top
View user's profile Send private message
|cub|
n00b
n00b


Joined: 12 Feb 2005
Posts: 59
Location: UA

PostPosted: Sun Feb 13, 2005 12:02 am    Post subject: Reply with quote

Hello. Sorry for a stupid question, i am a new guy in gentoo... I want gensplash to, my friend tells me that gentoo-dev-sources has all patches. When i emerged them i didnt found that part
Code:
 Device Drivers > Graphics support:
 [*] Support for the framebuffer splash (NEW)
When i'm trying to patch it tells that kernel already patched...What should i do? Plese help...
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 ... 19, 20, 21 ... 27, 28, 29  Next
Page 20 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