Summary: | [i915][SNB] black screen in X when resuming from suspend or hibernate | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Erik Quaeghebeur <freedesktop> | ||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | major | ||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||
Version: | unspecified | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | SNB | i915 features: | display/DP | ||||
Attachments: |
|
Description
Erik Quaeghebeur
2016-10-31 11:23:34 UTC
This bug is still present in kernel 4.8.6. This bug is still present in kernel 4.8.11. This bug is still present in kernel 4.8.13. Because I've read somewhere that this improves stability, I've disabled VT-d in the BIOS (I'm not using it) and set i915.enable_fbc=1 i915.semaphores=1 Sadly enough, the issue still arises, so this didn't fix it. Please remove i915.enable_fbc=1 and i915.semaphores=1 module parameters, and try drm-tip branch of https://cgit.freedesktop.org/drm-tip (In reply to Jani Nikula from comment #5) > Please remove i915.enable_fbc=1 and i915.semaphores=1 module parameters, and > try drm-tip branch of https://cgit.freedesktop.org/drm-tip I'll try to do that. Any page with info on how to combine with distribution-specific patches? Also, FYI, the server is quite slow: after more than an hour I'm at 7% of the git clone. I'm on a ~2 MiB/s connection and I haven't gone over 100 KiB/s with this download. (In reply to Erik Quaeghebeur from comment #6) > (In reply to Jani Nikula from comment #5) > > Please remove i915.enable_fbc=1 and i915.semaphores=1 module parameters, and > > try drm-tip branch of https://cgit.freedesktop.org/drm-tip > > I'll try to do that. Any page with info on how to combine with > distribution-specific patches? In short, don't combine. Just try drm-tip with nothing on top, unless specifically asked. > Also, FYI, the server is quite slow: after more than an hour I'm at 7% of > the git clone. I'm on a ~2 MiB/s connection and I haven't gone over 100 > KiB/s with this download. There are transient hickups like that I guess. Regardless of speed, what I usually do is clone Linus' tree, and add other trees as remotes. Git is smart enough to only download the delta from the remote. (In reply to Jani Nikula from comment #5) > Please remove i915.enable_fbc=1 and i915.semaphores=1 module parameters, and > try drm-tip branch of https://cgit.freedesktop.org/drm-tip First experience: * suspend-to-disk on the train * dock (for external display/keyboard) and resume => hard locked desktop (pointer visible, rest is black, no response from keyboard or mouse); had to shutdown machine using physical on-off button; no mention of intel-driver related stuff in system logs around that time I'll report back with more experiences as they come in. Second experience: after undocking, suspend-to-ram and resume worked as it should. Third experience: suspend-to-disk results, after resuming, in a typical pointer-on-black screen, but after a while the desktop lock screen is shown. However, it is locked relatively hard (cannot change to console), but it can be killed with Ctrl-Alt-Backspace, after which the system recovers. In the logs, I found a GPU HANG message, for which I'll file a new bug, as requested therein: Bug #99184. 4.10.0-rc3+ namely drm-tip aa012aa081f6a6d2dd5a1df0f3c3736017df0d56 I still get: jan 25 16:40:44 <hostname> kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to start channel equalization jan 25 16:40:44 <hostname> kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training (failed to resume from hibernate, i.e., suspend-to-disk) information provided removing NEEDINFO status (In reply to Erik Quaeghebeur from comment #10) > 4.10.0-rc3+ namely drm-tip aa012aa081f6a6d2dd5a1df0f3c3736017df0d56 > > I still get: > > jan 25 16:40:44 <hostname> kernel: [drm:intel_dp_start_link_train [i915]] > *ERROR* failed to start channel equalization > jan 25 16:40:44 <hostname> kernel: [drm:intel_dp_start_link_train [i915]] > *ERROR* failed to enable link training > > (failed to resume from hibernate, i.e., suspend-to-disk) Hello Erik, Still present on 4.12 and higher or/and latest drm-tip? Thanks. (In reply to Elizabeth from comment #12) > Still present on 4.12 and higher or/and latest drm-tip? Haven't tried, I'm on 4.9.34 and the issue has either been fixed or become seldom enough to not be bothersome. Because of this, I am for now not going to investigate further. I think this bug may therefore be closed as long as I have the possibility of reopening with new info about a newer kernel. (In reply to Erik Quaeghebeur from comment #13) > (In reply to Elizabeth from comment #12) > > Still present on 4.12 and higher or/and latest drm-tip? > > Haven't tried, I'm on 4.9.34 and the issue has either been fixed or become > seldom enough to not be bothersome. Because of this, I am for now not going > to investigate further. I think this bug may therefore be closed as long as > I have the possibility of reopening with new info about a newer kernel. Thanks for the answer Erik, In that case, I'll close the bug. If the problem appears again, you can mark as REOPEN and share the information. |
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.