免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 935 | 回复: 0
打印 上一主题 下一主题

显卡的安装(zt) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-08 21:41 |只看该作者 |倒序浏览
刚在这里看见几篇关于显卡驱动的安装,dri等问题。
我简单说下我的经验:
第一条原则:不要尝试把Linux下的驱动装到freebsd下来。
第二条原则:不要去Linux社区问怎么在freebsd下安装显卡驱动
1、nv
在nv的官方网站上就可以下载到专门为freebsd设计的驱动,不过那样太麻烦。
nv的驱动在ports中就有。/usr/ports/x11/nvidia-driver/
/usr/ports/x11/nvidia-xconfig/这个ports是帮你配置xorg.cfg的
nv的驱动安装的时候会有几个选项。
例如是选用freebsd的agp驱动还是nv的agp驱动。
建议是:
不要使用freebsd自带的agp驱动。
如果你要使用nv的agp驱动,
首先检查你的内核配置文件,如果有driver agp这样的行,一定要注释掉。
如果你对内核配置文件做了任何修改,请先重新编译内核。
然后切记,xorg.cfg中这样一行必须删除或者注释掉。
Load  "dri"
2、ati
ATI没有freebsd的驱动。
请在内核配置文件中加入下面两行
device          drm             # DRM core module required by DRM drivers
device          radeondrm       # ATI Radeon
然后重新编译内核。
然后切记,xorg.cfg中这样一行必须删除或者注释掉。
Load  "dri"
3、intel集成显卡。
intel集成显卡没有freebsd的驱动。
device          drm             # DRM core module required by DRM drivers
device          i915drm         # Intel i830 through i915
然后切记,xorg.cfg中这样一行必须删除或者注释掉。
Load  "dri"
附:
1、如何使用ports安装驱动请参考freebsd使用手册。
2、我的系统是freebsd 6.2,以上方式在部分5.x系统下测试过,还有一部分没有测试过。
3、配置xorg.cfg可以使用xorgcfg -textmode命令。
4、我的ati显卡的xorg.cfg的配置
Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
        Load "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        #Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
EndSection
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/sysmouse"
EndSection
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection
Section "Monitor"
        Identifier   "Monitor0"
### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    31.5 - 57.0
        VertRefresh  50.0 - 90.0
EndSection
Section "Device"
        Identifier  "Card0"
        Driver      "ati"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600"
        EndSubSection
EndSection
最近忙活论文和工作,单位机器一直没搞,该死的ati,该死的学校
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/32090/showart_255517.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP