blogage.de > Forlong's Blog > Entry > 26 August 2007 > The best way to install Compiz Fusion...
  De | En | Sign up | Login

The best way to install Compiz Fusion on Ubuntu Feisty

Introduction


Compiz Fusion is the the result of the merge of Compiz and Beryl.
The Beryl developers gave up their own core (and therefore the window manager itself) and focus now - together with voluntary Compiz devs - on developing plugins for Compiz.

 

Additionally Emerald (Beryl's window decorator) got ported to Compiz and a config tool called "CompizConfig Settings Manager" got developed, that continues to give the users the choice and flexibility they're used to from the defunct "Beryl Settings Manager".

Since Compiz Fusion is in early development there are no official packages for Feisty out there right now.
But the next release of Ubuntu (Gutsy Gibbon) is in development as well and therefore already includes packages for Compiz Fusion.

So how does this help us on Feisty? Amaranth of the Ubuntu (and Compiz) community backported those packages to Ubuntu 7.04 Feisty Fawn!
I wouldn't go so far to call those packages rock stable, but they are definitely the most stable ones you can get right now. This means on the other hand they probably omit some features you might have heard of. It includes only the plugins that are in the "plugins-main" and "plugins-extra" branches. Nothing from "plugins-unsupported" or even uncategorised plugins. But these are very few and most of them aren't ready for the end-user anyway. In fact, I for myself did not miss any plugins while using those packages and I'm compiling from git on a daily basis.

So this how-to is for everyone that want new eye-candy but don't want to worry about whether the installation will corrupt anything on their machine or face new problems with every update (what is the case with those bleeding edge repositories - don't get me wrong, I think those guys are doing a great job but that's certainly not for everyone - and the forums are packed with threads like "Help! Latest update broke my Compiz" etc.).

I'm going to keep the guide as simple as I can, because I know there are many people out there getting attracted by those fancy effects and are otherwise totally new to Linux.
(Because of that, I'm going to use Synaptic for most of the steps - if you're on KDE, you can do similar things with Adept)

 

I have written an additional Tutorial for advanced and/or KDE as well as Xfce users, which focuses mostly on the terminal. Furthermore, it describes how Kubuntu and Xubuntu users can install Compiz Fusion without GNOME-dependencies.


Install Compiz Fusion on Feisty

First we have to launch Synpatic via System → Administration → Synaptic Package Manager

Important:
Due to dependency problems, it's necessary to remove at least one package but I recommend removing everything regarding Compiz.
In order to do that, click on Search and type compiz (if it's not set by default, choose "Look in: Description and Name").
Then click on the (green) box next to all the installed packages we found and choose "Mark for Removal". Afterwards, click Apply.

In addition to that: if you have any other packages related to Compiz, Beryl and/or Emerald installed (besides the ones that came with your installation of Ubuntu) you have to remove all of them!

It's also of vital importance to remove any third-party repository for Compiz and/or Beryl you have added to your sources.list!

On a side note: as you might have noticed, removing compiz will cause to automatically remove ubuntu-desktop too. That's generally nothing to worry about, as it's just an empty metapackage. But it's perfectly safe to install it subsequent to the installation again (that applies to applications that depend on Compiz, like Screenlets, as well).


Adding the Repository

Click on Settings and choose Repositories - that will start the "Software Sources" application where you click on the Third Party Software tab and choose Add...
This is the APT line you need:

deb http://ppa.launchpad.net/amaranth/ubuntu feisty main

 

After we added the repository and closed the window, we need to reload the package informations in Synaptic, click Reload to do so.


Choosing the packages

Now we do a search for compiz again, wich will list all the packages that are ready to install (in order to do that, click on the empty box next to each entry and choose "Mark for installation").

Since the repository doesn't have a GPG-Key, Synaptic will list the packages as "NOT AUTHENTICATED" in the installation process.
In this case, that's nothing to worry about.

 

The following packages (including dependencies) are the ones we are looking for:

  • compiz - this is a metapackage, that will install most of the necessary packages, including the Compiz Fusion ones.

  • compizconfig-settings-manager (recommended) - powerful configuration tool for Compiz and it's plugins
    • sexy-python (optional)
      required for clear-buttons in certain input fields
      (you have to do a separate search for that package)

  • emerald (optional) - nice independent window decorator
    • emerald-themes (optional) - a set of themes for Emerald (including "human-ubuntulooks", a port of the Ubuntu standard theme)
      (you have to do a separate search for that package)

After we have checked all the packages we want for installation, we finally click Apply

Due to a bug, the version number of compiz-core doesn't get updated and therefore Synaptic wants to upgrade the package all the time, although it's already the latest available. So it's best to remove the repository after we have installed every package we need: all we have to do is uncheck the box next to the repository at Settings → Repositories → Third Party Software
And after another reload we can finally close Synaptic.

 

 

First steps

Before we launch Compiz for the first time, start the CompizConfig Settings Manager via System → Preferences.

  • There we click on Preferences and in the Backend section choose "Flat-file Configuration Backend" (this is the most reliable and it won't mess with your previous settings of Compiz in gconf).

  • Then create a new profile, so that you can easily switch back to default and back. To do so, click on the [+] in the Profile section.

  • Last but not least, click Back and look for the Window Decoration button. Right next to Command, type gtk-window-decorator (this will prevent the window borders to disappear in certain situations) - if you want to use Emerald as your default window decorator, see below.

 


Run Compiz

Press [Alt]+[F2] to start "Run Application" and type:

compiz --replace

This should start Compiz with your standard window boarder.

 

If you want to use Emerald instead, press [Alt]+[F2] again and type:

emerald --replace

 

 

Run Compiz on startup

In order to use Compiz as your default window manager, all you have to do is add the before mentioned command (only the compiz one) to
System → Preferences → Sessions → Startup Programs

 


Run Compiz with Emerald by default (optional)

 

Compiz uses the gtk-window-decorator by default, but if you want to start Emerald right away, there are two ways to achieve this:

 

  1. Remove the package compiz-gnome (it will remove compiz too but don't worry, that's just an empty metapackage)
    This will leave you without your window boarders, that you are used to from GNOME (only on Compiz, of course), so you should only do that when you are certain you solely want to use Emerald from now on!

  2. Create a startscript
    Run Applications → Accessories → Text Editor and type the following:
    #!/bin/bash
    compiz --replace &
    sleep 5
    emerald --replace
    Then save the file as start-compiz in your home folder. Close the text editor and open Places → Home Folder.
    There you right-click on the file and check the box at Properties → Permissions → Allow executing file as program
    After this, you can use that file to start Compiz - it's even possible to use that file with a launcher in the panel (or on the desktop) and of course use it for the command in the startup programs

 

Either way, insert emerald at System → Preferences → CompizConfig Settings Manager → Window Decoration → Command


 


Configure Compiz and it's plugins

This section of the guide has been moved to a separate blog entry

 

Troubleshooting

Compiz doesn't work at all

Please make sure you have the right driver for your graphics card installed as well as configured it correctly.
Here are some rules of the thumb depending on your graphics card brand:


Nvidia user

Install the appropriate driver via
System → Administration → Restricted Drivers Manager
Afterwards, run this command in a terminal to make sure your xorg.conf is configured correctly:

sudo nvidia-xconfig --add-argb-glx-visuals -d 24

 

ATI user

If your graphics card is supported by the open radeon driver, it should work out-of-the-box with Compiz.
Check your xorg.conf, if ati is listed as the driver:

sudo gedit /etc/X11/xorg.conf


this is how it should look like:

Section "Device"
    Identifier    "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
    Driver        "ati"
    BusID         "PCI:2:0:0"
EndSection

If you want to make sure or it's set to "vesa" (then your graphics card didn't get recognized by default) change it to "radeon" (but nothing else!)

 

If you want (or have) to use the fglrx driver, install it via
System → Administration → Restricted Drivers Manager
But then you have to install and set up Xgl (I strongly recommend Method A)

 

Intel user

Normally there are no troubles with intel chips whatsoever, since there is an open driver available, that comes with Ubuntu by default.
If you have issues nevertheless, have a look at this.

 

 

Compiz Fusion needs too much resources on Xgl


Try starting Compiz this way:

LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace

 

 

Compiz freezes randomly and/or permanently on logout


If you are using a Nvidia driver, try this:

Open the startscript for Compiz:

sudo gedit /usr/bin/compiz


look for the line about "No indirect by default" and change it to

INDIRECT=0

 

 

No cube and wobbly windows

It's not a bug, it's a feature.
Just check out the following guide how to set up Compiz Fusion

Additionally, you might want to check out this thread on the ubuntuforums, where I already answered many other questions.


 


Disclaimer: I have written and tested this how-to on a (relatively) fresh install of Ubuntu Studio (because I didn't want to mess with the git-install on my main machine), which has the advantage of not having Compiz installed by default. I did install the desktop-effects package, to check which (dependency) problems it brings but I may have missed something anyhow. So please let me know if you didn't understand a specific part of the guide and/or ran into problems I didn't address here.

 

Trackbacks



No trackbacks, yet.

Comments Help Feed

2 years ago

Ohne das Ganze jetzt gelesen zu haben, meinst du nicht es wäre für deiner Leser angenehmer, wenn du den Eintrag in zwei Artikel (installieren und einstellen) splitten würdest und dann untereinander verlinst? :)

2 years ago

Ja, da könntest du recht haben.
Es war auch eigentlich nicht geplant, dass der Eintrag so lang wird, aber es hat sich halt so geläppert übers WE.

Trotzdem ist das How-To aber eigentlich schon so gedacht, dass man es einmal komplett von vorne bis hinten durchhecheln kann - also sozusagen ein Rundum-Sorlgos-Paket ^^

Aber ich werd mir mal Gedanken machen. Danke für den Hinweis.

2 years ago

Gibt's das auch auf Deutsch??
Mit meinem minimalistischen Schulenglisch ist das so ne Quälerei.

Gibt's da ne Mindestkonfiguration, die n pc haben sollte?

2 years ago

>Gibt's das auch auf Deutsch??

Wird es geben, sobald ich die nötige Zeit finde. Leider kann ich das nicht auf diesem Blog machen, also werde ich wahrscheinlich einen anderen anlegen (dann auch hier auf blogage.de, sollte dir also nicht entgehen, wenns soweit ist :)). Kommt vielleicht im Laufe der Woche.

Wg. Minimalkonfiguration: eigentlich nicht, wenn dein PC nicht gerade zehn Jahre alt ist und du eine Grafikkarte drin hast (oder neueren Intelchip), sollte das hinhauen.

rayman (Anonymous)
2 years ago

hey, i tried ur guide but i cant seem to get compiz working. i followed ur instructions but i cant get any plugins/3d cube/anything in the compiz settings manager to work. right now im stuck without any window borders and i cant seem to fix it.
when i ran that little script :
#!/bin/bash
compiz --replace &
sleep 5
emerald --replace

in terminal, it says:

/usr/bin/compiz.real (core) - Error: Can't load plugin 'ccp' because it is built for ABI version 20070708 and actual version is 20070828
/usr/bin/compiz.real (core) - Error: Couldn't activate plugin 'ccp'

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

(emerald:6147): Wnck-WARNING **: Unhandled action type (nil)

any idea why its not working?

2 years ago

>/usr/bin/compiz.real (core) - Error: Can't load plugin 'ccp' because it is built for ABI version 20070708 and actual version is 20070828

Seems like you have non-matching packages installed.

-Did you really remove all packages regarding Compiz prior to install?
-Do you have any third-party repository in your sources.list? Please make sure you have only the one mentioned in the how-to enabled. Then remove/install again.

rayman (Anonymous)
2 years ago

oops. i had 2 things in the sources.list
do i have 2 reinstall the whole thing after removing it?

rayman (Anonymous)
2 years ago

Nevermind, got it working. thanks a lot for the guide :)

