Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Splash (background picture ala SuSE) -- Support
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 393
Location: Sigma 957

PostPosted: Tue Jan 28, 2003 2:54 am    Post subject: New Patch Reply with quote

Thought I'd seek help here. First off, I mentioned earlier that this bootsplash thing only supported unaccelerated drivers, and the author of this wonderful little program made a mention that Accelerated framebuffers had something to do with "Unicon". Now I know little about kernel code, and even less about framebuffer stuff, but I went to check out ftp://ftp.suse.com/pub/people/stepan/bootsplash/ yesterday, and lo and behold, there was a new patch, almost hidden at the top of the directory due to it's name. It's called "-". Yes, that's right, it's filename is a hyphen: ftp://ftp.suse.com/pub/people/stepan/bootsplash/-.

Anyways, I tried integrating this patch into a fresh vanilla 2.4.20 kernel tree, and got smacked back with about 18 rejected segments of code. The same thing occurred on 2.4.19 source tree. I figured since I know nothing at actually modifying patches to work, I'd drop my results/attempts here in the hope someone may fixup this patch in some form or another.

The reason for this, is scanning through the patch itself, I found mentionings of "UNICON" #defines and macros and whatnot, which signals to me that this patch may have support for accelerated framebuffers. My thinking is if this patch could somehow be merged (I think it may be against a SuSE 2.4.19 Kernel tree), all of us who prefer accelerated framebuffers would get to enjoy bootsplash as well. I can't prove this -- this is only mere speculation.

Anyways, the patch url is above, and below is my attempt to patch a vanilla 2.4.20 kernel with it.

Code:
[root@isengard linux-2.4.20]# cat ../../bootsplash.patch | patch -p1
patching file drivers/char/console.c
Hunk #1 succeeded at 3007 (offset -211 lines).
patching file drivers/video/Config.in
Hunk #1 succeeded at 222 with fuzz 1 (offset 11 lines).
Hunk #2 succeeded at 329 (offset 2 lines).
Hunk #3 succeeded at 357 (offset 11 lines).
patching file drivers/video/Makefile
Hunk #2 succeeded at 147 (offset 4 lines).
patching file drivers/video/fbcon-jpegdec.c
patching file drivers/video/fbcon-jpegdec.h
patching file drivers/video/fbcon-splash.c
patching file drivers/video/fbcon-splash.h
patching file drivers/video/fbcon-splash16.c
patching file drivers/video/fbcon.c
Hunk #1 succeeded at 76 (offset -6 lines).
Hunk #3 succeeded at 497 (offset -6 lines).
Hunk #5 succeeded at 559 (offset -6 lines).
Hunk #6 succeeded at 714 (offset -4 lines).
Hunk #7 succeeded at 796 (offset -7 lines).
Hunk #8 succeeded at 904 (offset -25 lines).
Hunk #9 FAILED at 944.
Hunk #10 FAILED at 969.
Hunk #11 FAILED at 1001.
Hunk #12 FAILED at 1072.
Hunk #13 FAILED at 1089.
Hunk #14 FAILED at 1112.
Hunk #15 FAILED at 1131.
Hunk #16 FAILED at 1152.
Hunk #17 FAILED at 1197.
Hunk #18 succeeded at 1045 (offset -197 lines).
Hunk #19 succeeded at 1237 (offset -25 lines).
Hunk #20 succeeded at 1076 (offset -197 lines).
Hunk #21 succeeded at 1265 (offset -25 lines).
Hunk #22 succeeded at 1112 (offset -197 lines).
Hunk #23 FAILED at 1277.
Hunk #24 FAILED at 1299.
Hunk #25 FAILED at 1320.
Hunk #26 FAILED at 1370.
Hunk #27 FAILED at 1393.
Hunk #28 FAILED at 1419.
Hunk #29 FAILED at 1508.
Hunk #30 FAILED at 1524.
Hunk #31 FAILED at 1544.
Hunk #32 succeeded at 1726 (offset -87 lines).
Hunk #33 succeeded at 1666 (offset -197 lines).
Hunk #34 succeeded at 1795 (offset -95 lines).
Hunk #35 succeeded at 1743 (offset -197 lines).
Hunk #36 succeeded at 1920 (offset -103 lines).
Hunk #37 succeeded at 1846 (offset -197 lines).
Hunk #38 succeeded at 1985 with fuzz 2 (offset -103 lines).
Hunk #39 succeeded at 1939 (offset -210 lines).
Hunk #40 succeeded at 2234 (offset -103 lines).
Hunk #41 succeeded at 2153 (offset -210 lines).
Hunk #42 succeeded at 2674 (offset -137 lines).
Hunk #43 succeeded at 2865 (offset -210 lines).
18 out of 43 hunks FAILED -- saving rejects to file drivers/video/fbcon.c.rej
patching file include/video/fbcon.h
[root@isengard linux-2.4.20]#


