注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 科普系列之-使用Windows的..
 帮助

在FreeBSD6.2下安装GeForce 7300显卡驱动


2007-11-13 10:11:56
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://luhuayan.blog.51cto.com/261482/50314
1. 从www.nvidia.com下载最新的驱动程序,NVIDIA-FreeBSD-x86-100.14.11.tar.gz
 
2. 解压驱动程序
    # tar xzvf NVIDIA-FreeBSD-x86-100.14.11.tar.gz
 
3. cd NVIDIA-FreeBSD-x86-100.14.11
    # make install
 
4. 修改"/etc/X11/xorg.conf配置文件
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     "Device"  "/Dev/sysmouse"
#       Option     "Resolution"   "256"
        Option     "Buttons"    "5"
        Option     "ZAxisMapping"  "4  5"
EndSection
Section "InputDevice"
        Identifier    "Keyboard0"
        Driver        "kbd"
        Option        "XkbModel"   "pc101"
        Option        "XkdLayout"  "us"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
        Identifier    "Monitor0"
        HorizSync      31.5 - 37.9
        VertRefresh    50.0 - 90.0
EndSection
Section "Device"
        Identifier    "Card0"
        Driver        "nvidia"           #这行改为"nvidia"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth   16
        SubSection "Display"
              Viewport   0   0
              Depth      16
              Modes      "1024*768"      #这行为"1024*768"
        EndSubSection
EndSection
 
    以上配置文件
 
    删除以下行
    Driver "nv"
    Driver "vesa"
    Driver "fbdev"
 
    用以下行代替
 Driver "nvidia"
 
    删除以下行
    Load "dri"
    Load "GLCore"
 
    增加以下行
    Load "glx"
 
5. 在/boot/loader.conf配置文件中增加以下行
    nvidia_load="YES"
 
6. 重启系统
    # reboot   
 
 

本文出自 “陆华艳的博客” 博客,请务必保留此出处http://luhuayan.blog.51cto.com/261482/50314





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: