Black screen after resume from suspend on Lenovo ThinkPad P1 Gen 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Present testing has focused on closing the laptop lid and reopening it. The laptop suspends as expected and resumes as expected (existing ssh sessions start working again) except that the display remains black and calls such as `xset -display :0 dpms force on` hang. The screen remains blank sSometimes for a few minutes, sometimes for many. In the example log it was 10 minutes and a few seconds before the display turned back on. One time trying to capture a log of the recovery I gave up after 70 minutes. While the display is black `/var/log/
[ 119.384] (WW) modeset(0): hotplug event: connector 86's link-state is BAD, tried resetting the current mode. You may be leftwith a black screen if this fails...
[ 119.386] (II) modeset(0): EDID vendor "SDC", prod id 16705
[ 119.386] (II) modeset(0): Printing DDC gathered Modelines:
[ 119.386] (II) modeset(0): Modeline "3840x2160"x0.0 545.12 3840 3888 3920 4160 2160 2164 2168 2184 +hsync -vsync (131.0 kHz eP)
This stops when the display turns on and no other messages are logged.
The journalctl log has a much longer repeated sequence of messages. I haven't confirmed exact matching of the whole repeated block but here's a snippet reporting a failure.
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
Nov 27 00:02:32 p1 kernel: [drm:intel_
When the display turned back on I instead get the following success message.
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
Nov 27 00:07:22 p1 kernel: [drm:intel_
I tested the mainline .deb package for 5.3.13 and it did not exhibit this issue. When I open the laptop lid after suspending by closing it the cursor reliably displays within about 1 second and the lock screen is shown within about another second. I further checked versions and the last mainline .deb to exhibit the issue is 5.3.11. 5.3.12 works well. Looking at the changelog for 5.3.12 showed the following two commits referencing i915 (don't let me mislead you here of course, just trying to provide as much info as possible). The first one strikes me as relevant but I haven't applied that patch to the Ubuntu 5.3.0-23 kernel and built it for testing.
https:/
https:/
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-
ProcVersionSign
Uname: Linux 5.3.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: KDE
Date: Wed Nov 27 10:44:46 2019
InstallationDate: Installed on 2019-11-26 (0 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 20QTCTO1WW
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.183.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/17/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: N2OET40W (1.27 )
dmi.board.
dmi.board.name: 20QTCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T08861 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad P1 Gen 2
dmi.product.name: 20QTCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
This change was made by a bot.