Public bug reported:
This problem was not happen on 16.10, it's happen on 17.04. My laptop is MSI
GP60 2PE. It has 4th gen i7 Haswell processor with integrated gfx and Nvidia
840M gfx card (optimus).
When laptop is on AC power everything is working ok. But when is working on
battery few seconds after password was typed and confirmed by enter key LightDM
freezes. I started investigate what is wrong. First I looked at processes and I
saw that glxinfo is utilizing one core at 100%. Glxinfo was started by
/bin/bash /usr/sbin/lightdm-session /usr/lib/gnome-session/run-systemd-session
ubuntu-session.target command.
Problem appears on battery so first suspect is laptop-tools settings. I turned
off all settings in /etc/laptop-mode/conf.d directory config files by setting 0
as value of main variable that switch on/off feature. With trial and error
method I found that CONTROL_RUNTIME_AUTOSUSPEND=1 from
/etc/laptop-mode/conf.d/runtime-pm.conf causes LightDM freeze. I think that is
related to second gfx card (Nvidia). This freeze is permanent, I can't kill
glxinfo, restarting LightDM freezes virtual consoles, reboot cant be done
because system cant kill glxinfo. Only magic SysRq SUB is working. There is
nothing interesting in logs, no errors.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: laptop-mode-tools 1.70-2ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-19.21-lowlatency 4.10.8
Uname: Linux 4.10.0-19-lowlatency x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Wed Apr 19 20:42:10 2017
InstallationDate: Installed on 2015-02-13 (795 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: laptop-mode-tools
UpgradeStatus: Upgraded to zesty on 2017-04-15 (4 days ago)
mtime.conffile..etc.laptop-mode.conf.d.ac97-powersave.conf:
2017-04-18T23:15:35.456782
mtime.conffile..etc.laptop-mode.conf.d.battery-level-polling.conf:
2017-04-18T23:24:08.602409
mtime.conffile..etc.laptop-mode.conf.d.bluetooth.conf:
2017-04-19T20:19:47.605458
mtime.conffile..etc.laptop-mode.conf.d.cpufreq.conf: 2017-04-19T20:31:29.064573
mtime.conffile..etc.laptop-mode.conf.d.dpms-standby.conf:
2017-04-19T20:33:09.636916
mtime.conffile..etc.laptop-mode.conf.d.eee-superhe.conf:
2017-04-18T23:17:15.811179
mtime.conffile..etc.laptop-mode.conf.d.ethernet.conf: 2017-04-18T23:17:27.789828
mtime.conffile..etc.laptop-mode.conf.d.exec-commands.conf: 2015-04-06T23:34:49
mtime.conffile..etc.laptop-mode.conf.d.hal-polling.conf:
2017-04-18T23:18:00.879757
mtime.conffile..etc.laptop-mode.conf.d.intel-hda-powersave.conf:
2017-04-18T23:18:16.399055
mtime.conffile..etc.laptop-mode.conf.d.intel-sata-powermgmt.conf:
2017-04-19T20:35:25.855731
mtime.conffile..etc.laptop-mode.conf.d.intel_pstate.conf:
2017-04-18T23:18:34.073574
mtime.conffile..etc.laptop-mode.conf.d.lcd-brightness.conf:
2017-04-18T23:09:45.074238
mtime.conffile..etc.laptop-mode.conf.d.nmi-watchdog.conf:
2017-04-19T20:36:51.753404
mtime.conffile..etc.laptop-mode.conf.d.pcie-aspm.conf:
2017-04-19T20:23:25.820683
mtime.conffile..etc.laptop-mode.conf.d.radeon-dpm.conf:
2017-04-18T23:19:08.691985
mtime.conffile..etc.laptop-mode.conf.d.runtime-pm.conf:
2017-04-19T20:28:16.624732
mtime.conffile..etc.laptop-mode.conf.d.sched-mc-power-savings.conf:
2017-04-19T20:37:47.082535
mtime.conffile..etc.laptop-mode.conf.d.sched-smt-power-savings.conf:
2017-04-19T20:38:01.045660
mtime.conffile..etc.laptop-mode.conf.d.start-stop-programs.conf:
2017-04-18T23:19:45.018260
mtime.conffile..etc.laptop-mode.conf.d.terminal-blanking.conf:
2017-04-19T20:38:19.559672
mtime.conffile..etc.laptop-mode.conf.d.usb-autosuspend.conf:
2017-04-19T20:39:04.535948
mtime.conffile..etc.laptop-mode.conf.d.wireless-ipw-power.conf:
2017-04-19T20:39:26.970373
mtime.conffile..etc.laptop-mode.conf.d.wireless-iwl-power.conf:
2017-04-19T20:39:38.218143
mtime.conffile..etc.laptop-mode.conf.d.wireless-power.conf:
2017-04-19T20:39:53.538885
mtime.conffile..etc.laptop-mode.laptop-mode.conf: 2017-04-18T23:07:19.560287
** Affects: laptop-mode-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1684266
Title:
LightDM freezes when laptop is on battery
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/laptop-mode-tools/+bug/1684266/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs