View previous topic :: View next topic |
Author |
Message |
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sun Aug 29, 2004 4:49 pm Post subject: |
|
|
motub wrote: | To start with (still using 2.6.8-gentoo-r2), I recompiled and changed the vesa default fb from vesa-tng to vesafb. |
Um, I didn't say to do that. Leave the vesafb-tng in the kernel-the only thing I said remotely similar was to change the video=vesafb-tng in your grub conf to video=vesafb. vesafb-tng is still a vesafb, only allowing you to specify some more options. So hence you do not need to specify video=vesafb-tng.
motub wrote: | My default rez then disappeared (it was already set at 1280x1024@60 in the kernel; why did you think it was not |
My mistake, I must have been looking at the post after yours.
As far as the koutput and submount thing I have no idea, don't use it. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
Jakub Guru
Joined: 04 Oct 2003 Posts: 377 Location: Warsaw, Poland
|
Posted: Sun Aug 29, 2004 4:55 pm Post subject: |
|
|
Well, I got gensplash working on a second box with a nvidia card. I'm using gentoo-dev-sources-2.6.8-r3; I didn't like the fact that the splash appeared in the middle of the boot process so I removed the vesafb-tng patch from /usr/portage/distfiles/genpatches-2.6-8.50-base.tar.bz2. Then I applied the old-style vesafb-rrc-0.1.6-2.6.x.tar.bz2 patch to the installed kernel and ran vesa_modeline_gen.pl to select my monitor specs. Now the splash appears much earlier (although still a bit later than bootsplash I think but I can live with that). Btw, i used the 5 steps howto.
Here are the (possibly?) relevant options from my kernel config:
Code: |
CONFIG_FB=y
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FB_SPLASH=y
|
and the lilo entry:
Code: |
image = /boot/vmlinuz
label = Gentoo-2.6.8-r3
root = /dev/hdc3
append = "video=vesafb:ywrap,mtrr,pmipal splash=verbose,theme:emergence"
vga = 0x517
initrd = /boot/fbsplash-emergence-1024x768
read-only # read-only for checking
|
As you can see, I didn't mess with the themes at all. The resolution I use is 1024x768 (16bpp). I removed bootsplash from the default runlevel and added splash to it (I haven't tried adding splash to the boot runlevel):
Code: |
rc-update add splash default
|
thanks to which gensplash appeared on the remaining consoles.
So a little succes story there. I'm particularly happy because the 2.6.8.1 bootsplash patch that I used earlier did work but caused some artifacts in midnight commander and when I tailed my logs.
PS. Off-topic: motub, how do you intend to use ALSA 1.06 in your kernel? I copied the relevant files from the alsa-driver but got a compile error (the 1.05a version did compile though but I'm coming back to 1.04 since I got some problems installing xmms that may be caused by 1.05a).
Last edited by Jakub on Sun Aug 29, 2004 5:15 pm; edited 3 times in total |
|
Back to top |
|
|
motub Tux's lil' helper
Joined: 23 Sep 2003 Posts: 87 Location: The Netherlands
|
Posted: Sun Aug 29, 2004 5:02 pm Post subject: |
|
|
Off topic reply, from the Gentoo users mailing list:
Paranoid, thanks for the clarification. I'll leave the kernel alone and just change grub.conf before I reboot (which I'll do as soon as I post this). _________________ Holly
--Why not adopt an unanswered post?-- |
|
Back to top |
|
|
Jakub Guru
Joined: 04 Oct 2003 Posts: 377 Location: Warsaw, Poland
|
Posted: Sun Aug 29, 2004 5:11 pm Post subject: |
|
|
motub wrote: | Off topic reply, from the Gentoo users mailing list: |
Thanks a lot.
Now a question: does anyone know how to change the font colour when using gensplash? |
|
Back to top |
|
|
rush_ad l33t
Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Sun Aug 29, 2004 5:57 pm Post subject: |
|
|
how do i get gensplsah themes? |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sun Aug 29, 2004 6:20 pm Post subject: |
|
|
Jakub,
Thanks for the little clarification on the init.d/splash. It indeed does set the gensplash on the other consoles and you can modify things with the conf.d/splash config file too. Sorry motub, was wrong about that too (I think I must have a couple beers too many ). Might look at the script though because it turns off the gensplash on console 0 breifly when it runs.
I hear what you are saying about the delay. I tried using the regular vesafb but can't get 24bpp working, 16 works fine though. I wanted the higher res picture but the theme also includes a 256 color pic that doesn't look too bad so I think I'm going to try that. My problem is I'm not sure how to specify splash to use the 256 color pic. Looking at the theme file it has a pic and a pic256 section specifying the proper images. So how the hell do you pass on the info? I'm assuming in your grub.conf. I guess I'm going to try splash=verbose256, theme:emergence first then go from there. Any ideas?
EDIT:That doesn't work. I tried just changing the theme file to point to the 256 color pic as default with bizarre results. Why am I screwing around with damn thing again anyway?!? Christ, the only time I reboot is when I recompile a new kernel and I only shut my machine down once a month to suck all the damn cat hair out of fans. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs
Last edited by Paranoid on Sun Aug 29, 2004 6:41 pm; edited 1 time in total |
|
Back to top |
|
|
dalcorta n00b
Joined: 01 Nov 2003 Posts: 36
|
Posted: Sun Aug 29, 2004 6:22 pm Post subject: unable to put difrent themes on difrent terminals |
|
|
I merged the splashutils and starting converting the bootsplash themes I had but I'm unable to make each terminal have it own theme. Also ¿what is the diffrence between pic and pic256 in the config of emergence, or silent and silent256? |
|
Back to top |
|
|
Maximo n00b
Joined: 28 Jul 2003 Posts: 8 Location: United States of America
|
Posted: Sun Aug 29, 2004 9:22 pm Post subject: |
|
|
I get this error message when trying to emerge splashutils-0.9_pre07:
Code: | make[1]: Leaving directory `/var/tmp/portage/splashutils-0.9_pre07/work/miscsplashutils-0.1.1/fbtruetype'
CC kernel/splash_kernel.o
In file included from splash_kernel.c:18:
/var/tmp/portage/splashutils-0.9_pre07/work/splashutils-0.9-pre07/linux/include/linux/fb.h:305: error: field `modelist' has incomplete type
make: *** [kernel/splash_kernel.o] Error 1
!!! ERROR: media-gfx/splashutils-0.9_pre07 failed.
!!! Function src_install, Line 57, Exitcode 2
!!! (no error message)
|
maxheadroom posted about this same issue back on page 5 but noone has responded.
I am using gentoo-dev-sources 2.6.8-gentoo-r3.
Any ideas as to what I'm doing wrong?
Thanks,
-Maximo |
|
Back to top |
|
|
motub Tux's lil' helper
Joined: 23 Sep 2003 Posts: 87 Location: The Netherlands
|
Posted: Sun Aug 29, 2004 11:03 pm Post subject: |
|
|
OK, its working now (under gentoo-dev-sources-2.6.8-r3). With the Lila theme, even.
What seems to have been much of the problem was that my /usr is on an LVM partition, so the advice from aslocum on page 3
Quote: | ok i got rid of those splash and splash_utils errors:
the reason is that 'splash' will be called BEFORE the mounting.. so if you have /usr on another partition you will get the errors!
cp /usr/bin/fbset /sbin
cp /usr/lib/libjpeg.so.62 /lib
cp /usr/lib/libpng.so.3 /lib
edit the /sbin/splash:
line 31: res=`/sbin/fbset | grep "^mode" | sed -r 's/mode "([0-9]+x[0-9]+).*/\1/'` |
fixed the problems remaining after a clean re-emerge of splashutils and a new initrd necessitated by compiling a new kernel (I was seeing the progressbar, but not the picture-- which was humorous.... once).
So I'm all squared away, using the instructions on the Gentoo Wiki, and this thread. Thanks!
I do wish the silent splash showed up sooner though. It's pretty bizarre having a progress bar after you've been looking at the boot messages for 20 or so seconds already. But that was explained earlier. _________________ Holly
--Why not adopt an unanswered post?-- |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sun Aug 29, 2004 11:58 pm Post subject: |
|
|
motub,
Glad you got it working. Takes 20 seconds to come up? About 5 seconds here and that annoys me. You might want to take a look at the splashutils docs which has info on compiling the initramfs into the kernel instead of using initrd. It seems to be a little faster (I went back to this way since I can't get the standard vesafb to work in the 24bpps mode). _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
motub Tux's lil' helper
Joined: 23 Sep 2003 Posts: 87 Location: The Netherlands
|
Posted: Mon Aug 30, 2004 12:13 am Post subject: |
|
|
OK, it's not really 20 seconds (I just rebooted, so I checked). It's more like 10, but the problem is that unlike bootsplash, the setting of the framebuffer and the setting of the silent splash is not simultaneous.
So I have 5 seconds of normal (giant) text, then the screen changes to framebuffer, then I have 5 seconds of that (cute tiny text), then suddenly I have a silent splash screen.
I think that it's the two very visible changeovers that make it seem so long and so noticeable. Bootsplash only flashed once to change to framebuffer which I maybe saw for a millisecond before it was obscured by the silent splash screen. _________________ Holly
--Why not adopt an unanswered post?-- |
|
Back to top |
|
|
(l)user Guru
Joined: 31 Jan 2004 Posts: 334 Location: Poland
|
Posted: Mon Aug 30, 2004 12:18 am Post subject: |
|
|
Hi
I can't force this thing to work. Im getting this error sereval times at boot:
Code: |
/sbin/splash: line 31: fbset: command not found
/sbin/splash_util: error while loading shared libraries: libjpeg.so.62: cannot
open shared object file: No such file or directory
|
Part of my grub.conf
Code: |
title Gentoo Linux 2.6.8-nitro6
root (hd0,0)
kernel=/boot/268nitro root=/dev/hda5 ro video=vesafb-tng:ywrap,pmipal,800x600-32@85 splash=silent,theme:emergence
initrd=/fbsplash-emergence-800x600
|
Frabemuffer seems to be allright:
Code: |
$fbset
mode "800x600-85"
# D: 56.303 MHz, H: 53.724 kHz, V: 85.142 Hz
geometry 800 600 800 600 8
timings 17761 152 32 27 1 64 3
hsync high
vsync high
rgba 8/0,8/0,8/0,0/0
endmode
|
Any ideas? _________________ Registered Linux user #302020
Gadu Gadu #490092 |
|
Back to top |
|
|
motub Tux's lil' helper
Joined: 23 Sep 2003 Posts: 87 Location: The Netherlands
|
Posted: Mon Aug 30, 2004 12:26 am Post subject: |
|
|
Do you have /usr on a separate partiton than / ? If so, look 3 posts above yours for how I fixed this. _________________ Holly
--Why not adopt an unanswered post?-- |
|
Back to top |
|
|
ksuther Tux's lil' helper
Joined: 09 May 2003 Posts: 86 Location: New York
|
Posted: Mon Aug 30, 2004 1:47 am Post subject: |
|
|
xiphux wrote: | I don't know if this fix is a little too late and already been fixed, but I just saw it again not too long ago, so:
For those of you getting the
Code: | fb.h:305: error: field `modelist' has incomplete type |
message, you need to edit the file /usr/src/linux/include/linux/fb.h. At line 305, you'll see:
Code: | struct list_head modelist; |
Put an asterisk in front of 'modelist.' So:
Code: | struct list_head *modelist; |
(It needs to be a pointer to a list head) |
I tried doing that, but then it just gave me incompatible pointer types errors in all the files that had been using it not as a pointer. I suppose I could go and fix all those files, but that doesn't seem right. (This is love-sources-2.6.8.1)
Anything else so I can try this out? |
|
Back to top |
|
|
IT Tux's lil' helper
Joined: 06 Jul 2004 Posts: 140 Location: Terra Firma
|
Posted: Mon Aug 30, 2004 7:02 am Post subject: |
|
|
I seem to have gotten all this to work just fine...
except
now, the command
comes back with:
Code: | bash: startx: command not found |
and the other significant thing is that after I logon prior to X and in X in terminal...it now shows me:
instead of what it used to have...how did I screw that up?...and how do I fix it? Actually, what does it mean?
I can still get into X if I su and gdm...I'm confused. _________________ QRA KD7UBH BTAR |
|
Back to top |
|
|
(l)user Guru
Joined: 31 Jan 2004 Posts: 334 Location: Poland
|
Posted: Mon Aug 30, 2004 8:04 am Post subject: |
|
|
motub wrote: | Do you have /usr on a separate partiton than / ? If so, look 3 posts above yours for how I fixed this. |
Agh am i blind? Thanks that did the thing. Now I have another problem.
After boot I can see this gentoo2004 image (with out progressbar) and after short time it segmentation faouts:
Code: |
...
Activing possible more swap... [ok]
/sbin/splash line 102: 345 segmentatino fault:
...
|
And i have my black fb console again huh _________________ Registered Linux user #302020
Gadu Gadu #490092 |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4801 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Mon Aug 30, 2004 8:18 am Post subject: |
|
|
sakus wrote: | OK I have a (stupid?) question.
...
I have this in my GRUB's menu.lst that I need for my system to boot:
Code: |
initrd /initrd-2.6.8-gentoo-r2
|
This way I can boot my system but get no splash. If I replace that one with this:
Code: |
initrd /fbsplash-emergence-1024x768
|
Then I get the splash but end up with kernel panic and can't boot.
|
I think your's to be a good question. I'm also a noob, having the same problem.
I need to boot loading some kernel modules with initrd, and running bootsplash in the same time.
I tried to solve problem in this way but with no luck:
Code: |
gentoo-laptop ~ # mount /boot/; cd
gentoo-laptop ~ # cp /boot/prova.img.gz ./
gentoo-laptop ~ # gunzip prova.img.gz
gentoo-laptop ~ # mkdir workdir
gentoo-laptop ~ # mount prova.img workdir/ -o loop
gentoo-laptop ~ # splash_geninitramfs -v -c workdir/ -r 1024x768 emergence
o Creating directory structure..
mknod: `workdir//dev/null': Il file esiste
mknod: `workdir//dev/console': Il file esiste
o Copying /sbin/splash_helper..
o Copying themes..
- emergence
o Creating initramfs image..
***/ Now I use the same command than at line 179 of /usr/bin/splash_geninitramfs (without --dereference option)/***
gentoo-laptop ~ # cd workdir ; find . | cpio --quiet -o -H newc |gzip -9 >../img.cpio.gz
gentoo-laptop workdir # cd
gentoo-laptop ~ # cp img.cpio.gz /boot/prova.img.gz
cp: sovrascrivo `/boot/prova.img.gz'? y
gentoo-laptop ~ # lilo
Added windows
Added gentoo-2.6.8 *
Added 2.6.7-r14
Added prova
|
On reboot: bootsplash starts, but linuxrc is not executed and booting fails.
What can I do now? _________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
sakus n00b
Joined: 28 Mar 2004 Posts: 54 Location: Finland
|
Posted: Mon Aug 30, 2004 10:32 am Post subject: |
|
|
cloc3 wrote: |
I need to boot loading some kernel modules with initrd, and running bootsplash in the same time.
...
On reboot: bootsplash starts, but linuxrc is not executed and booting fails.
What can I do now? |
One thing worth looking at is to get rid of the need to use initrd to boot.. that is, compile everything vital like HDD drivers and needed filesystem supports in kernel itself. Then you'll be able to boot without using initrd and it is free to be used with the splash. That's what I did.
Also, the gensplash faq (found in here: http://dev.gentoo.org/~spock/) describes how you can compile the splash in the kernel, that way you can keep your old initrd entry and don't need to use it to load the splash.
If there are other ways to work around this, I'm sure someone wiser than me will tell about it |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4801 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Mon Aug 30, 2004 12:58 pm Post subject: |
|
|
sakus wrote: |
...
compile everything vital like HDD drivers and needed filesystem supports in kernel itself.
|
Off course, that's may be unpossible.
But so I'm forced to recompile bzImage just to change fbsplash image. That's really bad.
Now I need one of these answers:
1. I've just used a bad procedure to reach my goal (as I think);
2. It's quite unpossible, because of a developing choice;
3. For now it's unpossible, but developers are working to find a solution.
_________________ vu vu vu
gentù
mi piaci tu |
|
Back to top |
|
|
georgz Tux's lil' helper
Joined: 06 Dec 2002 Posts: 137 Location: Munich, Germany
|
Posted: Mon Aug 30, 2004 1:56 pm Post subject: no background image |
|
|
Hi,
seems to half work for me. But during boot no image is shown, it just switches to a higher resolution in text mode... The splash for the consoles seems to work except that the jpeg image isn't shown. Tested with default theme and one other, always the same.
Any tip what it could be the problem?
I'm using nitro sources 2.6.8.1-nitro6.
Code: | root@ ~ # dmesg | grep fb
Kernel command line: root=/dev/hda8 video=vesafb:ywrap,pmipal,1024x768-32@85 splash=silent,theme:MaiHoshino
fbsplash: silent
fbsplash: theme MaiHoshino
vesafb: ATI Technologies Inc., MACH64RM, 01.00 (OEM: ATI MACH64)
vesafb: VBE version: 2.0
vesafb: protected mode interface info at c000:5044
vesafb: pmi: set display start = c00c50aa, set palette = c00c5104
vesafb: pmi: ports = ec85 ec1f ecb4 ecb8 ec18 ec14 ecc0 ecc3 ecc1
vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=2709
vesafb: framebuffer at 0xfd000000, mapped to 0xe0800000, size 8128k
fb0: VESA VGA frame buffer device
fbsplash: console 0 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 0
fbsplash: console 1 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 1
fbsplash: console 2 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 2
fbsplash: console 3 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 3
fbsplash: console 4 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 4
fbsplash: console 5 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 5
fbsplash: console 6 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 6
fbsplash: console 7 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 7
fbsplash: console 8 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 8
fbsplash: console 9 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 9
fbsplash: console 10 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 10
fbsplash: console 11 using theme 'MaiHoshino'
fbsplash: switched splash state to 'on' on console 11
fbsplash: switching to verbose mode
|
Code: |
title kernel-2.6.8.1-Nitro6 (Bootsplash, Silent)
root (hd0,0)
kernel (hd0,0)/kernel-2.6.8.1-nitro6 root=/dev/hda8 video=vesafb:ywrap,pmipal,1024x768-32@85 splash=silent,theme:MaiHoshino
initrd=/fbsplash-MaiHoshino-1024x768
|
|
|
Back to top |
|
|
Jakub Guru
Joined: 04 Oct 2003 Posts: 377 Location: Warsaw, Poland
|
Posted: Mon Aug 30, 2004 3:47 pm Post subject: |
|
|
What have I done!!! I've read the Gentoo-wiki fbsplash howto and it was really great but there were some inconsistencies in it (like, it said that fbsplash is another name for vesafb-tng). So i started to change some things but I'm afraid I've changed too much. The author encouraged people to make alterations but I don't know if I didn't go too far. And I'm not even an English native speaker... The howto is longer now and has more subsections so I hope if it has many mistakes it will not be that difficult to correct it.
I think that particularly the part about creating new themes should be modified (actually, I've only used the default theme so I have no idea if it works... ). |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Mon Aug 30, 2004 5:52 pm Post subject: |
|
|
I just read through the wiki-looks good to me. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
motub Tux's lil' helper
Joined: 23 Sep 2003 Posts: 87 Location: The Netherlands
|
Posted: Mon Aug 30, 2004 6:03 pm Post subject: |
|
|
Yes, I agree; thanks for expanding the information and making it even clearer. I had done my additions last night, and your edit clarified one thing that I had left a bit fuzzy because I wasn't too sure about it-- I knew that you needed to only make (and not install) the kernel before emerging splashutils, but I wasn't quite sure if you had to wait until after you'd made the initrd to install it. Your explanation of the two methods of creating the initrd straightened that out in my mind.
(Plus, you didn't edit me, much, so I'm fine with it .)
I might swing by and fix a couple of minor typos, but it's clear and very helpful.
And I guess we should stop putting disclaimers on the end, since that is the point of a Wiki-- it's a community knowledge base project. So we probably shouldn't feel guilty about editing (it's just that I write, so I feel bad; there aren't many writers who like being edited ). _________________ Holly
--Why not adopt an unanswered post?-- |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Mon Aug 30, 2004 7:20 pm Post subject: |
|
|
Here's a neat time saving trick if you are making a new theme:
When switching from X back to the console (ctl-alt-f1) the framebuffer is refreshed using the .cfg file located in /etc/splash/whateverthemeyouarecurrentlyusing. So you can change the colors, sizes, images etc. by just editing the .cfg file you are using (example:1024x768.cfg-might be prudent to make a backup b4 you start editing) and just do a ctl-alt-f1 to see your changes.
When you are all done make a new theme dir (just thought of this-if you are using theme:default which is symlinked to the appropriate dir you can just change the symlink to point to your new theme dir and not have to worry about screwing the current 1 up) and generate a new initramfs, ready to go with a new theme. You will be only able to do 1 size at a time and only 1 mode at a time (silent or verbose). I use verbose not silent so I can adjust everything. If you are using silent you won't be able to change around the progress bar and see the differences (I'm assuming, never used silent). Good luck.
EDIT:see doc/splashutils/theme_format file for an explanation of all the options. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
dbasinge Tux's lil' helper
Joined: 04 Jul 2002 Posts: 86 Location: Salt Lake City, UT
|
Posted: Mon Aug 30, 2004 8:10 pm Post subject: |
|
|
Got it working, I have a wide screen laptop, and I finally found a vga setting it liked.
Mike _________________ D. Michael Basinger, RHCE
If at first you don't succeed, skydiving is not for you. - Anonymous |
|
Back to top |
|
|
|