debian安装ATI显卡
系统自带的显卡总感觉性能很差,是vase 的驱动 ,不行,我最追求性能了! 好吧 就给他装个官网的驱动把!!本以为很简单 编译一下 打包 然后安装 可是 事情并不是想的那么简单 遇到很问题,一个一个来解决:
1。下载 包(上官网)
2。 ./ati-driver-installer-9-3-x86.x86_64.run --buildpkg Debian/lenny(随系统的不同 ,而不同 我 用的是debian lenny 版本) 具体可以查看帮助文档: ./ati-driver-installer-9-3-x86.x86_64.run -h
在编译成deb包的时候 出现错误:(很令人头痛的错误,不怕 一个一个搞定)
错误如下: ATI Technologies Linux Driver Installer/Packager
==================================================
ln: 创建符号链接 “x700”: 不允许的操作
ln: 创建符号链接 “x700_64a”: 不允许的操作
Generating package: Debian/lenny
./packages/Debian/ati-packager.sh: line 57: dpkg-architecture: command not found
Error: unsupported architecture:
Removing temporary directory: fglrx-install.EMVnFa
解决方法:安装dpkg-dev ##sudo apt-get install dpkg-dev
3.这个问题解决拉,继续 又出现问题拉 错误提示如下:
ATI Technologies Linux Driver Installer/Packager
==================================================
ln: 创建符号链接 “x700”: 不允许的操作
ln: 创建符号链接 “x700_64a”: 不允许的操作
Generating package: Debian/lenny
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.593-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture i386
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.wgUSAf
经过搜索阿,得知解决方法如下:
# sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)(这个很有技巧学习了 直接匹配你的 内核版本)
依装上这些软件 ,如果装不上 就一个一个装!
4. 接着又出现一个新问题阿(晕阿):错误如下:
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
find: `usr/X11R6/bin': No such file or directory
chmod: missing operand after `a+x'
Try `chmod --help' for more information.
make: *** [build] Error 123
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.GEbclC
等待解决!!!!!!!!!!!!!
1。下载 包(上官网)
2。 ./ati-driver-installer-9-3-x86.x86_64.run --buildpkg Debian/lenny(随系统的不同 ,而不同 我 用的是debian lenny 版本) 具体可以查看帮助文档: ./ati-driver-installer-9-3-x86.x86_64.run -h
在编译成deb包的时候 出现错误:(很令人头痛的错误,不怕 一个一个搞定)
错误如下: ATI Technologies Linux Driver Installer/Packager
==================================================
ln: 创建符号链接 “x700”: 不允许的操作
ln: 创建符号链接 “x700_64a”: 不允许的操作
Generating package: Debian/lenny
./packages/Debian/ati-packager.sh: line 57: dpkg-architecture: command not found
Error: unsupported architecture:
Removing temporary directory: fglrx-install.EMVnFa
解决方法:安装dpkg-dev ##sudo apt-get install dpkg-dev
3.这个问题解决拉,继续 又出现问题拉 错误提示如下:
ATI Technologies Linux Driver Installer/Packager
==================================================
ln: 创建符号链接 “x700”: 不允许的操作
ln: 创建符号链接 “x700_64a”: 不允许的操作
Generating package: Debian/lenny
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.593-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture i386
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.wgUSAf
经过搜索阿,得知解决方法如下:
# sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)(这个很有技巧学习了 直接匹配你的 内核版本)
依装上这些软件 ,如果装不上 就一个一个装!
4. 接着又出现一个新问题阿(晕阿):错误如下:
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
find: `usr/X11R6/bin': No such file or directory
chmod: missing operand after `a+x'
Try `chmod --help' for more information.
make: *** [build] Error 123
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.GEbclC
等待解决!!!!!!!!!!!!!