radeon driver bug causes suspend to fail

Bug #140811 reported by Andrew Paulin
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

When I attempt to suspend my laptop, it appears to suspend fine. However, attempting to resume results in a total lockup. The power light turns steady (as opposed to blinking in standby), the disk light blinks once, and the fans spin up, but nothing happens at all after that. I have to resort to a hard reset to "revive" the machine. After bouncing around various fourm postings, the culprit appears to be the ati (the open-source one) driver. My graphics card is a R200 based Mobility Radeon 9100, but i've heard of the issue with R300 series chips as well

Revision history for this message
Kyle Ambroff (kambroff) wrote :

I can verify this behavior on a 15" Apple G4 Powerbook (Radeon 9600 / r350) running Gutsy. Sleep *does* work as expected if X is not running.

Changed in xserver-xorg-video-ati:
status: New → Confirmed
Revision history for this message
Andrew Paulin (trash-eighty) wrote : Re: [Bug 140811] Re: radeon driver bug causes suspend to fail

kwa, do you mean that it will suspend if X is not running, or if X isin't
active (ie: switching to a console session before suspend)?
kwa
On 9/24/07, kwa <email address hidden> wrote:
>
> I can verify this behavior on a 15" Apple G4 Powerbook (Radeon 9600 /
> r350) running Gutsy. Sleep *does* work as expected if X is not running.
>
> ** Changed in: xserver-xorg-video-ati (Ubuntu)
> Status: New => Confirmed
>
> --
> radeon driver bug causes suspend to fail
> https://bugs.launchpad.net/bugs/140811
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Kyle Ambroff (kambroff) wrote :

Actually I hadn't tried that. Yes, switching to a VT before suspending, then switching back after resume works.

Revision history for this message
iroli (roland-lezuo) wrote :

I think I have the same bug here, on a PowerBook G4
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
its Gutsy from October 2nd 2007.

Revision history for this message
scguy318 (nodisgod) wrote :

I can also confirm this issue on a Fujitsu Lifebook E-6575 laptop running Ubuntu Gutsy.
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M4 AGP

While Googling around, I encountered this link (http://whacked.net/ldl/faq/), which suggested that successfully suspending required disabling DRI. I made the relevant change in xorg.conf, tested suspend, and sure enough, suspending works.

Revision history for this message
Andrew Paulin (trash-eighty) wrote :

Except now we can't use the 3D, which makes it a moot point to be using the
driver in the first place.

On Nov 13, 2007 5:08 AM, scguy318 <email address hidden> wrote:

> I can also confirm this issue on a Fujitsu Lifebook E-6575 laptop running
> Ubuntu Gutsy.
> 01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M4
> AGP
>
> While Googling around, I encountered this link
> (http://whacked.net/ldl/faq/), which suggested that successfully
> suspending required disabling DRI. I made the relevant change in
> xorg.conf, tested suspend, and sure enough, suspending works.
>
> --
> radeon driver bug causes suspend to fail
> https://bugs.launchpad.net/bugs/140811
> You received this bug notification because you are a direct subscriber
> of the bug.
>

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

I don't know if this will fix this specific issue, but I've backported a bunch of high importance patches that upstream recommended, that fix problems sort of like this one, so I think it would be worth the time to test. Please try this .deb and report what you find:

http://people.ubuntu.com/~bryce/Testing/ati/

If we can determine that the patches in this deb fix this bug, they may be candidates for backporting to Hardy. One of the patches has to do with fixing a failure on resume from suspend which might help with this bug, so definitely give it a try and let us know.

Revision history for this message
Brian Murray (brian-murray) wrote : Ubuntu needs you!

Thanks for taking the time to report this bug and helping to make Ubuntu better. In the development cycle for Intrepid there have been some vast improvements in the open source ati video driver and we could use your help testing them. Could you please download the latest Alpha CD image of Intrepid and test this particular bug just using the Live CD? You can find the latest image at http://www.ubuntu.com/testing . Your testing can help make Ubuntu and the open source ati driver even better! Thanks in advance.

Changed in xserver-xorg-video-ati:
status: Confirmed → Incomplete
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, if you can provide the following data:

  * AGPMode value(s) that work
  * Make/Model of laptop or motherboard
  * Output of lspci -vvnn
  * Is the system all factory hardware, or have any parts been replaced?
  * Is there an AGP Mode in the system BIOS?
    - If so, is it set to the factory default?

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

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

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

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