Bug 67723 - Resume from s2ram doesn't work with radeon.dpm=1
Summary: Resume from s2ram doesn't work with radeon.dpm=1
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-03 20:41 UTC by Bastian Triller
Modified: 2013-10-26 20:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg_r600_uvd_init_error (175.66 KB, text/plain)
2013-08-03 20:41 UTC, Bastian Triller
no flags Details

Description Bastian Triller 2013-08-03 20:41:23 UTC
Created attachment 83594 [details]
dmesg_r600_uvd_init_error

System: MacBookPro8,2
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] [1002:6741]

Screen stays black. It only worked twice, after rebooting from OS X. dmesg attached.
Comment 1 Bastian Triller 2013-08-03 20:44:20 UTC
tested linus' and also drm-fixes-3.11
Comment 2 Alex Deucher 2013-08-04 15:33:21 UTC
This looks like a UVD problem.  Do you get the same issue with dpm disabled?  Make sure your kernel has this patch:
http://lists.freedesktop.org/archives/dri-devel/2013-August/042680.html
Comment 3 Bastian Triller 2013-08-04 21:44:42 UTC
Yep, this fails also with dpm=0. I missed the errors in dmesg as I resumed once with dpm=0.

I have built the kernel with the latest drm-fixes-3.11 (dffd4b65ca8989).
Comment 4 Alex Deucher 2013-08-05 13:20:54 UTC

*** This bug has been marked as a duplicate of bug 67187 ***
Comment 5 Alex Deucher 2013-08-12 19:41:29 UTC
You said in comment 3 that you also had the same failure with dpm disabled, but you just changed the summary to indicate that it happens with dpm enabled.  Which is correct?  Is it only an issue with dpm enabled or does it happen regardless of whether dpm is enabled?
Comment 6 Bastian Triller 2013-08-12 19:53:15 UTC
Wow, that was a fast answer.

Resume with dpm=0 works. With dpm=1 only with power adapter attached. Screen stays black and laptop starts heating up and I have to force off the laptop. The laptop is pingable but SSH doesn't work, neither a new session nor an open one. It makes no difference if I suspend with or without power adapter.
Comment 7 Bastian Triller 2013-10-26 20:35:32 UTC
Works now. Tested with 3.12.0-rc6-20582e. Thanks for your work.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.