View previous topic :: View next topic |
Author |
Message |
xerxian n00b
Joined: 16 May 2003 Posts: 38 Location: Wellington, New Zealand
|
Posted: Sun Nov 23, 2003 6:15 am Post subject: |
|
|
xerxian wrote: | I get the same thing, I'm using linux-2.6.0-test9-mm4, I did notice something about an invalid initrd though, but couldn't get a good look because it flashed by too quickly. |
I found out what the problem was, my framebuffer was set to 24bpp, but bootsplash only supports 16bpp. I changed vga=792 to vga=791 in my grub.conf and that fixed it. |
|
Back to top |
|
|
noobler n00b
Joined: 23 Nov 2003 Posts: 17 Location: Australia
|
Posted: Sun Nov 23, 2003 11:34 am Post subject: |
|
|
i'd just like to say that it's working great for me this howto combined with the higher refresh rate with vesafb driver howto https://forums.gentoo.org/viewtopic.php?t=71570&highlight=framebuffer+refresh has allowed me to get a 1280x1024 console @ 75hz. these are by far the best howtos on this entire forum, improving visual coolness and reducing eye strain
[edit]almost forgot to show show the results _________________ class Greeter {
public static void main (String args[]) {
for (int i=0; i<members_list.length; i++)
System.out.println("hello");
}
} |
|
Back to top |
|
|
Narada Guru
Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Sun Nov 23, 2003 3:37 pm Post subject: |
|
|
Many thanks for your kind words about the how-to noobler. This is what makes it worth it. I'm glad it could help. The screenshot looks stunning. Did you create that image or get it from the web? _________________ http://dhruba.name/ |
|
Back to top |
|
|
echo6 Guru
Joined: 04 Jan 2003 Posts: 587
|
Posted: Sun Nov 23, 2003 5:45 pm Post subject: |
|
|
Narada wrote: | Many thanks for your kind words |
I've had it working here since reading your guide even with 2.6-test9 kernel it really is a good guide
Although I can get 1440x1050 screen for the console on my Fujitsu Lifebook notebook, I can't get the splash screen to work at this res, tried hacking the config files to include 1440x1050 but haven't got there yet.
btw I'm using vga=0x343 to get this res
Oops! should be vga=0x342 for 16bpp, still can't get it working though
Last edited by echo6 on Mon Nov 24, 2003 4:30 pm; edited 3 times in total |
|
Back to top |
|
|
noobler n00b
Joined: 23 Nov 2003 Posts: 17 Location: Australia
|
Posted: Mon Nov 24, 2003 2:12 am Post subject: |
|
|
Narada wrote: | Many thanks for your kind words about the how-to noobler. This is what makes it worth it. I'm glad it could help. The screenshot looks stunning. Did you create that image or get it from the web? |
hehe np Narada, thank you!
the wall's from deviantart.com _________________ class Greeter {
public static void main (String args[]) {
for (int i=0; i<members_list.length; i++)
System.out.println("hello");
}
} |
|
Back to top |
|
|
eunuque n00b
Joined: 19 Aug 2003 Posts: 62
|
Posted: Mon Nov 24, 2003 1:20 pm Post subject: |
|
|
Thanks for this excellent tutorial!
I just want to correct something which is said in the "Drawbacks" section:
Quote: | Reduced or zero scroll back buffer |
This is not true! You can actually set the scroll back buffer size using the scrollback video parameter. My grub.conf:
Code: | kernel (hd0,0)/boot/kernel_2.4.22_vesa root=/dev/hda3 hdd=ide-scsi vga=0x317 video=scrollback:128K,vesa:mtrr,ywrap gentoo=nodevfs
|
|
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Mon Nov 24, 2003 9:02 pm Post subject: |
|
|
Well does the method remain the same to 2.6 test10 ????????
I saw that the botsplash patch is already present in this build but still i cant get it working !
I dont even get the framebuffer !
i did it the genkernel way ! i did it that way in test9 too and got it workin then.. but this time it seems to be a problem !
Also, there is a new option of --bootsplash to genkernel options.. whats thos for !!
Also, i found out that the patch usd for bootsplash is 3.1.1* its not 3.1.3 and i had patched test9 with 3.1.3*.diff soo cud this be the problem ???
And if i need to patch the 3.1.3*.diff to my kernel, it says that its already patched.. do u need (-R).. man plz help me ! this is weird !
Anyways,
Bye,
Jassi |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Mon Nov 24, 2003 11:39 pm Post subject: |
|
|
DOH !! never mind guys !
i got the answer and perhaps this post cud help u too !!
Ok now the problem in test-10 is that it already comes with a patch i.e 3.1.1*.diff, now thats not very good or to be happy with, cuz atleast in my case it provided me with only more problems !!
So, how do we go about it !!
Well before emerging the gentoo-dev-sources, be sure to MANUALLY open the genpatches-2.6-0.4.tar.bz2 file and EITHER remove the framebuffer patch OR replace it with 3.1.3*.diff and PLEASEEE rename it back to 400_bootsplash-3.1.1*.diff !!
Note if u dont rename it then.. its as good as not having it ! cuz it then wont patch !.. OK after doin these modifications pack it in the same format and replace it in ur distfiles !
Thats about it ! now then if u run emerge gentoo-dev-sources u will see a digest mismatch error !! well its actually very good.. cuz u then cometo know the md5 of ur modifies tar.bz2,
Goto /usr/portage/sys-kernel/gentoo-dev-sources/files and edit the single file there !!!
Then agains the genpatches file enter the md5 of the modified file !!
THATS IT FOLKS !!! u have then sucessfully patched ur test10 kernel !!
HEHEH .. well dont forget to rerun emerge gentoo-dev-sources
then everything else remains the same as described in this guide !
PS :- if someone dont know how to patch file :-
Goto, /usr/src/linux and run
#patch -p1 < (pathtodiff).diff
Whoaaaaaa, i dint mean it to be soo long ! anyways.... just contributing to the forum !!
Bye,
Jassi |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Tue Nov 25, 2003 1:20 am Post subject: |
|
|
dohaaaaa !!! man dont worry guys !!
probably someone saw this post and already updated the ebuild to include 3.1.3*.diff !! soo.. everything shud work just fine !
Just emerge folks !
Bye,
Jassi |
|
Back to top |
|
|
echo6 Guru
Joined: 04 Jan 2003 Posts: 587
|
Posted: Tue Nov 25, 2003 3:56 pm Post subject: |
|
|
jassi
I'm using Vanilla 2.6.0-test10, the test9 bootsplash still works for test10
Last edited by echo6 on Wed Nov 26, 2003 6:08 pm; edited 1 time in total |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Tue Nov 25, 2003 11:06 pm Post subject: |
|
|
Yea.. it even works for me !
But its 3.1.3-test9 and NOT 3.1.1-test9 ! see the difference ??
The guys earlier had the wrong .diff patched.. thats why they made a gentoo-dev-sources-r1 update !!
Never mind ! it works fine now !
Everything OK !
Bye,
Jassi |
|
Back to top |
|
|
echo6 Guru
Joined: 04 Jan 2003 Posts: 587
|
Posted: Tue Nov 25, 2003 11:28 pm Post subject: |
|
|
Excellent, glad you got it working.
If you got to http://www.bootsplash.org you will see the only 2.6 patch they have is the 3.1.3 version. |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Wed Nov 26, 2003 4:02 pm Post subject: |
|
|
First real nice howtoo, I've it working mm-sources 2.6.0_beta9-r5.
Now I'm going to upgrade too mm-sources-2.6.0_beta10-r1 does anyone got this working?
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
Narada Guru
Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Wed Nov 26, 2003 5:04 pm Post subject: |
|
|
Just to let everyone know that the guide has not yet been updated for 2.6 kernel. Both the bootsplash patch and 2.6 kernel seem to be undergoing version bumps at this time. When things stabilise a bit more I'll make the update. In the meantime, no doubt forum posts will help out a lot. _________________ http://dhruba.name/ |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Wed Nov 26, 2003 7:24 pm Post subject: |
|
|
just read jassi post;)
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Thu Nov 27, 2003 10:41 am Post subject: |
|
|
Just did it yesterday, mm-sources aplyed test9 patch worked without any error. In fact it's working better with test10-mm1 than with test9-mm5
Tó
echo6 wrote: | jassi
I'm using Vanilla 2.6.0-test10, the test9 bootsplash still works for test10 |
_________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
viduliya n00b
Joined: 05 Nov 2003 Posts: 29 Location: Ottawa CANADA
|
Posted: Thu Nov 27, 2003 9:33 pm Post subject: Framebuffer not working with Kernel 2.6.0-test9-mm5 [SOLVED] |
|
|
I finally decided to give the 2.6 kernel a try. Everything seems to be working fine except framebuffer console. I have framebuffer working perfectly using 2.4.0-gentoo-r8 kernel. Hoping someone can tell me what I am doing wrong with 2.6 kernel. I have a the following setup.
Sections that I believe to be relevent from my config for Kernel 2.6.0-test9-mm5 patched with the bootsplash patch from above:
Code: |
#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_VGA16=y
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB_RIVA=m
CONFIG_FB_VIRTUAL=y
|
Grub.conf:
Code: |
default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux (ACPI) 2.6.0-test9-mm5 (TESTING +fb)
root (hd1,0)
kernel (hd1,0)/boot/bzImage-2.6.0-test9-mm5 ro root=/dev/hde2 \
hdc=ide-scsi mem=nopentium acpi=yes \
vga=0x317 video=vesa:1024x768-16,ywrap,mtrr \
initrd=/initrd-1024x768
|
Hardware Configuration:
AthlonXp 2500+
Asus A7N8X
MSI Nvidia GeForce4 Ti4600 8X with 128MB
1024MB RAM
OK... I finally found what was causing all the problems. In the 2.6.0 kernels I can not enable CONFIG_FB_VGA16 if I want a SVGA console with more than 16 colours. If anyone else has a messed up console when trying to use a SVGA console having CONFIG_FB_VGA16 turned on maybe your problem. _________________ There are exactly 10 kinds of people in the world those who understand binary and those who don't.
Last edited by viduliya on Mon Jan 05, 2004 3:02 pm; edited 4 times in total |
|
Back to top |
|
|
arcangel n00b
Joined: 06 Oct 2003 Posts: 13
|
Posted: Wed Dec 03, 2003 10:20 pm Post subject: |
|
|
Hello, I have a little trouble with bootsplash and evms, I need to join this two initrd, but I don't know how to make it. please anybody can help me? thanks |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Dec 05, 2003 8:31 am Post subject: |
|
|
just wondering if the bootsplash patches work with 2.4.23..... (i'm going to try later) |
|
Back to top |
|
|
Mala Zaba Apprentice
Joined: 21 Apr 2002 Posts: 156 Location: Brossard, Qc.
|
Posted: Sat Dec 06, 2003 1:56 pm Post subject: |
|
|
Hi
I not able to get bootsplash...
Code: | >>> sys-kernel/mm-sources-2.6.0_beta10-r1 merged.
>>> Recording sys-kernel/mm-sources in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
root@vikings linux # ls -l
total 232
drwxr-xr-x 22 root root 536 2003-12-06 08:33 arch
-rw-r--r-- 1 root root 18691 2003-12-06 08:32 COPYING
-rw-r--r-- 1 root root 84912 2003-12-06 08:32 CREDITS
drwxr-xr-x 2 root root 704 2003-12-06 08:33 crypto
drwxr-xr-x 41 root root 4000 2003-12-06 08:33 Documentation
drwxr-xr-x 43 root root 1104 2003-12-06 08:33 drivers
drwxr-xr-x 52 root root 2824 2003-12-06 08:32 fs
drwxr-xr-x 33 root root 872 2003-12-06 08:33 include
drwxr-xr-x 2 root root 392 2003-12-06 08:33 init
drwxr-xr-x 2 root root 192 2003-12-06 08:32 ipc
drwxr-xr-x 3 root root 1064 2003-12-06 08:33 kernel
drwxr-xr-x 4 root root 760 2003-12-06 08:32 lib
-rw-r--r-- 1 root root 50802 2003-12-06 08:32 MAINTAINERS
-rw-r--r-- 1 root root 32284 2003-12-06 08:32 Makefile
drwxr-xr-x 2 root root 968 2003-12-06 08:32 mm
drwxr-xr-x 32 root root 968 2003-12-06 08:32 net
-rw-r--r-- 1 root root 65 2003-12-06 08:32 patches.txt
-rw-r--r-- 1 root root 14489 2003-12-06 08:32 README
-rw-r--r-- 1 root root 2815 2003-12-06 08:32 REPORTING-BUGS
drwxr-xr-x 6 root root 1304 2003-12-06 08:33 scripts
drwxr-xr-x 3 root root 272 2003-12-06 08:33 security
drwxr-xr-x 15 root root 496 2003-12-06 08:33 sound
drwxr-xr-x 2 root root 136 2003-12-06 08:32 usr
root@vikings linux # patch -p1 < /download/breakmygentoo/bootsplash-3.1.3-2.6.0-test9.diff
patching file drivers/char/keyboard.c
Hunk #1 succeeded at 1052 (offset 7 lines).
patching file drivers/char/n_tty.c
patching file drivers/char/vt.c
patching file drivers/video/Kconfig
patching file drivers/video/Makefile
patching file drivers/video/bootsplash/Kconfig
patching file drivers/video/bootsplash/Makefile
patching file drivers/video/bootsplash/bootsplash.c
patching file drivers/video/bootsplash/bootsplash.h
patching file drivers/video/bootsplash/decode-jpg.c
patching file drivers/video/bootsplash/decode-jpg.h
patching file drivers/video/bootsplash/render.c
patching file drivers/video/console/fbcon.c
patching file drivers/video/console/fbcon.h
patching file drivers/video/vesafb.c
patching file include/linux/console_struct.h
patching file include/linux/fb.h
patching file kernel/panic.c
root@vikings linux # make menuconfig
HOSTCC scripts/fixdep
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/lxdialog/checklist.o
HOSTCC scripts/lxdialog/inputbox.o
HOSTCC scripts/lxdialog/lxdialog.o
HOSTCC scripts/lxdialog/menubox.o
HOSTCC scripts/lxdialog/msgbox.o
HOSTCC scripts/lxdialog/textbox.o
HOSTCC scripts/lxdialog/util.o
HOSTCC scripts/lxdialog/yesno.o
HOSTLD scripts/lxdialog/lxdialog
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in arch/i386/defconfig
#
arch/i386/defconfig:114: trying to assign nonexistent symbol ACPI_HT
arch/i386/defconfig:176: trying to assign nonexistent symbol KCORE_ELF
arch/i386/defconfig:177: trying to assign nonexistent symbol KCORE_AOUT
arch/i386/defconfig:355: trying to assign nonexistent symbol SCSI_SYM53C8XX
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
root@vikings linux # make clean bzImage modules modules_install
...
LD arch/i386/lib/built-in.o
AS arch/i386/lib/checksum.o
CC arch/i386/lib/dec_and_lock.o
CC arch/i386/lib/delay.o
AS arch/i386/lib/getuser.o
CC arch/i386/lib/memcpy.o
CC arch/i386/lib/mmx.o
CC arch/i386/lib/strstr.o
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x88535): dans la fonction « splash_getraw »:
: undefined reference to `vesafb_ops'
make: *** [.tmp_vmlinux1] Erreur 1 |
Any idea? |
|
Back to top |
|
|
Beholders_Eye Tux's lil' helper
Joined: 17 Nov 2003 Posts: 116 Location: Brazil
|
Posted: Sat Dec 06, 2003 5:06 pm Post subject: Extract jpeg from initrd |
|
|
Does anyone already tried to extract the silent and/or the verbose jpeg form an initrd?? I've tried with dd... But couldn't do it |
|
Back to top |
|
|
Narada Guru
Joined: 12 Dec 2002 Posts: 300 Location: London, UK
|
Posted: Thu Dec 11, 2003 7:39 am Post subject: |
|
|
viperlin wrote: | just wondering if the bootsplash patches work with 2.4.23..... (i'm going to try later) |
The 2.4.22 patch works with 2.4.23 I think. _________________ http://dhruba.name/ |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Thu Dec 11, 2003 4:02 pm Post subject: |
|
|
Narada wrote: | viperlin wrote: | just wondering if the bootsplash patches work with 2.4.23..... (i'm going to try later) |
The 2.4.22 patch works with 2.4.23 I think. |
i tried it, it works |
|
Back to top |
|
|
jetblack Guru
Joined: 15 Jan 2003 Posts: 340 Location: Evanston, IL, USA
|
Posted: Sat Dec 13, 2003 12:36 am Post subject: |
|
|
Excellent HOWTO Narada. I'm not doing anything fancy - Larry's good enough for me for now.
Great work. |
|
Back to top |
|
|
hulk2nd Guru
Joined: 25 Mar 2003 Posts: 512 Location: Freiburg, Germany
|
Posted: Sun Dec 14, 2003 2:24 pm Post subject: |
|
|
i get this when trying to merge bootsplash:
Code: | : undefined reference to `jpeg_finish_output'
/usr/lib/libmng.a(libmng_jpeg.o)(.text+0x1470): In function `mngjpeg_decompressdata2':
: undefined reference to `jpeg_finish_output'
/usr/lib/libmng.a(libmng_jpeg.o)(.text+0x14a4): In function `mngjpeg_decompressdata2':
: undefined reference to `jpeg_read_header'
/usr/lib/libmng.a(libmng_jpeg.o)(.text+0x14e9): In function `mngjpeg_decompressdata2':
: undefined reference to `jpeg_has_multiple_scans'
/usr/lib/libmng.a(libmng_jpeg.o)(.text+0x16dd): In function `mngjpeg_decompressfree2':
: undefined reference to `jpeg_destroy_decompress'
/usr/lib/libmng.a(libmng_prop_xs.o)(.text+0xae3): In function `mng_get_refreshpass':
: undefined reference to `jpeg_input_complete'
collect2: ld returned 1 exit status
make: *** [fbmngplay] Fehler 1
!!! ERROR: media-gfx/bootsplash-0.6-r2 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message) |
any suggestions?
greets,
hulk |
|
Back to top |
|
|
|