If someone would care to step up to the plate and take a whack at getting this patch to work, we might see whether or not it'd work for accelerated framebuffers (we can only hope).

--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
qualis
n00b
n00b


Joined: 28 Jan 2003
Posts: 3
Location: Hong Kong

PostPosted: Wed Jan 29, 2003 9:03 am    Post subject: Boot Splash (1600x1200) Reply with quote

I would like to bootsplash gentoo on my sony vaio's 1600x1200 uxga - but all the docs and discussions seem to end at lower modes. Anyone have any success here.

SYSTEM:
Grub
2.4.20-gentoo-r1 kernel
ramdisk (enlarged) support and initrd support built-in
radeon fb built-in with tux replaced with gentooG penguin.

Q.1 Does this kernel need patching in any way to support bootsplashes?
Q.2 Is there any fundamental limitation on the size of the bootsplash image given the scripts mentioned in the SUSE bootsplash discussion?

This is my first post - be gentle! :oops:
Back to top
View user's profile Send private message
qualis
n00b
n00b


Joined: 28 Jan 2003
Posts: 3
Location: Hong Kong

PostPosted: Wed Jan 29, 2003 10:04 am    Post subject: BootSplash Re(1600x1200) Reply with quote

:x I can see that 1600x1200 is just not possible at the mo! (just reread the entire thread). Any chance for including this mode in the next ebuild of bootsplash? :roll: I'm sure there are many out there in Gentoo land with large monitors. :twisted: Shall check thread for further updates.
Back to top
View user's profile Send private message
tkdack
n00b
n00b


Joined: 12 Apr 2002
Posts: 44
Location: Sydney, Australia

PostPosted: Wed Jan 29, 2003 2:08 pm    Post subject: Reply with quote

Quote:
Any chance for including this mode in the next ebuild of bootsplash?


I can make 1600x1200 images but I don't know if the VESA fb driver will go up to 1600x1200.

Currently the images are limited to the VESA driver and won't work with the accellerated fb drivers (rivafb etc)
_________________
Troy
http://linux.tkdack.com

Former Gentoo contributor TaD


Last edited by tkdack on Wed Jan 29, 2003 7:52 pm; edited 2 times in total
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Wed Jan 29, 2003 5:57 pm    Post subject: Reply with quote

Quote:
I can make 1600x1200 images but I don't know if the VESA fb driver will go up to 1600x1200.


I don't think the vesafb goes that high.
/usr/src/linux/Documentation/fb/vesafb.txt only mentions resolutions
up to 1280x1024. Although I found a chart using google that went up to 1600x1200. You can try using vga=798. That should give you 1600x1200
using 65k colors. I tried it on my machine, but it didn't work.
Back to top
View user's profile Send private message
qualis
n00b
n00b


Joined: 28 Jan 2003
Posts: 3
Location: Hong Kong

PostPosted: Thu Jan 30, 2003 2:27 am    Post subject: Reply with quote

Quote:
try using vga=798. That should give you 1600x1200
using 65k colors

Thanks for the reply. I shall research acceleration (vesa and beyond) and see what possibilities exist now, or in the near future. vga=79x shows the framwork is in place, just need to push the envelope a touch. It is definately worth extending the eye-candy to larger monitors - LCD uxga at 1600x1200 is phenominal :twisted: Would like to see Gentoo with kickass intro. :lol: ... Cheers
Back to top
View user's profile Send private message
lfc.messiah
n00b
n00b


