[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bootsplash in Debian



On Mon, 2003-11-03 at 01:02, Nicolas Rueff wrote:
> Ainsi parla Damien Solley le 307ème jour de l'an 2003:
> 
> > Hello All
> > I am trying to get a splash screen while booting into my Debian Sarge
> > box. I found instructions at:
> > http://bulmalug.net/impresion.phtml?nIdNoticia=1812
> > and have followed them (almost) to the letter. The kernel has been
> > patched, images and initrd in place, etc etc but I don't get a splash
> > screen. No errors in dmesg, no problems booting, just no splash. I
> > have followed the instructions as per the page apart from one
> > seemingly minor detail: instead of booting with vga=791 as a kernel
> > parameter, I boot with vga=773, which uses the same resolution but a
> > lower colour depth(as my laptop only supports 1 MB video while
> > booting). Are there any debian users who've had experience or success
> > with bootsplash, perhaps following different instructions to these?
> > Does anyone know if the vga= line could be my point-of-failure?
> 
> Perhaps your kernel lacks of support "VESA" fb driver. Check your
> .config:
> 
> bash-2.05b$ grep FB /usr/src/linux/.config
> # CONFIG_BLK_DEV_OFFBOARD is not set
> CONFIG_FB=y
> # CONFIG_FB_RIVA is not set
> # CONFIG_FB_CLGEN is not set
> # CONFIG_FB_PM2 is not set
> # CONFIG_FB_PM3 is not set
> # CONFIG_FB_CYBER2000 is not set
> CONFIG_FB_VESA=y
> # CONFIG_FB_VGA16 is not set
> # CONFIG_FB_HGA is not set
> # CONFIG_FB_MATROX is not set
> # CONFIG_FB_ATY is not set
> # CONFIG_FB_RADEON is not set
> # CONFIG_FB_ATY128 is not set
> # CONFIG_FB_INTEL is not set
> # CONFIG_FB_SIS is not set
> # CONFIG_FB_NEOMAGIC is not set
> # CONFIG_FB_3DFX is not set
> # CONFIG_FB_VOODOO1 is not set
> # CONFIG_FB_TRIDENT is not set
> # CONFIG_FB_VIRTUAL is not set
> CONFIG_FBCON_SPLASHSCREEN=y
> CONFIG_FBCON_CFB16=y
> # CONFIG_FBCON_ADVANCED is not set
> CONFIG_FBCON_CFB8=y
> CONFIG_FBCON_CFB16=y
> CONFIG_FBCON_CFB24=y
> CONFIG_FBCON_CFB32=y
> # CONFIG_FBCON_FONTWIDTH8_ONLY is not set
> # CONFIG_FBCON_FONTS is not set
> 
> Also check you got such a message while you're booting:
> 
> vesafb: framebuffer at 0xe8000000, mapped to 0xe080a000, size 1875k
> vesafb: mode is 800x600x16, linelength=1600, pages=67
> vesafb: protected mode interface info at c000:53a4
> vesafb: scrolling: redraw
> vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0

Thanks for you answer, Nicolas. 
It seems that it may indeed be a framebuffer error. Although I had
assumed my kernel framebuffer was working correctly (because I am
getting 1024x768x8 console) there is an error. My dmesg output includes:
$ dmesg|grep vesafb
vesafb: abort, cannot reserve video memory at 0xe0000000
vesafb: framebuffer at 0xe0000000, mapped to 0xe0969000, size 832k
vesafb: mode is 1024x768x8, linelength=1024, pages=0
vesafb: protected mode interface info at a5f3:1f5f
vesafb: scrolling: redraw

If it is incapable of reserving the video memory, does this mean that
bootsplash won't work on this machine? It has an integrated I845
chipset, with only 1MB memory onboard, and shared memory via agpgart (no
more memory is available until after kernel boot, when it is initialized
with the 845patch by Christian Ziet). 
Regards
Damien

PS: framebuffer config seems to be in order:
$ grep FB /usr/src/linux/.config|grep =y
CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FB_INTEL=y
CONFIG_FBCON_SPLASHSCREEN=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y




Reply to: