Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

The Gentoo Framebuffer, Bootsplash & Grubsplash How-To

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
670 posts
  • Page 4 of 27
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 27
  • Next
Author
Message
linde002
n00b
n00b
Posts: 62
Joined: Mon Jan 13, 2003 3:51 pm

  • Quote

Post by linde002 » Mon Jun 16, 2003 10:56 am

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
Top
evilbadz
n00b
n00b
Posts: 1
Joined: Sun Jun 22, 2003 10:11 pm
Contact:
Contact evilbadz
Website

  • Quote

Post by evilbadz » Sun Jun 22, 2003 10:12 pm

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

My little console :)
Top
medlor
n00b
n00b
Posts: 20
Joined: Thu Aug 08, 2002 12:13 pm

patch file for 2.4.21 vanilla kernel

  • Quote

Post by medlor » Tue Jun 24, 2003 2:21 pm

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
http://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
Top
god8y
n00b
n00b
Posts: 71
Joined: Tue Jun 24, 2003 7:46 am

  • Quote

Post by god8y » Wed Jun 25, 2003 8:27 pm

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.
Top
christsong84
Veteran
Veteran
User avatar
Posts: 1003
Joined: Sun Apr 06, 2003 10:04 pm
Location: GMT-8 (Spokane)

Re: patch file for 2.4.21 vanilla kernel

  • Quote

Post by christsong84 » Wed Jun 25, 2003 8:29 pm

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
http://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:
Top
SPo0n
Tux's lil' helper
Tux's lil' helper
Posts: 85
Joined: Sat May 03, 2003 6:20 pm
Location: England

  • Quote

Post by SPo0n » Fri Jun 27, 2003 8:50 am

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.
Top
clumsyninja
n00b
n00b
User avatar
Posts: 61
Joined: Fri Jun 27, 2003 2:33 pm
Location: North Texas
Contact:
Contact clumsyninja
Website

  • Quote

Post by clumsyninja » Fri Jun 27, 2003 8:43 pm

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
Top
BonezTheGoon
Bodhisattva
Bodhisattva
User avatar
Posts: 1408
Joined: Fri Jun 14, 2002 9:39 pm
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

  • Quote

Post by BonezTheGoon » Thu Jul 24, 2003 6:11 pm

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

Regards,
BonezTheGoon
Top
Malketh
n00b
n00b
Posts: 18
Joined: Wed Apr 30, 2003 8:30 pm

  • Quote

Post by Malketh » Wed Jul 30, 2003 6:50 am

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.
Top
mvc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Wed Nov 27, 2002 2:13 am
Location: Portugal

  • Quote

Post by mvc » Fri Aug 01, 2003 3:01 pm

Patch doesn't work for vanilla-sources 2.4.21:

Code: Select all

 *
 * 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)
Top
mvc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Wed Nov 27, 2002 2:13 am
Location: Portugal

  • Quote

Post by mvc » Fri Aug 01, 2003 3:04 pm

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

(from bootsplash-0.6-r1.ebuild)

Code: Select all

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."
Top
glamdringlfo
n00b
n00b
User avatar
Posts: 15
Joined: Wed Jul 30, 2003 2:51 pm
Location: Grand Rapids, MI
Contact:
Contact glamdringlfo
Website

  • Quote

Post by glamdringlfo » Fri Aug 01, 2003 8:11 pm

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
Top
dgrant
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Wed May 28, 2003 6:57 pm
Location: Vancouver, BC, Canada
Contact:
Contact dgrant
Website

a couple points

  • Quote

Post by dgrant » Tue Aug 05, 2003 2:35 am

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.
Top
Narada
Guru
Guru
Posts: 300
Joined: Thu Dec 12, 2002 6:48 pm
Location: London, UK
Contact:
Contact Narada
Website

  • Quote

Post by Narada » Tue Aug 05, 2003 7:56 am

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?
Last edited by Narada on Tue Aug 05, 2003 8:27 am, edited 1 time in total.
http://dhruba.name/
Top
sprite
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 143
Joined: Tue Jun 10, 2003 5:29 am
Location: Camarillo, California (USA)
Contact:
Contact sprite
Website

  • Quote

Post by sprite » Tue Aug 05, 2003 8:23 am

mine is working now too thanks to the 16m/16k screw up =) thanks~
Top
Malice
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Fri Jun 13, 2003 3:39 am

  • Quote

Post by Malice » Fri Aug 22, 2003 3:01 pm

For all those people complaining about their poor eyes after staring at a 60Hz screen, click your way over to this thread: http://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 :)
Top
Krisserferson
n00b
n00b
User avatar
Posts: 34
Joined: Thu Jan 30, 2003 12:10 am

  • Quote

Post by Krisserferson » Sat Aug 23, 2003 7:32 pm

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
Top
aureq
n00b
n00b
Posts: 20
Joined: Mon Jan 27, 2003 4:58 pm

rc script enhancement

  • Quote

Post by aureq » Mon Sep 01, 2003 4:40 am

Hello

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

Code: Select all

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

Code: Select all

--- 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"
Top
echo6
Guru
Guru
User avatar
Posts: 587
Joined: Sat Jan 04, 2003 1:49 pm

  • Quote

Post by echo6 » Wed Sep 03, 2003 3:45 pm

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: Select all

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.
Top
darksides
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Mon Jun 23, 2003 3:40 pm

  • Quote

Post by darksides » Sun Sep 07, 2003 11:03 am

WORKS WORKS!!!!

but i see the gentoo logo first at the top of the console, the it switch to framebuffer....WHY?
Top
Narada
Guru
Guru
Posts: 300
Joined: Thu Dec 12, 2002 6:48 pm
Location: London, UK
Contact:
Contact Narada
Website

  • Quote

Post by Narada » Sun Sep 07, 2003 11:08 am

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/
Top
daisho
n00b
n00b
Posts: 4
Joined: Sun Sep 07, 2003 4:15 pm

...don't know why...

  • Quote

Post by daisho » Sun Sep 07, 2003 4:22 pm

...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: Select all

/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 ?
Top
azote
Guru
Guru
User avatar
Posts: 415
Joined: Tue Sep 17, 2002 5:14 pm

  • Quote

Post by azote » Mon Sep 08, 2003 7:30 am

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
Top
Narada
Guru
Guru
Posts: 300
Joined: Thu Dec 12, 2002 6:48 pm
Location: London, UK
Contact:
Contact Narada
Website

  • Quote

Post by Narada » Mon Sep 08, 2003 11:20 am

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/
Top
MasterSeven
n00b
n00b
Posts: 2
Joined: Tue Sep 09, 2003 6:49 am

  • Quote

Post by MasterSeven » Tue Sep 09, 2003 6:59 am

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.
Top
Post Reply

670 posts
  • Page 4 of 27
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 27
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic