不过我是安装的源里的
包括了ATI驱动
想问下lz我使用
compiz --version命令
回显为
代码: 全选
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
Starting emerald
compiz 0.6.3
貌似版本比你高些?
这是为何?
代码: 全选
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
Starting emerald
compiz 0.6.3
那我就不清楚了,以compiz-fusion官方网站为准,最新的compiz版本仍然还是0.6.2。而且源里的驱动版本太老了,不支持AIGLX,所以看你还得装XGL才能启动compiz,控制中心打不开吧?呵呵。新的8.43.2已经支持ATGLX。再也不用装XGL了,所以开3D的同时ATI的驱动控制中心也能打开了。dogfox 写了:的确是不错
不过我是安装的源里的
包括了ATI驱动
想问下lz我使用
compiz --version命令
回显为版本是0.6.3啊代码: 全选
Checking for Xgl: present. Checking for nVidia: not present. Checking for Xgl: present. Enabling Xgl with fglrx ATi drivers... Starting emerald compiz 0.6.3
貌似版本比你高些?
这是为何?
代码: 全选
LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
Xlib: extension "ATIFGLRXDRI" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x25 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x26 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x27 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x28 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x29 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2a 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2b 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2c 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2d 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2e 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x2f 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x30 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x31 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x32 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
0x64 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
代码: 全选
ls /etc/rc2.d/
README S20apport S30ati-module-fix
S05vbesave S20atieventsd S30gdm
S10acpid S20hotkey-setup S50ntp
S10powernowd.early S20isdnutils S89anacron
S10sysklogd S20makedev S89atd
S10xserver-xorg-input-wacom S20mouseemu S89cron
S11klogd S20nvidia-kernel S98usplash
S12dbus S20powernowd S99acpi-support
S12hal S20rsync S99laptop-mode
S12sl-modem-daemon S22consolekit S99rc.local
S13capiutils S24avahi-daemon S99rmnologin
S19cupsys S24dhcdbd S99stop-readahead
S20apmd S25bluetooth
代码: 全选
sudo update-rc.d ati-module-fix defaults 28
6。下载驱动sudo apt-get update
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic -y
耐心等待一下,会生成四个.deb包,分别是sudo bash ati-driver-installer-7-11-x86.x86_64.run --buildpkg Ubuntu/gutsy
KDE用户输入:gksu gedit /etc/default/linux-restricted-modules-common
将 "DISABLED_MODULES" 改为DISABLED_MODULES="fglrx",也就是自己在双引号中输入fglrx即可,保存退出。kdesu kate /etc/default/linux-restricted-modules-common
然后再执行:sudo dpkg -i xorg-driver-fglrx_8.433-1*.deb fglrx-kernel-source_8.433-1*.deb fglrx-amdcccle_8.433-1*.deb
10。移除旧的fglrx包:sudo apt-get install -f
如果提示找不到文件,没关系,继续。sudo rm /usr/src/fglrx-kernel*.deb
11。编译内核模块:sudo apt-get -f install
三条命令依次执行。sudo module-assistant prepare,update
sudo module-assistant build,install fglrx -f
sudo depmod -a
13。使系统自动载入fglrx模块sudo mkdir /lib/modules/$(uname -r)/volatile
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko
填入以下内容:sudo gedit /etc/init.d/ati-module-fix
保存,退出。#!/bin/sh -e
# For loading ATI display drivers
ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko
exit 0
用以下命令检查GDM的顺序号,减1就行了(注意我的是29,你的可能不是29,自己算好了再输入以上命令)。sudo chmod ugo+x /etc/init.d/ati-module-fix
sudo update-rc.d ati-module-fix defaults 29
14.重启电脑。ls /etc/rc2.d/
15。再重启。sudo aticonfig --initial
sudo aticonfig –overlay-type=Xv
注意不要去改动“受限驱动管理器”,这时会自动启用新驱动。sudo shutdown -hr now
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 GTO
OpenGL version string: 2.1.7059 Release
$ glxinfo |grep -e 'direct' -e 'OpenGL'
direct rendering: Yes
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 GTO
OpenGL version string: 2.1.7059 Release
OpenGL extensions:
$ glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: RADEON X800 GTO
$ glxinfo |head
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
$ Xorg -version
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
Current Operating System: Linux zhu-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
Build Date: 29 September 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
$ glxgears
46155 frames in 5.0 seconds = 9230.813 FPS
46167 frames in 5.0 seconds = 9233.256 FPS
46149 frames in 5.0 seconds = 9229.676 FPS
46162 frames in 5.0 seconds = 9232.396 FPS
46146 frames in 5.0 seconds = 9229.138 FPS
46129 frames in 5.0 seconds = 9225.787 FPS
相比默认驱动性能提高一倍多,而且ATI的驱动控制中心也能打开了。$ fgl_glxgears
Using GLX_SGIX_pbuffer
9818 frames in 5.0 seconds = 1963.600 FPS
10142 frames in 5.0 seconds = 2028.400 FPS
10125 frames in 5.0 seconds = 2025.000 FPS
10149 frames in 5.0 seconds = 2029.800 FPS
10128 frames in 5.0 seconds = 2025.600 FPS
10149 frames in 5.0 seconds = 2029.800 FPS
对于Kubuntu用户输入以下命令:sudo apt-get install compiz compiz-bcop compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig0 libcompizconfig-backend-gconf libdecoration0 python-compizconfig emerald -y
装完之后,还有重要的一步,因为Ubuntu7.10发布的时候ATI的显卡驱动还不支持AIGLX,所以要借助XGL才能开启compiz,但是现在装的最新的驱动已经提供了AIGLX的支持,不再需要XGL了。所以必须经过以下操作才能屏蔽掉XGL的检测。sudo apt-get install compiz compiz-bcop compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-kde compiz-plugins libcompizconfig0 libcompizconfig-backend-kconfig libdecoration0 python-compizconfig emerald -y
查看一下文件中是否有这一段存在sudo gedit /etc/X11/xorg.conf
有的话就删掉,没有就不要动了。# Section "Extensions"
# Option "Composite" "0"
# EndSection
然后修改compiz初始文件mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
找到下面的语句,将fglrx加入sudo gedit /usr/bin/compiz
再找到下面的语句,# Driver whitelist
WHITELIST="fglrx nvidia intel ati radeon i810"
将上面的语句段改为:# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T=" 1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
T="$T 8086:2972" # i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"
如果想让emerald作为第一装饰器,那么需要进一步修改一下。# blacklist based on the pci ids
# BLACKLIST_PCIIDS="$T"
BLACKLIST_PCIIDS=""
改为# Defines the decorator and arguments.
# Set it to empty to make the script use the best decorator for your environment
DECORATOR=""
DECORATORARGS=""
重启一下 X-window,看一下compiz能否启动。# Defines the decorator and arguments.
# Set it to empty to make the script use the best decorator for your environment
DECORATOR="emerald"
DECORATORARGS="--replace"
2。以上的软件包安装完成后,在新立得里以compiz为关键词搜索,把以下的软件包删除。sudo apt-get install wine* -y
sudo apt-get install fuse* -y
sudo apt-get install build-essential libxcomposite-dev libpng12-dev libsm-dev libxrandr-dev libxdamage-dev libxinerama-dev libstartup-notification0-dev libgconf2-dev libgl1-mesa-dev libglu1-mesa-dev libmetacity-dev librsvg2-dev libdbus-1-dev libdbus-glib-1-dev libgnome-desktop-dev libgnome-window-settings-dev gitweb curl autoconf automake automake1.9 libtool intltool libxslt1-dev xsltproc libwnck-dev python-pyrex python-dev git git-core -y
5。全部安装完以后再装一个fusion-icon,命令cd ccsm-0.6.0
sudo python setup.py install
cd fusion-iconsudo apt-get install git git-core
git-clone git://anongit.opencompositing.org/users/crdlb/fusion-icon