New: Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
https://bugs.freedesktop.org/show_bug.cgi?id=66940
Priority: medium
Bug ID: 66940
Assignee: [email protected]
Summary: Mobility Radeon HD 5650 doesn't resume from suspend on
kernel 3.11 (linus and drm_next)
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI
Created attachment 82459
--> https://bugs.freedesktop.org/attachment.cgi?id=82459&action=edit
dmesg
I've tried running linux 3.11 from both linus and drm_next branches, but when using the radeon drivers it's impossible to resume from suspension.
It's quite sure that the problem is in radeon module, because unloading it (and switching to my intel card with vgaswitcheroo) works fine.
Also, enabling the pm_trace sys-node it highlights that the radeon device caused the freeze:
from dmesg:
[ 1.286810] Magic number: 0:660:725 [ 1.286815] hash matches /home/marco/Dev/debs/linux/drivers/base/power/main.c:575 [ 1.286829] block loop5: hash matches [ 1.286867] pci 0000:01:00.0: hash matches
^ This is the PCI id of my radeon card
cat /sys/power/pm_trace_dev_match:
block
radeon
This is a regression, since linux 3.10 works well.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #1 from Marco Trevisan (Treviño) <[email protected]> --- Created attachment 82460
--> https://bugs.freedesktop.org/attachment.cgi?id=82460&action=edit/proc/acpi/wakeup
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #2 from Marco Trevisan (Treviño) <[email protected]> --- Created attachment 82461
--> https://bugs.freedesktop.org/attachment.cgi?id=82461&action=edit/sys/power/pm_trace_dev_match
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
Marco Trevisan (Treviño) <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86-64 (AMD64)
OS|All |Linux (All)
Priority|medium |highSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #3 from Alex Deucher <[email protected]> --- Can you bisect?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #4 from Marco Trevisan (Treviño) <[email protected]> --- (In reply to comment #3)
Quoted 1 line
Can you bisect?
I can do that, but in few days...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #5 from Bernhard Held <[email protected]> ---
I've got a HD 5450 and can't resume with 3.10 or 3.11 as soon as I install CYPRESS_uvd.bin from http://people.freedesktop.org/~agd5f/radeon_ucode/.
There seems to be an oops during suspend, but I couldn't yet catch it. Will try later.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #6 from Konstantin <[email protected]> ---
Can approve i have same issue on my Toshiba L650D-120 with only discrete HD5650 even if radeon module is not loaded resume does not work well.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #7 from Alex Deucher <[email protected]> --- Can you try with my drm-fixes-3.11 branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-fixes-3.11
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #8 from Marco Trevisan (Treviño) <[email protected]> --- (In reply to comment #7)
Quoted 2 lines
Can you try with my drm-fixes-3.11 branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-fixes-3.11
Cool, that seems to work... I can't test this with HDMI screen plugged now, though (I don't remember if that was relevant). However I've noticed that the VT switch on resume seems slower than it used to be.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #9 from Konstantin Shcherban <[email protected]> --- (In reply to comment #7)
Quoted 2 lines
Can you try with my drm-fixes-3.11 branch:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-fixes-3.11
Resume now works for me as well with drm-fixes-3.11 branch, thanks Alex.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #10 from Bernhard Held <[email protected]> ---
My mileage varies with 3.11-rc5. In rare case suspend/resume works. Most of the time suspend shows:
[ 34.926841] Freezing user space processes ... (elapsed 0.001 seconds) done. [ 35.075229] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. [ 45.908028] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec [ 45.908031] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004 last fence id 0x0000000000000002) [ 45.908033] [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35). [ 45.908037] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on
ring 5 (-35).
During resume the PC either freezes after "PM: Read xxxxx kbytes in y.yy seconds" or dmesg shows:
[ 4.879714] Freezing user space processes ... (elapsed 0.000 seconds) done. [ 5.190862] PM: Using 3 thread(s) for decompression. [ 5.190862] PM: Loading and decompressing image data (99920 pages)... [ 5.466130] PM: Image loading progress: 0% [ 5.774497] PM: Image loading progress: 10% [ 5.868650] PM: Image loading progress: 20% [ 5.951424] PM: Image loading progress: 30% [ 6.044454] PM: Image loading progress: 40% [ 6.158650] PM: Image loading progress: 50% [ 6.249908] PM: Image loading progress: 60% [ 6.336868] PM: Image loading progress: 70% [ 6.421403] PM: Image loading progress: 80% [ 6.508071] PM: Image loading progress: 90% [ 6.592575] PM: Image loading done. [ 6.596124] PM: Read 399680 kbytes in 1.39 seconds (287.53 MB/s) [ 35.608037] usb usb1: root hub lost power or was reset [ 35.608038] usb usb2: root hub lost power or was reset [ 35.948432] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801a5f8e880 [ 45.992029] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec [ 45.992032] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004 last fence id 0x0000000000000002) [ 45.992034] [drm:r600_uvd_ib_test] *ERROR* radeon: fence wait failed (-35). [ 45.992037] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35). [ 46.548477] Restarting tasks ... done.
After this I can use the console and KDM is running, but X crashes at logon.
Without CYPRESS_uvd.bin suspend/resume works reliable. CEDAR_me.bin, CEDAR_pfp.bin, CEDAR_rlc.bin, CEDAR_smc.bin and CYPRESS_uvd.bin are from git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
I'm using a 2560x1440 console with Dual-DVI.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #11 from Bernhard Held <[email protected]> --- Created attachment 84155
--> https://bugs.freedesktop.org/attachment.cgi?id=84155&action=edit
full dmesg of suspend/resume cycle
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #12 from Bernhard Held <[email protected]> --- Created attachment 84156
--> https://bugs.freedesktop.org/attachment.cgi?id=84156&action=edit
lspci
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #13 from Bernhard Held <[email protected]> --- Created attachment 84157
--> https://bugs.freedesktop.org/attachment.cgi?id=84157&action=edit
.config for 3.11-rc5
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
--- Comment #14 from Bernhard Held <[email protected]> --- Suspend works again with my HD 5450 using branch 'drm-next-3.18' ofgit://people.freedesktop.org/~airlied/linux!
Previously resume consistently produced this output with a subsequent crash of the X-server:
[ 7025.164024] radeon 0000:01:00.0: ring 5 stalled for more than 10000msec [ 7025.164030] radeon 0000:01:00.0: GPU lockup (waiting for 0x000000000000000a last fence id 0x0000000000000002 on ring 5) [ 7025.164034] [drm:uvd_v1_0_ib_test] *ERROR* radeon: fence wait failed (-35). [ 7025.164040] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on
ring 5 (-35).
Thanks for finally resolving this problem!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=66940
Paul Menzel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #15 from Paul Menzel <[email protected]> --- Reading the comments, it looks like this was resolved. If not, please re-open.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel