歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> Linux下ATI驅動安裝傻瓜安裝方法

Linux下ATI驅動安裝傻瓜安裝方法

日期:2017/2/27 14:25:53   编辑:更多Linux

菜鳥我剛剛接觸Debian不久(其實時間也不短了,但是沒有深研究),在各位前輩的指導下,成功完成了X的安裝以及字體AA等設定,但是,ATI驅動程序的安裝一直沒有解決,按照網絡上一些文章也未能成功。在IRC.debian.org的國外友人指導下,終於於今天完成,但是過程仍舊有不盡人意之處,還望大家指教。

環境:Debian Sarge (2.6.8-2-386) AMD Barton 2500+ATI 95501G DDR400WD800JB

采用http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.Html驅動按照說明第一步:apt-get install kernel-source-2.x.ycd /usr/srctar xjvf kernel-source-2.x.y.tar.bz2cd kernel-source-2.x.ycp /boot/config-2.x.y-flavour .configmake-kpkg --append-to-version "-flavour" --revision 2.x.y-z --config old configure

其中2.x.y 用當前的Linux內核版本代替 比如說我就用2.8.6

2.x.y-z 用 2.8.6-2 (用uname -a 查詢)代替

"-flavour" 用 -2-386 代替(沒有引號!)

完成第二步

為了安全起見在 XF86Config-4 裡面的 Section "Device"加入Option "UseInternalAGPGART" "no"

如果出現問題 就將no 改成 yes 用內核的支持程序

第三步

下面我們要做的是檢查 debhelper, kernel-package and fakeroot是否安裝apt-get install debhelper kernel-package fakeroot

然後我們有兩個選擇一個是利用fglrx-installer 下載 deb包文件還有就是利用aptfglrx-installer 還需要下載其他的一些支持包,不幸的是我的系統有些包尚且不能用不過fglrx-installer從ATI網站下載這些東西,ATI網站速度也不快 所以我們用第二種方法

在sources.list當中加入:deb http://www.stanchina.net/~flavio/debian-fglrx-xfree86/ ./ #Xfree86 4.3.0deb http://www.stanchina.net/~flavio/debian-fglrx-xorg/ ./ #X.Orgdeb http://www.stanchina.net/~flavio/deb...xfree86-amd64/ ./#Xfree86 for AMD64選擇適合自己的 加入sources.list

以後還要加入這一條 順便加上吧deb http://www.stanchina.net/~flavio/debian-fglrx-modules/ ./

然後 apt-get install fglrx-driver fglrx-kernel-src

這樣 我們就安裝好了fglrx驅動程序

第四步 安裝驅動內核模塊

這裡有很多種方法 任選(0)假設你不知道什麼編譯內核 那麼直接下編譯好了的

