[RV350 9600] suspend causes corrupt window decoration

Bug #312589 reported by jcdutton
4
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Graphics card:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

To reproduce the problem:
With compiz enabled in intrepid (Ubuntu 8.10).
Suspend to RAM.
Restore from RAM.
All the window decoration is corrupted.

To workaround the problem:
Go into compiz settings, untick "window decoration", retick "window decoration". The window decoration is then OK again, until the next suspend to RAM.

Revision history for this message
Duane Hinnen (duanedesign) wrote :

Thank you for taking the time to submit this bug and helping to make Ubuntu better. What versions of xserver-xorg and xserver-xorg-video-ati do you have.

code:

dpkg -s xserver-xorg
dpkg -s xserver-xorg-video-ati

Revision history for this message
jcdutton (james-superbug) wrote :

dpkg -s xserver-xorg
Package: xserver-xorg
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 648
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Source: xorg
Version: 1:7.4~5ubuntu3
Replaces: x11-common (<< 1:7.3+11), xserver-common (<< 7)
Depends: xserver-xorg-core (>= 2:1.5), xserver-xorg-video-all | xserver-xorg-video-4, xserver-xorg-input-all | xserver-xorg-input-2.1, xserver-xorg-input-evdev, libc6 (>= 2.3.4), debconf (>= 0.5) | debconf-2.0, xkb-data | xkb-data-legacy, x11-xkb-utils, mdetect
Recommends: libgl1-mesa-dri, udev
Conflicts: x11-common (<< 1:7.3+11), xserver-common (<< 7), xserver-xfree86 (<< 6.8.2.dfsg.1-1)
Description: the X.Org X server
 This package depends on the full suite of the server and drivers for the
 X.Org X server, as well as providing a configuration infrastructure to manage
 xorg.conf. It does not provide the actual server itself, but removing it
 is strongly discouraged.
Original-Maintainer: Debian X Strike Force <email address hidden>

dpkg -s xserver-xorg-video-ati
Package: xserver-xorg-video-ati
Status: purge ok not-installed
Priority: optional
Section: x11

Revision history for this message
jcdutton (james-superbug) wrote :

It uses radeon instead
dpkg -s xserver-xorg-video-radeon
Package: xserver-xorg-video-radeon
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 816
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: i386
Source: xserver-xorg-video-ati
Version: 1:6.9.0+git20081003.f9826a56-0ubuntu2
Replaces: xserver-xorg-video-ati (<= 1:6.8.191-1)
Provides: xserver-xorg-video-4
Depends: libc6 (>= 2.1.3), libpciaccess0, xserver-xorg-core (>= 2:1.4.99.906-2ubuntu2)
Description: X.Org X server -- ATI Radeon display driver
 This driver for the X.Org X server (see xserver-xorg for a further description)
 provides support for the ATI Radeon and FireGL series. It provides the 'radeon'
 driver.
 .
 Note that this is not the same as the ATI-provided, binary-only, 'fglrx'
 driver, which provides additional 3D functionality for some newer Radeon
 cards, but is not supported.
 .
 This driver provides support for Radeon and FireGL series ATI cards.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 <URL:http://xorg.freedesktop.org>
 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
 .
 This package is built from the X.org xf86-video-ati driver module.
Original-Maintainer: Debian X Strike Force <email address hidden>

Revision history for this message
Duane Hinnen (duanedesign) wrote :

Your issue seems to be related to Bug #90740.

follow link:

https://launchpad.net/ubuntu/intrepid/hppa/xserver-xorg-video-radeon/1:6.9.0+git20081003.f9826a56-0ubuntu2.1

and download the .deb under Downloadable Files:
 xserver-xorg-video-radeon_6.9.0+git20081003.f9826a56-0ubuntu2.1_hppa.deb

Revision history for this message
jcdutton (james-superbug) wrote :

I have i386 and not hppa CPU so it will not install.

Revision history for this message
jcdutton (james-superbug) wrote :

Managed to find and install the i386 version.
Window decorations are still corrupted after resume.

Revision history for this message
jcdutton (james-superbug) wrote :

I think the problem is not so bad as it was.
The individual windows seem to be OK now, the problem remains with the "root" window. I.e. The desktop has the top line (where a windows decoration might be) corrupted.
Toggling the compiz decoration fixes the problem.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [RV350] suspend causes corrupt window decoration

Thanks for testing that jc, I think we can forward this bug upstream but need a bit more information first, that upstream requires.

Can you please attach your /var/log/Xorg.0.log while running with the newer driver, and then run `lspci -vvnn > lspci.txt` and `lshal > lshal.txt` and attach both of those files? Thanks.

