Black screen after resuming from suspend
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xserver-xorg-video-intel (Ubuntu) |
Low
|
Unassigned | ||
Bug Description
Using Ubuntu 14.10 on a Lenovo Yoga 2, when I resume the laptop from suspend I frequently (around 50% of the time) get a blank black screen with a mouse cursor on it, and am unable to login or interact with the desktop at all. Often (also about 50% of the time) switching over to a text terminal and killing "unity-
Using xserver-
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xserver-
ProcVersionSign
Uname: Linux 3.16.0-30-generic x86_64
.tmp.unity.
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Wed Feb 4 20:42:38 2015
DistUpgraded: 2014-11-15 17:52:46,161 DEBUG enabling apt cron job
DistroCodename: utopic
DistroVariant: ubuntu
DkmsStatus: virtualbox, 4.3.18, 3.16.0-30-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:3978]
InstallationDate: Installed on 2014-06-28 (221 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: LENOVO 20266
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xserver-
UpgradeStatus: Upgraded to utopic on 2014-11-15 (81 days ago)
dmi.bios.date: 06/27/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: 76CN38WW
dmi.board.
dmi.board.name: Yoga2
dmi.board.vendor: LENOVO
dmi.board.version: 31900058STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20266
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.12+
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Mon Feb 2 11:10:08 2015
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.16.0-1ubuntu1.2
xserver.
| Jeremy Jongsma (jeremy-jongsma) wrote : | #1 |
| Launchpad Janitor (janitor) wrote : | #2 |
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| status: | New → Confirmed |
| Will Cooke (willcooke) wrote : | #3 |
As a first step could you try switching to vt1 and back to vt7 without killing unity-panel-
| Chris Wilson (ickle) wrote : | #4 |
It this possible to reproduce with todays -intel update (that disables DRI3)?
| Pat McGowan (pat-mcgowan) wrote : | #5 |
I confirmed that the workaround to kill unity-panel-service also works for me.
Samsung 940X3G/930X3G laptop running intel haswell
Simply switching VTs does not.
| Jeremy Jongsma (jeremy-jongsma) wrote : | #6 |
Switching VTs has no effect, tried several times just now. Killing the unity-panel-service resolved it again. I usually have to kill -9 it, then a new one respawns, then I kill that one normally, and the lock screen generally reappears then.
I'll install today's driver update and recheck next time it occurs.
| Jeremy Jongsma (jeremy-jongsma) wrote : | #7 |
I was hopeful, it worked great a few times in a row, but as I was about to call it fixed it came back. This time the desktop was visible instead of black, but again I couldn't interact with anything.
Killing unity-panel-service was the solution again. I reported this here because I saw a lot of similar reports on the intel driver from previous Ubuntu releases, but I'm beginning to wonder if it's a Unity issue.
| Chris Wilson (ickle) wrote : | #8 |
Hmm. Can you attach a new Xorg.0.log? Next time it freezes, gdb --pid `pidof unity-panel-server` and type "bt" -- and please paste the output.
| Chris Wilson (ickle) wrote : | #9 |
Also worth attaching a dmesg from after the freeze just in case there is anything interesting there as well.
| Marco Trevisan (Treviño) (3v1n0) wrote : | #10 |
Mh... Did you ever click on an indicator before/after suspend (like to suspend when the losckreen was there)?
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| importance: | Undecided → Critical |
| Jeremy Jongsma (jeremy-jongsma) wrote : | #11 |
I forgot the gdb command until after I unfroze it again. Xorg and dmesg attached.
| Jeremy Jongsma (jeremy-jongsma) wrote : | #12 |
| Jeremy Jongsma (jeremy-jongsma) wrote : | #13 |
Got GDB this time. Attached.
| Jeremy Jongsma (jeremy-jongsma) wrote : | #14 |
Marco: no panel clicking is usually involved. All I need to do to reproduce it is close my laptop lid. Sometimes the first suspend cycle works fine, but in that case repeating it a second time always reproduces this issue.
| Robert Hooker (sarvatt) wrote : | #15 |
going to need the output of running dmesg, not /var/log/dmesg to see what happens here please. alternatively /var/log/kern.log :)
| Jeremy Jongsma (jeremy-jongsma) wrote : | #16 |
Dmesg output attached.
| goaspy (goa-spy) wrote : | #17 |
Hi, I have a similar issue with my Kubuntu 14.10 running on my HTPC (Celeron with Bay Trail graphics)
Ever since upgrading to xserver-
I have to log in remotely and restart mdm.
I've updated the driver from 1.3.2 to 1.4.0 (with intel graphics installer) but no luck, same outcome.
Please help. Thanks.
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| assignee: | nobody → job (jeppekdahl) |
Please.
1. Report to <https:/
2. Paste the new report URL here.
3. Set this bug status back to "confirmed".
Thank you.
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| assignee: | job (jeppekdahl) → nobody |
| importance: | Critical → Medium |
| status: | Confirmed → Incomplete |
| tags: | added: asked-to-upstream |
| Hans Korstens (hans.korstens) wrote : | #19 |
As a follower and affected user by this bug, the workflow is unclear to me. Is Jeremy Jongsma asked to file a report upstream, or Job as assignee?
In the meantime the importance has been reduced from critical to medium, and status from confirmed to incomplete. These changes in status probably means it will go down in priority and become more elusive, despite Jeremy having provided all sorts of logs and info.
I'd be willing to do additional testing/logging if needed.
So: who's got the ball on this issue?
| Hans Korstens (hans.korstens) wrote : | #20 |
For me killing unity-panel-service as a last resort doesn't work (anymore).
I am sometimes, but not always, lucky by preforming these voodoo steps:
1) switch to a VT (text terminal, e.g. CTRL-ALT-F1), log in and type "startx".
2) It starts another X session, and asks for a password ("authentication is required to change your own userdata"). Just press ESC a few times, and you end up with an empty, unusable desktop. You can't do much here.
3) Now switch back to the VT (again CTRL-ALT-F1) and press CTRL-C, which kills the new X session.
4) press CTRL-ALT-F7 to switch back to the original (black-screen) X session, which hopefully snapped out of blackness by the above steps.
This bug is causing data loss much of the time, as it prevents accessing all your open apps and documents after suspending/
| Nikke (nmellegard) wrote : | #21 |
Yes, "voodoo" is a good description of the workarounds I use to get back to a semi-usable desktop (mainly to be able to save any work).
I usually switch to a VT and issue permutations of the following commands (some combination often, but not always, works):
$> killall -9 unity
$> unity --replace
$> killall -9 unity-panel-service
$> xrandr --display :0.0 -q
$> xrandr --display :0.0 --auto
/N
| goaspy (goa-spy) wrote : | #22 |
I've created a script to switch to VT1 and back, made it executable, made it so it doesn't ask for password, then I've assigned a keyboard shortcut to run 'sudo my_script'.
#! /bin/bash
# fix black screen
gvt=$(fgconsole)
chvt 1;
sleep 2;
chvt $gvt
exit 0
I can run this on my HTPC with the press of a button on the remote.
This works most of the times, and when this is not working I have a second script that restarts mdm.
At least I don't have to worry about unsaved data, this is only an entertainment environment.
Now my wife can use the system :)
| Hans Korstens (hans.korstens) wrote : | #23 |
It's not a proper solution, but upgrading to Ubuntu 15.04 might help. I've upgraded (in place) more than a week ago, and haven't seen the black-screen-
| Hans Korstens (hans.korstens) wrote : | #24 |
And strike that ^ , just had my first black screen on 15.04 too.
| tags: |
added: bios-outdated-76cn43ww removed: asked-to-upstream |
| no longer affects: | xserver-xorg-video-intel (Ubuntu) |
| Launchpad Janitor (janitor) wrote : | #25 |
Status changed to 'Confirmed' because the bug affects multiple users.
Jeremy Jongsma, thank you for reporting this bug to Ubuntu. Utopic reached EOL on July 23, 2015.
See this document for currently supported Ubuntu releases: https:/
Is this reproducible in a supported release?
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| status: | New → Confirmed |
| affects: | xserver-xorg-video-intel → xserver-xorg-video-intel (Ubuntu) |
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| status: | New → Incomplete |
| importance: | Undecided → Low |
| Kai Petzke (petzke) wrote : | #27 |
I have this same problem sometimes with Kubuntu 15.10 on a Lenovo Yoga 2 13.3 on resume from suspend-to-RAM. In that frozen state, I cannot swap to VT-1 though, with Kubuntu. So I just see a black screen with a frozen mouse pointer. This happens once in every 10 to 20 resumes.
| Kai Petzke (petzke) wrote : | #28 |
I don't know, if this one helps, or is even a correct additional info: I believe, that this freeze here (blank screen with just mouse pointer) happens, when I touch the touchscreen during the initial parts of the resume process. I've learned to keep my fingers off the screen directly after resume, and it seems, that since then, this problem has been less often.
Kai Petzke, it will help immensely if you filed a new report via a terminal:
ubuntu-bug linux
Please feel free to subscribe me to it.
| Kai Petzke (petzke) wrote : | #30 |
@Christopher:
I've filed a complete bug report from the command line for another issue, that I have with suspend / resume as Bug #1517950. Do you already have the required information there or do you need more data?
| Launchpad Janitor (janitor) wrote : | #31 |
[Expired for xserver-
| Changed in xserver-xorg-video-intel (Ubuntu): | |
| status: | Incomplete → Expired |


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