====== Framebuffer ======
===== Overview =====
This page explains how to set up a uvesafb framebuffer to increase the amount of text visible on the console, and make it look pretty at the same time.
===== Required packages =====
Install the following packages:
* {{Package|direct=yes|media-gfx/splashutils}} {{USEFlag|{{EnableFlag|fbcondecor}}}}
* {{Package|direct=yes|media-gfx/splash-themes-livecd}}
* {{Package|direct=yes|media-gfx/splash-themes-gentoo}}
* {{Package|direct=yes|media-gfx/bootsplash-themes}}
* {{Package|direct=yes|sys-apps/v86d}}
===== Configuration =====
==== Kernel ====
Configure the kernel with the following options. Make sure to build uvesafb directly into the kernel, and not as a module if you want to make use of the framebuffer during boot.
{{Kernel|2.6.28-gentoo-r1|0@@}}
Select a theme from /etc/splash/, and then build the kernel and initramfs with the following command. natural_gentoo is a nice grey theme, which looks good on high resolutions. It is assumed that any other required options, such as lvm, have been specified in /etc/genkernel.conf - otherwise modify the command as needed.
{{Root|}}
==== Grub ====
There's a pretty black grub theme on [[http://art4linux.org/node/140|art4linux.org]]. Download and extract the tarball, and copy the black theme to /boot/grub/gentoo_black.xpm.gz.
{{Root|}}
Edit the grub config to add the video, splash and console options as below:
{{File|/boot/grub/grub.conf|
default 0
timeout 8
splashimage=(hd0,0)/boot/grub/gentoo_black.xpm.gz
title Gentoo Linux 2.6.29
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.29-gentoo root=/dev/ram0 real_root=/dev/mapper/badger-root ramdisk=8192 init=/linuxrc doscsi dolvm video=uvesafb:mtrr:3,ywrap,1280x1024@60 splash=verbose,fadein,theme:natural_gentoo console=tty1
initrd /boot/initramfs-genkernel-x86_64-2.6.29-gentoo
}}
==== Startup ====
Finally, add fbcondecor to the boot runlevel
{{Root|}}