Username: Password:

在debian/sid里面安装ATI显卡的fglrx驱动(zz)
来源: ChinaUnix博客  作者: ChinaUnix博客   发布时间:2006-01-01 19:43:00


               
                一 下载编译必需的软件包
1 下载必需的编译工具
# apt-get install build-essential
2 下载内核头文档
# apt-get install linux-headers-$(uname -r)
3 下载fglrx驱动和内核模块源文档
# apt-get install fglrx-driver fglrx-kernel-src
二 编译内核模块
1 解压fglrx内核模块源文档
# cd /usr/src
# tar xvf fglrx*
2 编译内核模块
# cd modules/fglrx/
# ./make.sh
3 安装内核模块
# mkdir /lib/modules/$(uname -r)/misc
# cp fglrx.ko /lib/modules/$(uname -r)/misc/
# depmod -ae
三 配置显卡
# aticonfig --initial
# aticonfig --ovt=Xv
驱动选择fglrx,别的默认
四 查看驱动是否正常加载
1 Ctrl+Alt+Backspace重启X,登录
2 查看$ fglrxinfo输出,是否含有“ATI Technologies Inc.”有即3D加速已打开。
这个是我的配置文档,在ubuntu/dapper debian/sid里面都能用的。
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection
Section "Files"
    # path to defoma fonts
    FontPath     "/usr/share/X11/fonts/misc"
    FontPath     "/usr/share/X11/fonts/cyrillic"
    FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/X11/fonts/Type1"
    FontPath     "/usr/share/X11/fonts/100dpi"
    FontPath     "/usr/share/X11/fonts/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
    Load  "bitmap"
    Load  "ddc"
    Load  "dri"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "int10"
    Load  "type1"
    Load  "vbe"
EndSection
Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc104"
    Option        "XkbLayout" "us"
EndSection
Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ExplorerPS/2"
    Option        "ZAxisMapping" "4 5"
    Option        "Emulate3Buttons" "true"
EndSection
Section "Monitor"
    Identifier   "E71f-2"
    HorizSync    30.0 - 71.0
    VertRefresh  50.0 - 160.0
    Option        "DPMS"
EndSection
Section "Device"
    Identifier  "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
    Driver      "fglrx"
    Option        "UseFBDev" "true"
    Option        "VideoOverlay" "on"
    Option        "OpenGLOverlay" "off"
    BusID       "PCI:5:0:0"
EndSection
Section "Screen"
    Identifier "Default Screen"
    Device     "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
    Monitor    "E71f-2"
    DefaultDepth     24
    SubSection "Display"
        Depth     1
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes    "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Section "DRI"
    Mode         0666
EndSection
               
               
               
               
               
               
               
               
               
               

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