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, 4, 5 ... 25, 26, 27  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
linde002
n00b
n00b


Joined: 13 Jan 2003
Posts: 62

PostPosted: Mon Jun 16, 2003 10:56 am    Post subject: Reply with quote

And now for something completely different.

I would like to know if i am allowed to translate this to dutch and than place it on: forum.nedlinux.nl and wiki.nedlinux.nl and if so, who do i give credit to?

however there are some issues with licenses on wiki.nedlinux.nl so I have to ask you, are you ok with the editing of your howto? (you will be credited for your original work but after the first change a extra author (NedDocWiki) will be added).

btw: I have gotten Mplayer to work under FB, just use mplayer -vo fbdev [file] instead of svga, my screen shuts down if I use svga.

Hint: if you want something funny just download one of them stickmen movies and use -vo aa, this will give you some funny ascii stickfights.

-Robert
Back to top
View user's profile Send private message
evilbadz
n00b
n00b


Joined: 22 Jun 2003
Posts: 1

PostPosted: Sun Jun 22, 2003 10:12 pm    Post subject: Reply with quote

http://www.iDispatch.net/pwn.png

My little console :)
Back to top
View user's profile Send private message
medlor
n00b
n00b


Joined: 08 Aug 2002
Posts: 20

PostPosted: Tue Jun 24, 2003 2:21 pm    Post subject: patch file for 2.4.21 vanilla kernel Reply with quote

Hello

If have modified the "bootsplash-3.0.7-2.4.20-vanilla.diff"
file needed to patch the kernel and produced one which
can be used for the new vanilla 2.4.21 kernel.

The diff can be found at
https://bugs.gentoo.org/show_bug.cgi?id=23369 .

As a workaround until the package is updated in portage simple do:
instead of
$ ebuild /var/db/pkg/media-gfx/bootsplash-0.6/bootsplash-0.6.ebuild config
do
$ cd /usr/src/linuc
$ patch -p1 < path_and_filename_of_diff

All other steps are as mentioned.

Have fun
Back to top
View user's profile Send private message
god8y
n00b
n00b


Joined: 24 Jun 2003
Posts: 71

PostPosted: Wed Jun 25, 2003 8:27 pm    Post subject: Reply with quote

Hey,
I got the bootsplash working, it's very nice but when I try to go from my X server to console and back to X I can't get in X anymore. I have the latest updates, using the nvidia kernel and glx and gentoo-sources kernel. I hope someone can help me with this (I didn't had this before the bootsplash and then I already had svga framebuffer compiled in the kernel (so that aint it because there were some glitches with that i heard).

-SOLUTION-
Just don't try to be smart and dont add the tty7 in /etc/inittab because it 'locks' the shell to not go to your X server again I think.

-SCREENSHOT-


Last edited by god8y on Wed Jun 25, 2003 8:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Jun 25, 2003 8:29 pm    Post subject: Re: patch file for 2.4.21 vanilla kernel Reply with quote

medlor wrote:
Hello

If have modified the "bootsplash-3.0.7-2.4.20-vanilla.diff"
file needed to patch the kernel and produced one which
can be used for the new vanilla 2.4.21 kernel.

The diff can be found at
https://bugs.gentoo.org/show_bug.cgi?id=23369 .

As a workaround until the package is updated in portage simple do:
instead of
$ ebuild /var/db/pkg/media-gfx/bootsplash-0.6/bootsplash-0.6.ebuild config
do
$ cd /usr/src/linuc
$ patch -p1 < path_and_filename_of_diff

All other steps are as mentioned....


worked like a charm...thx!
_________________
while(true) {self.input(sugar);} :twisted:
Back to top
View user's profile Send private message
SPo0n
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 85
Location: England

PostPosted: Fri Jun 27, 2003 8:50 am    Post subject: Reply with quote

linde002 wrote:
And now for something completely different.

I would like to know if i am allowed to translate this to dutch and than place it on: forum.nedlinux.nl and wiki.nedlinux.nl and if so, who do i give credit to?

however there are some issues with licenses on wiki.nedlinux.nl so I have to ask you, are you ok with the editing of your howto? (you will be credited for your original work but after the first change a extra author (NedDocWiki) will be added).

btw: I have gotten Mplayer to work under FB, just use mplayer -vo fbdev [file] instead of svga, my screen shuts down if I use svga.

Hint: if you want something funny just download one of them stickmen movies and use -vo aa, this will give you some funny ascii stickfights.

-Robert


I'm sure if you either linked here or copied it from here and linked as "english version" or something, and mentioned the authors name(s) there'd be no problems.
Back to top
View user's profile Send private message
clumsyninja
n00b
n00b


Joined: 27 Jun 2003
Posts: 61
Location: North Texas

PostPosted: Fri Jun 27, 2003 8:43 pm    Post subject: Reply with quote

thanks for the great how-to!
:D :D :D :D
my laptop is soooo purty is disabled xdm just so i would work in the shell more instead of X.

my windoze friends think i'm all 1337 now (little do they know! :oops: )

i would post a screeny but it would look like about 12 other peoples that have already posted, so i will save the bandwidth :)

