2013年(4)
分类: LINUX
2013-02-02 00:29:01
1.主要依赖内核和v86d程序来更改控制台及其分辨率;
2.内核选项:
Device Drivers --->
<*> Connector - unified userspace <-> kernelspace linker --->
Graphics support --->
[*] Support for frame buffer devices --->
[*] Enable firmware EDID
<*> Userspace VESA VGA graphics support
同时安装dev-libs/klibc及sys-apps/v86d;
3.再次编译内核(保留之前的选项下):
General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/usr/share/v86d/initramfs) Initramfs source file(s)
4.更改grub2配置文件:/etc/default/grub中的变量GRUB_CMDLINE_LINUX_DEFAULT加上
...video=uvesafb:1366x768-32,mtrr:3,ywrap...其中1366x768-32可以使用hwinfo --framebuffer获得显示器支持的分辨率.最后更新grub: grub2-mkconfig -o /boot/grub2/grub.cfg