Summary: | [[GM965][DDX SNA]] Resume fails and causes reboot | ||
---|---|---|---|
Product: | xorg | Reporter: | Jean-Pierre van Riel <jp.vanriel> |
Component: | Driver/intel | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED DUPLICATE | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
See Also: | https://launchpad.net/bugs/1390923 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Jean-Pierre van Riel
2014-11-09 16:47:10 UTC
Changed bug to 'normal' as I'm not sure if and how this affects other laptop models with GM965/GL960. Haven't 100% ruled out if it's distro or BIOS specific, but do know Xorg.conf and UXA workaround show it's probably a regression in SNA code that triggers the issue. Created attachment 109159 [details]
Xorg.0.log with UXA option
Created attachment 109160 [details]
dmesg before (success)
Created attachment 109161 [details]
dmesg after (success)
Note, I don't have a valid dmesg after in the failure to resume scenario because a reboot is caused by the bug.
Created attachment 109162 [details]
i915 module parameters
Created attachment 109164 [details]
Cannot identify error in pm-suspend.log and think bug is triggered way before resume scripts run
When first noticing the bug, I did multiple tests and the following pattern are seen in the pm-suspend.log. Unfortunately, I was unable to catch any error here, even when I later modified the script using 'set -x' to try catch which script in the resume process was causing the issue, but that was futile since the resume scripts never even get triggered and the reboot occurs before then. So I think I can rule out any scripts called during resume being the cause.
# When it is able to resume #
Tue Sep 2 00:06:02 SAST 2014: Running hooks for suspend.
...
Tue Sep 2 00:06:02 SAST 2014: performing suspend
Tue Sep 2 00:06:20 SAST 2014: Awake.
Tue Sep 2 00:06:20 SAST 2014: Running hooks for resume
...
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.
Tue Sep 2 00:06:20 SAST 2014: Finished.
# When it fails to resume #
Tue Sep 2 00:10:19 SAST 2014: Running hooks for suspend.
...
Tue Sep 2 00:10:19 SAST 2014: performing suspend
...
??? not followed by <date>: Awake. ???
...
Instead, in the failure case, we don't get the awake message. The next entry in the log is for the next suspend resume test ater rebooting. I.e. instead of seeing awake, we see the next test.
Tue Sep 2 00:11:34 SAST 2014: Running hooks for suspend.
Created attachment 109166 [details]
UXA fails too, but not as often as SNA
Sadly it appears SNA isn't fully at fault. It just triggers the bug less frequently compared to SNA. After about 10 successful resumes, I had the same failure with UXA configured.
Attached pm-suspend.log which I copied after the system rebooted when attempting to resume. As before, no resume scripts called (or at least no logs written to disc during resume process).
|
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.