cn
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1398
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Jul 24, 2003 6:11 pm    Post subject: Reply with quote

For directions on how to use an existing initrd and append the bootsplash image please see this helpful post.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
Malketh
n00b
n00b


Joined: 30 Apr 2003
Posts: 18

PostPosted: Wed Jul 30, 2003 6:50 am    Post subject: Reply with quote

Okay folks. Ran across an odd problem and just now got it fixed. If you happen to get an error 'while decompressing picture' make sure the jpeg you are using has a resolution of 96x96 as the first one I tried was 300x300.

IMPORTANT: The resolution above is NOT image size (e.g. 1024x768, 1280x1024, etc) but is instead pixels per inch (I think). In PhotoImpact this is under the Format->Resolution option. Can't find the same thing in Photoshop, and I don't have gimp running yet so that's the best I can do at the moment.

For those curious as to what images I tried using that had that 300x300 resolution they are the official Jedi Outcast wallpapers.


Last edited by Malketh on Tue Jan 06, 2004 9:20 am; edited 1 time in total
Back to top
View user's profile Send private message
mvc
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 98
Location: Portugal

PostPosted: Fri Aug 01, 2003 3:01 pm    Post subject: Reply with quote

Patch doesn't work for vanilla-sources 2.4.21:

Code:

 *
 * Patching the kernel in /usr/src/linux ...
 *
patching file drivers/char/console.c
patching file drivers/char/keyboard.c
Hunk #1 succeeded at 251 (offset 12 lines).
patching file drivers/char/n_tty.c
patching file drivers/video/Config.in
Hunk #1 succeeded at 229 (offset 7 lines).
Hunk #2 FAILED at 347.
Hunk #3 FAILED at 366.
2 out of 3 hunks FAILED -- saving rejects to file drivers/video/Config.in.rej
patching file drivers/video/Makefile
Hunk #2 succeeded at 152 (offset 5 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
patching file include/video/fbcon.h
patching file kernel/panic.c

!!! ERROR: media-gfx/bootsplash-0.6-r1 failed.
!!! Function pkg_config, Line 108, Exitcode 1
!!! (no error message)
Back to top
View user's profile Send private message
mvc
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2002
Posts: 98
Location: Portugal

PostPosted: Fri Aug 01, 2003 3:04 pm    Post subject: Reply with quote

ah, of course it doesn't work...

(from bootsplash-0.6-r1.ebuild)
Code:

