Bug 91137 - System randomly suspends thinking the lid was closed
Summary: System randomly suspends thinking the lid was closed
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-28 20:35 UTC by Milan Bouchet-Valat
Modified: 2015-06-28 21:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
journalctl -b -a (625.11 KB, application/x-xz)
2015-06-28 20:35 UTC, Milan Bouchet-Valat
no flags Details
lspci -vnn (7.00 KB, text/plain)
2015-06-28 20:37 UTC, Milan Bouchet-Valat
no flags Details

Description Milan Bouchet-Valat 2015-06-28 20:35:09 UTC
Created attachment 116769 [details]
journalctl -b -a

Since I've upgraded from Fedora 21 to 22, my system sometimes suspends without any reason, even when active. I suspect the issue might come from the Intel graphics driver because of this excerpt of the system log, obtained with drm.debug=14 (see full log attached):

juin 28 21:19:28 milan kernel: [drm:intel_lvds_detect] [CONNECTOR:26:LVDS-1]
juin 28 21:19:28 milan systemd-logind[686]: Lid closed.
juin 28 21:19:28 milan kernel: [drm:intel_dp_detect] [CONNECTOR:42:DP-1]
juin 28 21:19:28 milan kernel: [drm:intel_hdmi_detect] [CONNECTOR:37:HDMI-A-1]
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus dpc] NAK for addr: 0050 w(1)
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus dpc] NAK on first message, retry
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus dpc] NAK for addr: 0050 w(1)
juin 28 21:19:28 milan kernel: [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 gmbus dpc
juin 28 21:19:28 milan kernel: [drm:intel_lvds_detect] [CONNECTOR:26:LVDS-1]
juin 28 21:19:28 milan kernel: [drm:intel_crt_detect] [CONNECTOR:34:VGA-1] force=1
juin 28 21:19:28 milan kernel: [drm:intel_ironlake_crt_detect_hotplug] ironlake hotplug adpa=0xf40000, result 0
juin 28 21:19:28 milan kernel: [drm:intel_crt_detect] CRT not detected via hotplug
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus vga] NAK for addr: 0050 w(1)
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus vga] NAK on first message, retry
juin 28 21:19:28 milan kernel: [drm:gmbus_xfer] GMBUS [i915 gmbus vga] NAK for addr: 0050 w(1)
juin 28 21:19:28 milan kernel: [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 gmbus vga
juin 28 21:19:28 milan kernel: [drm:intel_crt_get_edid] CRT GMBUS EDID read failed, retry using GPIO bit-banging
juin 28 21:19:28 milan kernel: [drm:intel_gmbus_force_bit] enabling bit-banging on i915 gmbus vga. force bit now 1
juin 28 21:19:28 milan kernel: [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter i915 gmbus vga
juin 28 21:19:28 milan kernel: [drm:intel_gmbus_force_bit] disabling bit-banging on i915 gmbus vga. force bit now 0
juin 28 21:19:28 milan kernel: [drm:intel_crt_detect_ddc] CRT not detected via DDC:0x50 [no valid EDID found]
juin 28 21:19:28 milan systemd-logind[686]: Suspending...
juin 28 21:19:28 milan kernel: [drm:intel_dp_detect] [CONNECTOR:42:DP-1]
juin 28 21:19:28 milan kernel: [drm:intel_hdmi_detect] [CONNECTOR:37:HDMI-A-1]

This is with kernel 4.0.6 and xorg-x11-drv-intel 2.99.917-12.20150615.fc22. No external monitor was plugged at any point. I have set acpi_backlight=vendor -- if that makes any difference I can try without.

My card is an Ironlake Mobile:
Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
Comment 1 Milan Bouchet-Valat 2015-06-28 20:37:17 UTC
Created attachment 116770 [details]
lspci -vnn
Comment 2 Chris Wilson 2015-06-28 21:42:38 UTC
It's a systemd bug.


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.