HomeBanner

Framebuffer Related Problems

Framebuffer FAQ

1. How can I disable framebuffer in the kernel without recompiling the kernel ?
2. How do I turn on the graphics in the background of the boot messages ?
3. How do I find the VGA parameter to boot loader
1.

How can I disable framebuffer in the kernel without recompiling the kernel ?

You would boot using the following boot parameter:

	vga=normal

The kernel will then boot in text mode instead of the frame buffer. Simply put the above into the "append=" line in /etc/lilo.conf and rerun lilo.

2.

How do I turn on the graphics in the background of the boot messages ?

  1. First, you need the following packages installed:

    splashanim
    libmng
    libjpeg
  2. Second, make sure the following is enabled in /usr/src/linux/.config

    CONFIG_FBCON_SPLASHSCREEN=y
    	  

    It's located under the kernel config section

    Console drivers
    |
    +->Frame-buffer support
       |
       +->[*] Use splash screen instead of boot logo
    	  

    If it's not selected, you'll need to recompile the kernel to enable splash screen support.

  3. Finally, you'll need to enable the splash screen with mk_initrd and lilo (where -s represents the desired resolution):

    mk_initrd -k "vmlinuz vmlinuz.suse" -i "initrd initrd.suse" -s 1024x768
    	  
  4. add the following line to your /etc/lilo.conf

    vga=791
    	  
  5. Then, reboot and enjoy the purty pictures.

3.

How do I find the VGA parameter to boot loader

  • The framebuffer HOWTO http://www.tldp.org/HOWTO/Framebuffer-HOWTO-5.html#ss5.2

  • hwinfo --framebuffer

    02: None 00.0: 11001 VESA Framebuffer                           
      [Created at bios.387]
      Unique ID: rdCR.xpCz25nMUV0
      Hardware Class: framebuffer
      Model: "Matrox G400"
      Vendor: "Matrox"
      Device: "Matrox G400"
      SubVendor: "Matrox Graphics Inc."
      SubDevice: 
      Revision: "00"
      Memory Size: 32 MB
      Memory Range: 0xe2000000-0xe3ffffff (rw)
      Mode 0x0301: 640x480 (+640), 8 bits
      Mode 0x0310: 640x480 (+1280), 15 bits
      Mode 0x0311: 640x480 (+1280), 16 bits
      Mode 0x0312: 640x480 (+2560), 24 bits
      Mode 0x0300: 640x400 (+640), 8 bits
      Mode 0x0303: 800x600 (+800), 8 bits
      Mode 0x0313: 800x600 (+1600), 15 bits
      Mode 0x0314: 800x600 (+1600), 16 bits
      Mode 0x0315: 800x600 (+3200), 24 bits
      Mode 0x0305: 1024x768 (+1024), 8 bits
      Mode 0x0316: 1024x768 (+2048), 15 bits
      Mode 0x0317: 1024x768 (+2048), 16 bits
      Mode 0x0318: 1024x768 (+4096), 24 bits
      Mode 0x0307: 1280x1024 (+1280), 8 bits
      Mode 0x0319: 1280x1024 (+2560), 15 bits
      Mode 0x031a: 1280x1024 (+2560), 16 bits
      Mode 0x031b: 1280x1024 (+5120), 24 bits
      Config Status: cfg=no, avail=yes, need=no
    	      

Updated: Tue, 03 Feb 2004
Valid CSS!Valid HTML 4.01!