View previous topic :: View next topic |
Author |
Message |
marvin n00b
Joined: 29 Jan 2003 Posts: 58
|
Posted: Mon May 19, 2003 12:08 pm Post subject: |
|
|
The progressbar worked for me with gentoo-sources-2.4.20-r2 and the bootsplash-patch-0.1 but after an update to gentoo-sources-2.4.20-r5 the silent-bootsplash-picture and the progress bar don't show up anymore.
Instead there are strange messages in the kernel-log:
Code: | May 19 12:40:42 xi kernel: Kernel command line: root=/dev/hda3 hdc=ide-scsi hdd=ide-scsi video=ywrap,mtrr,vesa:1280x1024@60 vga=0x31A splash=silent
...
May 19 12:40:43 xi kernel: vesafb: framebuffer at 0xf0000000, mapped to 0xe0800000, size 2560k
May 19 12:40:43 xi kernel: vesafb: mode is 1280x1024x16, linelength=2560, pages=11
May 19 12:40:43 xi kernel: vesafb: protected mode interface info at c000:5417
May 19 12:40:43 xi kernel: vesafb: scrolling: redraw
May 19 12:40:43 xi kernel: vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
May 19 12:40:43 xi kernel: Looking for splash picture.... silenjpeg size 20209 bytes, does not fit into framebuffer.
May 19 12:40:43 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:43 xi kernel: Console: switching to colour frame buffer device 153x54
May 19 12:40:43 xi kernel: fb0: VESA VGA frame buffer device
...
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 0 changed to on
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 1 changed to on
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 2 changed to on
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 3 changed to on
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 4 changed to on
May 19 12:40:48 xi kernel: Looking for splash picture.... does not fit into framebuffer.
May 19 12:40:48 xi kernel: found (1280x1024, 26385 bytes, v3).
May 19 12:40:48 xi kernel: Splash status on console 5 changed to on
|
What does "does not fit into framebuffer" mean and why does it show up now? The only thing I changed in kernel config was something with serial ports.
btw: Thanks for the great work. I hope this goes into the baselayout package soon (perhaps with a USE flag).
Stephan |
|
Back to top |
|
|
iwasbiggs Apprentice
Joined: 17 Jan 2003 Posts: 203
|
Posted: Wed May 21, 2003 6:52 pm Post subject: |
|
|
Works awesome with default settings (though it was time I re-emerged my baselayout)!
Thank you very much.
(Using vanilla sources) _________________ www.ruinedsoft.com
Freeware development. |
|
Back to top |
|
|
searcher Apprentice
Joined: 13 Mar 2003 Posts: 175 Location: NL
|
Posted: Mon Jun 02, 2003 10:34 pm Post subject: |
|
|
marvin wrote: | What does "does not fit into framebuffer" mean and why does it show up now? The only thing I changed in kernel config was something with serial ports. |
I'm have the same problem using 2.4.20-gentoo-rc5. I guess i'd better try downgrading at this point back to rc2, see if that makes a difference. For people interested, i'm trying to solve this thing here _________________ You are unique ... just like everyone else. |
|
Back to top |
|
|
phlashback Tux's lil' helper
Joined: 27 Jul 2002 Posts: 142 Location: Normal
|
Posted: Mon Jun 09, 2003 10:32 pm Post subject: |
|
|
I think that I am the one that pushed for the thing that broke silent mode for all you guys. When using a video card w/ 128MB ram on a system w/ more thatn 832MB system ram, vesafb fails to initalize leaving us with that in a dark whole untill we startx
I have created a new patch that may work around this problem.
Unfortunatly bugs.gentoo.org is down write now, but if any body is interested to play with it pm me....
maby we can get silent mode for you, and keep my happy penguins counting my procs
Sorry for killing a feature on you, but I am sure you understand why it might have happend...
good luck
hear is the patch, If you want to try it by hand (copy and past seems to cause problems off the boards I have found...
if you want me to send you the file, just ask.. and I will try to help
--------------------------------------------------------------
Code: | diff -urN linux-2.4.20-gentoo-r5/drivers/video/Config.in linux-2.4.20-gentoo-r5_patched/drivers/video/Config.in
--- linux-2.4.20-gentoo-r5/drivers/video/Config.in 2003-06-09 18:08:56.000000000 -0500
+++ linux-2.4.20-gentoo-r5_patched/drivers/video/Config.in 2003-06-09 14:03:02.000000000 -0500
@@ -101,7 +101,10 @@
tristate ' TGA framebuffer support' CONFIG_FB_TGA
fi
if [ "$CONFIG_X86" = "y" ]; then
- bool ' VESA VGA graphics console' CONFIG_FB_VESA
+ tristate ' VESA VGA graphics console' CONFIG_FB_VESA
+ if [ "$CONFIG_FB_VESA" != "n" ]; then
+ int ' remap x times the graphics memory needed' CONFIG_FB_VESA_VIDSIZE 1
+ fi
tristate ' VGA 16-color graphics console' CONFIG_FB_VGA16
tristate ' Hercules mono graphics console (EXPERIMENTAL)' CONFIG_FB_HGA
define_bool CONFIG_VIDEO_SELECT y
diff -urN linux-2.4.20-gentoo-r5/drivers/video/vesafb.c linux-2.4.20-gentoo-r5_patched/drivers/video/vesafb.c
--- linux-2.4.20-gentoo-r5/drivers/video/vesafb.c 2003-06-09 18:08:56.000000000 -0500
+++ linux-2.4.20-gentoo-r5_patched/drivers/video/vesafb.c 2003-06-09 14:04:59.000000000 -0500
@@ -520,7 +520,7 @@
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
- video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8;
+ video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8 * CONFIG_FB_VESA_VIDSIZE;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
|
|
|
Back to top |
|
|
furanku l33t
Joined: 08 May 2003 Posts: 905 Location: Hamburg, Germany
|
Posted: Wed Jun 11, 2003 8:30 am Post subject: |
|
|
Thanks a lot!
That patch solved the "splash picture does not fit into framebuffer" problem for my Kernel 2.4.20-gentoo-r5, Baselayout 1.8.6.8-r1, 256 MB RAM, GeForce 2 MX (64 MB) System.
Good work, phlashback
Frank |
|
Back to top |
|
|
mojo n00b
Joined: 21 Nov 2002 Posts: 47 Location: Heidelberg, Germany
|
Posted: Thu Jun 12, 2003 5:48 pm Post subject: |
|
|
phlashback:
nicd to see that the patch mentioned here for wolk is now available for the gentoo-sources.
but i think you can have it a lot easier with modifing the kernel line this way:
video=vesa:vram:x |
|
Back to top |
|
|
LinuxDolt Tux's lil' helper
Joined: 05 May 2003 Posts: 104
|
Posted: Thu Jul 24, 2003 5:27 pm Post subject: |
|
|
how do you apply this patch? i do not know how to manually patch my kernel... |
|
Back to top |
|
|
Styles Tux's lil' helper
Joined: 04 Jun 2002 Posts: 82
|
Posted: Wed Jul 30, 2003 3:23 pm Post subject: |
|
|
hmmm tried to patch my gentoo r5 kernel with the above but a hunk got rejected.
Code: |
***************
*** 520,526 ****
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
- video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
--- 520,526 ----
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
+ video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8 * CONFIG_FB_VESA_VIDSIZE;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
|
Any ideas
phlashback ???
Quote: |
LinuxDolt
how do you apply this patch? i do not know how to manually patch my kernel...
|
I just saved the above in a file named fb-kernel-patch-gentoo-r5.diff
then
Code: |
patch -p1 -d /usr/src/linux < fb-kernel-patch-gentoo-r5.diff
|
Which did not work for me something dose not like one line. |
|
Back to top |
|
|
LinuxDolt Tux's lil' helper
Joined: 05 May 2003 Posts: 104
|
Posted: Thu Jul 31, 2003 10:56 am Post subject: |
|
|
i had finally gotten it to patch... but then vesafb was COMPLETLY borked on me... so i just tossed the kernel into /dev/null and started over... i'm using the newer gs-sources without a hitch... just follow all the silly patching guides other then this one and you should get a good one going. also the gs-sources seem to have improved my system all-around... but that may just be me getting better at this kernel stuff (this was like my 60th kernel by now, all within 2yrs ) |
|
Back to top |
|
|
Styles Tux's lil' helper
Joined: 04 Jun 2002 Posts: 82
|
Posted: Thu Jul 31, 2003 3:13 pm Post subject: |
|
|
hmmm... I got mine to work with the gentoo sources.... I'll DL gs-sources now and see if there is a diffrence.
I need all the performace I can get, I'm running duron 800 overclocked to 1GHz, & this box is going to be my mythtv home theater setup. As for a projector I'm using the InFocus X1 I picked up for $500.. should be sweet when done and tweaked. |
|
Back to top |
|
|
LinuxDolt Tux's lil' helper
Joined: 05 May 2003 Posts: 104
|
Posted: Fri Aug 01, 2003 4:38 am Post subject: |
|
|
i'm running a p3 933 MHz coppermine... (coined the 933XL for some stupid reason, prolly because it is not a standard processing speed...)
i actually only get 930 MHz tho... what happened to my other 3 MHz i have no clue... if i can get proper cooling installed i want to overclock to 1 GHz, but Gateway's cooling system is really bad.
my gfx card is a generic GeForce4 TI 4200 w/ the default 128MB vram... |
|
Back to top |
|
|
art n00b
Joined: 22 Jun 2002 Posts: 47 Location: Ma
|
Posted: Wed Aug 06, 2003 8:06 pm Post subject: bootsplash progress bar |
|
|
Thanks micha,
downloaded your script, I have different baselayout,(1.8.6.4) choose 1.8.6.*
first, didn't work, 1.8.5.* did
thanks again _________________ ABS AMD 64 FX 51 SK8N M/B 2 Maxtor 250GB
SATA drives GeForce FX 5900 Ultra 1 GB Corsair 3200 dual channel Sony DVD +- RW |
|
Back to top |
|
|
MOS-FET Apprentice
Joined: 20 May 2003 Posts: 291 Location: Cologne, Germany
|
Posted: Fri Sep 05, 2003 1:07 am Post subject: |
|
|
uff, guys, i'm confused :-) please help me!! i have gentoo-sources r6 and bootsplash is working fine, but i'd love to have this silent bootsplash. so which patch do i need and how do i apply it? i may try the r5 patch. what if this patch doesn't work, how can i remove it?
thanks
tom |
|
Back to top |
|
|
soNNe n00b
Joined: 26 May 2003 Posts: 64 Location: Odense, Denmark
|
Posted: Fri Sep 05, 2003 8:34 pm Post subject: |
|
|
i use gentoo-sources-r6 and i also have the problem.
Splash picture dosn't fit into framebuffer!
i have tryed with this patch https://bugs.gentoo.org/show_bug.cgi?id=19061
but then i can't compile anymore |
|
Back to top |
|
|
ralphjjr n00b
Joined: 18 Sep 2003 Posts: 1
|
Posted: Thu Sep 18, 2003 8:32 pm Post subject: |
|
|
i am running gentoo-sources 2.4.20-r7 and the patch is not working. Obviously it was written for r5 and below. Are there any for r7? |
|
Back to top |
|
|
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Thu Sep 25, 2003 11:51 pm Post subject: |
|
|
ralphjjr wrote: | i am running gentoo-sources 2.4.20-r7 and the patch is not working. Obviously it was written for r5 and below. Are there any for r7? |
Phlashback's patch works great with gentoo-sources 2.4.20-r7. I've just tried it.
But after patching the kernel you have to run "make menuconfig" in "/usr/src/linux" and maybe change a value:
Console drivers --->
Frame-buffer support --->
[*] VESA VGA graphics console
(1) remap x times the graphics memory needed
If the silent splash doesn't work with these standard values then increase the value "remap x times the graphics memory needed".
For me it worked with the value 2.
In case there are some people who don't know how to change this value:
Just mark the line, hit Enter and enter the new value.
But I have a question, too. Is it possible to activate the silent splash only at boot time and to deactivate it when Linux shuts down?
And another question that's concerned with this thread only indirectly. Does anyone know where I can get the silent splash picture from the Live CD? |
|
Back to top |
|
|
stip n00b
Joined: 15 Jul 2003 Posts: 53
|
Posted: Fri Sep 26, 2003 7:36 am Post subject: |
|
|
I was just wondering, is there a way to prevent the splash screen from switching back to console before loading the Xserver? Everything else works just fine.
@cyberpatrol
If you copy the initrd.1024 file from the LiveCD (isolinux-folder) into /boot and adjust your grub.conf to use this file, you should have exactly what you asked for (although I'm not completely sure about the shutdown). |
|
Back to top |
|
|
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Fri Sep 26, 2003 1:07 pm Post subject: |
|
|
Of course I've tried this but somehow I have the feeling that booting Linux takes much longer with the initrd.1024 from the Live-CD than with the initrd generated by splash.
So I'd like to have this Live-CD silent splash picture as a jpeg. |
|
Back to top |
|
|
stip n00b
Joined: 15 Jul 2003 Posts: 53
|
Posted: Fri Sep 26, 2003 2:07 pm Post subject: |
|
|
I don't know where you get the original jpg of the LiveCD-bootsplash, but if you look in the following thread, you will find a link to a screenshot. Just save it, cut it, modify it a little and there you go. But I have no idea how separate the bootsplash for boot and shutdown. If you find out how this works, please let me know.
https://forums.gentoo.org/viewtopic.php?t=73861&highlight=bootsplash |
|
Back to top |
|
|
orzetto Apprentice
Joined: 05 Mar 2003 Posts: 165 Location: Magdeburg, Germany
|
Posted: Tue Sep 30, 2003 1:10 am Post subject: |
|
|
Styles wrote: | hmmm tried to patch my gentoo r5 kernel with the above but a hunk got rejected.
Code: |
***************
*** 520,526 ****
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
- video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
--- 520,526 ----
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
+ video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8 * CONFIG_FB_VESA_VIDSIZE;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
|
Any ideas
phlashback ???
|
M3 n0 h4x0r, but I think that there is one space too much in phlashback's indentation in his original code in that part. It seems that the patch command is quite sensitive to this, probably because it considers the lines with e.g. video_width and a space too much before it different from the ones in the kernel.
Just speculating though, I entered the variations manually since patch was not working for me either, and there is no way in hell I'll risk messing up too much with things I don't really understand fully.
Regards
-Federico _________________ Why is everybody always generalising? |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Sun Nov 23, 2003 10:51 pm Post subject: |
|
|
mine died too; i'm using r8
Code: | root@Helix# cat drivers/video/vesafb.c.rej
***************
*** 520,526 ****
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
- video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
--- 520,526 ----
video_width = screen_info.lfb_width;
video_height = screen_info.lfb_height;
video_linelength = screen_info.lfb_linelength;
+ video_size = screen_info.lfb_width * screen_info.lfb_height * video_bpp / 8 * CONFIG_FB_VESA_VIDSIZE;
video_visual = (video_bpp == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
|
EDIT: i just patched it by hand, but the compile errors out with:
Code: | vesafb.c: In function `vesafb_init':
vesafb.c:523: error: `CONFIG_FB_VESA_VIDSIZE' undeclared (first use in this function)
vesafb.c:523: error: (Each undeclared identifier is reported only once
vesafb.c:523: error: for each function it appears in.)
make[3]: *** [vesafb.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/drivers'
make: *** [_dir_drivers] Error 2
|
i'm going to take a look at that when i'm not busy |
|
Back to top |
|
|
stip n00b
Joined: 15 Jul 2003 Posts: 53
|
Posted: Wed Nov 26, 2003 9:32 am Post subject: |
|
|
have you also patched the file /usr/src/linux/drivers/video/Config.in as mentioned in phlashback's post above?
Try patching the files manually, worked fine for me. _________________ The answer is 42. But what was the question? |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Thu Nov 27, 2003 1:34 am Post subject: |
|
|
sorry. no problem; i just had to set the option in menuconfig, and then it compiled fine...
but i have no progressbar or animations |
|
Back to top |
|
|
stip n00b
Joined: 15 Jul 2003 Posts: 53
|
Posted: Thu Nov 27, 2003 9:11 am Post subject: |
|
|
check out the following page
[url]
http://www.aichler.net/gentoo/bootsplash/
[/url]
you'll find a patch there for the progressbar. all necessary documentation included. _________________ The answer is 42. But what was the question? |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Thu Nov 27, 2003 3:24 pm Post subject: |
|
|
yea, i tried that a while ago; it won't work on my version of baselayout (1.8.6.10-r1) |
|
Back to top |
|
|
|