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.

vblank.png

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!

2 thoughts on “Compiz Fusion and resuming from suspend”

  1. Thanks, I forgot about it but I also had the “sync to blank” issue… But I didn’t need to change my xorg.conf like you and hibernation always worked (I rely on ACPI only to hibernate)…

  2. [quote comment="42023"]Thanks, I forgot about it but I also had the “sync to blank” issue… But I didn’t need to change my xorg.conf like you and hibernation always worked (I rely on ACPI only to hibernate)…[/quote]
    I needed those lines in xorg.conf, since there seemed to be some issues with gnome-screensaver without them. I couldn’t unlock the computer, which could be a bit problematic in the long run.

    Actually, I think those lines are there by default, but I probably removed them when digging around, trying to get it working.

Leave a Reply