LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hezhit

装饰终端,bootsplash的vesafb解决方案

[复制链接]
发表于 2009-2-5 13:20:21 | 显示全部楼层
問下uvesafb和vesafb有什么区别?除了uvesafb不用去研究vga mode。因为很就前用uvesafb会因为stack overflow而kernel panic,所以一直避开不用。反正开机很快就也没有研究fbcondecor的東西。
回复 支持 反对

使用道具 举报

发表于 2009-2-5 13:22:47 | 显示全部楼层
Post by harttmann;1944086
lrmi i386的,我没法用


me neither... 唉
回复 支持 反对

使用道具 举报

 楼主| 发表于 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
  1. uvesafb is a _generic_ driver which supports a wide variety of video
  2. cards, but which is ultimately limited by the Video BIOS interface.
  3. The most important limitations are:
  4. - Lack of any type of acceleration.
  5. - A strict and limited set of supported video modes.  Often the native
  6.   or most optimal resolution/refresh rate for your setup will not work
  7.   with uvesafb, simply because the Video BIOS doesn't support the
  8.   video mode you want to use.  This can be especially painful with
  9.   widescreen panels, where native video modes don't have the 4:3 aspect
  10.   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选项中只打开其中之一来调试。
回复 支持 反对

使用道具 举报

发表于 2009-2-5 13:51:08 | 显示全部楼层
用了,但是切换到VT1-6之后就切换不回X了。
回复 支持 反对

使用道具 举报

发表于 2009-2-5 20:27:43 | 显示全部楼层
FrameBuffer这么老的东西,最近怎么那么火!?
回复 支持 反对

使用道具 举报

发表于 2009-2-5 20:28:32 | 显示全部楼层
FrameBuffer这么老的东西,最近怎么那么火!?类似Suse的Grub的主题却没有人捣鼓。
回复 支持 反对

使用道具 举报

发表于 2009-2-5 20:32:48 | 显示全部楼层
Post by sheep204;1944269
FrameBuffer这么老的东西,最近怎么那么火!?类似Suse的Grub的主题却没有人捣鼓。

额...也是

如果有人能捣鼓一下grub2 ...我是非常非常欢迎地..

http://en.gentoo-wiki.com/wiki/Grub2

这个看起来很新...
回复 支持 反对

使用道具 举报

发表于 2009-2-5 22:12:33 | 显示全部楼层
Post by sheep204;1944269
FrameBuffer这么老的东西,最近怎么那么火!?类似Suse的Grub的主题却没有人捣鼓。


suse 那 grub 主题也捣鼓过了,就是 gfxboot 那东东吧。
回复 支持 反对

使用道具 举报

发表于 2009-2-5 23:16:45 | 显示全部楼层
ms启动的时候一开始还是会有段时间显示不正常,然后黑几秒之后就好了
回复 支持 反对

使用道具 举报

发表于 2009-2-6 09:13:22 | 显示全部楼层
Post by kimux;1944271
额...也是

如果有人能捣鼓一下grub2 ...我是非常非常欢迎地..

http://en.gentoo-wiki.com/wiki/Grub2

这个看起来很新...


所以ext4需要grub2?看来还是再等一下再升级ext4吧。

我有一个问题:
  1. # dmesg | grep fbcondecor
  2. [    0.474929] fbcondecor_help used greatest stack depth: 5752 bytes left
  3. [   15.648185] fbcondecor: console 0 using theme 'default'
  4. [   15.774827] fbcondecor: switched decor state to 'on' on console 0
  5. [   15.911919] fbcondecor: console 1 using theme 'default'
  6. [   16.038890] fbcondecor: switched decor state to 'on' on console 1
  7. [   16.175628] fbcondecor: console 2 using theme 'default'
  8. [   16.301208] fbcondecor: switched decor state to 'on' on console 2
  9. [   16.437993] fbcondecor: console 3 using theme 'default'
  10. [   16.565402] fbcondecor: switched decor state to 'on' on console 3
  11. [   16.700342] fbcondecor: console 4 using theme 'default'
  12. [   16.827798] fbcondecor: switched decor state to 'on' on console 4
  13. [   16.964294] fbcondecor: console 5 using theme 'default'
  14. [   17.091401] fbcondecor: switched decor state to 'on' on console 5
复制代码


似乎kernel刚开始时有stack overflow的问题,然后要等到/etc/init.d/fbcondecor才把console装饰起来。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表