pkg_config() {
        ewarn
        ewarn "Patching the kernel in /usr/src/linux ..."
        ewarn
        cd ${ROOT}/usr/src/linux
        patch -p1 < ${ROOT}/usr/share/${PN}/bootsplash-3.0.7-2.4.20-vanilla.diff || die         
        ewarn
        ewarn " ... complete."
Back to top
View user's profile Send private message
glamdringlfo
n00b
n00b


Joined: 30 Jul 2003
Posts: 15
Location: Grand Rapids, MI

PostPosted: Fri Aug 01, 2003 8:11 pm    Post subject: Reply with quote

What a great way to make my system even more awesome than it is...my roommate (who uses slack) is jealous.

Now it's just a matter of finding just the right image to use in the background. Good thing there are plenty of threads devoted to that.

Keep up the good work.

Skal!
Glamdringlfo
Back to top
View user's profile Send private message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Tue Aug 05, 2003 2:35 am    Post subject: a couple points Reply with quote

The howto didn't work the first time, but after doing it a second time, it worked. It's awesome. mplayer seems to work too, although only as root.

BTW, I think something should be added to the howto. Instead of telling the user to move /boot/bzImage to /boot/bzImage.old, I think it is better to edit the /usr/src/linux/Makefile and add a suffix to it like "fb" or "splash". And then when they move the bzImage to /boot they can call it bzImage-fb or whatever... Then you just need to add a new entry to lilo or grub. This method is more foolproof as it leaves the original configuration intact.

Also, you should probably mention for those users are a bit more noobish (and who may not have compiled a kernel in gentoo before), that they'll probably need to re-emerge nvidia-kernel after booting with the new kernel, if in fact they have an NVIDIA kernel.

Those are just 2 helpful tips which help users who don't know all the fine details.
Back to top
View user's profile Send private message
Narada
Guru
Guru


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

PostPosted: Tue Aug 05, 2003 7:56 am    Post subject: Reply with quote

Thanks dgrant. I will incorporate your suggestions and n00b advice into the guide when I have some time. What exactly didn't work for you first time?
_________________
http://dhruba.name/


Last edited by Narada on Tue Aug 05, 2003 8:27 am; edited 1 time in total
Back to top
View user's profile Send private message
sprite
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2003
Posts: 143
Location: Camarillo, California (USA)

PostPosted: Tue Aug 05, 2003 8:23 am    Post subject: Reply with quote

mine is working now too thanks to the 16m/16k screw up =) thanks~
Back to top
View user's profile Send private message
Malice
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 78

PostPosted: Fri Aug 22, 2003 3:01 pm    Post subject: Reply with quote

For all those people complaining about their poor eyes after staring at a 60Hz screen, click your way over to this thread: https://forums.gentoo.org/viewtopic.php?t=71570

Basically, a guy came up with a kernel patch that lets you run the vesa framebuffer at whatever refresh rate your monitor will handle.

My bootsplash looks real nice at 1280x1024@85Hz :)
Back to top
View user's profile Send private message
Krisserferson
n00b
n00b


Joined: 30 Jan 2003
Posts: 34

PostPosted: Sat Aug 23, 2003 7:32 pm    Post subject: Reply with quote

Indeed this is a nice treat and I managed to get it working with the i810fb. Happy Happy Joy Joy... :)

If you want to know how:

When already patched with the i810 framebuffer...

Alter /usr/share/bootsplash-X-X-X.diff
Add '-o "$CONFIG_FB_810" = "y"' after '"$CONFIG_FB_NEOMAGIC" = "y"'
Add '-o "$CONFIG_FB_810" = "m"' after '"$CONFIG_FB_NEOMAGIC" = "m"'

Now run the `ebuild /to/long/path/for.ebuild config`

Patch should work fine now.

When it comes to the kernel, apply the selections as previously stated, except for the VESA framebuffer. You can still enable 'accelerated drawing functions', but if you use that with your bootparams it won't work...

Do make sure that you have 'bpp=16' within the video append line. As I said earlier, 'accel' must NOT be in this perticular line!
_________________
It is a book about a Spanish guy called Manual. You should read it.
-- Dilbert
Back to top
View user's profile Send private message
aureq
n00b
n00b


Joined: 27 Jan 2003
Posts: 20

PostPosted: Mon Sep 01, 2003 4:40 am    Post subject: rc script enhancement Reply with quote

Hello

I've enhanced the rc-script for bootsplash.
I've also requested this enhancement to the current maintainer
of boot slpash. https://bugs.gentoo.org/show_bug.cgi?id=27682
Now you can have multiple config file for each tty :
Filename are :
Code:

bootsplash-1024x768.cfg (default for all tty)
bootsplash-tty12-1024x768.cfg (for tty12 only)


enjoy ;-)


Code:

--- bootsplash  2003-08-18 10:26:02.000000000 +0200
+++ /etc/init.d/bootsplash      2003-09-01 05:44:10.000000000 +0200
@@ -29,9 +29,21 @@
                RESOLUTION=$(/sbin/fbresolution)
 
                # switch to a usable image on all consoles
-               for TTY in `seq 0 5`
+               for TTY in `seq 0 11`
                do
