免费注册 查看新帖 |

Chinaunix

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

在debian/sid里面安装ATI显卡的fglrx驱动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-31 12:47 |只看该作者 |倒序浏览

               
                一 下载编译必需的软件包
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
               
               
               
               
               
               
               

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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP