Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootsplash (fbsplash)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Mon Apr 09, 2007 8:16 am    Post subject: bootsplash (fbsplash) Reply with quote

Hallo
Ich habe versucht bootsplash (fbsplash) nach dieser Anleitung
einzurichten.
http://de.gentoo-wiki.com/Fbsplash#Alternativ:_Benutzung_von_Genkernel
Es funktioniert allerdings nur, wenn ich im Kernel nvidia fb
(CONFIG_FB_NVIDIA) einbinde.
Dann kann ich allerdings nicht den nvidia Bildschirmtreiber laden. Kennt
jemand eine Lösung?
MfG
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Mon Apr 09, 2007 8:57 am    Post subject: Reply with quote

Wie sieht denn die grub.conf aus?
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Apr 09, 2007 9:21 am    Post subject: Re: bootsplash (fbsplash) Reply with quote

flammenflitzer wrote:
Hallo
Es funktioniert allerdings nur, wenn ich im Kernel nvidia fb
(CONFIG_FB_NVIDIA) einbinde.
Dann kann ich allerdings nicht den nvidia Bildschirmtreiber laden.


Altes bekanntes Problem. Der xorg-Treiber von nvidia beißt sich mit dem nvidia-Framebuffertreiber. Nach meiner Erfahrung reicht für den Framebuffer der vesa-/vesa-tng-Treiber vollkommen aus. Weiß auch gar nicht, was die Vorteile der grakaspezifischen Framebuffertreiber sind, da vesa eh den Standard für Framebuffer repräsentiert.

Versuch mal den vesa-tng-Treiber. Wenn der nicht funktionieren sollte, dann nimm den "normalen" vesa-Treiber.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Mon Apr 09, 2007 10:44 am    Post subject: Reply with quote

Roadrunner linux # cat .config | grep FB | grep -v \#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_VESA_STD=y
CONFIG_FB_SPLASH=y

grub.conf
title=Gentoo Linux-2.6.19-Bootsplash
root (hd0,7)
kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 video=vesafb:1280x1024-32@60,mtrr,ywrap splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1280x1024
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Mon Apr 09, 2007 10:55 am    Post subject: Reply with quote

Dein Link verweist auf Genkernel:Deine grub.conf sieht aber nicht danach aus.
Code:
kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 video=vesafb:1280x1024-32@60,mtrr,ywrap splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1280x1024

Genkernel sieht bei mir so aus:
Code:
title   Gentoo Linux 2.6.20-r4
root    (hd0,6)
kernel  /boot/kernel-genkernel-x86-2.6.20-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda7 vga=0x31A udev splash=verbose,theme:gentoo-blue CONSOLE=/dev/tty1
initrd  /boot/initramfs-genkernel-x86-2.6.20-gentoo-r4

Was benutzt Du denn jetzt?

Edit:
Ich benutze vesafb.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Mon Apr 09, 2007 11:02 am    Post subject: Reply with quote

Normalen Kernel. Und hat ja auch mit dem nvidia-Framebuffertreiber funktioniert. Habe jetzt den vesa-/vesa-tng-Treiber im Kernel. Mal sehen, ob der funktioniert. Ich war der Meinung, das im Howto
Code:

title=Gentoo Linux 2.6.10
root (hd0,0)
kernel /boot/kernel-2.6.10 root=/dev/hda3 video=vesafb:1280x1024-32@60,mtrr,ywrap splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1280x1024
für normalen Kernel und
Code:
title=Gentoo Linux (2.6.17-gentoo-r7)
root (hd0,2)
kernel (hd0,2)/boot/kernel-2.6.17 video=vesafb:1400x1050-24@60,mtrr,ywrap splash=verbose,theme:emergence real_root=/dev/hda3 root=/dev/ram0 init=/linuxrc ramdisk=8192
initrd (hd0,2)/boot/initramfs-2.6.17
für genkernel ist.
Also, wie gesagt, es mit dem nvidia-Framebuffertreiber funktioniert.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Mon Apr 09, 2007 11:07 am    Post subject: Reply with quote

flammenflitzer wrote:

Also, wie gesagt, es mit dem nvidia-Framebuffertreiber funktioniert.

Nvidia Framebuffer muß am besten raus.Macht auf Dauer nur Ärger (bei mir jedenfalls).
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Mon Apr 09, 2007 11:20 am    Post subject: Reply with quote

Habe ich jetzt durch den vesa-tng-Treiber ersetzt. Muß ich beim nächsten reboot mal sehen, ob es funktioniert. Mit dr´er geposteten Kernelkonfiguration hat es nicht funktioniert. Ich weiß allerdings nicht, ob ich den zu verwendenden Treiber irgendwo explizit angeben oder laden muß.
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Tue Apr 10, 2007 6:46 am    Post subject: Reply with quote

flammenflitzer wrote:

[in einem anderenPost:]
Ich habe eine 64bit Installation...

Aber das muss man doch sache ;)
Vesafb-tng geht nicht mit 64Bit! Da muss der alte vesa rein. In deiner grub.conf muss also, wie hier beschrieben, das vga= wieder rein, statt dem video= (so weit ich mich noch recht erinner)
Ah hier :)
http://gentoo-wiki.com/HOWTO_fbsplash#x86_64_.2F_IA64 wrote:

The 'vesafb-tng' patch will not work on 64-bit systems (x86_64 and ia64), because the vm86 mode is not supported for OSes running in 64-bit mode. If you happen to own a 64-bit box, you're limited to plain vesafb
Because vesafb-tng doesn't work on 64 bit systems, you must use vesafb on these arches.


Vielleicht einfach mal das englische Wiki durcharbeiten.

Grüße
Franz
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Tue Apr 10, 2007 7:44 am    Post subject: Reply with quote

Hi,

franzf wrote:
...das vga= wieder rein, statt dem video= (so weit ich mich noch recht erinner)...


Korrekt, und für 1280x1024 nimmt man dann:
0x0307 für 8Bit Farbtiefe
0x0319 für 15Bit Farbtiefe
0x031a für 16Bit Farbtiefe
0x031b für 24Bit Farbtiefe
0x0324 für 32Bit Farbtiefe.

Sollte da was abweichen, hilft das Tool "hwinfo" mit dem Parameter "--framebuffer" um den passenden Wert zu ermitteln :)

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Tue Apr 10, 2007 3:13 pm    Post subject: Reply with quote

Also das
Code:
Roadrunner log # cat /usr/src/linux/.config | grep FB | grep -v \#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_VESA_STD=y
CONFIG_FB_SPLASH=y
wieder ändern in
Code:
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_SPLASH=y

d.h. nur den
Code:
CONFIG_FB_VESA_STD=y
herausnehmen und in der grub.conf
Code:
title=Gentoo Linux-2.6.19-Bootsplash
 root (hd0,7)
 kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 video=vesafb:1280x1024-32@60,mtrr,ywrap splash=verbose,theme:emergence
 initrd /boot/fbsplash-emergence-1280x1024
in
Code:
title=Gentoo Linux-2.6.19-Bootsplash
 root (hd0,7)
 kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 vga=0x0324 splash=verbose,theme:emergence
 initrd /boot/fbsplash-emergence-1280x1024
ändern.
Oder muß splash=verbose durch splash=silent ersetzt werden?
PS: Ich habe gerade gemerkt, das ich mich vertan habe. Ich hatte gar nicht CONFIG_FB_VESA_TNG = y sondern CONFIG_FB_VESA_STD=y. Wenn VESA_TNG allerdings nicht funktioniert, lasse ich es erst einmal.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Wed Apr 11, 2007 5:51 pm    Post subject: Reply with quote

Code:
title=Gentoo Linux-2.6.19-Bootsplash
root (hd0,7)
kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 vga=0x319 splash=verbose,theme:emergence
initrd /boot/fbsplash-emergence-1280x1024
You passed an undefined mode number
vga=0x319 entspricht lt. der Tabelle http://de.gentoo-wiki.com/HOWTO_fbsplash#Bootloader_konfigurieren32k bei 1280x1024, also dem Wert, mit dem unter Verwendung des nvidia-Framebuffertreiber splash angezeigt wurde.
Die /etc/conf.d/splash
Code:
SPLASH_TTYS="1 2 3 4 5 6"
SPLASH_BOOT_MESSAGE="Booting the system"
SPLASH_REBOOT_MESSAGE="Rebooting the system"
SPLASH_SHUTDOWN_MESSAGE="Shutting the system down"
SPLASH_VERBOSE_ON_ERRORS="yes"

