LinuxSir.cn,穿越时空的Linuxsir!

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

在Intel 810上成功配置FreeBSD 4.7的XFree86方法:

[复制链接]
发表于 2002-11-6 22:14:06 | 显示全部楼层 |阅读模式
1、修改/boot/default/loader.conf,找到代码行:
agp_load="NO"
改为:
agp_load="YES"
2、重启系统。
3、执行:/dev/MAKEDEV /dev/agpgart
4、执行:xf86cfg,选择你的显卡为intel 810-DC100或810E保存退出。
5、打开/usr/X11R6/lib/X11/XF86Config,找到以下代码行:
Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel"
        BoardName   "i810-dc100"
        ChipSet     "i810-dc100"
        BusID       "CI:0:1:0"
EndSection
插入Option "NoDDC"后为:
Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        Option      "NoDDC"
        VendorName  "Intel"
        BoardName   "i810-dc100"
        ChipSet     "i810-dc100"
        BusID       "CI:0:1:0"
EndSection
6、如果你想在freebsd下用kde的话,用vi建立kde文件使之内容与以下相同:
kldload /modules/agp.ko
startx /usr/local/bin/startkde
把kde修改属性为可执行:
chmod o+x kde
chmod g+x kde
把kde拷入bin目录如/bin,/usr/bin均可。
7、重启后在shell下执行: kde 即可启动kde,但此时X分辨率及刷新率及顔色均不能达到要求。继续修改/usr/X11R6/lib/X11/XF86Config这个范例将会设置成:800x600@85HZ,24Bit)
找到代码行:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 69.0
        VertRefresh  50.0 - 120.0
EndSection
注意HorizSync及VertRefresh参数,这是在运行xf86cfg时配置的。这两个参数很重要。
增加800x600显示参数:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 69.0
        VertRefresh  50.0 - 120.0
    Mode "800x600"
        DotClock        54.91
        HTimings        800 800 912 1040
        VTimings        600 600 608 626
    EndMode
EndSection
最后的
Section "Screen"
   ... ... ...
EndSection
可修改为:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
DefaultDepth 24                                                                        
        SubSection "Display"
                Depth     8
                Modes           "800x600" "640x480"
EndSubSection
        SubSection "Display"
                Depth     15
                Modes           "800x600" "640x480"
EndSubSection
        SubSection "Display"
                Depth     16
                Modes           "800x600" "640x480"
EndSubSection
        SubSection "Display"
                Depth     24
                Modes           "800x600" "640x480"
EndSubSection
EndSection
大功告成,恭喜你!
发表于 2003-9-27 14:10:06 | 显示全部楼层
激动中!!!!好东西
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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