Sean (Anonymous)
2 years ago

Hey,

I've tried many guides, yours being the most recent. Every time I try to install I end up losing my window frames and so on. This time I got the following error as well:

compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

Any idea what's wrong?

Thanks,

dillinger (Anonymous)
2 years ago

Thanks so much! This was really easy thanks to your guide here! I'll definitely recommend it to others!

2 years ago

@Sean: do you use an ATI card with the fglrx driver?
Then you need to install (and set up) Xgl

@dillinger: thank you, I'm glad it works for you.

Sean (Anonymous)
2 years ago

I'm using a Macbook that's a few months old. I believe I have an Intel GMA 950 (as said on the Apple website).

2 years ago

I see... intel cards should work with AIGLX (which is implemented in Feisty's XServer), so you shouldn't need Xgl.

Maybe this will help you set things up: http://wiki.opencompositing.org/Intel_with_AiGLX
(I recommend using "gedit" instead of "nano" - and still try running just "compiz --replace" instead of that mile-long command listed there)

Darren (Anonymous)
2 years ago

Hi, I followed the tutorial, and I can't get the configuration for compiz to open, I click it and nothing happens, can you tell me what I may have done wrong please

Thanks in advance

2 years ago

Did you have any previous Compiz Fusion packages installed?
Please make sure you removed every Compiz related package prior to install as well as any third-party repository.
Then start over.

If this still doesn't help you, what output do you get, when running "ccsm" in a terminal?

guliy (Anonymous)
2 years ago

ive installed compiz successfully thanks to this guide. but i have one problem. when i installed this i lost my 3d cube. i have it checked on compiz but when i try to rotate it its not a cube it rotates like a piece of paper rotating on its own. and i only have 2 screens when i went to the workspace properties and put 4 workspaces

2 years ago

[quote]when i try to rotate it its not a cube it rotates like a piece of paper rotating on its own. and i only have 2 screens when i went to the workspace properties and put 4 workspaces[/quote]
Please make sure you followed exactly what I said here in the "Secondly" part of Getting the cube.

Arun (Anonymous)
2 years ago

Thanks a lot for this guide, works great. I've tried installing Compiz Fusion a lot of times before, but this is the only guide that worked. One thing, though -- whenever I try to view videos the application crashes. After some investigating, I found that videos work if you disable xv video playback and select x11, but the quality of x11 is really poor. Is there any way to run Compiz Fusion with xv video rendering?

2 years ago

[quote]Is there any way to run Compiz Fusion with xv video rendering?[/quote]
I assume you're using AIGLX, then I'm afraid the answer is no. That's the only thing that bugs me too.

Marlon (Anonymous)
2 years ago

superusuario@thecomputer:~$ emerald --replace

(emerald:9939): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

2 years ago

Hi Marlon,

are you trying to tell us something? ;-)
Honestly, if you want to get any help, please elaborate.
Is it only Emerald that's not working for you? How about Compiz with another window decorator? Did you have any other versions of Compiz or Emerald installed?

