Important: You are required to change your passwords used for Gentoo services and set an email address for your Wiki account if you haven't done so. See the full announcement and Wiki email policy change for more information.


From Gentoo Wiki
Jump to: navigation, search

External resources

uvesafb is a framebuffer driver to use the VESA BIOS Extensions for changing display modes or display graphics on the console.


The uvesafb relys on kernel modules and the daemon sys-apps/v86d to change the resolutions and display.


You need to activate the following kernel options:

Kernel configuration

Device Drivers  --->
    <*> Connector - unified userspace <-> kernelspace linker  --->
    Graphics support  --->
        [*] Support for frame buffer devices  --->
            [*]   Enable firmware EDID
            <*>   Userspace VESA VGA graphics support


Before this step, the kernel needs to be build and the link in /usr/src/linux updated to point to the compiled kernel sources with the enabled uvesafb.

Rebuild dev-libs/klibc and install sys-apps/v86d:

root # emerge --ask --oneshot klibc
root # emerge --ask v86d

Kernel (again)

Once the installation is finished, you need to activate the following kernel options:

Kernel configuration

General setup  --->
    [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
    (/usr/share/v86d/initramfs) Initramfs source file(s)


The resolution and behaviour of uvesafb is set during boot, a full list of kernel parameters can be found online here: Documentation/fb/uvesafb.txt or in the local kernel documentation /usr/src/linux/Documentation/fb/uvesafb.txt.


In GRUB2 the parameters can be added to the variable GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

Codekernel commandline

... video=uvesafb:1024x768-32,mtrr:3,ywrap ...

Then run:

root # grub2-mkconfig -o /boot/grub2/grub.cfg

External Resources