|
刚在这里看见几篇关于显卡驱动的安装,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 查看全部评论(0)我来说两句 |
写给新手:显卡驱动的安装
发布时间: 2008-6-28 18:21 作者: snnn 来源: http://www.chinaunix.net