Chris (Anonymous)
2 years ago

Firstly, let me thank you for the guide, its really the only one thats easy to follow, its great. It helped me enormously (im pretty new to linux)

However, im having a few problems with compiz

-the right side of my screen is very glitchy...nothing shows up there, which means i cant see my clock, or my benchmark widgets that i have in the top corner, or the ¨power button¨. when i drag a window across that section of my screen, a ton of frozen ¨ghosted¨ images of the window linger there.

Another problem i´m having is that my desktop is unusable. no icons appear anywhere, and i cant see anything on it, its just blank.

the last problem is that when i minimize a window, it doesnt show up on the bottom taskbar, it just disappears, and the only way to get it back is to alt + tab or to Windows + tab.

Other than that, everything is working, all the effects, the desktop cube, everything else is working perfectly. any help you could offer would be greatly appreciated.

dave (Anonymous)
2 years ago

Great job on the write up.

It is going to be Ubuntu Linux guides like this one that will put this free and open Operating System into more people's houses. I was intimidated at first. I stumbled around and got Compiz to work but messed up my computer in the process. I reinstalled and followed your guide by the letter. Thank you.

2 years ago

Hi Chris,

sounds like you have issues with your graphics card's driver. Maybe you configured something wrong, or the resolution is too high to support 3D.

