howto: uvesafb widescreen
-
You need to configure your kernel kernel. In the “Device Drivers” section select:
1 2 3 4
[*] Connector - unified userspace kernelspace linker Graphics support ---> Support for frame buffer devices ---> [*] Userspace VESA VGA graphics support
-
build the kernel: make
- emerge klibc
-
emerge v86d
1
# emerge klibc
Note: This step is necessary because klibc has to be compiled against a kernel tree that includes uvesafb. You only need to do this once, i.e. you won’t have to remerge klibc every time you install a new kernel or a new kernel module.
-
install v86d:
1
# emerge v86d
-
reconfigure your kernel; in the “General Setup” section select:
1
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
and use
/usr/share/v86d/initramfs
in Initramfs source file(s). (that’sCONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs
) -
rebuild the kernel: make, and install it
-
add
video=uvesafb:1024x768-32,mtrr:3,ywrap
(or similar) to your kernel command line - reboot and enjoy uvesafb :)
check /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
for available video modes.