in Technology

Compiz Fusion and resuming from suspend

Today I decided to give Compiz Fusion a go in Ubuntu Feisty, and there seem to be lots of websites out there explaining how to do this in Feisty. Enable compiz-fusion in Ubuntu Feisty seems to be popular, so give that a go if you decide to try.

Anyway, earlier when I have been running Compiz or Beryl, everything runs fine until the time comes to resume from suspend. I always get a blank screen with only the cursor showing. I hoped that using Compiz Fusion would make that problem go away without me having to actually dig into it – I was wrong.

After some digging, I found Bug #96240 in Launchpad, which had some nice tips and tricks for making it work. After some trial-and-error (actually more error and frustration) I got it working by simply disabling “Sync to VBlank” in the Compiz settings manager.


I also needed the following two lines in xorg.conf, in the Device section.

Option “AddARGBVisuals” “True”
Option “AddARGBGLXVisuals” “True”

Now I am enjoying Compiz Fusion where ever I go!