Resume broken with new ATI stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-driver-ati |
Fix Released
|
High
|
|||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
xserver-xorg-video-ati (Fedora) |
Fix Released
|
High
|
Bug Description
Binary package hint: xserver-
When using the new ATI stack ffrom the X-swat PPA (radeon-rewrite with DRI2 and KMS), suspend is broken on my Thinkpad T60 with ATI Mobile X1400. After waking up the system shows colorful vertical bars on screen. I'll attach a screenshot of that as soon as I can.
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
Subsystem: Lenovo Device [17aa:2015]
\01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility X1400 [1002:7145]
Subsystem: Lenovo Device [17aa:2006]
Bryce Harrington (bryce) wrote : | #1 |
tags: | added: needs-xorglog |
tags: | added: needs-lspci-vvnn |
Changed in xserver-xorg-video-ati (Ubuntu): | |
status: | New → Incomplete |
Alexander Hunziker (alex-hunziker) wrote : | #2 |
tags: | removed: needs-lspci-vvnn |
Bryce Harrington (bryce) wrote : | #3 |
Thanks for the lspci, when you get a chance the /var/log/Xorg.0.log is needed as well.
Changed in xserver-xorg-video-ati (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
Changed in xserver-xorg-video-ati (Ubuntu): | |
status: | New → Incomplete |
Alexander Hunziker (alex-hunziker) wrote : | #4 |
- Xorg.0.log.old Edit (61.9 KiB, application/x-trash)
Xorg.0.log as requested. Also, dmesg is full of the following messages:
[ 9315.666488] [drm:radeon_
[ 9315.666491] [drm:radeon_
tags: | removed: needs-xorglog |
In freedesktop.org Bugzilla #23290, Bryce Harrington (bryce) wrote : | #5 |
Created an attachment (id=28602)
Xorg.0.log.old
Forwarding this bug from Ubuntu reporter Alexander Hunziker:
http://
[Problem]
Screen corruption shown on resume when using KMS from the radeon-rewrite branch
[Versions]
libdrm - 2.4.12+
linux - 2.6.31-6.25~radeon2
mesa - 7.6.0~git200908
xserver-
[Original Description]
When using the new ATI stack from the X-swat PPA (radeon-rewrite with DRI2 and KMS), suspend is broken on my Thinkpad T60 with ATI Mobile X1400. After waking up the system shows colorful vertical bars on screen. I'll attach a screenshot of that as soon as I can.
Also, dmesg is full of the following messages:
[ 9315.666488] [drm:radeon_
[ 9315.666491] [drm:radeon_
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
Subsystem: Lenovo Device [17aa:2015]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility X1400 [1002:7145]
Subsystem: Lenovo Device [17aa:2006]
Changed in xserver-xorg-video-ati (Ubuntu): | |
status: | Incomplete → Confirmed |
Bryce Harrington (bryce) wrote : | #6 |
Hi Alexander,
I've forwarded your bug upstream to https:/
Changed in xserver-xorg-video-ati (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
In freedesktop.org Bugzilla #23290, Alexander Hunziker (alex-hunziker) wrote : | #7 |
Created an attachment (id=28618)
Screenshot illustrating the problem
In freedesktop.org Bugzilla #23290, Alexander Hunziker (alex-hunziker) wrote : | #8 |
Created an attachment (id=28619)
Screenshot during shutdown
On the first screenshot attached, one can see a square that moves when I move the mouse pointer.
After "blindly" shutting down the machine, the screen turns orange (presumable because of the Ubuntu usplash being orange), see second screenshot.
In freedesktop.org Bugzilla #23290, Yang-yangman (yang-yangman) wrote : | #9 |
Seeing this problem also on a T60 with a M52.
It's not LVDS specific, and the same corruption also occurs on externally connected monitors.
Also, the corruption actually happens before kernel finishes suspending. On suspend-to-disk, corruption is triggered around the time kernel starts writing the image to disk.
Appears to be a Thinkpad-specific BIOS quirk.
Changed in xserver-xorg-driver-ati: | |
status: | Unknown → Confirmed |
In freedesktop.org Bugzilla #23290, Yang-yangman (yang-yangman) wrote : | #10 |
Duplicate of #23273 ?
In freedesktop.org Bugzilla #23290, Jmxorg (jmxorg) wrote : | #11 |
Yes, the pictures look very familiar :-)
Note that I do not see the bars before suspend - but as my system currently doesn't support suspend-to-disk, I can't verify whether that's a suspend-to-disk vs. suspend-to-ram thing.
In freedesktop.org Bugzilla #23290, Jmxorg (jmxorg) wrote : | #12 |
I probably should have mentioned that I opened bug 23479 about that. That bug also contains the logs that come up during resume.
In freedesktop.org Bugzilla #23290, Tom Morton (tomm) wrote : | #13 |
Can confirm seeing this on my Thinkpad T60 with radeon x1300 mobile.
Corruption just as in those screenshots. System still 'up' (I can switch VT and see different garbled corruption patterns, and do ctrl-alt-delete to initiate restart)
In freedesktop.org Bugzilla #23290, David Kiliani (mail-davidkiliani) wrote : | #14 |
Same problem here with 2.6.31 kernel, xorg-server and radeon driver from git (as of today). Kernel commandline option "nomodeset" is a workaround for me, so the problem is obviously KMS related.
Id2ndR (id2ndr) wrote : | #15 |
Is this bug a duplicate of bug #318325 ?
22 comments hidden Loading more comments | view all 103 comments |
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #38 |
+++ This bug was initially created as a clone of Bug #473195 +++
Description of problem:
The resume after suspend or hibernate of a Thinkpad T60 with Radeon Mobility X1400 fails fails. The light of the display is turned on, but it remains black. In /var/log/messages I have the following lines:
kernel: [drm:radeon_resume] *ERROR*
kernel: [drm] Loading R500 Microcode
kernel: [drm] Num pipes: 1
kernel: [drm] writeback test failed
kernel: [drm:drm_ttm_bind] *ERROR* Couldn't bind backend.
kernel: executing set pll
kernel: executing set crtc timing
kernel: [drm] LVDS-8: set mode 1400x1050 11
kernel: executing set LVDS encoder
When booting with nomodeset suspend/resume works just fine, but without the nice new eye candy... The machine has been upgraded from F-9 to F-10 via a yum upgrade.
Version-Release number of selected component (if applicable):
kernel-
How reproducible:
Always
Steps to Reproduce:
1. Boot laptop (without nomodeset)
2. Suspend
3. Resume, see black screen
Actual results:
The machine cannot be used. A hard power down and power up is required.
Expected results:
The screensaver password prompt should appear.
Additional info:
The smolt profile of the machine can be found at http://
--- Additional comment from <email address hidden> on 2008-11-27 11:02:46 EDT ---
Same hardware, same problem.
--- Additional comment from <email address hidden> on 2008-11-30 05:31:03 EDT ---
suspend/resume fails on Thinkpad T40 (Radeon Mobility 7500) too after upgrading from FC9 -> FC10 without error messages.
#
Nov 30 10:59:12 thinkpad kernel: [drm] Loading R100 Microcode
Nov 30 10:59:12 thinkpad kernel: [drm] writeback test succeeded in 2 usecs
Nov 30 11:07:46 thinkpad kernel: [drm] Initialized drm 1.1.0 20060810
Nov 30 11:07:46 thinkpad kernel: [drm] Initialized radeon 1.29.0 20080528 on minor 0
Nov 30 11:07:54 thinkpad kernel: [drm] Setting GART location based on new memory map
#
Machine is unusable... black screen after resume.
kernel-
rhgb/plymouth is enabled using vga=0x318 as kernel boot arg.
--- Additional comment from <email address hidden> on 2008-11-30 05:48:16 EDT ---
pm-suspend --quirk-none doesn't help. Problem is related to xorg. I can find countless related messages in previous xorg.log:
...
II) Macintosh mouse button emulation: Device reopened after 1 attempts.
(II) USB Optical Mouse: Device reopened after 1 attempts.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
Backtrace:
0: /usr/bin/
1: /usr/bin/
2: /usr/bin/
3: /usr/bin/
4: /usr/lib/
5: /usr/bin/Xorg [0x80bcdb7]
6: /usr/bin/Xorg [0x80ac91e]
7: [0x110400]
8: [0x110416]
9: /lib/libc.
10: /usr/lib/
11: /usr/lib/
12: /usr/lib/
13: /usr/lib/
14: /usr/lib/
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #39 |
Created attachment 364054
dmesg after pm-suspent
[phuang@
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [Mobility Radeon X1300]
After below commands, I got the dmesg output.
1> switch vt from X to text console
2> echo 1 > /sys/module/
3> pm-suspend --quirk-none
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #40 |
Created attachment 364056
The photo of my screen is suspend/resume in X
23 comments hidden Loading more comments | view all 103 comments |
In freedesktop.org Bugzilla #23290, Silvio-frischi (silvio-frischi) wrote : | #16 |
I was just wondering could it be that this is a 64-bit problem? Or are there also people around who experience this with a 32-bit kernel?
In freedesktop.org Bugzilla #23290, Alexander Hunziker (alex-hunziker) wrote : | #17 |
I'm on 32 bit
In freedesktop.org Bugzilla #23290, David Kiliani (mail-davidkiliani) wrote : | #18 |
I just checked out the vanilla 2.6.32-rc4 kernel with the KMS initialization path changes and the bug still occurs. I'm also on 32bit here.
In freedesktop.org Bugzilla #23290, Tom Morton (tomm) wrote : | #19 |
Is everyone who sees this bug on a Thinkpad T60?
In freedesktop.org Bugzilla #23290, David Kiliani (mail-davidkiliani) wrote : | #20 |
Thinkpad T60 with ATI X1400 here.
Is it possible / helpful to supply any additional data, like logs or memory dumps?
43 comments hidden Loading more comments | view all 103 comments |
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #64 |
Created attachment 366381
outputs of lspci
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #65 |
Hi Jerome,
This problem also happens in level 3 without Xserver. Why put this bug to xorg-x11-drv-ati?
In Red Hat Bugzilla #527874, Dave (dave-redhat-bugs) wrote : | #66 |
Peng we assign kms bugs to X drivers because the kernel gets too many bugs, hopefully we can separate kernel stuff out later.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #67 |
Can you run the same lcpi command after resume & vbetool post with KMS disable in init 3. I put the to ati because it's easier for us to find ati hw related bug their.
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #68 |
Created attachment 366412
output of lspci for nokms
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #69 |
Here are my observation before i forget about them :
Register dump i asked are all register the vbetool post ever read or write on
this specific hw. Thus if there is any difference in the way vbetool or KMS restore the card it should reflect in various dumps. It's not the case. The dumps
show that with KMS VGA is disable, PLL are different too (because video mode
setup by KMS and vbetool are different), of course video mode related register
are different.
Interesting things that diff btw dump shows, is that MC is idle on KMS and the
3D pipe configuration isn't restored. MC being idle could be either the source
of the bug or just reflect the fact that VRAM is not working. If MC is not
properly restored or in bogus state it could report IDLE because it doesn't
answer to any memory request from the GPU. Or if VRAM is not properly restored
MC can simply fail at executing request from the GPU and thus report IDLE.
Otherwise all others register have similar values.
My first attempt to fix the issue tried to reset the MC at resume, i found a bug
in my patch i am working on new one which will do the following (order matter) :
-stop MC at suspend
-reset MC at resume
-restore MC
-ASIC_Init
I am relooking at Atombios dump as i was looking at the wrong disasm of the atom bios tools, to check if vbetool post takes a different path than ASIC_Init.
In Red Hat Bugzilla #527874, Robert (robert-redhat-bugs-1) wrote : | #70 |
I think I am seeing this problem also on an old ThinkPad T41 with RV250 on resume. I first see this:
radeon 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Oct 29 10:02:08 t41 kernel: [drm] GPU reset succeed (RBBM_STATUS=
Oct 29 10:02:08 t41 kernel: [drm] radeon: cp idle (0x02000000)
Oct 29 10:02:08 t41 kernel: [drm] radeon: ring at 0x00000000D0000000
Oct 29 10:02:08 t41 kernel: [drm:r100_
Oct 29 10:02:08 t41 kernel: [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
Oct 29 10:02:08 t41 kernel: radeon 0000:01:00.0: failled initializing CP (-22).
Oct 29 10:02:08 t41 kernel: [drm] LVDS-13: set mode 1400x1050 1e
After which I get a continuous stream of these errors:
[drm:radeon_
[drm:radeon_
My display is garbled, but I can switch to a VT. Would it help if I collected the debug data also?
kernel-
xorg-x11-
xorg-x11-
In Red Hat Bugzilla #527874, Robert (robert-redhat-bugs-1) wrote : | #71 |
not sure if it helps, but after installing the -104 kernel from koji, IB(7) changed to IB(11)
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #72 |
Robert i am confident your issue is different. Please open a new bug with following bug title:
RADEON:RV250:KMS Suspend/Resume fails (ThinkPad T41)
Attach full output of lspci -v and full dmesg after resume. Thanks.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #73 |
Created attachment 366649
Stop mc at suspend and reset it at resume
Please try the attached patch it apply on top of lastest drm-next branch of Dave repo.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #74 |
I'm seeing the same issue on my T60 with the X1400 as in comment #5. Everything works until I suspend/resume, after which the whole screen is garbled and blinking, but otherwise responsive. This is with 2.6.32-rc5-git4. Unfortunately the drm-next branch didn't work (unclear why, produced a hard lockup), so I stuck with drm-linus which seemed to contain a few safe bugfixes.
After applying your proposed workaround patch, things are still not working, and the error message you added is triggered: "[drm] (rv370_
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #75 |
Peng, Christophe can you try to build :
http://
You will need libpciaccess-dev (iirc name correctly). Than boot with KMS enabled in init 3 (add 3 to kernel boot cmd line). Suspend/resume and on resume when you get garbled screen run radeondump program (which is in radeonvram.tar.bz2) as root and report the output of the program, you likely need to do all this through ssh from another computer. Thanks.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #76 |
Before suspending:
Found card 1002:7145 RV515
region: (base: 0x0000000000000000, bus: 0x00000000D8000000, size: 134217728, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000002000, size: 256, is_io: 1)
region: (base: 0x0000000000000000, bus: 0x00000000EE100000, size: 65536, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
BUS_CNTL: 0x00000001
CONFIG_CNTL: 0x00020100
CONFIG_MEMSIZE: 0x08000000
COMMAND|STATUS: 0x00100107
vram_test_hdp succeed
After resuming:
Found card 1002:7145 RV515
region: (base: 0x0000000000000000, bus: 0x00000000D8000000, size: 134217728, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000002000, size: 256, is_io: 1)
region: (base: 0x0000000000000000, bus: 0x00000000EE100000, size: 65536, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
region: (base: 0x0000000000000000, bus: 0x0000000000000000, size: 0, is_io: 0)
BUS_CNTL: 0x00000001
CONFIG_CNTL: 0x00020000
CONFIG_MEMSIZE: 0x08000000
COMMAND|STATUS: 0x20100107
vram_test_hdp failed
vram_test_gpu succeed
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #77 |
Sorry, I cut off the last line containing a "vram_test_gup succeed" from the first output before suspending. This is BTW with the last patch you posted (where you attempt to reset the part that supposedly broke).
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #78 |
*** Bug 522253 has been marked as a duplicate of this bug. ***
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #79 |
Just an interesting observation from just now:
I put my laptop into suspend out of habit, and now that resumed it about an hour later (as opposed to my tests where I always suspended it for like 5 seconds), surprisingly it came back correctly.
It shows:
BUS_CNTL: 0x00000001
CONFIG_CNTL: 0x00020000
CONFIG_MEMSIZE: 0x08000000
COMMAND|STATUS: 0x00100107
vram_test_hdp succeed
vram_test_gpu succeed
While CONFIG_CNTL is 0x20000 like for the non-working case after resuming, COMMAND|STATUS doesn't have 0x20 in the upper byte, but 0x00 instead like before resuming.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #80 |
So quick comment it seems vram is properly working but that we can't access it through HDP (pci aperture). I will do a patch to reset hdp after resume to see if it helps. (Btw this is kind of good news as it means VRAM is likely properly restored by atombios which was my feeling).
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #81 |
Created attachment 367460
Reset HostDataPath at resume
Please test this patch which apply on top of drm-next branch of Dave repo:
git://git.
I can generate rpm if you want but this will take me sometime.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #82 |
I'm afraid to tell that this patch doesn't make any difference. If the power is plugged in, it always comes back in a broken state (and if it is not, chances are good that it does, as before) So, I guess it must be something else. If I had the slightest idea how modern graphics hardware works, I could have tried to help you figuring things out, but unfortunately I don't...
In Red Hat Bugzilla #527874, Matěj (matj-redhat-bugs) wrote : | #83 |
Since this bugzilla report was filed, there have been several major updates in various components of the Xorg system, which may have resolved this issue. Users who have experienced this problem are encouraged to upgrade their system to the latest version of their packages (at least F12Beta, but even better if the very latest versions).
Please, if you experience this problem on the up-to-date system, let us now in the comment for this bug, or whether the upgraded system works for you.
If you won't be able to reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.
[This is a bulk message for all open Fedora Rawhide Xorg-related bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.]
In Red Hat Bugzilla #527874, David (david-redhat-bugs) wrote : | #84 |
This problem still happens in F12 beta on a Clevo D870P with Mobility Radeon 9700.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #85 |
David you more than likely have another issue, this one is specific to X1400 on T60. Please open a new bug with dmesg, Xorg.log and a description of what you are seeing on resume. Also if it's an AGP GPU try booting with radeon.agpmode=-1 and report in the bug if it works when doing that. Thanks.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #86 |
Created attachment 367798
X1400 restore mc+hdp before asic_init and put vram at 0x10000000
Please try this patch, top of drm-next again, hope it works
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #87 |
The last two patches still have the problem.
BTW, this week, I am on trip, so can not get more logs.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #88 |
Created attachment 368232
X1400 restore mc+hdp before asic_init and put vram at 0x10000000 + VGA HDP
Please test new patch. In this version i program the VGA HDP, maybe some VGA stuff happens at one point. Crossing fingers, but i don't think this one will help much.
In Red Hat Bugzilla #527874, Ferry (ferry-redhat-bugs) wrote : | #89 |
ok, a step back :-(
with the updates of today my laptop doesn't even boot anymore with KMS. I get a hard hang during modeset. using nomodeset allows the laptop to boot.
kernel.x86_64 2.6.31.5-127.fc12
xorg-x11-
xorg-x11-
mesa-dri-
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #90 |
Yes, I saw this too with drm-next at some point, since then I decided to stick with drm-linus. Anyhow, no luck with the latest patch either. :(
Can anyone of you confirm the strange effect that 90% of the times everything comes back as it should if you have the notebook unplugged when resuming?
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #91 |
(In reply to comment #50)
> Created an attachment (id=368232) [details]
> X1400 restore mc+hdp before asic_init and put vram at 0x10000000 + VGA HDP
>
> Please test new patch. In this version i program the VGA HDP, maybe some VGA
> stuff happens at one point. Crossing fingers, but i don't think this one will
> help much.
Hi Jerome,
Which version does the patch base on? I can not apply the patch on drm-next of git://git.
In Red Hat Bugzilla #527874, Jérôme (jrme-redhat-bugs) wrote : | #92 |
Created attachment 368412
Shutdown lvds, force mc to be on, dump regs
Please try new patch, should apply cleanly on top of drm-next. This one take a different path i try to shutdown things at suspend and reactivate them at resume it also dump few registers which might be helpfull to further debug the issue. Please try it and attach full dmesg after a suspend/resume cycle. Thanks
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #93 |
Created attachment 368963
dmesg output
The problem and NMI still happens with last patch.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #94 |
I see the same effect. Also, nothing useful in the debug output.
I was wondering what could trigger the NMI. I read somewhere (I know that is not a very reliable citation, was somewhere in a forum) that it doesn't need to be the device itself, it might also be the bus. I looked at lspci output and also checked the PCIE bridge. It is some sort of memory access from the CPU through a PCIE "aperture" that isn't working, right? Can the bridge be at fault perhaps?
Here are the diffs for the bridge (00:01.0) and the GPU (01:00.0) between a successful resume (with power unplugged) and a failed resume:
Here the working full output of lspci -vvv 00:01.0
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: ee100000-ee1fffff
Prefetchable memory behind bridge: 00000000d800000
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [88] Subsystem: Lenovo Device 2014
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [a0] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <1us, L1 <4us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surpise-
Slot # 1, PowerLimit 75.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Off, PwrInd On, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt+ PresDet+ Interlock-
Changed: MRL- PresDet- LinkState-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100] Virtual Channel <?>
Capabilities: [140] Root Complex Link <?>
Kernel driver in use: pcieport
and the diff to after a failed resume:
@@ -1,6 +1,6 @@
...
In Red Hat Bugzilla #527874, Dave (dave-redhat-bugs) wrote : | #95 |
Two patches here
http://
http://
Can you guys please try them, I'll try and make a Fedora kernel with them in it ASAP, they are also on the drm-radeon-testing of my drm-2.6 tree.
I've tested them on Peng's laptop with my USB disk, hopefully when he tests them with his normal install they also work.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #96 |
I almost feel bad by telling you this, but I am now running 2.6.32-rc6 + drm-radeon-testing and made sure these two patches are in it - but it's still giving the same results as before. If the notebook is unplugged on resume, there's a 90% of it coming back correctly, otherwise not.
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #97 |
In order to avoid any confusion: With "unplugged" I am referring to the power, not an external monitor (as in the description of patch no 1).
In Red Hat Bugzilla #527874, Christophe (christophe-redhat-bugs) wrote : | #98 |
OMG, I'm so stupid. I was actually booting the wrong kernel when doing my last test (I made sure the modules contained the patch but I never checked if I was actually loading it).
I can confirm this patch is fixing the issue for me. Great. :-)
Sorry for the confusion, I hope I didn't cause any additional work.
In Red Hat Bugzilla #527874, Mark (mark-redhat-bugs) wrote : | #99 |
Dave's patches also fixed the suspend/resume problem on a KMS-enabled T60/x1400 for me.
In Red Hat Bugzilla #527874, Peng (peng-redhat-bugs) wrote : | #100 |
The patch can fix this S/R problem. Thanks
In Red Hat Bugzilla #527874, Bug (bug-redhat-bugs) wrote : | #101 |
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
http://
In Red Hat Bugzilla #527874, Matěj (matj-redhat-bugs) wrote : | #102 |
Thank you for letting us know.
In Red Hat Bugzilla #527874, Tim (tim-redhat-bugs) wrote : | #103 |
Will this update be available for F-12 (closed as rawhide)?
81 comments hidden Loading more comments | view all 103 comments |
In freedesktop.org Bugzilla #23290, Jmxorg (jmxorg) wrote : | #21 |
*** Bug 23479 has been marked as a duplicate of this bug. ***
In freedesktop.org Bugzilla #23290, Jmxorg (jmxorg) wrote : | #22 |
eading http://
describes how the bug was fixed.
Link to the fix:
http://
The bug can also be found in redhats bugzilla:
https:/
where it is marked as fixed. Unfortunately that is not where non-redhat/fedora
users would look :-(
I can confirm that this fixes my problem.
Not closing it yet as it isn't part of the kernel.org sources yet.
Changed in xserver-xorg-video-ati (Fedora): | |
status: | Unknown → Fix Released |
In freedesktop.org Bugzilla #23290, Michel Dänzer (michel-daenzer) wrote : | #23 |
*** Bug 23273 has been marked as a duplicate of this bug. ***
In freedesktop.org Bugzilla #23290, Jmxorg (jmxorg) wrote : | #24 |
The patch has become part of the kernel.org tree with 2.6.32-rc8-git2
Closing
Changed in xserver-xorg-driver-ati: | |
status: | Confirmed → Fix Released |
Michele (mikelito) wrote : | #25 |
sorry to bother, but since this seems to be fixed upstream, can anyone eitherport the patch to ubuntu repositories, or provide instructions to fix this while we wait for the changes to propagate? tkx
Bryce Harrington (bryce) wrote : | #26 |
[From the upstream bug report, this is a kernel issue; refiling.]
affects: | xserver-xorg-video-ati (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Triaged → New |
tags: | added: xorg-needs-kernel-fix |
Leann Ogasawara (leannogasawara) wrote : | #27 |
According to the upstream bug, "The patch has become part of the kernel.org tree with 2.6.32-rc8-git2". The Lucid kernel is based on 2.6.32. Can someone experiencing this issue test and confirm this is resolved with either a Lucid LiveCD or the 2.6.32 mainline kernel build.
LiveCD - http://
2.6.32 mainline kernel build - http://
Please let us know your results. Thanks.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Frank (frank-scriptzone) wrote : | #28 |
Frank (frank-scriptzone) wrote : | #29 |
Frank (frank-scriptzone) wrote : | #30 |
Frank (frank-scriptzone) wrote : | #31 |
Jeremy Foshee (jeremyfoshee) wrote : | #32 |
Frank,
Based on your LSPCI output, I'd say that you would probably be better served opening a new bug for your specific issue. The fix noted in the upstream bug was for ATI Mobility X1400 and you appear to have slightly different hardware.
Alexander,
As the original bug reporter, can you tell us if you are still seeing this behavior with the upstream kernel?
Thanks in advance,
-JFo
Alexander Hunziker (alex-hunziker) wrote : | #33 |
AFAIK, 2.6.32 fixed this issue. In any case, the current lucid lynx suspends and resumes fine with the new ATI stack, I guess this can be marked as fixed.
Michele (mikelito) wrote : | #34 |
Great to know that this has been fixed for Lynx. Any hope to have the fix backported to the Koala?
Thanks!
Jeremy Foshee (jeremyfoshee) wrote : | #35 |
Marked Fix Released.
Michele,
Normally we only backport security issues, so I doubt this will make it into Karmic.
-JFo
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
Dimitrios Ntoulas (ntoulasd) wrote : | #36 |
Systems boots, no picture on screen.
Many error in dmesg (I see them remotely with ssh)
[ 3769.950744] [drm:radeon_
[ 3769.955521] [drm:radeon_
[ 3770.444452] [drm:radeon_
[ 3770.446821] [drm:radeon_
[ 3770.450594] [drm:radeon_
[ 3770.452966] [drm:radeon_
[ 3770.951576] [drm:radeon_
[ 3770.956356] [drm:radeon_
[ 3771.447347] [drm:radeon_
[ 3771.449933] [drm:radeon_
[ 3771.453620] [drm:radeon_
[ 3771.455965] [drm:radeon_
[ 3771.954313] [drm:radeon_
[ 3771.959109] [drm:radeon_
[ 3772.446402] [drm:radeon_
[ 3772.448792] [drm:radeon_
[ 3772.453970] [drm:radeon_
[ 3772.456333] [drm:radeon_
ubuntu 10.04
Linux dimitris-laptop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Dimitrios Ntoulas (ntoulasd) wrote : | #37 |
Changed in xserver-xorg-driver-ati: | |
importance: | Unknown → High |
Changed in xserver-xorg-driver-ati: | |
importance: | High → Unknown |
Changed in xserver-xorg-driver-ati: | |
importance: | Unknown → High |
Changed in xserver-xorg-video-ati (Fedora): | |
importance: | Unknown → High |
Hi alex-hunziker,
Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]