特殊:Badtitle/NS100:CompositeManager/CompizFusionATI:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/CompositeManager/CompizFusionATI}} {{Languages|UbuntuHelp:CompositeManager/CompizFusionATI}} == Introduction == There seems to be a great deal ... |
小无编辑摘要 |
||
(未显示同一用户的12个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/CompositeManager/CompizFusionATI}} | {{From|https://help.ubuntu.com/community/CompositeManager/CompizFusionATI}} | ||
{{Languages|UbuntuHelp:CompositeManager/CompizFusionATI}} | {{Languages|UbuntuHelp:CompositeManager/CompizFusionATI}} | ||
<<Include(Tag/Unsupported)>> | |||
<<BR>> | |||
== Introduction == | == Introduction == | ||
There seems to be a great deal of issues surrounding ATI cards. This guide is aimed at ATI cards. | There seems to be a great deal of issues surrounding ATI cards. This guide is aimed at ATI cards. | ||
=== Before We Get Started === | === Before We Get Started === | ||
Make sure your system is up to date | Make sure your system is up to date | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update && sudo apt-get upgrade </nowiki></pre> | sudo apt-get update && sudo apt-get upgrade </nowiki></pre> | ||
You can replace: | You can replace: | ||
* '''sudo nano''' with '''gksudo gedit''' | * '''sudo nano''' with '''gksudo gedit''' | ||
* '''sudo apt-get''' with '''sudo aptitude''' | * '''sudo apt-get''' with '''sudo aptitude''' | ||
While you can use several methods for [[UbuntuHelp:InstallingSoftware|InstallingSoftware]], I use the [[UbuntuHelp:HowToUseTheTerminal|Gnome Terminal]] to install all of the software with 'sudo apt-get'. | |||
While you can use several methods for InstallingSoftware, I use the [[UbuntuHelp:HowToUseTheTerminal|Gnome Terminal]] to install all of the software with 'sudo apt-get'. | |||
== For Ubuntu Gutsy Gibbon 7.10 == | == For Ubuntu Gutsy Gibbon 7.10 == | ||
(!) This guide will work only for fresh Gutsy Gibbon 7.10 installs. It will not work for upgrades from Feisty. | (!) This guide will work only for fresh Gutsy Gibbon 7.10 installs. It will not work for upgrades from Feisty. | ||
=== Enabling ATI Binary driver === | === Enabling ATI Binary driver === | ||
Open the restricted drivers manager in "System -> Administration -> Restricted Drivers Manager" and select "ATI accelerated graphics driver". You may need a reboot after that. | Open the restricted drivers manager in "System -> Administration -> Restricted Drivers Manager" and select "ATI accelerated graphics driver". You may need a reboot after that. | ||
If you don't see Restricted Drivers Manager, enable restricted repositories. Select <code><nowiki>System > Administration > Software Sources</nowiki></code> and check "Proprietary Drivers for Devices (Restricted)" box. | If you don't see Restricted Drivers Manager, enable restricted repositories. Select <code><nowiki>System > Administration > Software Sources</nowiki></code> and check "Proprietary Drivers for Devices (Restricted)" box. | ||
Install linux-restricted-modules-generic restricted-manager packages using | Install linux-restricted-modules-generic restricted-manager packages using | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install linux-restricted-modules-generic restricted-manager | sudo apt-get install linux-restricted-modules-generic restricted-manager | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Install XGL === | === Install XGL === | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install xserver-xgl | sudo apt-get install xserver-xgl | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Install Compiz Fusion === | === Install Compiz Fusion === | ||
Make sure you execute the following command in a single line. | Make sure you execute the following command in a single line. | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install compizconfig-settings-manager compiz compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig-backend-gconf libcompizconfig0 | sudo apt-get install compizconfig-settings-manager compiz compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig-backend-gconf libcompizconfig0 | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Run Compiz Fusion === | === Run Compiz Fusion === | ||
Reboot computer and log in. You should have a functional Compiz Fusion with full 3D support. | Reboot computer and log in. You should have a functional Compiz Fusion with full 3D support. | ||
== For Ubuntu Feisty Fawn 7.04 == | == For Ubuntu Feisty Fawn 7.04 == | ||
(!) Do not this part of guide for any other version but Fiesty Fawn 7.04. | (!) Do not this part of guide for any other version but Fiesty Fawn 7.04. | ||
=== Getting Your ATI Working === | === Getting Your ATI Working === | ||
Before we get into anything we should know if your drivers are installed correctly. | Before we get into anything we should know if your drivers are installed correctly. | ||
Run this command: | Run this command: | ||
<pre><nowiki> | <pre><nowiki> | ||
fglrxinfo -display :0 </nowiki></pre> | fglrxinfo -display :0 </nowiki></pre> | ||
If the command hangs, abort it by Ctrl-C and try a variation | If the command hangs, abort it by Ctrl-C and try a variation | ||
<pre><nowiki> | <pre><nowiki> | ||
fglrxinfo -display :1 </nowiki></pre> | fglrxinfo -display :1 </nowiki></pre> | ||
If it returns something similar to the following, then your card is working: | If it returns something similar to the following, then your card is working: | ||
<pre><nowiki> | <pre><nowiki> | ||
第75行: | 第50行: | ||
OpenGL renderer string: RADEON XPRESS Series | OpenGL renderer string: RADEON XPRESS Series | ||
OpenGL version string: 2.0.6334 (8.34.8) </nowiki></pre> | OpenGL version string: 2.0.6334 (8.34.8) </nowiki></pre> | ||
If not, then it isn't working yet. Run this command to install the drivers: | If not, then it isn't working yet. Run this command to install the drivers: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install xorg-driver-fglrx xserver-xorg-video-ati </nowiki></pre> | sudo apt-get install xorg-driver-fglrx xserver-xorg-video-ati </nowiki></pre> | ||
Now that your drivers are installed, execute these commands: | Now that your drivers are installed, execute these commands: | ||
<pre><nowiki> | <pre><nowiki> | ||
第85行: | 第58行: | ||
sudo aticonfig --initial | sudo aticonfig --initial | ||
sudo aticonfig --overlay-type=Xv </nowiki></pre> | sudo aticonfig --overlay-type=Xv </nowiki></pre> | ||
You'll need to edit your X configuration to get rendering working properly. Run this command to open up the configuration file: | You'll need to edit your X configuration to get rendering working properly. Run this command to open up the configuration file: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /etc/X11/xorg.conf </nowiki></pre> | sudo nano /etc/X11/xorg.conf </nowiki></pre> | ||
Add this to the end of the file. If you have a similar section, make it look like this instead. | Add this to the end of the file. If you have a similar section, make it look like this instead. | ||
<pre><nowiki> | <pre><nowiki> | ||
第95行: | 第66行: | ||
Option "Composite" "0" | Option "Composite" "0" | ||
EndSection </nowiki></pre> | EndSection </nowiki></pre> | ||
Save the file and restart your computer. | Save the file and restart your computer. | ||
=== Configuring Your XGL Session === | === Configuring Your XGL Session === | ||
(!) Do not use this section for Gutsy Gibbon 7.10 as it will break XGL. | (!) Do not use this section for Gutsy Gibbon 7.10 as it will break XGL. | ||
Now we're going to create a script for XGL: | Now we're going to create a script for XGL: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /usr/local/bin/startxgl.sh </nowiki></pre> | sudo nano /usr/local/bin/startxgl.sh </nowiki></pre> | ||
Put this in the file: | Put this in the file: | ||
<pre><nowiki> | <pre><nowiki> | ||
第114行: | 第80行: | ||
xauth -i add :1 . "$cookie" | xauth -i add :1 . "$cookie" | ||
exec dbus-launch --exit-with-session gnome-session </nowiki></pre> | exec dbus-launch --exit-with-session gnome-session </nowiki></pre> | ||
Save and close the file. | Save and close the file. | ||
In order for it to be any good, we need to make it executable: | In order for it to be any good, we need to make it executable: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo chmod a+x /usr/local/bin/startxgl.sh </nowiki></pre> | sudo chmod a+x /usr/local/bin/startxgl.sh </nowiki></pre> | ||
=== Creating Your XGL Session === | === Creating Your XGL Session === | ||
We'll need to create an XGL option to log in with: | We'll need to create an XGL option to log in with: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /usr/share/xsessions/xgl.desktop </nowiki></pre> | sudo nano /usr/share/xsessions/xgl.desktop </nowiki></pre> | ||
Put this in the file: | Put this in the file: | ||
<pre><nowiki> | <pre><nowiki> | ||
第136行: | 第97行: | ||
Icon= | Icon= | ||
Type=Application </nowiki></pre> | Type=Application </nowiki></pre> | ||
Save and close the file. | Save and close the file. | ||
Now restart your computer. When you're logging in, notice the Sessions option. Click that and choose the XGL session you just created. | Now restart your computer. When you're logging in, notice the Sessions option. Click that and choose the XGL session you just created. | ||
You make want to make it default because you will need to log in this way every time you want to use [[UbuntuHelp:CompizFusion|CompizFusion]]. | |||
You make want to make it default because you will need to log in this way every time you want to use CompizFusion. | |||
If you see a thatched background behind your splash screen when you're logging in, then congratulations. You're through the sticky stuff. | If you see a thatched background behind your splash screen when you're logging in, then congratulations. You're through the sticky stuff. | ||
=== Installing CompizFusion === | === Installing CompizFusion === | ||
You need to add the repositories to your /etc/apt/sources.list file: | You need to add the repositories to your /etc/apt/sources.list file: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo nano /etc/apt/sources.list </nowiki></pre> | sudo nano /etc/apt/sources.list </nowiki></pre> | ||
Add these lines to the end: | Add these lines to the end: | ||
<pre><nowiki> | <pre><nowiki> | ||
deb http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted | deb http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted | ||
deb-src http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted </nowiki></pre> | deb-src http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted </nowiki></pre> | ||
Since you've done a lot to your computer so far,it would be a good idea to make sure everything is completely up to date: | Since you've done a lot to your computer so far,it would be a good idea to make sure everything is completely up to date: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update && sudo apt-get dist-upgrade </nowiki></pre> | sudo apt-get update && sudo apt-get dist-upgrade </nowiki></pre> | ||
Hurray, we have everything set up for [[UbuntuHelp:CompizFusion|CompizFusion]]. How we need to install [[UbuntuHelp:CompizFusion|CompizFusion]] itself: | |||
Hurray, we have everything set up for CompizFusion. How we need to install CompizFusion itself: | |||
Ubuntu using Gnome: | Ubuntu using Gnome: | ||
<pre><nowiki> | <pre><nowiki> | ||
第167行: | 第119行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install compiz compizconfig-settings-manager compiz-kde </nowiki></pre> | sudo apt-get install compiz compizconfig-settings-manager compiz-kde </nowiki></pre> | ||
=== Run CompizFusion === | === Run CompizFusion === | ||
Alt+F2 then Enter | Alt+F2 then Enter | ||
第173行: | 第124行: | ||
compiz --replace | compiz --replace | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Configure CompizFusion === | === Configure CompizFusion === | ||
Alt+f2 then Enter | Alt+f2 then Enter | ||
<pre><nowiki> | <pre><nowiki> | ||
ccsm </nowiki></pre> | ccsm </nowiki></pre> | ||
Also: | Also: | ||
Gnome: System -> Preferences -> CompizConfig Settings Manager | Gnome: System -> Preferences -> [[UbuntuHelp:CompizConfig|CompizConfig]] Settings Manager | ||
KDE: KMenu > Settings > CompizConfig Settings Manager | KDE: KMenu > Settings > [[UbuntuHelp:CompizConfig|CompizConfig]] Settings Manager | ||
=== Start Copmiz When You Login === | === Start Copmiz When You Login === | ||
Method 1: | Method 1: | ||
Go to System->Preferences->Sessions | Go to System->Preferences->Sessions | ||
Click New | Click New | ||
Name: CompizFusion | Name: [[UbuntuHelp:CompizFusion|CompizFusion]] | ||
Command: fusion-icon | Command: fusion-icon | ||
I prefer this method because it gives you a nice icon that will control whether or not [[UbuntuHelp:CompizFusion|CompizFusion]] loads when you start up. | |||
I prefer this method because it gives you a nice icon that will control whether or not CompizFusion loads when you start up. | |||
Method 2: | Method 2: | ||
Go to System->Preferences->Desktop Effects and click 'Enable Desktop Effects' | Go to System->Preferences->Desktop Effects and click 'Enable Desktop Effects' | ||
== Quick Config == | == Quick Config == | ||
I hope that this section will guide you through a basic setup of what so many people seem to expect. | I hope that this section will guide you through a basic setup of what so many people seem to expect. | ||
Run ccsm | Run ccsm | ||
<pre><nowiki> | <pre><nowiki> | ||
ccsm </nowiki></pre> | ccsm </nowiki></pre> | ||
Click General Options | Click General Options | ||
Open the Desktop Size tab | Open the Desktop Size tab | ||
第209行: | 第150行: | ||
Vertical Virtual Size: 1 | Vertical Virtual Size: 1 | ||
Number of Desktops: 1 | Number of Desktops: 1 | ||
Click Back | Click Back | ||
Check these plugins: | Check these plugins: | ||
Desktop Cube | Desktop Cube | ||
Rotate Cube | Rotate Cube | ||
Reload [[UbuntuHelp:CompizFusion|CompizFusion]] and enjoy. The plugins are somewhat of a maze to get around at first, but they should quickly become easy to understand. | |||
Reload CompizFusion and enjoy. The plugins are somewhat of a maze to get around at first, but they should quickly become easy to understand. | |||
== Troubleshooting == | == Troubleshooting == | ||
Make sure that Composite extension is disabled. It doesn't work with restricted fgrlx driver. The relevant lines in /etc/X11/xorg.conf should read | Make sure that Composite extension is disabled. It doesn't work with restricted fgrlx driver. The relevant lines in /etc/X11/xorg.conf should read | ||
<pre><nowiki> | <pre><nowiki> | ||
第226行: | 第163行: | ||
</nowiki></pre> | </nowiki></pre> | ||
If this section is not present, simply place it at the bottom of the xorg.conf file. | If this section is not present, simply place it at the bottom of the xorg.conf file. | ||
Some users complain that their window borders don't appear. | Some users complain that their window borders don't appear. | ||
I still haven't tracked down the exact problem but I have found that it occures in two instances. | I still haven't tracked down the exact problem but I have found that it occures in two instances. | ||
第236行: | 第172行: | ||
<pre><nowiki> | <pre><nowiki> | ||
compiz --replace </nowiki></pre> | compiz --replace </nowiki></pre> | ||
If all else fails, #compiz-fusion on Freenode. | |||
---- | ---- | ||
[[ | [[UbuntuHelp:CompositeManager/CompizFusionATI/PageDiscussion|Discuss this page.]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 18:48的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CompositeManager/CompizFusionATI }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/af | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Afrikaans| [[::CompositeManager/CompizFusionATI/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ar | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|العربية| [[::CompositeManager/CompizFusionATI/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/az | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|azərbaycanca| [[::CompositeManager/CompizFusionATI/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/bcc | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|جهلسری بلوچی| [[::CompositeManager/CompizFusionATI/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/bg | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|български| [[::CompositeManager/CompizFusionATI/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/br | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|brezhoneg| [[::CompositeManager/CompizFusionATI/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ca | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|català| [[::CompositeManager/CompizFusionATI/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/cs | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|čeština| [[::CompositeManager/CompizFusionATI/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/de | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Deutsch| [[::CompositeManager/CompizFusionATI/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/el | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Ελληνικά| [[::CompositeManager/CompizFusionATI/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/es | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|español| [[::CompositeManager/CompizFusionATI/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/fa | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|فارسی| [[::CompositeManager/CompizFusionATI/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/fi | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|suomi| [[::CompositeManager/CompizFusionATI/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/fr | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|français| [[::CompositeManager/CompizFusionATI/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/gu | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|ગુજરાતી| [[::CompositeManager/CompizFusionATI/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/he | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|עברית| [[::CompositeManager/CompizFusionATI/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/hu | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|magyar| [[::CompositeManager/CompizFusionATI/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/id | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Bahasa Indonesia| [[::CompositeManager/CompizFusionATI/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/it | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|italiano| [[::CompositeManager/CompizFusionATI/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ja | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|日本語| [[::CompositeManager/CompizFusionATI/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ko | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|한국어| [[::CompositeManager/CompizFusionATI/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ksh | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Ripoarisch| [[::CompositeManager/CompizFusionATI/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/mr | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|मराठी| [[::CompositeManager/CompizFusionATI/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ms | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Bahasa Melayu| [[::CompositeManager/CompizFusionATI/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/nl | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Nederlands| [[::CompositeManager/CompizFusionATI/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/no | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|norsk| [[::CompositeManager/CompizFusionATI/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/oc | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|occitan| [[::CompositeManager/CompizFusionATI/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/pl | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|polski| [[::CompositeManager/CompizFusionATI/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/pt | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|português| [[::CompositeManager/CompizFusionATI/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ro | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|română| [[::CompositeManager/CompizFusionATI/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/ru | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|русский| [[::CompositeManager/CompizFusionATI/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/si | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|සිංහල| [[::CompositeManager/CompizFusionATI/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/sq | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|shqip| [[::CompositeManager/CompizFusionATI/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/sr | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|српски / srpski| [[::CompositeManager/CompizFusionATI/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/sv | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|svenska| [[::CompositeManager/CompizFusionATI/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/th | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|ไทย| [[::CompositeManager/CompizFusionATI/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/tr | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Türkçe| [[::CompositeManager/CompizFusionATI/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/vi | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|Tiếng Việt| [[::CompositeManager/CompizFusionATI/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/yue | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|粵語| [[::CompositeManager/CompizFusionATI/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/zh | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|中文| [[::CompositeManager/CompizFusionATI/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/zh-hans | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|中文(简体)| [[::CompositeManager/CompizFusionATI/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/CompizFusionATI | UbuntuHelp:CompositeManager/CompizFusionATI | {{#if: | :}}CompositeManager/CompizFusionATI}}/zh-hant | • {{#if: UbuntuHelp:CompositeManager/CompizFusionATI|中文(繁體)| [[::CompositeManager/CompizFusionATI/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CompositeManager/CompizFusionATI|:CompositeManager/CompizFusionATI|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CompositeManager/CompizFusionATI/zh | | {{#ifexist: CompositeManager/CompizFusionATI/zh | | {{#ifeq: {{#titleparts:CompositeManager/CompizFusionATI|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager/CompizFusionATI|1|-1|}} | zh | | }}
<<Include(Tag/Unsupported)>>
<
>
Introduction
There seems to be a great deal of issues surrounding ATI cards. This guide is aimed at ATI cards.
Before We Get Started
Make sure your system is up to date
sudo apt-get update && sudo apt-get upgrade
You can replace:
- sudo nano with gksudo gedit
- sudo apt-get with sudo aptitude
While you can use several methods for InstallingSoftware, I use the Gnome Terminal to install all of the software with 'sudo apt-get'.
For Ubuntu Gutsy Gibbon 7.10
(!) This guide will work only for fresh Gutsy Gibbon 7.10 installs. It will not work for upgrades from Feisty.
Enabling ATI Binary driver
Open the restricted drivers manager in "System -> Administration -> Restricted Drivers Manager" and select "ATI accelerated graphics driver". You may need a reboot after that.
If you don't see Restricted Drivers Manager, enable restricted repositories. Select System > Administration > Software Sources
and check "Proprietary Drivers for Devices (Restricted)" box.
Install linux-restricted-modules-generic restricted-manager packages using
sudo apt-get update sudo apt-get install linux-restricted-modules-generic restricted-manager
Install XGL
sudo apt-get install xserver-xgl
Install Compiz Fusion
Make sure you execute the following command in a single line.
sudo apt-get install compizconfig-settings-manager compiz compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig-backend-gconf libcompizconfig0
Run Compiz Fusion
Reboot computer and log in. You should have a functional Compiz Fusion with full 3D support.
For Ubuntu Feisty Fawn 7.04
(!) Do not this part of guide for any other version but Fiesty Fawn 7.04.
Getting Your ATI Working
Before we get into anything we should know if your drivers are installed correctly. Run this command:
fglrxinfo -display :0
If the command hangs, abort it by Ctrl-C and try a variation
fglrxinfo -display :1
If it returns something similar to the following, then your card is working:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON XPRESS Series OpenGL version string: 2.0.6334 (8.34.8)
If not, then it isn't working yet. Run this command to install the drivers:
sudo apt-get install xorg-driver-fglrx xserver-xorg-video-ati
Now that your drivers are installed, execute these commands:
sudo depmod -a sudo aticonfig --initial sudo aticonfig --overlay-type=Xv
You'll need to edit your X configuration to get rendering working properly. Run this command to open up the configuration file:
sudo nano /etc/X11/xorg.conf
Add this to the end of the file. If you have a similar section, make it look like this instead.
Section "Extensions" Option "Composite" "0" EndSection
Save the file and restart your computer.
Configuring Your XGL Session
(!) Do not use this section for Gutsy Gibbon 7.10 as it will break XGL. Now we're going to create a script for XGL:
sudo nano /usr/local/bin/startxgl.sh
Put this in the file:
#!/bin/sh Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & DISPLAY=:1 cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)" xauth -i add :1 . "$cookie" exec dbus-launch --exit-with-session gnome-session
Save and close the file. In order for it to be any good, we need to make it executable:
sudo chmod a+x /usr/local/bin/startxgl.sh
Creating Your XGL Session
We'll need to create an XGL option to log in with:
sudo nano /usr/share/xsessions/xgl.desktop
Put this in the file:
[Desktop Entry] Encoding=UTF-8 Name=Xgl Comment=Start an Xgl Session Exec=/usr/local/bin/startxgl.sh Icon= Type=Application
Save and close the file. Now restart your computer. When you're logging in, notice the Sessions option. Click that and choose the XGL session you just created. You make want to make it default because you will need to log in this way every time you want to use CompizFusion. If you see a thatched background behind your splash screen when you're logging in, then congratulations. You're through the sticky stuff.
Installing CompizFusion
You need to add the repositories to your /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
Add these lines to the end:
deb http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted deb-src http://ppa.launchpad.net/amaranth/ubuntu feisty main restricted
Since you've done a lot to your computer so far,it would be a good idea to make sure everything is completely up to date:
sudo apt-get update && sudo apt-get dist-upgrade
Hurray, we have everything set up for CompizFusion. How we need to install CompizFusion itself: Ubuntu using Gnome:
sudo apt-get install compiz compizconfig-settings-manager compiz-gnome
Kubuntu using KDE:
sudo apt-get install compiz compizconfig-settings-manager compiz-kde
Run CompizFusion
Alt+F2 then Enter
compiz --replace
Configure CompizFusion
Alt+f2 then Enter
ccsm
Also: Gnome: System -> Preferences -> CompizConfig Settings Manager KDE: KMenu > Settings > CompizConfig Settings Manager
Start Copmiz When You Login
Method 1: Go to System->Preferences->Sessions Click New Name: CompizFusion Command: fusion-icon I prefer this method because it gives you a nice icon that will control whether or not CompizFusion loads when you start up. Method 2: Go to System->Preferences->Desktop Effects and click 'Enable Desktop Effects'
Quick Config
I hope that this section will guide you through a basic setup of what so many people seem to expect. Run ccsm
ccsm
Click General Options Open the Desktop Size tab Horizonal Virtual Size: 4 Vertical Virtual Size: 1 Number of Desktops: 1 Click Back Check these plugins: Desktop Cube Rotate Cube Reload CompizFusion and enjoy. The plugins are somewhat of a maze to get around at first, but they should quickly become easy to understand.
Troubleshooting
Make sure that Composite extension is disabled. It doesn't work with restricted fgrlx driver. The relevant lines in /etc/X11/xorg.conf should read
Section "Extensions" Option "Composite" "0" EndSection
If this section is not present, simply place it at the bottom of the xorg.conf file. Some users complain that their window borders don't appear. I still haven't tracked down the exact problem but I have found that it occures in two instances. The first is when you set a setting that causes a conflict. The best way to fix this seems to be just setting things back to default. To do this, Open ccsm, Click Preferences, Select the Custom profile, Click Reset to defaults. The second is beyond me, but it seems to be fixable by first running
metacity --replace
then
compiz --replace
If all else fails, #compiz-fusion on Freenode.