apt-get install packagenamepackagename 按下表替換fglrx-control-qt3 - Control panel for the ATI graphics acceleratorsfglrx-driver-dev - Video driver for the ATI graphics accelerators (devel files)fglrx-driver - Video driver for the ATI graphics acceleratorsfglrx-kernel-src - Kernel module source for the ATI graphics acceleratorsfglrx-sources - Source code for the ATI graphics accelerators control panelfglrx-kernel-2.4.27-2-386 - ATI binary kernel module for Linux 2.4.27-2-386fglrx-kernel-2.4.27-2-586tsc - ATI binary kernel module for Linux 2.4.27-2-586tscfglrx-kernel-2.4.27-2-686 - ATI binary kernel module for Linux 2.4.27-2-686fglrx-kernel-2.4.27-2-686-smp - ATI binary kernel module for Linux 2.4.27-2-686-smpfglrx-kernel-2.4.27-2-k6 - ATI binary kernel module for Linux 2.4.27-2-k6fglrx-kernel-2.4.27-2-k7 - ATI binary kernel module for Linux 2.4.27-2-k7fglrx-kernel-2.4.27-2-k7-smp - ATI binary kernel module for Linux 2.4.27-2-k7-smpfglrx-kernel-2.6.11-1-386 - ATI binary kernel module for Linux 2.6.11-1-386fglrx-kernel-2.6.11-1-686 - ATI binary kernel module for Linux 2.6.11-1-686fglrx-kernel-2.6.11-1-686-smp - ATI binary kernel module for Linux 2.6.11-1-686-smpfglrx-kernel-2.6.11-1-k7 - ATI binary kernel module for Linux 2.6.11-1-k7fglrx-kernel-2.6.11-1-k7-smp - ATI binary kernel module for Linux 2.6.11-1-k7-smpfglrx-kernel-2.6.8-2-386 - ATI binary kernel module for Linux 2.6.8-2-386fglrx-kernel-2.6.8-2-686 - ATI binary kernel module for Linux 2.6.8-2-686fglrx-kernel-2.6.8-2-686-smp - ATI binary kernel module for Linux 2.6.8-2-686-smpfglrx-kernel-2.6.8-2-k7 - ATI binary kernel module for Linux 2.6.8-2-k7fglrx-kernel-2.6.8-2-k7-smp - ATI binary kernel module for Linux 2.6.8-2-k7-smp




(1)cd /usr/srcbzcat fglrx.tar.bz2 tar x

然後 cd /usr/src/modules/fglrx./make.shmkdir /lib/modules/$(uname -r)/misccp fglrx.ko /lib/modules/$(uname -r)/misc/depmod -ae(root 下操作)

(2)module-assistant preparemodule-assistant a-i fglrx

上面(1)和(2)結束以後還要執行modprobe fglrx 安裝模塊

第五步調整XF86Config-4將Load "extmod" 替換成

# Load "extmod" but omit DGA extension# (the DGA extension is broken in the fglrx driver)SubSection "extmod"Option "omit xfree86-dga"EndSubSection

Section "Device"按如下修改Section "Device"Identifier "ATI"Driver "fglrx" # this is the important bitOption "VideoOverlay" "on"Option "OpenGLOverlay" "off"Option "UseInternalAGPGART" "no" #出現問題改成yesEndSection

Section "Screen" 中的 Device 改成 ATI

Section "DRI"如下修改Section "DRI"Mode 0666EndSection

這裡也有人用fglrxconfig,不過我用過了以後X無法起動,可能是Mouse端口不對,所以還是手工修改為好。

至此 如果一切正常,ATI 3D 驅動就可以使用了

進入X 運行fgl_glxgears 和glxgears測試



(1)cd /usr/srcbzcat fglrx.tar.bz2 tar x

然後 cd /usr/src/modules/fglrx./make.shmkdir /lib/modules/$(uname -r)/misccp fglrx.ko /lib/modules/$(uname -r)/misc/depmod -ae(root 下操作)

(2)module-assistant preparemodule-assistant a-i fglrx

上面(1)和(2)結束以後還要執行modprobe fglrx 安裝模塊

第五步調整XF86Config-4將Load "extmod" 替換成

# Load "extmod" but omit DGA extension# (the DGA extension is broken in the fglrx driver)SubSection "extmod"Option "omit xfree86-dga"EndSubSection

Section "Device"按如下修改Section "Device"Identifier "ATI"Driver "fglrx" # this is the important bitOption "VideoOverlay" "on"Option "OpenGLOverlay" "off"Option "UseInternalAGPGART" "no" #出現問題改成yesEndSection

Section "Screen" 中的 Device 改成 ATI

Section "DRI"如下修改Section "DRI"Mode 0666EndSection

這裡也有人用fglrxconfig,不過我用過了以後X無法起動,可能是Mouse端口不對,所以還是手工修改為好。

至此 如果一切正常,ATI 3D 驅動就可以使用了

進入X 運行fgl_glxgears 和glxgears測試



Copyright © Linux教程網 All Rights Reserved