Joined: 17 Jan 2003
Posts: 4

PostPosted: Sun Feb 02, 2003 7:56 pm    Post subject: Re: Boot Splash (background pic ala Suse) TIP of the YEAR! Reply with quote

kachaffeous wrote:
Boot Splash (background picture ala Suse)


    Block Devices -> RAM disk support
    Block Devices -> Loopback device support
    Block Devices -> Initial RAM disk (initrd) support
    Console Drivers -> Video mode selection support
    Console Drives -> Frame-buffer support -> Support for frame buffer devices
    Console Drives -> Frame-buffer support -> VESA VGA graphics console
    Console Drives -> Frame-buffer support -> Use splash screen instead of boot logo




Uhm, the first four things are no problem to setup. But then I wanted to set up the Frame-Buffer-Setup and have been very surprised, that this button was greyed out ie. I can't press it !

Is there another Option that is required to be changed before I can enter the Frame-Buffer-Support options ?

Thanks a lot and please excuse my bad English.

--
lfc.messiah
Back to top
View user's profile Send private message
lfc.messiah
n00b
n00b


Joined: 17 Jan 2003
Posts: 4

PostPosted: Sun Feb 02, 2003 8:15 pm    Post subject: Re: Boot Splash (background pic ala Suse) TIP of the YEAR! Reply with quote

Ok, I already found it.
I had to enable Code maturity options blah 8)
Back to top
View user's profile Send private message
bverheg
n00b
n00b


Joined: 01 Sep 2002
Posts: 39
Location: Vlaanderen

PostPosted: Thu Feb 13, 2003 1:34 pm    Post subject: bootsplash with LVM initrd Reply with quote

