Black screen after wakeup from suspending by closing the laptop lid

Bug #1387413 reported by James E. Blair
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
light-locker (Ubuntu)
Expired
Undecided
Unassigned
xfce4-power-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This may be a regression of this bug:

https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1303736

I upgraded from 14.04 (where this also did not work) to 14.10. This is on a Thinkpad x220.

When I close the lid, the laptop suspends, and when I wake it, light-locker is running. After unlocking, the screen power is off. Running "xrandr --auto" corrects the issue.

I normally have "HandleLidSwitch=ignore" set in /etc/systemd/logind.conf, because otherwise, the xfce4-power-manager setting to only suspend on lid-close when on battery power is ignored.

For debugging purposes, I tried changing the /xfce4-power-manager/logind-handle-lid-switch xfconf setting as well as the HandleLidSwitch=ignore setting in logind.conf. These are the results:

logind.conf: HandleLidSwitch=ignore
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
  lid-close: light-locker runs, screen power off after unlock
  lock-screen-command: light-locker runs, screen power on after unlock

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s true
  lid-close: light-locker does not run
  lock-screen-command: light-locker runs, screen power on after unlock

default logind.conf:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
  lid-close: suspend, light-locker runs, screen power off after unlock
  lock-screen-command: light-locker runs, screen power on after unlock

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s true
  lid-close: suspend, light-locker does not run
  lock-screen-command: light-locker runs, screen power on after unlock

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in light-locker (Ubuntu):
status: New → Confirmed
Changed in xubuntu-default-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Shuhao (shuhao) wrote :

Thinkpad T420. Utopic. Same issue as before.

I tried to disable and reenable lightlocker and now it seems to be (partially) working. However when we wake to lightlocker, the screen is at minimum brightness, and after unlock screen powers back on.

My setting is default logind.conf, with logind-handle-lid-switch to be true.

Changed in light-locker (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Changed in xubuntu-default-settings (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Daniel Manrique (roadmr) wrote :

Reopening as the closing user gave no justification for the status change.

Changed in light-locker (Ubuntu):
status: Fix Released → Confirmed
Changed in xubuntu-default-settings (Ubuntu):
status: Fix Released → Confirmed
affects: xubuntu-default-settings (Ubuntu) → xfce4-power-manager (Ubuntu)
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Is light-locker supposed to run and lock the screen in the 4th test case? Which power manager lid close action did you select and was "lock on suspend" enabled?

Changed in light-locker (Ubuntu):
status: Confirmed → Incomplete
Changed in xfce4-power-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for light-locker (Ubuntu) because there has been no activity for 60 days.]

Changed in light-locker (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xfce4-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in xfce4-power-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.