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

1. 从 [url]www.nvidia.com[/url]下载最新的驱动程序,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   
 
 

你可能感兴趣的:(FreeBSD,显卡,驱动安装,GeForce,7300)