LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 696|回复: 2

FC4如何运行Frame Buffer模式??在线等

[复制链接]
发表于 2006-4-28 13:43:25 | 显示全部楼层 |阅读模式
请教兄弟们:
    在VM上的FC4如何启动FB模式啊?

    这个链接:
        http://blog.codelphi.com/python/articles/3734.aspx
      说明的我看不懂,而且他用的是lilo,我的是grub,麻烦明白的老大能不能写一下步骤,详细点哈,急等着用。
   
    我现在把2.6.16重新编译了一下,其中的graphic drivers下的FB已经被打开了,然后就不明白怎么弄了,在线等~~~~
发表于 2006-4-28 14:51:35 | 显示全部楼层
修改/boot/grub/menu.lst,并在 kernel 打头的那一行添加 vga=0x0317
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-28 18:10:31 | 显示全部楼层
extreme001:
   多谢!
  问题已经解决,是内核编译时menuconfig不对导致地~~,和大家分享一下:

make menuconfig
(Linux Kernel Configuration: 2.6.x)  
Code maturity level options  --->
   
  • Prompt for development and/or incomplete code/drivers
    Processor type and features  --->
       
  • MTRR (Memory Type Range Register) support
    Device Drivers  --->
        Block devices  --->
            <*> Loopback device support
            <*> RAM disk support
            (4096) Default RAM disk size
            
  •    Initial RAM disk (initrd) support
        Graphics support  --->
       
  • Support for frame buffer devices
       
  •    VESA VGA graphics support
            Console display driver support  --->
            
  •    Video mode selection support
            <*> Framebuffer Console support
            Bootsplash configuration  --->
            
  • Bootup splash screen

    /*=====================================*/
    (For any kernel do NOT enable the following options or else you risk bootsplash not working or framebuffer corruption when switching VTs. )
    Device Drivers  --->
        Graphics support  --->
                < >   nVidia Riva support  (do not enable!)
            Logo configuration  --->
                [ ] Bootup logo  (do not enable!)

    (And add the following line to your /etc/X11/XF86Config[-4] or /etc/X11/xorg.conf file.)

    Option          "NvAGP"         "1"

    然后根据北南兄编译内核一节所述完成内核配置,修改grub配置文件,类似如下:
    kernel=(hd0,0)/boot/bzImage root=/dev/hda3 video=vesafb:ywrap,mtrr vga=0x31A

    然后,reboot即可

    顺便给出分辨率对照表格:
    Here is a chart of kernel mode numbers for the 'vga=' boot parameter.  Colours  640x400  640x480  800x600  1024x768  1152x864  1280x1024  1400x1050  1600x1200  
    4 bits   ?   ?  0x302   ?   ?   ?   ?   ?  
    8 bits  0x300  0x301  0x303  0x305  0x161  0x307   ?  0x31C  
    15 bits   ?  0x310  0x313  0x316  0x162  0x319  0x340  0x31D  
    16 bits   ?  0x311  0x314  0x317  0x163  0x31A  0x341  0x31E  
    24 bits   ?  0x312  0x315  0x318   ?  0x31B  0x342  0x31F  
    32 bits   ?   ?   ?   ?  0x164   ?   ?   ?
  • 回复 支持 反对

    使用道具 举报

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

    本版积分规则

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