debian安装ATI官方显卡驱动(转)

//为暑假装debian做准备,寒假时,界面没优化恶心了一个假期

 

到http://ati.amd.com/support/driver.html下载符合你显卡的驱动程序

安装需要的软件包

#apt-get install build-essential debhelper bzip2 fakeroot

#apt-get install module-assistant

#apt-get install dh-make debconf libstdc++5 linux-headers-$(uname -r)

Create the .deb packages: (change accordingly depending on which flavor you're running)

方式一

Code:

# sh ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Debian/testing

Install the .deb packages in the current directory:

Code:

# dpkg -i package.deb

方式二

$ cd ./fglrx/

$ chmod +x ati-driver-installer-8.36.5-x86.x86_64.run

$ ./ati-driver-installer-8.36.5-x86_64.run --extract fglrx-tmp

$ cd fglrx-tmp

$ su (...and enter root password)

# ./packages/Debian/ati-packager.sh --buildpkg sid

# cd ..

# dpkg -i fglrx-amdcccle_8.36.5-1_amd64.deb

# dpkg -i fglrx-driver_8.36.5-1_amd64.deb

# dpkg -i fglrx-kernel-src_8.36.5-1_amd64.deb

reboot

# m-a prepare

# m-a a-i fglrx

# modprobe -v fglrx

# dpkg-reconfigure xserver-xorg

Then I edited the newly written xorg.conf file to use driver "fglrx" instead of "ati," rebooted, and everything worked.

test method:

eric@dedo:~$ fglrxinfo

display: :0.0 screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: ATI MOBILITY RADEON X300

OpenGL version string: 2.0.6458 (8.36.5)

eric@dedo:~$ fgl_glxgears

Using GLX_SGIX_pbuffer

1461 frames in 5.0 seconds = 292.200 FPS

1467 frames in 5.0 seconds = 293.400 FPS

1513 frames in 5.0 seconds = 302.600 FPS

1516 frames in 5.0 seconds = 303.200 FPS

Note: If you're using Lenny, substitute "lenny" for "sid" in the build-packages step.

N卡的驱动安装较为简单,不再赘述

直接安装

先装好 module-assistant build-essential dh-make libstdc++5 linux-headers-$(uname -r)

再执行.run文件

展开阅读全文

没有更多推荐了,返回首页