lxw@lxw-desktop:~$ sudo apt-get autoremove --purge xorg-driver-fglrx
Password:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
软件包 xorg-driver-fglrx 还未安装,因而不会被卸载
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
lxw@lxw-desktop:~$ sudo apt-get update
获取:1
http://cn.archive.ubuntu.com feisty Release.gpg [191B]
忽略
http://cn.archive.ubuntu.com feisty/main Translation-zh_CN
忽略
http://cn.archive.ubuntu.com feisty/restricted Translation-zh_CN
命中
http://cn.archive.ubuntu.com feisty/universe Translation-zh_CN
命中
http://cn.archive.ubuntu.com feisty/multiverse Translation-zh_CN
获取:2
http://cn.archive.ubuntu.com feisty-updates Release.gpg [191B]
忽略
http://cn.archive.ubuntu.com feisty-updates/main Translation-zh_CN
忽略
http://cn.archive.ubuntu.com feisty-updates/restricted Translation-zh_CN
获取:3
http://security.ubuntu.com feisty-security Release.gpg [191B]
命中
http://cn.archive.ubuntu.com feisty Release
命中
http://cn.archive.ubuntu.com feisty-updates Release
命中
http://cn.archive.ubuntu.com feisty/main Packages
命中
http://cn.archive.ubuntu.com feisty/restricted Packages
命中
http://cn.archive.ubuntu.com feisty/main Sources
命中
http://cn.archive.ubuntu.com feisty/restricted Sources
命中
http://cn.archive.ubuntu.com feisty/universe Packages
命中
http://cn.archive.ubuntu.com feisty/universe Sources
命中
http://cn.archive.ubuntu.com feisty/multiverse Packages
命中
http://cn.archive.ubuntu.com feisty/multiverse Sources
命中
http://cn.archive.ubuntu.com feisty-updates/main Packages
命中
http://cn.archive.ubuntu.com feisty-updates/restricted Packages
命中
http://cn.archive.ubuntu.com feisty-updates/main Sources
命中
http://cn.archive.ubuntu.com feisty-updates/restricted Sources
忽略
http://security.ubuntu.com feisty-security/main Translation-zh_CN
忽略
http://security.ubuntu.com feisty-security/restricted Translation-zh_CN
忽略
http://security.ubuntu.com feisty-security/universe Translation-zh_CN
忽略
http://security.ubuntu.com feisty-security/multiverse Translation-zh_CN
命中
http://security.ubuntu.com feisty-security Release
命中
http://security.ubuntu.com feisty-security/main Packages
命中
http://security.ubuntu.com feisty-security/restricted Packages
命中
http://security.ubuntu.com feisty-security/main Sources
命中
http://security.ubuntu.com feisty-security/restricted Sources
命中
http://security.ubuntu.com feisty-security/universe Packages
命中
http://security.ubuntu.com feisty-security/universe Sources
命中
http://security.ubuntu.com feisty-security/multiverse Packages
命中
http://security.ubuntu.com feisty-security/multiverse Sources
下载 3B,耗时 7s (0B/s)
正在读取软件包列表... 完成
lxw@lxw-desktop:~$ sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
debconf 已经是最新的版本了。
libstdc++5 已经是最新的版本了。
linux-headers-2.6.20-15-generic 已经是最新的版本了。
将会安装下列额外的软件包:
dpkg-dev g++ g++-4.1 gettext html2text intltool-debian libc6-dev
libstdc++6-4.1-dev linux-libc-dev po-debconf
建议安装的软件包:
debian-keyring gcc-4.1-doc lib64stdc++6 cvs gettext-doc glibc-doc
manpages-dev libstdc++6-4.1-doc
推荐安装的软件包:
libmail-sendmail-perl libcompress-zlib-perl
下列【新】软件包将被安装:
build-essential debhelper dh-make dpkg-dev fakeroot g++ g++-4.1 gettext
html2text intltool-debian libc6-dev libstdc++6-4.1-dev linux-libc-dev
module-assistant po-debconf
共升级了 0 个软件包,新安装了 15 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 10.6MB 的软件包。
解压缩后会消耗掉 43.5MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1
http://cn.archive.ubuntu.com feisty/main linux-libc-dev 2.6.20-15.27 [664kB]
获取:2
http://cn.archive.ubuntu.com feisty/main libc6-dev 2.5-0ubuntu14 [3018kB]
获取:3
http://cn.archive.ubuntu.com feisty/main libstdc++6-4.1-dev 4.1.2-0ubuntu4 [1632kB]
获取:4
http://cn.archive.ubuntu.com feisty/main g++-4.1 4.1.2-0ubuntu4 [2581kB]
获取:5
http://cn.archive.ubuntu.com feisty/main g++ 4:4.1.2-1ubuntu1 [1428B]
获取:6
http://cn.archive.ubuntu.com feisty/main dpkg-dev 1.13.24ubuntu6 [147kB]
获取:7
http://cn.archive.ubuntu.com feisty/main build-essential 11.3 [6974B]
获取:8
http://cn.archive.ubuntu.com feisty/main html2text 1.3.2a-3 [95.5kB]
获取:9
http://cn.archive.ubuntu.com feisty/main gettext 0.16.1-1ubuntu2 [1551kB]
获取:10
http://cn.archive.ubuntu.com feisty/main intltool-debian 0.35.0+20060710.1 [31.6kB]
获取:11
http://cn.archive.ubuntu.com feisty/main po-debconf 1.0.8 [111kB]
获取:12
http://cn.archive.ubuntu.com feisty/main debhelper 5.0.42ubuntu1 [514kB]
获取:13
http://cn.archive.ubuntu.com feisty/main dh-make 0.42 [33.6kB]
获取:14
http://cn.archive.ubuntu.com feisty/main fakeroot 1.5.10ubuntu2 [99.4kB]
获取:15
http://cn.archive.ubuntu.com feisty/universe module-assistant 0.10.10 [88.5kB]
下载 10.6MB,耗时 1m39s (106kB/s)
选中了曾被取消选择的软件包 linux-libc-dev。
(正在读取数据库 ... 系统当前总共安装有 90998 个文件和目录。)
正在解压缩 linux-libc-dev (从 .../linux-libc-dev_2.6.20-15.27_i386.deb) ...
选中了曾被取消选择的软件包 libc6-dev。
正在解压缩 libc6-dev (从 .../libc6-dev_2.5-0ubuntu14_i386.deb) ...
选中了曾被取消选择的软件包 libstdc++6-4.1-dev。
正在解压缩 libstdc++6-4.1-dev (从 .../libstdc++6-4.1-dev_4.1.2-0ubuntu4_i386.deb) ...
选中了曾被取消选择的软件包 g++-4.1。
正在解压缩 g++-4.1 (从 .../g++-4.1_4.1.2-0ubuntu4_i386.deb) ...
选中了曾被取消选择的软件包 g++。
正在解压缩 g++ (从 .../g++_4%3a4.1.2-1ubuntu1_i386.deb) ...
选中了曾被取消选择的软件包 dpkg-dev。
正在解压缩 dpkg-dev (从 .../dpkg-dev_1.13.24ubuntu6_all.deb) ...
选中了曾被取消选择的软件包 build-essential。
正在解压缩 build-essential (从 .../build-essential_11.3_i386.deb) ...
选中了曾被取消选择的软件包 html2text。
正在解压缩 html2text (从 .../html2text_1.3.2a-3_i386.deb) ...
选中了曾被取消选择的软件包 gettext。
正在解压缩 gettext (从 .../gettext_0.16.1-1ubuntu2_i386.deb) ...
选中了曾被取消选择的软件包 intltool-debian。
正在解压缩 intltool-debian (从 .../intltool-debian_0.35.0+20060710.1_all.deb) ...
选中了曾被取消选择的软件包 po-debconf。
正在解压缩 po-debconf (从 .../po-debconf_1.0.8_all.deb) ...
选中了曾被取消选择的软件包 debhelper。
正在解压缩 debhelper (从 .../debhelper_5.0.42ubuntu1_all.deb) ...
选中了曾被取消选择的软件包 dh-make。
正在解压缩 dh-make (从 .../archives/dh-make_0.42_all.deb) ...
选中了曾被取消选择的软件包 fakeroot。
正在解压缩 fakeroot (从 .../fakeroot_1.5.10ubuntu2_i386.deb) ...
选中了曾被取消选择的软件包 module-assistant。
正在解压缩 module-assistant (从 .../module-assistant_0.10.10_all.deb) ...
正在设置 linux-libc-dev (2.6.20-15.27) ...
正在设置 libc6-dev (2.5-0ubuntu14) ...
正在设置 dpkg-dev (1.13.24ubuntu6) ...
正在设置 html2text (1.3.2a-3) ...
正在设置 gettext (0.16.1-1ubuntu2) ...
正在设置 intltool-debian (0.35.0+20060710.1) ...
正在设置 po-debconf (1.0.8) ...
正在设置 debhelper (5.0.42ubuntu1) ...
正在设置 dh-make (0.42) ...
正在设置 fakeroot (1.5.10ubuntu2) ...
正在设置 module-assistant (0.10.10) ...
正在设置 libstdc++6-4.1-dev (4.1.2-0ubuntu4) ...
正在设置 g++-4.1 (4.1.2-0ubuntu4) ...
正在设置 g++ (4.1.2-1ubuntu1) ...
正在设置 build-essential (11.3) ...
lxw@lxw-desktop:~$ sudo sh ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Ubuntu/edgy
Created directory fglrx-install.QF6394
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.36.5...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Ubuntu/edgy
Package /home/lxw/xorg-driver-fglrx_8.36.5-1_i386.deb has been successfully generated
Package /home/lxw/xorg-driver-fglrx-dev_8.36.5-1_i386.deb has been successfully generated
Package /home/lxw/fglrx-kernel-source_8.36.5-1_i386.deb has been successfully generated
Package /home/lxw/fglrx-amdcccle_8.36.5-1_i386.deb has been successfully generated
Removing temporary directory: fglrx-install.QF6394
lxw@lxw-desktop:~$ sudo gedit /etc/default/linux-restricted-modules-common
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4
lxw@lxw-desktop:~$ sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccle_*.deb
选中了曾被取消选择的软件包 xorg-driver-fglrx。
(正在读取数据库 ... 系统当前总共安装有 93402 个文件和目录。)
正在解压缩 xorg-driver-fglrx (从 xorg-driver-fglrx_8.36.5-1_i386.deb) ...
选中了曾被取消选择的软件包 fglrx-kernel-source。
正在解压缩 fglrx-kernel-source (从 fglrx-kernel-source_8.36.5-1_i386.deb) ...
选中了曾被取消选择的软件包 fglrx-amdcccle。
正在解压缩 fglrx-amdcccle (从 fglrx-amdcccle_8.36.5-1_i386.deb) ...
正在设置 xorg-driver-fglrx (8.36.5-1) ...
Starting atieventsd: done.
正在设置 fglrx-kernel-source (8.36.5-1) ...
正在设置 fglrx-amdcccle (8.36.5-1) ...
lxw@lxw-desktop:~$ sudo rm /usr/src/fglrx-kernel*.deb
rm: 无法删除‘/usr/src/fglrx-kernel*.deb’: No such file or directory
lxw@lxw-desktop:~$ sudo module-assistant prepare
Getting source for kernel version: 2.6.20-15-generic
Kernel headers available in /lib/modules/2.6.20-15-generic/build
Creating symlink...
apt-get install build-essential
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
Done!
lxw@lxw-desktop:~$ sudo module-assistant update
Updated infos about 86 packages
lxw@lxw-desktop:~$ sudo module-assistant build fglrx
Extracting the package tarball, /usr/src/fglrx.tar.bz2, please wait...
lxw@lxw-desktop:~$ cd /usr/src
lxw@lxw-desktop:/usr/src$ sudo dpkg -i fglrx-kernel-*
选中了曾被取消选择的软件包 fglrx-kernel-2.6.20-15-generic。
(正在读取数据库 ... 系统当前总共安装有 93552 个文件和目录。)
正在解压缩 fglrx-kernel-2.6.20-15-generic (从 fglrx-kernel-2.6.20-15-generic_8.36.5-1+2.6.20-15.27_i386.deb) ...
正在设置 fglrx-kernel-2.6.20-15-generic (8.36.5-1+2.6.20-15.27) ...
lxw@lxw-desktop:/usr/src$ sudo depmod -a
lxw@lxw-desktop:/usr/src$ sudo aticonfig --initial -f
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-0
lxw@lxw-desktop:/usr/src$ sudo aticonfig --ovt=Xv
Warning: Option 'VideoOverlay' doesn't affect running session.
Warning: Option 'OpenGLOverlay' doesn't affect running session.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.fglrx-0
*** glibc detected *** aticonfig: munmap_chunk(): invalid pointer: 0xbf9eda0e ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7d85f5b]
aticonfig[0x805bff7]
aticonfig[0x805c2a5]
aticonfig[0x8054528]
aticonfig[0x804985e]
aticonfig[0x80496cb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7d30ebc]
aticonfig[0x8049601]
======= Memory map: ========
08048000-08067000 r-xp 00000000 08:08 586817 /usr/bin/aticonfig
08067000-0806a000 rw-p 0001e000 08:08 586817 /usr/bin/aticonfig
0806a000-0808b000 rw-p 0806a000 00:00 0 [heap]
b7cf7000-b7d02000 r-xp 00000000 08:08 450752 /lib/libgcc_s.so.1
b7d02000-b7d03000 rw-p 0000a000 08:08 450752 /lib/libgcc_s.so.1
b7d0d000-b7d0e000 rw-p b7d0d000 00:00 0
b7d0e000-b7d10000 r-xp 00000000 08:08 453994 /lib/tls/i686/cmov/libdl-2.5.so
b7d10000-b7d12000 rw-p 00001000 08:08 453994 /lib/tls/i686/cmov/libdl-2.5.so
b7d12000-b7d13000 rw-p b7d12000 00:00 0
b7d13000-b7d17000 r-xp 00000000 08:08 580992 /usr/lib/libXdmcp.so.6.0.0
b7d17000-b7d18000 rw-p 00003000 08:08 580992 /usr/lib/libXdmcp.so.6.0.0
b7d18000-b7d1a000 r-xp 00000000 08:08 580981 /usr/lib/libXau.so.6.0.0
b7d1a000-b7d1b000 rw-p 00001000 08:08 580981 /usr/lib/libXau.so.6.0.0
b7d1b000-b7e56000 r-xp 00000000 08:08 453988 /lib/tls/i686/cmov/libc-2.5.so
b7e56000-b7e57000 r--p 0013b000 08:08 453988 /lib/tls/i686/cmov/libc-2.5.so
b7e57000-b7e59000 rw-p 0013c000 08:08 453988 /lib/tls/i686/cmov/libc-2.5.so
b7e59000-b7e5c000 rw-p b7e59000 00:00 0
b7e5c000-b7e81000 r-xp 00000000 08:08 453996 /lib/tls/i686/cmov/libm-2.5.so
b7e81000-b7e83000 rw-p 00024000 08:08 453996 /lib/tls/i686/cmov/libm-2.5.so
b7e83000-b7f70000 r-xp 00000000 08:08 580975 /usr/lib/libX11.so.6.2.0
b7f70000-b7f74000 rw-p 000ed000 08:08 580975 /usr/lib/libX11.so.6.2.0
b7f74000-b7f81000 r-xp 00000000 08:08 580996 /usr/lib/libXext.so.6.4.0
b7f81000-b7f82000 rw-p 0000d000 08:08 580996 /usr/lib/libXext.so.6.4.0
b7f82000-b7f83000 rw-p b7f82000 00:00 0
b7f83000-b7f8a000 r-xp 00000000 08:08 581018 /usr/lib/libXrender.so.1.3.0
b7f8a000-b7f8b000 rw-p 00006000 08:08 581018 /usr/lib/libXrender.so.1.3.0
b7f8b000-b7f90000 r-xp 00000000 08:08 581016 /usr/lib/libXrandr.so.2.1.0
b7f90000-b7f91000 rw-p 00005000 08:08 581016 /usr/lib/libXrandr.so.2.1.0
b7f9a000-b7f9d000 rw-p b7f9a000 00:00 0
b7f9d000-b7fb6000 r-xp 00000000 08:08 450709 /lib/ld-2.5.so
b7fb6000-b7fb8000 rw-p 00019000 08:08 450709 /lib/ld-2.5.so
bf9d9000-bf9ee000 rw-p bf9d9000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
忽略 (core dumped)
lxw@lxw-desktop:/usr/src$ sudo gedit /etc/X11/xorg.conf
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4
lxw@lxw-desktop:/usr/src$ fglrxinfo
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
lxw@lxw-desktop:/usr/src$ glxinfo | grep render
Xlib: extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
OpenGL renderer string: Mesa GLX Indirect
lxw@lxw-desktop:/usr/src$ sudo modprobe fglrx
Not loading fglrx module; not used in /etc/X11/xorg.conf
不知道为什么会这样,请各位帮忙看一下
我的显卡是蓝宝石X1650PRO的,主板是AB9(P965)。。。。。。按第二种方法安装 的。。。
谢谢了.......