Bug 9395 - Drawing artefacts after suspend to ram
Summary: Drawing artefacts after suspend to ram
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 12:54 UTC by Tim Dijkstra
Modified: 2007-06-17 11:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot with corruption after s2ram (238.77 KB, image/png)
2006-12-19 12:56 UTC, Tim Dijkstra
no flags Details

Description Tim Dijkstra 2006-12-19 12:54:49 UTC
After a successful suspend and resume all window decorations (the
places where the shadow was supposed to be, but also the titlebars) are
much to colorful (meaning it has some random colors in it).
Also the icons in the alt-tab window chooser are corrupted.

Moving the windows brings the old colors back. For the gnome menu bar,
however, this doesn't work. Even tooltips that  pop-up from it have
strange colors,

	compiz --replace 

resolves this.

I've put a picture here:

http://www.famdijkstra.org/~tdykstra/compiz_after_s2ram.png

This is with the following software and hardware:

Chipset ATI Radeon 9250 5960 (AGP)
compiz: 0.3.2-1
xserver: 7.1.0-7 (opensource drivers)
mesa: 6.5.1
linux: 2.6.19

When I posted this to the compiz mailinglist, I got a reply
from an ATI X300 owner with the same symptoms.
Comment 1 Tim Dijkstra 2006-12-19 12:56:45 UTC
Created attachment 8170 [details]
Screenshot with corruption after s2ram
Comment 2 Daniel Stone 2007-02-27 01:35:15 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Michael Gratton 2007-03-17 20:46:41 UTC
This may be a problem with the window decorator apps themselves, as you only need to restart the runing decorator, not compiz itself. I.e. doing a:

  gtk-window-decorator --replace &

Makes the corruption go away for me.

This is on an IBM Thinkpad T43:
Video card: ATI Technologies Inc M22 [Radeon Mobility M300]
xserver-xorg: 7.2-0ubuntu5
xserver-xorg-video-ati: 6.6.3-2ubuntu3
compiz: 0.3.6-1ubuntu7
compiz-gtk: 0.3.6-1ubuntu7
Comment 4 Michael Gratton 2007-03-17 23:43:52 UTC
This is also reported as a bug in Ubuntu Fiesty: https://launchpad.net/ubuntu/+source/compiz/+bug/90740
Comment 5 Tim Dijkstra 2007-03-18 02:23:14 UTC
There is also corruption in for example the small tooltip boxes of the menu bar. So I definitely need to restart compiz itself too. My guess is that some part of the video memory got corrupted during suspend. All reports I've seen so far where on radeons, so maybe this is a bug in the radeon driver...
Comment 6 Michael Gratton 2007-03-18 15:09:06 UTC
(In reply to comment #5)
> There is also corruption in for example the small tooltip boxes of the menu
> bar. So I definitely need to restart compiz itself too.

Oh, yeah, I get that as well, but it also goes away if I restart the decorator.

> My guess is that some
> part of the video memory got corrupted during suspend. All reports I've seen so
> far where on radeons, so maybe this is a bug in the radeon driver...


Comment 7 Michel Dänzer 2007-03-20 00:40:03 UTC
(In reply to comment #5)
> All reports I've seen so far where on radeons, so maybe this is a bug in the
> radeon driver...

Indeed, there was a bug in the radeon driver where it didn't mark textures in video RAM as clobbered when leaving the X server VT.
Comment 8 Michel Dänzer 2007-03-20 00:40:38 UTC
Should be fixed in xf86-video-ati git, please reopen if this still occurs with that.
Comment 9 Tim Dijkstra 2007-06-17 11:17:29 UTC
I verified this bug is indeed fixed in a recent version of the driver. I've tested the driver in debian `experimental' this has a version number 6.6.192-1

grts Tim


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.