Compiz fails to draw shadows after suspend

Bug #269890 reported by Tim Besard
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz

After having resumed from suspended state (e.g. hibernate), Compiz' shadows don't work well anymore. All shadows are replaced with a white block with sometimes lines in it (the corners have additional artifacts). When I re-apply a theme, the artifacts disappear and the transparant shadows are displayed correctly again.

Hardware details:
 Pentium IV at stock speed of 3,4 gHz
 2 GB ram
 WMP54G wireless PCI adaptor, RaLink RT2561/RT61 based
 ATI Radeon X1650 Pro (Sapphire-branded)
 MSI MS-7156 (865PE-V2) motherboard

Software details:
 A fully updated Ubuntu Intrepid installation
 Ubuntu 2.6.27-3-generic #1 SMP Wed Sep 10 16:02:00 UTC 2008 i686 GNU/Linux
 xorg 1:7.4~2ubuntu1
 xserver-xorg-video-radeon 1:6.9.0+git20080826.a3cc1d7a-2ubuntu2
 compiz 1:0.7.7+git20080807-0ubuntu7

Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Tim Besard (maleadt) wrote :
Revision history for this message
Jeremy Visser (jeremy-visser) wrote :

I can confirm this bug. This bug occurs when resuming both from RAM and disk, and only occurs when Compiz is running when suspended. When Compiz is restarted, the shadows return to normal. If Compiz is not running when suspending, this bug does not occur.

Sometimes, I get white shadows. However, most of the time, I get multicoloured shadows. Screenshot attached.

Revision history for this message
Mark Cocker (mark-earth) wrote :

I too get this problem after resuming from suspend to RAM (Thinkpad T42p, Ubuntu 8.10, not using proprietary driver).
In addition to this problem displaying window shadows, I notice the background display when rotating cubes is also sometime corrupt after a resume - not sure if it is related.

Temporary fix: I have found If you start menu option System > Preferences > Appearance (not need to actually do anything in that window) it then correctly displays shadows. However, if you suspend+resume, the problem is back.

Revision history for this message
Mark Cocker (mark-earth) wrote :

There is perhaps another related problem - after a suspend/resume the shadows displayed for the compiz feature "Window previews" are corrupt aswell.
Temporary fix: System > Preferences > CompizConfig Settings Manager > turn off Window Previews, then turn on Window Previews. The shadowing correctly displays.

Revision history for this message
Martin (mbr0wn) wrote :

This bug might not be specifically a compiz problem. I can reproduce this bug using KDE 4.1 and desktop effects (see screenshot attached). The window shadows get corrupted after suspending to disk/ram.

My system is a fully updated Intrepid Ibex with a Radeon X800. I've seen this behaviour both with the fglrx and radeon drivers. I use a standard (autodetecting) xorg.conf and the following versions:

ii xorg-driver-fglrx 2:8.543-0ubuntu4 Video driver for the ATI graphics accelerato
ii xserver-xorg 1:7.4~5ubuntu3 the X.Org X server
ii xserver-xorg-core 2:1.5.2-2ubuntu3 Xorg X server - core server
ii xserver-xorg-video-radeon 1:6.9.0+git20081003.f9826a56-0ubuntu2 X.Org X server -- ATI Radeon display driver

Revision history for this message
Will McCutchen (mccutchen) wrote :

I'm experiencing the exact same thing with a stock Intrepid install on a 2,1 MacBook Pro. The simplest solution I've found, same as the one noted above, is to open System > Settings > Appearance, which immediately fixes the problem.

Revision history for this message
Tim Besard (maleadt) wrote : Re: [Bug 269890] Re: Compiz fails to draw shadows after suspend

Op woensdag 21-01-2009 om 20:16 uur [tijdzone +0000], schreef Will
McCutchen:
> I'm experiencing the exact same thing with a stock Intrepid install on a
> 2,1 MacBook Pro. The simplest solution I've found, same as the one
> noted above, is to open System > Settings > Appearance, which
> immediately fixes the problem.
>

After running Fedora for a while and having returned to Ubuntu now, I
cannot reproduce this bug. It might be corelated with having upgraded to
a newer xserver-xorg-ati (using Tormod Volden's PPA), which I did _not_
do this time.

However, as the bug still appears to some users, this bug report remains
valid (IMHO).

I will report back when having upgraded to a newer -ati driver, but this
might take some time as I'm using the stock driver now in order to
trigger some other bug.

Revision history for this message
Michele Mangili (mangilimic) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in compiz:
status: New → Confirmed
Revision history for this message
Mark Cocker (mark-earth) wrote :

After moving from Ubuntu 8.10 to Ubuntu 9.04, using the standard open source driver, with Compiz enabled I no longer experience this bug on an IBM Thinkpad T42p machine. I can now suspend/resume with no screen re-draw problems.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in compiz (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.