-                       /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
+                       TTYF=$(($TTY+1));
+                       if [ $TTYF -eq 7 ]
+                       then
+                               continue;
+                       fi
+
+                       if [ -f /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-tty${TTYF}-${RESOLUTION}.cfg ]
+                       then
+                               /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-tty${TTYF}-${RESOLUTION}.cfg
+
+                       else
+                               /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
+                       fi
                done
 
                eend $? "Failed to set frame buffer console images"
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Wed Sep 03, 2003 3:45 pm    Post subject: Reply with quote

Krisserferson wrote:
Indeed this is a nice treat and I managed to get it working with the i810fb. Happy Happy Joy Joy... :)


It took me a while but I also managed to get it working with my Sony Vaio PCG-Fx101.

Which kernel did you use? I used the vanilla kernel source 2.4.20 patched it with bootsplash followed by the i810fb-lite patch. My grub.conf looks like this.
Code:
kernel (hd0,1)/boot/bzImage-2.4.20 root=/dev/hda4 video=i810fb:hsync1=31.5:hsync2=48.5:vsync1=50:vsync2=70:xres=1024:yres=768:mtrr:bpp=16


I found I got errors when trying to patch i810fb into the gentoo-r5, gentoo-r6 kernels and I couldn't get either to compile. So I ended up getting the vanilla source and patching the bootsplash and i810fb into that.
Back to top
View user's profile Send private message
darksides
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2003
Posts: 102

PostPosted: Sun Sep 07, 2003 11:03 am    Post subject: Reply with quote

WORKS WORKS!!!!

but i see the gentoo logo first at the top of the console, the it switch to framebuffer....WHY?
Back to top
View user's profile Send private message
Narada
Guru
Guru


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

PostPosted: Sun Sep 07, 2003 11:08 am    Post subject: Reply with quote

darksides wrote:
WORKS WORKS!!!!but i see the gentoo logo first at the top of the console, the it switch to framebuffer....WHY?

If you are seeing a logo at top left of screen that means bootsplash is not working. Make sure you have an option called 'Use splash screen instead of boot logo' in kernel and enable it.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
daisho
n00b
n00b


Joined: 07 Sep 2003
Posts: 4

PostPosted: Sun Sep 07, 2003 4:22 pm    Post subject: ...don't know why... Reply with quote

...but it seems that nothing changes.

I've made the symbolic link and all which is in the tutorial.
Then I've wrote my own config and made the

Code:
/sbin/splash -s -f 'config-file' > /boot/initrd-1024x768


command and rebooted (grub was set before), now I've done this several times but I ALWAYS get the standard LiveCD pics!?!? :( :?:

Pictures and paths are correct...what the hell is going on ?
Back to top
View user's profile Send private message
azote
Guru
Guru


Joined: 17 Sep 2002
Posts: 415

PostPosted: Mon Sep 08, 2003 7:30 am    Post subject: Reply with quote

is there a patch that will work with the vanilla 2.4.22 kernel ?

thanks :)
_________________
contact me -> azote@mail.i2p

What do you want to emerge today?

if you think that a person is normal, it is because you do not know them well
Back to top
View user's profile Send private message
Narada
Guru
Guru


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

PostPosted: Mon Sep 08, 2003 11:20 am    Post subject: Reply with quote

azote wrote:
Is there a patch that will work with the vanilla 2.4.22 kernel ?

No. However, there is an unofficial patch for 2.4.21 which you can try with 2.4.22. It may work depending upon how much change 2.4.22 has undergone.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
MasterSeven
n00b
n00b


Joined: 09 Sep 2003
Posts: 2

PostPosted: Tue Sep 09, 2003 6:59 am    Post subject: Reply with quote

There is a patch for the 2.4.22 kernel
at this site : http://members.optusnet.com.au/ckolivas/kernel/
look for the filename "patch-2.4.22-1050-bs.bz2 "
or simply for bootsplash.
(sorry no direct link, credits go to the author of the patch)

you have to edit the patch slightly.
its written for patching 2.4.22-ck1
just open your favorite editor and search/replace -ck1.

i compiled the 2.4.22 kernel from kernel.org
with it for splash support and it works for me.
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, 4, 5 ... 25, 26, 27  Next
Page 4 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