arkane wrote:
If you are running LVM, you already have an initrd setup. (it's used to run vgscan and so forth to setup the Volume Groups on boot, etc) Now, with this, it tells you to make an initrd called /boot/initrd, but what if you already have an initrd setup?
...
Is there a way to implement it into a currently existing initrd?
Or, better yet, is there a "splash=" parameter pass or some form to tell the kernel where the boot splash image is?


Here's how to do it:
- gunzip your LVM initrd and mount it through loopback
- cp /bin/splash and /usr/share/bootsplash-04/* to it
- add the following command to linuxrc (after the mount /proc command!!)
Code:
/bin/splash -s /usr/share/bootsplash-0.4/gentoo-boot-1024x768.cfg

- unmount and gzip the LVM initrd
- if you use LILO, rerun lilo

Of course, it will suffice to only copy the .cfg and .jpg files that you actually use to the initrd. This will keep its size marginally smaller.
Back to top
View user's profile Send private message
TheMad
n00b
n00b


Joined: 25 Jan 2003
Posts: 16

PostPosted: Fri Feb 14, 2003 5:39 am    Post subject: Reply with quote

I've been having trouble getting the 0.4 ebuild to work.

I'm using the vanilla 2.4.20 sources. I emerged the ebuild and then ran that config thing for it. After which, I compiled my kernel with all the required things turned on. It compiled without incident and I copied the bzImage and whatnot. I made sure the initrd is in my boot folder. However, when I boot up gentoo, it says its uncompressing Gentoo and then the screen goes black. Like, it goes black as in its turning off (or changing its mode) then it goes sorta dark greyish black as in "turned on but displaying RGB(0,0,0) which doesn't appear quite black because the brightness is turned up a bit". At this point I can't tell if anything is happening or not. Ctrl Alt Delete does nothing, so I end up manually rebooting my machine.

I'm using lilo.conf and it reads as follows:

boot=/dev/hda
map=/boot/map
prompt
nowarn
timeout=1200
message = /boot/boot_message.txt
menu-scheme=wb:bw:wb:bw
ignore-table
disk=/dev/hdd bios=0x82
# Linux bootable partition config begins

#image = /boot/vmlinuz5
#root = /dev/hdb5
#label = Old_Slack
#read-only

image = /boot/vmlinuz2
root = /dev/hdb5
label = Slackware_Linux
read-only
# Linux bootable partition config ends

# Perhaps this will boot Windows, who knows?
other=/dev/hda1
label=WindowsXP
table=/dev/hda
# End the stuff ripped out of the other lilo.conf

# Gentoo
image = /boot/gkernel
root = /dev/hdb7
label = Gentoo_Linux
vga = 791
initrd = /boot/initrd
read-only

Thanks for any help in advance.

TheMad
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Tue Feb 18, 2003 6:41 pm    Post subject: Any update on the accell-fb? Reply with quote

Anyone got any update about bootsplash and accellerated fb?
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Wed Feb 19, 2003 1:18 pm    Post subject: Re: Any update on the accell-fb? Reply with quote

Joffer wrote:
Anyone got any update about bootsplash and accellerated fb?


I got it working with a few different kernels and rivafb ...but problems associated with rivafb and X made me go back to vesa fb ...:( , couldnt get it to apply to WOLK kernel as they have moved stuff around in the video/fb headers :(
If anyone has got the bootsplash patch to apply clean to the WOLK kernel id be interested to know. the best I could get was the patch to apply but a screwed looking bootlogo and that was about it ..that was by copying in vanilla 2.4.20 video stuff ...
Cheers
Dale
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
atac
Apprentice
Apprentice


Joined: 04 Jan 2003
Posts: 234
Location: haninge, swe

PostPosted: Fri Feb 21, 2003 12:05 pm    Post subject: Reply with quote

anyone know if you can make it look like redhat ?
they don't have a image for the whole console, just
a "frame" in the top of the screen with some image.
_________________
1 + 1 + 1 = 11
Back to top
View user's profile Send private message
DVD
n00b
n00b


Joined: 21 Feb 2003
Posts: 1

PostPosted: Fri Feb 21, 2003 3:22 pm    Post subject: Reply with quote

Hy

I follow this procedure until this
Code:
 splash -s -u 1 /usr/share/splash/bootsplash.cfg
code. Than i have an error message
Code:
/proc/splash: No such file or directory
. I dont know what i do wrong. So please help me.

i dont want to give my dmesg with this post, because its very big. Have somebody a ideea. What i did wrong? Sorry my englisch isnt very well.
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Fri Feb 21, 2003 4:36 pm    Post subject: Reply with quote

Hmmm, that seems to me like the kernel was never reconfigured and recompiled. Did you configure the kernel for the splashscreen? I don't think you have to patch the kernel anymore since the ebuild does it for you, but you still have to edit and compile the kernel yourself.

Also if you are a lilo user, make sure you run lilo after compiling the kernel. I forgotten to do that so many times :).
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Fri Feb 21, 2003 11:57 pm    Post subject: no /proc/splash Reply with quote

Hi
I recently emerged bootsplash-0.4, did the ebuild config on it, enabled all the kernel options that were mentioned in the docs (I use grub) and I get an error saying /proc/splash couldn't be found (Same problem as DVD above). Hopefully someone can help me figure this out.


-Mike
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Sat Feb 22, 2003 5:33 am    Post subject: Reply with quote

Did you actually recompile the kernel? You said that you enabled the kernel options, but did you compile with the new options and copy the bzImage to your /boot folder?
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Sat Feb 22, 2003 4:53 pm    Post subject: Reply with quote

I did recompile the kernel


-Mike
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Tue Feb 25, 2003 2:53 am    Post subject: Reply with quote

I am having problems getting this working with a custom image. I followed the directions and it worked fine with the default images. I made my own and wrote up a .cfg for it, created the symlinks, ran splash -s -f bootsplash.jpg > initrd, mounted /boot copied the initrd over reboot and nothing, no errors in dmesg no nothing, although it does give the kernel version above the normal boot logo now. Anyone have any clue whats wrong? The images is 1280x1024 and my fb is 1280x1024. Anyone have any ideas at all?
Back to top
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Tue Feb 25, 2003 5:51 am    Post subject: Reply with quote

Okay n/m I forgot I changed it back to a 24bpp framebuffer, does anyone know why this wont work on a 24bpp fb? I also cant wait untill I can get an accelerated frame buffer because I never really noticed how slow it was. Here is a link to a screenshot of my console.

http://130.13.102.100:8090/index.php?page=screenshot-archives
Back to top
View user's profile Send private message
carambola5
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 214
Location: Madtown, WI

PostPosted: Wed Feb 26, 2003 12:17 am    Post subject: Reply with quote

So, I just got a laptop that has a widescreen LCD on it. Dimensions: 1280x854

Seem a little different than your normal resolution? Yeah, me too. I've tried getting this thing to work on it using the standard resolutions in my grub.conf file: 1280x1024 and 1024x768, but whenever it boots into those, I see a quick flash of "Loading from initrd.01" (i use initrd.01 as my ramdisk filename), then the screen goes blank.

Any ideas on how to get this to work?
_________________
Get Firefox!

Proper Web Development

I'm done at 999.
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Fri Feb 28, 2003 12:25 am    Post subject: Reply with quote

hi guys, I had this working once (I previously posted on this thread), but ever since I upgraded to 1.4rc2 (and a new kernel) it got broken... I have since emerged bootsplash and followed all the instructions but the image simply does not appear (all I get is the standard linux penguin at the top of the screen... and yep, I did enable the use splash instead of boot logo option)... here is the output of dmesg:

Code:

Looking for splash picture.... no good signature found.
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device


here's my grub.conf:
Code:

title=Gentoo Linux
root (hd0,5)
kernel /boot/bzImage root=/dev/hda7 hdc=ide-scsi hdd=ide-scsi vga=791 video=vesa:1024x768@70
initrd=/initrd


EDIT:
I was able to get it working again by retracing the steps on the beggining of this thread... but I believe it can only be one of two things:
1 - the patch file included with the bootsplash ebuild still refers to 2.4.19-vanilla
2 - if the splash -s -f bootsplash.cfg etc step is not made automatically by the bootsplash ebuild, I didn't do it myself, so that could be it too
Back to top
View user's profile Send private message
xpender
n00b
n00b


Joined: 18 May 2002
Posts: 17
Location: Bayern, Germany

PostPosted: Sat Mar 01, 2003 7:42 pm    Post subject: Reply with quote

Uranus wrote:

Code:

title=Gentoo Linux
root (hd0,5)
kernel /boot/bzImage root=/dev/hda7 hdc=ide-scsi hdd=ide-scsi vga=791 video=vesa:1024x768@70
initrd=/initrd



Set vga to 0x31A. This should be working. Because vga=791 is vga=0x31B

Now my own question, is there any patch for Kernel 2.5.59 and up?
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Sat Mar 01, 2003 9:23 pm    Post subject: Reply with quote

Ok, I fixed the problem (recompiled gentoo 4-5 times) and it works perfectly. Anyone out there know what the limits on picture size/quality and stuff like that are? I get errors like "no good signature found" and "error while decompressing" when I try to use other pictures.

EDIT:
I found an earlier post that solves this problem. Just emerge imagemagick, then type
Code:
convert -depth 24 [picturenamehere].jpg [outfilenamehere].jpg

to convert it to 24 bit.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
poichr
n00b
n00b


Joined: 22 Feb 2003
Posts: 13
Location: Ottawa, Canada

PostPosted: Mon Mar 03, 2003 8:02 pm    Post subject: Reply with quote

I got it working on my install and it looks sweet!

Only problem is that now my mouse doesn't work!!! :evil:

I'm running Gentoo 1.4_rc2 with a Logitech Cordless Mouse/Keyboard.
I had the mouse working with the hid module before, and now it doesn't work at all!

All I changed in the kernel config was the parts that were in the original post:

Block Devices -> RAM disk support
Block Devices -> Loopback device support
Block Devices -> Initial RAM disk (initrd) support
Console Drivers -> Video mode selection support
Console Drives -> Frame-buffer support -> Support for frame buffer devices
Console Drives -> Frame-buffer support -> VESA VGA graphics console
Console Drives -> Frame-buffer support -> Use splash screen instead of boot logo

Anyone else get this problem?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 4 of 8

 
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