Bug 1105445 - The screen remains black when I resume after suspend
Summary: The screen remains black when I resume after suspend
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-06 07:12 UTC by Graham
Modified: 2015-12-02 16:09 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 03:12:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Graham 2014-06-06 07:12:25 UTC
Description of problem:
I have set up my new Toshiba laptop to always suspend (when using XFCE; "sleep" when using KDE) when the lid is closed. However, when I open the lid, everything is working except for the screen, which is black. I can interact with the machine using SSH or SFTP from another machine, and the keyboard seems to be alive, lighting up when I press keys, but I cannot see any output. I have to hold down the power button to force it to close down and then restart it to regain the screen.

Under Fedora 19, the screen always came back properly when resuming, but the keyboard was sometimes dead,and I had to try a number of times to get it working properly.


Version-Release number of selected component (if applicable):
kernel-3.15.0-0.rc8.git2.1.fc21.x86_64.rpm

How reproducible:
Every time

Steps to Reproduce:
1. In Settings / power manager, set the action to Suspend when laptop lid is closed (on AC and on Battery and when battery power is critical
2. Close the lid and wait for the front lights to turn off
3. Open the lid

Actual results:
The screen is black and does not show any output, regardless of what I do.

Expected results:
The normal Fedora screen contents should be visible and should change in response to mouse or keyboard input.

Additional info:
Hardware: Toshiba Satellite S50D-A

$ ls /sys/class/backlight
acpi_video0  acpi_video1

$ grep '.*' /sys/class/dmi/id/*_* 2> /dev/null
/sys/class/dmi/id/bios_date:09/10/2013
/sys/class/dmi/id/bios_vendor:Insyde Corp.
/sys/class/dmi/id/bios_version:1.20
/sys/class/dmi/id/board_asset_tag:Base Board Asset Tag
/sys/class/dmi/id/board_name:VG10AD
/sys/class/dmi/id/board_vendor:AMD
/sys/class/dmi/id/board_version:Base Board Version
/sys/class/dmi/id/chassis_asset_tag:No Asset Tag
/sys/class/dmi/id/chassis_type:10
/sys/class/dmi/id/chassis_vendor:OEM Chassis Manufacturer
/sys/class/dmi/id/chassis_version:OEM Chassis Version
/sys/class/dmi/id/product_name:Satellite S50D-A
/sys/class/dmi/id/product_version:PSKKWA-00M007
/sys/class/dmi/id/sys_vendor:TOSHIBA

When I reboot and add "video.use_native_backlight=1" to the command line that commences with "linuxefi", it makes no difference to the result.

When I reboot and add "acpi_osi="!Windows 2012"" to the command line that commences with "linuxefi", it also makes no difference to the result.

Comment 1 Stephen Haffly 2014-07-18 00:02:42 UTC
I have also observed this on an Acer Apire One 722 netbook running Fedora 20 x86_64 with the 3.15.x kernels. When I revert to the 3.14.9 kernel, I get the expected suspend-resume behavior.

Comment 2 Stephen Haffly 2014-08-09 00:48:34 UTC
Additional information:

The behavior I have observed is
1. boot with 3.14.9 and when I shut the lid on my AO722, the system suspends and lights on the front go out, with the exception of the charge light if it is plugged in and the power light, which blinks orange. When I open the lid and touch a key, the system resumes from suspend properly. The screen will blank, but touching the touchpad brings up a password dialog to unlock the screen.
2. Boot with 3.15.7 (and other 3.15.x kernels) and when I shut the lid, nothing happens. Power remains on, all lights remain lit, and the screen does not power off. Opening the lid reveals the situation.
3. Select "Suspend" from the menu. The screen blanks, but that is all. The system is still operating and never does shut down. If I hit a mouse button, the screen wakes up, but the system never suspends. (I just learned this. Before, I tried hitting a key on the keyboard, and the screen did not wake up).

Fedora 20, kernel 3.15.7. Kmod-wl is the only kmod installed. The C50 processor used has AMD Wrestler (Radeon HD6250) graphics.

The 3.15.x kernels broke this. When can we expect to see a fix?

Comment 3 Justin M. Forbes 2014-11-13 15:54:56 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.17.2-200.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 21, and are still experiencing this issue, please change the version to Fedora 21.

If you experience different issues, please open a new bug report for those.

Comment 4 Stephen Haffly 2014-11-13 21:40:07 UTC
I have been following up on this issue in bug # 1149233. This issue still exists with 3.17.2-200.fc20.

What doesn't work: Suspending via menu option or lid switch leads to the blank screen on resume.

What does work:  Suspending via "systemctl suspend" results in suspend and resume that work properly. Alternately, suspending via "pm-suspend" also results in a proper suspend and resume.

Comment 5 Graham 2014-11-19 21:19:28 UTC
I can confirm that the problem persists with 3.17.2-200.fc20.x86_64

I have tried Stephen's "systemctl suspend", but resume still comes up with a black screen for me. I am able to contact the computer from another machine using SSH, but not able to see anything on the screen. The same happens for me with "pm-suspend".

Comment 6 Graham 2014-12-15 10:22:32 UTC
I have upgraded to Fedora 21 and the problem remains (using kernel 3.17.6-300.fc21.x86_64).

Comment 7 Werner 2014-12-16 20:19:57 UTC
I have the same problem with 3.17.6-200.fc20.x86_64 on my Lenovo g510 laptop.
I had to revert to 3.15.10-200.fc20.x86_64.

Comment 8 c2494345 2014-12-29 00:22:07 UTC
Fix that worked for me:
Open /etc/UPower/UPower.conf and change IgnoreLid=false to true.
Reboot and then check if it worked for you.

Comment 9 Graham 2014-12-31 20:59:00 UTC
I tried that change after doing a "yum update". The result for me was that when I closed the lid, it no longer suspended. 
If I suspended the computer using the "log out" menu item, the machine suspended fine, but when the lid was reopened, the machine resumed and was accessible from other computers, but the screen did not come back, remaining black. The keyboard was all lit up and apparently working, though with no screen I was unable to confirm this.

Comment 10 Werner 2015-01-06 18:19:23 UTC
c2494345: your fix made no difference on my laptop.

Comment 11 Stephen Haffly 2015-01-06 19:43:22 UTC
With Xfce as the DE, the problem still remains. However, since I switched to Mate, suspend via the lid switch and resuming has been working reliably. However, it is only with Mate that this seems to be working.

Why the difference? I do not know. What is so different in the way Mate works and Xfce works that the one succeeds and the other fails? If I knew how to figure that out, then it might provide a solution that works for Xfce and, I presume, others like LXDE and Enlightenment also.

Comment 12 Graham 2015-01-07 07:12:12 UTC
I installed Mate desktop but was unable to repeat the success that Stephen reported. The screen remains black on resume after suspend (from closing the lid).

I tried KDE desktop but its behaviour is the same as Mate and XFCE. I tried Gnome Classic but it doesn't seem to have any way of setting the behaviour when the lid is closed and nothing happens at all; the screen remains turned on and the computer running.

Comment 13 Werner 2015-01-31 18:38:46 UTC
After the lastest update, my boot option 3.15.10-200.fc20.x86_64 is no more
on the list. Is there a quick way to get it back? (since 3.17.8-200.fc20.x86_64 did not solve the issue).

Comment 14 Stephen Haffly 2015-01-31 19:16:42 UTC
Unfortunately, there does not seem to be a way to get it back. If you want to prevent this from happening in the future (and you have sufficient space in your /boot partition), edit your /etc/yum.conf file to increase the amount of kernels retained. The default is three. The line to change is "installonly_limit=3."


I also noticed that this problem seems to be associated with xscreensaver. I removed xscreensaver, and now suspend/resume seems to be working even with Xfce.

Comment 15 Stephen Haffly 2015-01-31 19:17:58 UTC
To the one who maintains this bug, please update this bug to reflect Fedora 21 as it is affected also.

Comment 16 Werner 2015-02-03 07:05:46 UTC
Thanks. 
I don't have xscreensaver installed.
Tried Mate: the lockup appears to occur less often with Mate.
It may have helped a bit if only "automatically remember running applications when logging out" was not broken.

Comment 17 Graham 2015-02-05 23:06:18 UTC
I have installed OpenSUSE on the machine and the problem has disappeared with that version of Linux.

Comment 18 Fedora Kernel Team 2015-02-24 16:21:32 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 20 kernel bugs.

Fedora 20 has now been rebased to 3.18.7-100.fc20.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 21, and are still experiencing this issue, please change the version to Fedora 21.

If you experience different issues, please open a new bug report for those.

Comment 19 Werner 2015-02-26 17:53:02 UTC
used 3.18.6-100.fc20.x86_64 for 11 days (25 suspend/resumes)- 2x lockups: 1x black screen, 1x normal fc login screen showing time of suspend.

Now with 2nd day on 3.18.7-100.fc20, already had 2x lock-ups (black screen)

r

Comment 20 ryanj 2015-03-06 00:53:13 UTC
I was able to reproduce this problem in Fedora 21 MATE with two different Apple laptops (macbookAir5,2 MacBookPro11,2).  Both of these laptops are using intel video (no nvidia).

I could never seem to find a clear crash report, making this issue difficult to track down.

POTENTIAL WORKAROUND FOR COMPIZ USERS: 

1. Open ccsm
2. Select the 'Display Settings' tab
3. Make sure that 'Sync to VBlank' is NOT ENABLED

If this fix works, it might make sense to change the default value for this control option in ccsm as a temporary measure, until full support for 'Sync to VBlank' w/resume can be restored.

Comment 21 Fedora Kernel Team 2015-04-28 18:28:41 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs.

Fedora 21 has now been rebased to 3.19.5-200.fc21.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 22, and are still experiencing this issue, please change the version to Fedora 22.

If you experience different issues, please open a new bug report for those.

Comment 22 Stephen Haffly 2015-04-29 13:45:52 UTC
3.19.4-200.fc21.x86_64, Mate DE, and no xscreensaver seems to be working reliably. mate-screensaver-1.8.1-4.fc21.x86_64 is installed, but it does not cause the problem. 

I still think that xscreensaver causes or contributes to this issue.

Comment 23 Fedora End Of Life 2015-11-04 12:16:24 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 24 Fedora End Of Life 2015-12-02 03:13:04 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.