uvesafb
| External resources |
uvesafb is a framebuffer driver to use the VESA BIOS Extensions for changing display modes or display graphics on the console.
Contents |
Installation
The uvesafb relys on kernel modules and the daemon sys-apps/v86d to change the resolutions and display.
Kernel
You need to activate the following kernel options:
Device Drivers --->
<*> Connector - unified userspace <-> kernelspace linker --->
Graphics support --->
[*] Support for frame buffer devices --->
[*] Enable firmware EDID
<*> Userspace VESA VGA graphics support
Software
Rebuild dev-libs/klibc and install sys-apps/v86d:
root # emerge --ask --oneshot klibcroot # emerge --ask v86dKernel (again)
Once the installation is finished, you need to activate the following kernel options:
General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/usr/share/v86d/initramfs) Initramfs source file(s)
Usage
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.
Bootloader
In GRUB2 the parameters can be added to the variable GRUB_CMDLINE_LINUX_DEFAULT in /etc/defaults/grub.
... video=uvesafb:1024x768-32,mtrr:3,ywrap ...
Then run:
root # grub2-mkconfig -o /boot/grub2/grub.cfg