免费注册 查看新帖 |

Chinaunix

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

Debian下安装ATi驱动 [复制链接]

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

               
                1. 从 ATi 的网站上下载 Linux 下的驱动, 一般是那个 .run 文件. 不算太大, 30多M.
2. 运行 sh ati-driver-installer-8.22.5-i386.run --buildpkg Debian/sid 来生成Debian Sid 的 deb 包( 生成其它软件包可以通过 sh ati-driver-installer-8.22.5-i386.run --get-supported 获得帮助).
这时会在您的主目录下生成5个deb包
fglrx-control-qt3_8.22.5-1_i386.deb
fglrx-driver_8.22.5-1_i386.deb      
fglrx-kernel-src_8.22.5-1_i386.deb
fglrx-driver-dev_8.22.5-1_i386.deb   
fglrx-sources_8.22.5-1_i386.deb
3. 安装内核头文件, 比如我的是 linux-headers-2.6.15-1-686.
4. dpkg -i fglrx-kernel-src_8.22.5-1_i386.deb
5. cd /usr/src/
    tar jxvf fglrx.tar.bz2
    cd modules/fglrx/
    export KSRC=/usr/src/linux-headers-2.6.15-1-686
    export KVERS=2.6.15-1-686
    ./debian/rules binary_modules
6. dpkg -i ~/fglrx-driver_8.22.5-1_i386.deb
7. dpkg -i /usr/src/fglrx-kernel-2.6.15-1-686_8.22.5-1_i386.deb
8. 用 modconf 将 kernel/drivers/char/drm 里的已加载的模块移除,否则 fglrx 不能加载( 如果不能移除,那么先退到控制台,终止X的相关进程 )
9. depmod -ae
10. modprobe fglrx
11. 编辑 /etc/X11/xorg.conf , 修改下面的内容
Section "Module"
  ...
  # These modules are required for 3D acceleration
  Load "GLcore"
  Load "glx"
  Load "dri"
  ...
  # Load "extmod" but omit DGA extension
  SubSection "extmod"
    Option "omit xorg-dga"
  EndSubSection
  ...
EndSection
Section "Device"
    Identifier          "ATI"
    Driver              "fglrx"
    Option              "AGPMode" "4"
    Option              "backingstore" "true"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
  #Option "NoDDC"
# === Video Overlay for the Xv extension ===
  Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
  Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
  Option "UseInternalAGPGART" "yes"
EndSection
Section "Screen"
  Identifier "your screen"
  Device     "ATI"
  Monitor    "your monitor"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1024x768" # this is only an example,
                     # use your preferred resolution here
  EndSubSection
EndSection
Section "DRI"
  Mode 0666
EndSection
   
               
               
               
               
               
               
               

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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP