gtk-window-decorator corruption after resume from sleep

Bug #90740 reported by Michael Gratton
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
compiz (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Using compiz-gtk 0.3.6-1ubuntu7, I'm getting corrupted window borders/shadows when resuming from sleep (suspend-to-RAM). The corruption for goes away for individual windows, or for all of them if you restart gtk-window-decorator (e.g., by issuing: `gtk-window-decorator --replace &').

Computer: Thinkpad T43
Video card: ATI Technologies Inc M22 [Radeon Mobility M300]
xserver-xorg: 7.2-0ubuntu5
xserver-xorg-video-ati: 6.6.3-2ubuntu3

Revision history for this message
In , Tim Dijkstra (tim-famdijkstra) wrote :

Created an attachment (id=8170)
Screenshot with corruption after s2ram

Revision history for this message
In , Daniel Stone (daniels) wrote :

Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.

Revision history for this message
Michael Gratton (mjog) wrote :

Binary package hint: compiz

Using compiz-gtk 0.3.6-1ubuntu7, I'm getting corrupted window borders/shadows when resuming from sleep (suspend-to-RAM). The corruption for goes away for individual windows, or for all of them if you restart gtk-window-decorator (e.g., by issuing: `gtk-window-decorator --replace &').

Computer: Thinkpad T43
Video card: ATI Technologies Inc M22 [Radeon Mobility M300]
xserver-xorg: 7.2-0ubuntu5
xserver-xorg-video-ati: 6.6.3-2ubuntu3

Revision history for this message
Michael Gratton (mjog) wrote :
Revision history for this message
Michael Gratton (mjog) wrote :

That should read:

The corruption for goes away for individual windows /when you first focus them/, or...

Revision history for this message
Martey Dodoo (martey) wrote :

Can confirm. I also have a T43 (with the same video card) and the same versions of the compiz-gtk and xserver-xorg packages installed. The corruption does not happen after hibernation.

Changed in compiz:
status: Unconfirmed → Confirmed
Revision history for this message
In , Michael Gratton (mjog) wrote :

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

Revision history for this message
In , Michael Gratton (mjog) wrote :

This is also reported as a bug in Ubuntu Fiesty: https://launchpad.net/ubuntu/+source/compiz/+bug/90740

Revision history for this message
In , Tim Dijkstra (tim-famdijkstra) wrote :

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...

Changed in compiz:
status: Unknown → Confirmed
Revision history for this message
In , Michael Gratton (mjog) wrote :

(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...

Revision history for this message
In , Michel-tungstengraphics (michel-tungstengraphics) wrote :

(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.

Revision history for this message
In , Michel-tungstengraphics (michel-tungstengraphics) wrote :

Should be fixed in xf86-video-ati git, please reopen if this still occurs with that.

Changed in compiz:
status: Confirmed → Fix Released
Revision history for this message
Michael Gratton (mjog) wrote :

So this is actually a bug in the radeon driver. See the fdo bug for details, but they don't mention which bug # or patch that fixed it.

Revision history for this message
Michael Gratton (mjog) wrote :

Although this seems to be the patch here: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commit;h=4651d00b183cb498879d605c4b93cd3a0c63cb33

Any chance of getting it applied to the xserver-xorg-video-ati package?

Revision history for this message
Travis Watkins (amaranth) wrote :

Here is a debdiff to add this patch.

Changed in xserver-xorg-video-ati:
status: Unconfirmed → In Progress
Revision history for this message
Travis Watkins (amaranth) wrote :

Err, should mention I don't own ATI hardware so I can't test this, need others to confirm if it fixes the problem.

Revision history for this message
Travis Watkins (amaranth) wrote :

Rejecting the compiz bug, this is a driver issue.

Changed in compiz:
status: Confirmed → Rejected
Revision history for this message
Travis Watkins (amaranth) wrote :

Oops, forgot to reset DEBEMAIL. New diff with correct name and email attached. Sorry for the spam guys. :)

Revision history for this message
Michael Gratton (mjog) wrote :

Just tried it then. Works like a charm, cheers!

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

fixed by this upload, thanks for testing!

 xserver-xorg-video-ati (1:6.6.3-2ubuntu4) feisty; urgency=low
 .
   [ Travis Watkins ]
   * debian/patches:
     - 107_radeon_reupload_texture_on_resume.diff
       Patch from upstream git to make sure textures get reuploaded on VT
       switch. (LP: #90740)

Changed in xserver-xorg-video-ati:
status: In Progress → Fix Released
Revision history for this message
In , Tim Dijkstra (tim-famdijkstra) wrote :

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

Revision history for this message
Marco Vermeulen (marcopaulvermeulen) wrote :

Hi all,

I'm using an LG LM-50a with:
VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
xserver-xorg: Version: 1:7.2-5ubuntu13
xserver-xorg-video-ati: Version: 1:6.7.195-1ubuntu2

This bug seemed to be around in March 2007, yet I still seem to be having the same
problem a year later. Was this patch applied to subsequent versions of the ATI driver?

Revision history for this message
Edwin Winkler (swinkedy) wrote :

I'm experiencing the same problem as Marco Vermeulen.
These are the packages:
ii xserver-xorg 1:7.2-5ubuntu13
ii xserver-xorg-video-ati 1:6.7.195-1ubuntu2

Revision history for this message
cement_head (andorjkiss) wrote :

yes, I'm having the exact same issue with Gutsy, same packages as EW and MV

Changed in compiz:
importance: Unknown → Medium
Changed in compiz:
importance: Medium → Unknown
Changed in compiz:
importance: Unknown → Medium
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.