Habe gerade hier http://www.pc-erfahrung.de/linux/bootsplash.htmlgesehen vga=319.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Wed Apr 11, 2007 5:56 pm    Post subject: Reply with quote

Hast Du schon mal andere Werte versucht z.B. vga=0x318?
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Wed Apr 11, 2007 6:06 pm    Post subject: Reply with quote

Nein. Ich wollte mein System nicht pausenlos rebooten.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Apr 11, 2007 6:10 pm    Post subject: Reply with quote

@Flammenflitzer

versuch mal 0x0319 nicht 0x319. Das gleiche Problem was du beschreibst hatte ich nämlich auch an der Stelle :)

MfG Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Wed Apr 11, 2007 6:24 pm    Post subject: Reply with quote

vga=319 zeigt nur einen schwarzen Bildschirm. vga=0x318 funktioniert halbwegs. Allerdings wird anfangs nur ein schwarzer Hintergrund gebracht. Das Theme erscheint erst kurz vor dem Einstieg in runlevel 3. 0x0319 geht gar nicht.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Apr 11, 2007 7:34 pm    Post subject: Reply with quote

Hi,

die wirklich verfügbaren Modi für den normalen vesafb (nicht vesafb-tng) bekommst du via:
Code:
hwinfo --framebuffer

Just in case, dir fehlt ein spezieller Mode ;)

MfG. Stefan
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Wed Apr 11, 2007 9:19 pm    Post subject: Reply with quote

flammenflitzer wrote:
vga=0x318 funktioniert halbwegs. Allerdings wird anfangs nur ein schwarzer Hintergrund gebracht. Das Theme erscheint erst kurz vor dem Einstieg in runlevel 3.

Das ist eigentlich ein Zeichen dass das Theme nicht in den Kernel einkompiliert wurde,sondern erst beim entsprechenden Runlevel gestartet wird.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Thu Apr 12, 2007 5:59 am    Post subject: Reply with quote

john.doe wrote:
Das ist eigentlich ein Zeichen dass das Theme nicht in den Kernel einkompiliert wurde,sondern erst beim entsprechenden Runlevel gestartet wird.
Hm, wo im Kernel soll man denn das machen können?

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Thu Apr 12, 2007 4:11 pm    Post subject: Reply with quote

Code:
Background image loading in the middle of the boot process
You may (and probably will) find that the background image is loaded with a certain few-seconds-delay even when using an initramfs image. During that time the standard black-and-white 640x480 resolution is used.
Such behaviour is normal. The only workaround (in order to get the background image as early as possible) would be using the vesafb frame buffer device (instead of vesafb-tng). Here's Spock's elaborate answer on that issue: "The initramfs is used to populate the root filesystem before the frame-buffer subsystem is initialized, so it's good enough - don't worry about it. As you might have noticed, your PC boots into the text mode, and not the graphics mode. The graphics mode is set up when the framebuffer sub-system is initialized. But before that can happen, other things must be initialized, things that take some time. That's why for a second or two you might be seeing the kernel messages. You might say that with vesafb you didn't have those. And you will be right. But vesafb is an exception, not a rule (it's initialized while the kernel is being loaded) . Every other fb driver, including vesafb-tng, rivafb, radeonfb,... is initialized with the fbdev subsystem".

Wie ich das interpretiere ist das normal? Kann man da etwas ändern, wenn man im Kernel Bootup logo (LOGO) aktiviert?
Hier http://dev.gentoo.org/~spock/projects/gensplash/archive/gensplash-in-5-easy-steps.txt steht:
Code:
Please note that you need to explictly specify 'silent' in the 'splash=' parameter. Otherwise fbsplash *will not* be enabled during boot.

Probiere ich aus. Hat nichts gebracht.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Apr 12, 2007 6:18 pm    Post subject: Reply with quote

