LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4147|回复: 4

testing/sid(xorg6.9)安装ati驱动详细过程

[复制链接]
发表于 2006-2-22 11:21:33 | 显示全部楼层 |阅读模式
近来有同志对testing/sid下ati驱动安装有疑问,下面介绍以下我的安装过程。现在tesging和sid都是xorg6.9了
以sid为例:
1. 升级xorg到6.9,现在testing和sid都是6.9了。
2. 先不要修改xorg.conf,继续使用ati和radeon。
3. 从ati下载驱动,建议下载30多M的.run文件
4. 通过.run文件可以生成debian/testing和debian/sid的deb包,这些包就在当前目录,一共5个。不会就运行.run -help看帮助。如
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
5. 安装内核头文件。比如我的内核为linux-image-2.6-686-smp,就安装linux-headers-2.6-686-smp,安装后在/usr/src下有以下目录
linux-headers-2.6.15-1-686-smp
linux-headers-2.6.15-1
6. dpkg -i fglrx-kernel-src_8.22.5-1_i386.deb
在/usr/src下就有一个fglrx驱动的压缩包,用tar jxvf解压

7. /usr/src/modules/fglrx

8. export KSRC=/usr/src/linux-headers-2.6.15-1-686-smp
   export KVERS=2.6.15-1-686-smp
  这一步千万不要弄错
9.  运行 ./debian/rules binary_modules
10. 第9步成功后,在/usr/src下就有一个deb包
   fglrx-kernel-2.6.15-1-686-smp_8.22.5-1_i386.deb
11. dpkg -i fglrx-kernel-2.6.15-1-686-smp_8.22.5-1_i386.deb
这一步会报错,不用管它。
12. cd到用.run文件生成deb包的那个目录
13. dpkg -i fglrx-driver_8.22.5-1_i386.deb
14. 重复第11步,驱动安装完成
   dpkg -i fglrx-driver-dev_8.22.5-1_i386.deb,有做开发的同志不要忘了装它。
15. 用modconf将kernel/drivers/char/drm里的所有模块移除,否则fglrx不能加载
16. 运行depmod -ae
17. 运行modprobe fglrx
18. 修改xorg.conf文件,下面是我的xorg.conf文件的Device
Section "Device"
        Identifier      "ATI Technologies, Inc. R350 AH [Radeon 9800]"
        Driver          "fglrx"
        BusID           "CI:1:0:0"

        # 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" "no"
EndSection

19.重启动就可以了
发表于 2006-2-22 11:31:45 | 显示全部楼层
要19步。。。
问一下,新的fglrx可以用software suspend2+dri吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-22 11:38:54 | 显示全部楼层
oftware suspend2不知道。
内核的dri模块不能加载,但在xorg.conf里的Section "Module"里需要load dri
回复 支持 反对

使用道具 举报

发表于 2006-2-23 11:18:00 | 显示全部楼层
有没有更简单一点的方法?????
回复 支持 反对

使用道具 举报

发表于 2006-3-8 03:01:33 | 显示全部楼层

大家没有遇到这个问题吗?

(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        compiled for 6.8.0, module version = 8.22.5
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
[R200Setup] X version mismatch - detected X.org 7.0.0.0, required X.org 6.8.0.0
(II) UnloadModule: "fglrx"
(II) Unloading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(EE) Failed to load module "fglrx" (module requirement mismatch, 0)
...
(EE) No devices detected.

Fatal server error:
no screens found

我的系统是etch,xorg6.9.0
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表