It's really hard to guess on the information you provide what exactly there is you can do but figuring out what's the proper driver for you might be a good start.

Brian (Anonymous)
2 years ago

Compiz is now working great for me, except my titlebar and window borders. Tried lots, including editing xorg.conf and enabling/disabling "smart" window placement. I have an ATI x1400, so I don't know how I got the cube to work in the first place! anyways, welcome any comments....

-Brian

compiz --replace , yields:

There is already the win manager running, you should use the --replace option to override it
brian@brian-laptop:~$ compiz --replace
/usr/bin/compiz.real (core) - Warn: Unable to parse XML metadata from file "ccp.xml"
GConf backend: There is an unsupported value at path /apps/compiz/plugins/water/allscreens/options/toggle_rain_key. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/water/allscreens/options/toggle_wiper_key. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/wobbly/screen0/options/friction. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/wobbly/screen0/options/spring_k. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/cube/allscreens/options/unfold_key. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/cube/allscreens/options/next_slide_key. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/cube/allscreens/options/prev_slide_key. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
GConf backend: There is an unsupported value at path /apps/compiz/plugins/rotate/allscreens/options/initiate_button. Settings from this path won't be read. Try to remove that value so that operation can continue properly.

...

2 years ago

Could you please switch to the Flat-file Backend, like I said in the First steps and post the error message (if any) again?

Rich Brown (Anonymous)
2 years ago

Thank you!!!!!!!!!!!!!!!!!!

this is the perfect guide. Just what I needed, as a semi-n00b.

rassha (Anonymous)
2 years ago

Great tutorial, works like a charm...
Thanks...

sai (Anonymous)
2 years ago

Hi, thank you so much for the tutorial, I'm really impressed.
I made work it perfectly in a HP pavilion with Nvidia graphic card. I just had to set Composite to "Enable" at the end of /etc/X11/xorg.conf and follow de instructions given here and in the forum.

Thanks again it looks really great!

Vishal (Anonymous)
2 years ago

I installed compiz-fusion couple of days back. Today, i was tweaking with the plugins and suddenly i noticed all my panel, menu has a white border surrounding it. its too annoying, kindly help. here is the screenshot
http://img526.imageshack.us/img526/5271/screens...

2 years ago

Hm... that's a very old bug with the gtk-window-decorator, I wonder how you got it.

Anyway, you can disable this by adding !dock to the input field at Window Decoration → Shadow Windows

Vishal (Anonymous)
2 years ago

thanks for your advice. this is weird, i left the command field in windows decorator empty and it fixed the white border!!! how come?

2 years ago

[quote]i left the command field in windows decorator empty and it fixed the white border!!! how come?[/quote]
Because then you won't have any shadows at all.
While adding !dock would've only disabled shadows on your panels and other dock types.

Ryan (Anonymous)
2 years ago

Thanks for the GREAT howto guide!
I installed everything, and am trying to startup compiz with emerald. When linux starts, compiz starts with it, but emerald doesn't! My borders are gone. I noticed that when compiz starts with the system, the Windows Decoration check box is always unchecked. When i check it, the emerald themes come back up. Any idea what's going on???

2 years ago

Did you switch to the Flat-File Backend?
And how do you run Compiz on startup?

ryan (Anonymous)
2 years ago

I have Flat-File Backend selected.
I run compiz on startup with the following in sessions-startup.
name: emerald
command: emerald --replace

I also have "emerald" in the window decorator command box.
I noticed that the window decorator is always deselected when i startup.

2 years ago

[quote]I noticed that the window decorator is always deselected when i startup.[/quote] Yeah, that's weird. Check if there's an error message when starting compiz --replace regarding this in the terminal.

But you can use the script I provided in the installation guide for the startup command. This will definitely work.

ryan (Anonymous)
2 years ago

This is what i get when i run compiz --replace in a terminal:

compiz --replace
Checking for Xgl: not present.
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking for nVidia: not present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

ryan (Anonymous)
2 years ago

Running the startup script doesn't work either...i think i followed the steps for the script correctly. I saved it is start-compiz and saved it in my /home AND /home/"user" folder with the permissions as stated.

2 years ago

And what happens when you just double-click the script?
You should get ask if you want to run the script - klick Run
(if it just opens a text file, you didn't make it executable).

Does Compiz start (after a short delay) with Emerald?
If not, choose Run in Terminal next time and look for error messages (you can ignore the Wnck-WARNINGs)

Jade (Anonymous)
2 years ago

Hi, ich schreib das hier grad aus einer Beryl Sitzung in Ubuntu.
Ich hab eine Radeon 9600 und als Treiber nutze ich den OpenSource "Radeon" Treiber.
Beryl funktioniert auch problemlos, aber ich hab jetzt mal in meine Xorg.conf nachgeguckt und finde die Option mit AIGLX nirgends... ich bin also etwas verwirrt das es überhaupt läuft und auch nicht sicher das Compiz Fusion laufen wird wenn ich es installiere.
Gibt es eine Möglichkeit rauszubekommen ob AIGLX bereits läuft ?

2 years ago

AIGLX ist im X-Server von Ubuntu (ab Edgy) bereits integriert, d.h. es "läuft" immer - wenn du es nicht ausdrücklich in der xorg.conf deaktivierst.

P.S. das How-To gibt es mittlerweile auch auf deutsch.

Jade (Anonymous)
2 years ago

Cool, danke, ich werd das mal versuchen :)

Porpoise (Anonymous)
2 years ago

Great Info page. I'm a new Ubuntu user, so I'm struggling a little with the new syntax/way of doing things compared to Windoze.

Apart from not being able to get my printer to work (seperate issue) I have a Radeon All-In-Wonder 7500 card installed coupled to a Samsung SyncMaster 225MW and have been unable to get the system to set the screen size to the full resolution of the panel (1680X1050). I installed Compiz in the hope that I could get the correct screen res through using that. Unfortunately, I got loads of great other features - except, I still can get the correct screen resolution for my panel!!@@!!

Can you (or someone here) help? Please! Please! I love Ubuntu - Don't want to go back to Windoze!!

2 years ago

Hi Porpoise,

since this problem is not related to Compiz, I recommend starting a thread about this problem in the ubuntuforums.

raddmadd - s... (Anonymous)
2 years ago

wow thanks for the tutorial! Helped me a lot, I finally got it working :)

raddmadd (Anonymous)
2 years ago

eh, sorry for bad post, I don't know how to read German so I'm just clicking random buttons down there lol.

mlewis (Anonymous)
2 years ago

Tutorial is great. For whatever reason though, I could not find the compizsettings manager to install. Suggestions?

2 years ago

Open a terminal and type

sudo apt-get install compizconfig-settings-manager
does this work for you? If not, what is the output?
mlewis (Anonymous)
2 years ago

I thought of that too after I posted the message. This is what I got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package compizconfig-settings-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package compizconfig-settings-manager has no installation candidate

2 years ago

Yeah, you already disabled the repository
Enable it again in System → Administration → Software Sources → Third Party Software and it will work.

mlewis (Anonymous)
2 years ago

I checked the repository and I still have it enabled. The ccsm never showed up when I went into synaptic to select the compiz stuff. That is what is confusing.

2 years ago

So... do you have it now or not?
The package is called compizconfig-settings-manager

mlewis (Anonymous)
2 years ago

Sorry Forlong, I went out of town after my last post. I just checked again and it showed up this time. Thanks!!!

Ashu (Anonymous)
2 years ago

Hi Nick!
Thanks for the awesome details! But I have got one problem - after adding the third party repository and searching for compiz again, 27 items are listed. Do I have to install all of them, or only those who have a star mark?

Ashu (Anonymous)
2 years ago

Please mail me back at
ashu.rockz@hotmail.com

:)

2 years ago

The only package you have to install is compiz (including dependencies) but I recommend installing (at least) compizconfig-settings-manager as well. Have a look at the "Choosing the packages" section of the guide.

livinjean (Anonymous)
2 years ago

one of the best tutorials !!

Duy (Anonymous)
2 years ago

Hi! This is very useful.However, I got trouble with Compiz Fusion:
Whenever I switch to Compiz, The windows appear freeze (no slide bar move, no button press...) but it not actually freeze. If I minimize it and then restore it and the change updated.

Things act normally with Metacity Window Manager.

Can you help? Thanks.

Duy (Anonymous)
2 years ago

This is the errors generated when I try to run "compiz --replace" in Terminal:

/usr/bin/compiz.real (blur) - Warn: No stencil buffer. Region based blur disabled
/usr/bin/compiz.real (core) - Error: Couldn't load plugin 'border'
/usr/bin/compiz.real (core) - Error: Couldn't load plugin 'mousegestures'
Attempted to unregister path (path[0] = org path[1] = freedesktop) which isn't registered

2 years ago

Did you really remove any packages related to Compiz prior to install as well as disabled third-party repositories you have used?
mswitch (plugin 'mousegestures') is not part of this repository!

And make sure you have this line in the Device section of your xorg.conf:

Option "XAANoOffscreenPixmaps" "true"
Duy (Anonymous)
2 years ago

Where can I find the file xorg.conf?

2 years ago

Have a look at what I wrote here:
Troubleshooting → Compiz doesn't work at all → ATI user

Duy (Anonymous)
2 years ago

I had 2 lines in my repo. So I tried again from the beginning, and it still not works. Full error descripton :

Checking for Xgl: not present.
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking for nVidia: not present.
Checking for Xgl: not present.

(gtk-window-decorator:6817): Wnck-WARNING **: Unhandled action type (nil)
................
/usr/bin/compiz.real (blur) - Warn: No stencil buffer. Region based blur disabled

(gtk-window-decorator:6817): Wnck-WARNING **: Unhandled action type (nil)
.......................

Any idea what the problem is and how to fix?