Also, if you have a digital camera, attaching a photo of the screen couldn't hurt (I think the description is clear enough though, if this is difficult.)

Changed in xserver-xorg-video-ati:
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Based on the description of the symptoms, it sort of sounds like this might be caused by an incorrect AGPMode setting, which is relevant when DRI is enabled. You should test if changing this makes the issue go away. In your /etc/X11/xorg.conf set AGPMode to various values like this:

 Section "Device"
      ...
      Option "AGPMode" "2"
 EndSection

Possible values include 1, 2, 4, 8. You can see what it's currently set to by looking in /var/log/Xorg.0.log. It's worthwhile to test all four values even once you find one that works. If this takes care of it for you, we may be able to establish a quirk to set it for your hardware combo

For more details on this, please see the "ATI AGP Mode Quirk" section at https://wiki.ubuntu.com/X/Quirks

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
Revision history for this message
jcdutton (james-superbug) wrote :

Regarding AGPMode
The linux driver defaults to using 4x.
Under windows, the setting used is 4x.
I have tried 1x and 2x in Linux but neither help.

Revision history for this message
jcdutton (james-superbug) wrote :

Another symptom:
When the corruption happens I do the following steps:
1) I press ALT-F1 to switch to the dumb terminal screen but it has no display at all.
2) I press ALT-F7 to switch back to X terminal screen and the corruptions have been removed.
3) I press ALT-F1 to switch to the dumb terminal screen and it displays as normal.

My conclusion to this is that when suspending, the full state of the graphics card is not being saved.

Revision history for this message
Bryce Harrington (bryce) wrote :

I notice from your last posted log that you tested against hardy. Could you please re-verify this bug still exists in Jaunty? You can get an ISO image from http://cdimages.ubuntu.com/releases/jaunty/. If you install Alpha-4 make sure to apply the latest updates so you test against -ati version 6.11.0. Thanks ahead of time.

Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Revision history for this message
jcdutton (james-superbug) wrote :

Testing from ISO image is not easy for me for various reasons.
Any chance of back porting the fix to intrepid or providing a .deb for me to try.

Revision history for this message
Bryce Harrington (bryce) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Oh nevermind actually -- I notice you're using XAA (the default for Intrepid), which had several known corruption/artifact issues esp. relating to suspend/resume. These issues go away when using AccelMethod EXA; there were some performance regressions with EXA on Intrepid which is why we didn't move to it. We use EXA as the default on Jaunty now, and don't see the performance issues.

So I'm not sure what you'd find testing the newer drivers on Intrepid, but the problem should be gone on Jaunty so I'm closing the bug.

Changed in xserver-xorg-video-ati:
status: Incomplete → Fix Released
Revision history for this message
jcdutton (james-superbug) wrote :

You are correct. EXA on the normal Intrepid drivers has major performance issues. I.e. Pauses while scrolling an xterm window.
Would EXA work better on intrepid using the backported driver you mention?

Revision history for this message
jcdutton (james-superbug) wrote :

I have installed Jaunty on the Laptop.
EXA has the same performance problems as Intrepid. Pauses while using xterm, Xorg taking more CPU.
So, I am currently back to using XAA on Jaunty.
XAA on Jaunty still has the same suspend problems as it did on Intrepid.

Changed in xserver-xorg-video-ati:
status: Fix Released → Confirmed
Bryce Harrington (bryce)
tags: added: corruption
tags: added: resume
tags: added: performance
Bryce Harrington (bryce)
tags: added: intrepid
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

A new version of the -ati driver is now available in Karmic.

This is a significant update to -ati which brings in kernel mode-setting
(currently disabled) and scores of fixes for DRI2, EXA, etc.

I've posted the new version of this driver to the following PPA,
would you mind testing it and seeing if it resolves the bug you
reported?

  https://edge.launchpad.net/~bryceharrington/+archive/ppa/+sourcepub/709908/+listing-archive-extra

If you're not running this release of Ubuntu, you can try booting the Karmic
LiveCD and loading the PPA onto it, and then log out/in to restart X.
ISOs are available at http://cdimages.ubuntu.com/releases/

After testing Karmic, report back here whether it's still an issue or not,
and if it is please post a fresh Xorg.0.log and 'dmesg' output.

Note there could be new bugs... please file these as new reports using
the command 'ubuntu-bug xorg'.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
jcdutton (james-superbug) wrote :

Problem still present.
Only reproducable with compiz running.

Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :

I do not seem to be able to reproduce the problem with latest karmic update.

Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
jcdutton (james-superbug) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for letting us know the issue is resolved.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → 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.