|
楼主 |
发表于 2009-2-5 13:32:49
|
显示全部楼层
Post by harttmann;1944061
从wiki上看,vga有两种模式,一种是323之类的,一种是linux的791,我比较奇怪为什么我的机器不支持linux的模式,反而支持普通模式。
另外,在/usr/src/linux/Documents/fb/modedb.txt里提到了一个linux/drivers/video/modedb.c,里面有两种,一个是xf86的,一个是vesa的
另外,wiki里,865指的是1440x900
貌似官方推荐uvesafb, wiki里也有这一句
"This calculation is not always accurate. It is a good starting point and you may have to do some experimenting to find the correct value."
下面摘自/usr/src/linux/Document/fb/uvesafb.txt- uvesafb is a _generic_ driver which supports a wide variety of video
- cards, but which is ultimately limited by the Video BIOS interface.
- The most important limitations are:
- - Lack of any type of acceleration.
- - A strict and limited set of supported video modes. Often the native
- or most optimal resolution/refresh rate for your setup will not work
- with uvesafb, simply because the Video BIOS doesn't support the
- video mode you want to use. This can be especially painful with
- widescreen panels, where native video modes don't have the 4:3 aspect
- ratio, which is what most BIOS-es are limited to.
复制代码
uvesafb只是vesafb-tng项目的替代品,与vesafb关系不大。
其主页是http://dev.gentoo.org/~spock/projects/uvesafb/
主要目的应该是在非x86架构模拟x86用fbsplash,在x86上自我模拟也未尝不可。
推荐uvesafb代替vesafb-tng(后者已deprecated)并不是代替vesafb
vesafb只适合intel boxes.
uvesafb和Video BIOS支持有关
vesafb也需要BIOS支持设置打开graphics mode
前提还要支持VESA BIOS Extensions Version 2.0
建议在kernel选项中只打开其中之一来调试。 |
|