Louisdor wrote:
john.doe wrote:
Das ist eigentlich ein Zeichen dass das Theme nicht in den Kernel einkompiliert wurde,sondern erst beim entsprechenden Runlevel gestartet wird.
Hm, wo im Kernel soll man denn das machen können?

Kann ich Dir nicht mal sagen da ich ein Genkernel-Weichei bin. :wink: Ich nehme folgenden Befehl und es funktioniert einfach:
Code:
genkernel --menuconfig --gensplash=livecd-2006.0 all

Kann natürlich auch an der initrd liegen,weiß ich nicht so genau. :?:

Aber wo ich gerade so darüber nachdenke:ich sollte mich endlich wirklich mal intensiver mit dem Kernel beschäftigen.Hab's mir oft vorgenommen und immer wieder verschoben. :(
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Thu Apr 12, 2007 6:37 pm    Post subject: Reply with quote

john.doe wrote:
Kann ich Dir nicht mal sagen da ich ein Genkernel-Weichei bin. :wink:
Na, da wird es aber echt Zeit, dass Du mal Deinen ersten Kernel selber baust! :-)

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Thu Apr 12, 2007 6:41 pm    Post subject: Reply with quote

Habe gerade beim Booten die Meldung gesehen, das ich console=/dev/tty1 zu meinen kernel Command Line hinzufügen soll. Muß ich mal überprüfen.
(Mit Genkernel hatte ich noch nie Glück. Hat nie funktioniert.)
In der Anleitung steht:
Code:
loading the initramfs image dynamically at boot time (recommended)
compiling the initramfs image directly into the kernel[code]
[/code]loading the initramfs image dynamically at boot time (recommended)
In this option, you create the initramfs image as a stand-alone file, also known as the initrd file. Because of this, you will not have to recompile the kernel everytime you want to change the image.
So the only thing you have to do here is use splash_geninitramfs to generate an initrd file (that contains the pictures, configs and the userspace helper):
# cd /etc/splash/
# splash_geninitramfs livecd-2006.1 -r 1024x768 -g /boot/fbsplash-livecd-2006.1-1024x768 -v
Change the resolution and theme to match your monitor's resolution and chosen theme.
Note: To help explain what's going on here for those who don't know, the first command we gave "livecd-2006.1" simply tells it which theme to use, the next command "-r 1024x768" is our desired resolution, then "-g /boot/fbsplash-livecd-2006.1-1024x768" tells it where to generate the new initramfs file, and finally -v simply tells it to be verbose in its output so we can see what it's working on

m.E. habe ich das gemacht.
Code:
title=Gentoo Linux-2.6.19-Bootsplash
root (hd0,7)
kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 vga=789 splash=silent,theme:emergence quiet CONSOLE /dev/tty1
initrd /boot/fbsplash-emergence-800x600

Jetzt kommt die Meldung, das /etc/splash/emergence/800x600.cfg nicht gefunden wird und deshalb das Image nicht geladen werden kann. Das wird u.U. daran liegen, daß ich für /boot und / getrennte Partitionen habe.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Fri Apr 13, 2007 5:46 pm    Post subject: Reply with quote

Habe jetzt root und boot auf einer Partition. Hat auch nichts gebracht.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sun Apr 15, 2007 2:31 pm    Post subject: Reply with quote

Louisdor wrote:
john.doe wrote:
Kann ich Dir nicht mal sagen da ich ein Genkernel-Weichei bin. :wink:
Na, da wird es aber echt Zeit, dass Du mal Deinen ersten Kernel selber baust! :-)

Gesagt und getan. :wink: Einiges gelernt und nebenbei den Kernel um ca. 60% kleiner gehalten. :)
Louisdor wrote:
john.doe wrote:
Das ist eigentlich ein Zeichen dass das Theme nicht in den Kernel einkompiliert wurde,sondern erst beim entsprechenden Runlevel gestartet wird.
Hm, wo im Kernel soll man denn das machen können?

Bei meinen Recherchen gefunden:
http://gentoo-wiki.com/HOWTO_fbsplash#Alternative_Method:_Compiling_initramfs_directly_into_the_kernel
Ich habe es aber so gemacht dass initramfs beim booten geladen wird.Bei mir funktioniert es einwandfrei.Das Image erscheint sofort beim Bootvorgang. :?
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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