Thanks :(

Duy (Anonymous)
2 years ago

Moreover, I could not open the Compiz Setting Manager :(

2 years ago

[quote]Moreover, I could not open the Compiz Setting Manager :([/quote]
Then you are obviously still mixing packages. Again: you have to disable any other third-party repository!

Maybe this thread will help you out, where I explained how to remove any traces of Compiz before starting over.

Duy (Anonymous)
2 years ago

It got it works. Thank you forlong.

Farshid (Anonymous)
2 years ago

Nice how-to. After day working on installing Compiz using tutorials, yours solved the problem. Thanks a lot.

I am running CompizFusion on my Laptop with XGL as it has an ATI card.
But on another computer, I have NVidia and Im not using XGL. Although the second one is more powerful, the laptop is much faster in face effects etc. Do you have any idea why?
Is there a need or cause to use XGL on the second one as well?

Thanks a lot ;)

Farshid (Anonymous)
2 years ago

I am using XGL now and it is much faster, even though I don't have an ATI card.

In the previouse message, "face effects" = "desktop effects" :D

Camellochapin (Anonymous)
2 years ago

Hi,

I'm having the same problem as Chris. Plain desktop without icons, no taskbars, no clock, etc.

Could you please tell me which files should I uninstall to get everything back as it was previously?

My video card is a basic intel-integrated card, so I didn't expect much from it. It's not your fault, it's my laptop's. But for sure I will install it in my next PC, a proper one.

2 years ago

Hi Camellochapin,

I think the problem is with gconf, that's why I tell people to switch to the Flat-file Backend.

Try "resetting" gconf:

     mv ~/.gconf .gconf-bak
Then reboot.
The folder will get created again with the default settings.

Please tell me if it worked.

Diogo (Anonymous)
2 years ago

Great tutorial, thanks.

Compiz is now working almost fine. It`s really cool, effects working. But I`ve got a problem with the windows border. If I try to use the gtk-window-decorator, I get this:

Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with fglrx ATi drivers...
Starting emerald
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)

(gtk-window-decorator:9796): Wnck-WARNING **: Unhandled action type (nil)
/usr/bin/compiz.real: symbol lookup error: /usr/lib/compiz/libdecoration.so: undefined symbol: decor_apply_gravity

If I try to leave the command field blank and type emerald --replace on terminal, or type emerald directly on Command field, with the two packages (compiz and compiz-gnome) installed or not, I`ve got this message:

Segmentation fault (core dumped).

I`m quite a noob on this. My card is an ATI x550, fglrx, but I think XGL is working well.

Any tip?

2 years ago

Try to update libdecoration0 (you'll have to enable the repository again).

Diogo (Anonymous)
2 years ago

Yes, it worked.

Thank you man.

supersaw (Anonymous)
2 years ago

Man, this is incredible! At last I could easily set up Compiz Fusion with XGL on my Asus A6RP laptop following your guide! I thought, it's never gonna work with the integrated ATI X200M video card which is a piece of crap when it comes to OpenGL performance. Now Compiz Fusion runs perfectly on Ubuntu 7.04 Feisty Fawn! THANK YOU!

Ngv (Anonymous)
2 years ago

Hi i installed Compiz as described above, everything works fine.
But i cannot find an expose feature like in Beryl. Is there one. I only found the Expo plugin, which is everything but not expose. So which is the plugin that enables a expose like features .

Thank you

2 years ago

That's called Scale. You can enable it via [Shift]+[Alt]+[up] or you bind it to a screen corner as described here.

Estanislao (Anonymous)
2 years ago

Thanx a lot!!, first guide to make it work on my machine!!!

camellochapin (Anonymous)
2 years ago

Hi Forlong,

I did what you suggested me and I think it got worst... not all my configuration went back to its original one, exactly how it looked like after linux installation.

http://img214.imageshack.us/img214/9265/desktop...

As you can see, it's not possible to see the taskbars, clock, etc... and the main difference between now and before you asked me to "Try "resetting" gconf: mv ~/.gconf .gconf-bak", is that the wallpaper and folder options changed...but same situation, no bars, no access to menus, etc.

So, could you please tell me how to uninstall it, and it won't matter if I have to set up again my menus and desktop, so far I can work easily.

THANKS A LOT! As I told you, for sure I'll follow all your instructions after getting a better PC.

Best regards,

Camellochapin

2 years ago

Hm... OK, here's how you get your config back:

rm -r ~/.gconf && mv ~/.gconf-bak .gconf

And here's how you remove Compiz completely:

sudo apt-get remove --purge compiz* emerald*
and then:
sudo apt-get autoremove

Hope it helps.

camellochapin (Anonymous)
2 years ago

Hi,

thanks a lot, it worked out and I my desktop looks as it looked before. But rest assured that I'll follow your instructions in the near future with a proper PC!

camellochapin

Javier (Anonymous)
2 years ago

GREAT guide, it worked like a charm!!!

THANX!!!!

Yash (Anonymous)
2 years ago

Hi Furlong,

I just carried out your steps, but nothing happenin.

also tried http://wiki.cchtml.com/index.php/Ubuntu_Feisty_...

but things just got terribly worse!

I have Feisty, and run on an old Sony Vaio with ATI Radeon IGP 345m

I ended up restarting with sudo dpkg-reconfigure xserver-xorg and chose VESA.

things functional again... but I can't figure out 3d acceleration and Beryl for this card. all forums I've read don't help at all!

2 years ago

Hi Yash, you can't use the fglrx driver with your card, because it's not supported. You have to use the open radeon driver (see above).

lanchongzi (Anonymous)
2 years ago

Vielen Lieben Dank

hat sofort funktioniert

und zwar alles

zum ersten mal

bin ja mal dick beeindruckt

Goran Jordanov (Anonymous)
2 years ago

OK I got everithing OK except window decorations. I dont have them. I got nVidia 7600GS and using nvidia drivers in ubuntu. This is my output when i run compiz from the terminal...

Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0392 (rev a1) (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1152x864) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)

(emerald:7513): Wnck-WARNING **: Unhandled action type (nil)
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (resizeinfo) - Warn: Bind Pixmap to Texture failure
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (resizeinfo) - Warn: Bind Pixmap to Texture failure
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher

Can you help? Thx.

Bill (Anonymous)
2 years ago

Your article helped me a lot. Thanks!

Enchance (Anonymous)
2 years ago

I ran "LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa compiz --replace" but what exactly happens when I do this? My compiz works, btw. thanks to you!

krzylew (Anonymous)
2 years ago

I followed your guide, but in this repository is v 0.5.2
How can I upgrade it to 0.6.0?

Im on feisty.

2 years ago

You can't, those are the latest packages available.
But they are git-snapshots and do not differ in terms of functionality from 0.6

Rtom (Anonymous)
2 years ago

Danke für deine Beschreibung, es hat mich sehr viel geholfen. Jetzt habe ich aber eine Fehler, was ich nicht korrigieren kann: ich habe neue Nvidia-legacy driver installiert, und die window decoration sind weg. Ich habe neueste libdecoration0.
sudo nvidia-xconfig --add-argb-glx-visuals -d 24 hat auch nicht geholfen.
Kannst du mich bitte helfen?
Danke

2 years ago

Zitat:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24 hat auch nicht geholfen.
Hast du seitdem mal einen Reboot gemacht?
Rtom (Anonymous)
2 years ago

Ja, schon mehrmals. Was für mich auch auffällig ist, dass meine terminal ist leer, habe kein Prompt. Gerade habe ich den window-decorator geprüft, es ist weiterhin gtk-window-decorator. :-(

2 years ago

Es handelt sich offensichtlich um ein Treiber-Problem. Da ich mich mit Nvidia nicht wirklich auskenne, kann ich dir da leider nicht weiter helfen.
Am Besten stellst du deine Frage im Forum von Compiz Fusion.

dave (Anonymous)
2 years ago

this is what i get in the terminal when i run "compiz --replace"

Zitat:

Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0324 (rev a1) (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Less than 65536kb of memory and nVidiaaborting and using fallback: /usr/bin/metacity
Window manager warning: Screen 0 on display ":0.0" already has a window manager

can you help? i noticed that it says less than blah blah memory, so does that mean i cant use compiz with my video card? i use a GeFroce FX GO5200

by the way, i am using ubuntu 7.10

2 years ago

Yes, your graphics card has too less memory to run Compiz by default in Ubuntu. You need to skip the blacklist, if you want to use it nonetheless.
Try running Compiz like this:

SKIP_CHECKS=yes compiz

And if it works, see the last step here.

dave (Anonymous)
2 years ago

ok it seems like that worked. i just need to figure out how to make cube and such work now. Thanks! this is a great guide:)

2 years ago
dave (Anonymous)
2 years ago

ok i read it and it goes great now! thank you! great guide.

DarkArchon (Anonymous)
one year ago

Ok, a few problems I'm having, hopefully you can help me solve one and/or all of them. I'm an Ubuntu noob, but have been in the IT industry for years. So the concepts are there, but terminal stuff still isn't, take it easy on me :P

First, much like mlewis, Compizconfig Settings Manager isn't there under System -> Preferances. If I run sudo apt-get install compizconfig-settings-manager here is the output I get...

Reading package lists... Done
Building dependency tree
Reading state information... Done
compizconfig-settings-manager is already thee newest version.
The following packages were automatically installed and are no longer required:
libboost-thread1.34.1 libboost-date-time1.34.1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

leading me to believe that it's installed and working, let me know if I'm wrong. I do have the Emerald Theme Manager, donno if that makes a difference.

Second, I'm having trouble when I do run compiz --replace or emerald --replace. I know I haven't setup the compizconfig, but I figured I'd try it anyway. I'm hoping fixing the first will fix this one, but I figured I'd tell you anyway, perhaps you can troublshoot right now. When I do compiz --replace in terminal I get this..

darkarchon@sexy:~$ compiz --replace
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with nVidia drivers...
Starting emerald
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

I notice it says checking for nVidia and not present, and then Enabling Xgl with nVidia drivers. I am using nVidia w/ restricted drivers and I've run sudo nvidia-xconfig --add-argb-glx-visuals -d 24 just to make sure. If I restart I believe it's running in emerald (not positive, is there a way to check this?).

Running compiz --replace via alt-f2 gives me some very weird things, same with emerald --replace. Typical "weird things" include not being able to move windows, window borders missing, max/minimize/close buttons dissapearning (but border being there). These are more or less the original things that were wrong with compiz, which, I probably fubar'd myself being a linux noob. That's why I tried re-installing. Didn't seem to change much though, any idea what's wrong and/or what I can do to fix it?

DarkArchon (Anonymous)
one year ago

update/edit:

I forgot to give you the output of sudo nvidia-xconfig --add-argb-glx-visuals -d 24 in case something important is there, here it is...

Using X configuration file: "/etc/X11/xorg.conf".
Option "AddARGBGLXVisuals" "True" added to Screen "Default Screen".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

Hope you can help, thanks ahead of time.

HydroDiOxide (Anonymous)
one year ago

I believe the ppa repository is down. Having a hard time getting compiz-fusion to work with my radeon HD3850 under feisty. It seems like I need the fglrx driver and Xgl. Any help is welcome

TomK (Anonymous)
one year ago

When I try to start Compiz in the terminal in the terminal it does not have any window borders. I think the problem may be with emerald but I am not sure here is my output of compiz --replace.

tom@fabo:~$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 00:02.0 0300: 8086:27a2 (rev 03) (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald
/usr/bin/compiz.real (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
/usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
exec: 378: /usr/bin/metacity: not found
tom@fabo:~$

and this all doesnt go back until I revert back to xfwm4 --replace

one year ago

There's a bug report on Launchpad about this: https://launchpad.net/bugs/154104

Check if xserver-xgl is installed, if so: remove it.

TomK (Anonymous)
one year ago

I try to change my xorg file but the computer would not let me. I have tried using terminal (sudo mousepad /etc/x11/xorg.conf) but gives me 'Can't open file to write'

one year ago

It's: sudo mousepad /etc/X11/xorg.conf

TomK (Anonymous)
one year ago

Ok odd thing was at first I did not have Xgl-Server installed, but I installed it and when I tried compiz it worked, only problem is that it is amazingly slower than when I had it on Ubuntu.

one year ago

I start/run compiz with

Press [Alt]+[F2] to start "Run Application" and type:

compiz --replace

How can I stop it?
------------------------------------------------------
Edit: Sorry, Forlong, for bothering you. I found the answer:

Press [Alt]+[F2] to start "Run Application" and type:

'metacity --replace'

shawkat (Anonymous)
one year ago

Hi there ....
I got a little problem ..
i installed the compiz fusion package but because i tried in the past to installed it in incorrect way now when i want to start my "CompizConfig setting manger" it doesn't start while when i start the "Change Desktop Background">>visual effects i got new option that called "Custom :uses custom set of effects (with an button that called :"Preferences") "

so i think my compiz is working but i can't change anything because the setting manager is blocked !!!

what can i do ?!!

shawkat (Anonymous)
one year ago

Hi it's me again ..........
look when i write : compiz --replace in the terminal i got :

Checking for Xgl: not present.
Detected PCI ID for VGA: 00:02.0 0300: 8086:27a2 (rev 03) (prog-if 00 [VGA])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting gtk-window-decorator
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

so could it be the problem from the Xgl ?

one year ago

No your problem has nothing to do with Xgl.
It's because of a messed up Compiz install.
You have to undo whatever you did in the first place and make a clean un-install before installing Compiz Fusion again.

mococaio (Anonymous)
one year ago

Hi..

I can't find the compizconfig-settings-manager here: deb http://ppa.launchpad.net/amaranth/ubuntu feisty main

The repository is the only thirdy party enabled, and I'm trying it for a few days. Synaptic just doesn't find it, and at the terminal, I get:

 

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package compizconfig-settings-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package compizconfig-settings-manager has no installation candidate

 

Do you know if there's something wrong going on with ppa repository? Should I do something else??

Thanks in advance!

 

one year ago

I am very sorry, but I formatted my Feisty install this very weekend to install the Intrepid Ibex beta, so I can neither confirm nor disprove this issue.

In case you'd like to contact the maintainer of that repository: https://launchpad.net/~amaranth

mococaio (Anonymous)
one year ago

hm, looks like he deleted the files from the repo. I've found an old post where he says people should upgrade the ubuntu version. Well, well... since I couldn't get trought the missing borders of trevino's, guess I'll have to wait 'till I have a oportunity to upgrade.

Anyway, thanks for the attention.

one year ago

When you're on Feisty, upgrading won't be easy. I'd recommend a fresh install.
Intrepid will be out soon, so that would be a good time to do that.

In case your low on bandwith, there's alwasy shipit

Rey (Anonymous)
one year ago

I installed compiz config and emerald on my Ubuntu 8.04 using these instructions -> http://www.howtoforge.com/compiz-fusion-ubuntu-...

I run it using VMWare player in Windows vista. Ever since i installed these two i am not able to login to ubuntu. I get the login screen, once I enter the user name password, it loops back to the same screen.What could be the problem. I dont have a 3D card in my laptop. I have an Intel X3100 Graphics media accelerator. 

Please help.

one year ago

Compiz does not run in a virtual invironment.

Why your GNOME session fails to load is very hard to determine from here. Try loggin in into the failasafe session or a terimnal-only session to fix things from there.

Good luck.



Add comment


(not required)

Please enter the white text to the text field "code" (spam protection).

r T C S X F U G