[FIXED] Black screen coming out of hibernation

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
johnbracara

[FIXED] Black screen coming out of hibernation

Post by johnbracara »

Hello

I am facing some problems with my laptop when it is resuming from hibernation. I would say it only succeeds in 60% of the times.

The most common problem is shown in the following image. Sometimes it simply freezes and I have to do a hard shutdown.

Image

Here are my details:

Code: Select all

$ uname -a
Linux lopo0400 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

$ lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 18.3 Sylvia
Release:	18.3
Codename:	sylvia

Code: Select all

sudo lshw -short
H/W path         Device     Class          Description
======================================================
                            system         Latitude E7470 (06DC)
/0                          bus            0VNKRJ
/0/0                        memory         64KiB BIOS
/0/45                       processor      Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
/0/45/42                    memory         64KiB L1 cache
/0/45/43                    memory         512KiB L2 cache
/0/45/44                    memory         4MiB L3 cache
/0/41                       memory         64KiB L1 cache
/0/46                       memory         16GiB System Memory
/0/46/0                     memory         8GiB SODIMM Synchronous 2133 MHz (0.5 ns)
/0/46/1                     memory         8GiB SODIMM Synchronous 2133 MHz (0.5 ns)
/0/100                      bridge         Skylake Host Bridge/DRAM Registers
/0/100/2                    display        HD Graphics 520
/0/100/4                    generic        Skylake Processor Thermal Subsystem
/0/100/14                   bus            Sunrise Point-LP USB 3.0 xHCI Controller
/0/100/14/0      usb1       bus            xHCI Host Controller
/0/100/14/0/2               multimedia     Integrated_Webcam_HD
/0/100/14/0/5               bus            USB hub
/0/100/14/0/5/2             input          USB-PS/2 Optical Mouse
/0/100/14/0/6               bus            internal USB Hub of E-Port Replicator
/0/100/14/0/6/2             input          Dell USB Wired Entry Keyboard
/0/100/14/0/7               generic        5880
/0/100/14/1      usb2       bus            xHCI Host Controller
/0/100/14/1/2               bus            USB5534
/0/100/14.2                 generic        Sunrise Point-LP Thermal subsystem
/0/100/16                   communication  Sunrise Point-LP CSME HECI #1
/0/100/17                   storage        82801 Mobile SATA Controller [RAID mode]
/0/100/1c                   bridge         Sunrise Point-LP PCI Express Root Port #5
/0/100/1c/0      wlp1s0     network        Wireless 8260
/0/100/1c.5                 bridge         Sunrise Point-LP PCI Express Root Port #6
/0/100/1c.5/0               network        Intel Corporation
/0/100/1d                   bridge         Intel Corporation
/0/100/1d/0                 generic        RTS525A PCI Express Card Reader
/0/100/1f                   bridge         Sunrise Point-LP LPC Controller
/0/100/1f.2                 memory         Memory controller
/0/100/1f.3                 multimedia     Sunrise Point-LP HD Audio
/0/100/1f.4                 bus            Sunrise Point-LP SMBus
/0/100/1f.6      enp0s31f6  network        Ethernet Connection I219-LM
/0/1             scsi2      storage        
/0/1/0.0.0       /dev/sda   disk           256GB INTEL SSDSCKGF25
/0/1/0.0.0/1     /dev/sda1  volume         487MiB Linux filesystem partition
/0/1/0.0.0/2     /dev/sda2  volume         237GiB Extended partition
/0/1/0.0.0/2/5   /dev/sda5  volume         237GiB Linux filesystem partition
/1                          power          DELL 242WD
Thanks for your time and attention!

Cheers
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Black screen coming out of hibernation

Post by thx-1138 »

johnbracara wrote:Image

Code: Select all

$ uname -a
Linux lopo0400 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
At first, you should change to a supported and patched kernel:
https://blog.linuxmint.com/?p=3496
If that doesn't cure the bug above, have a look here (ie. you might also need to update your linux-firmware package if i understand it correctly):
https://bugs.freedesktop.org/show_bug.cgi?id=101991
johnbracara

Re: Black screen coming out of hibernation

Post by johnbracara »

I did the update to the 4.13 series but it was giving me issues. Black screens during boot and such.

I tried these: 4.13.0-26 and 4.13.0-32

Thanks

-- EDIT

Upgraded linux firmware

Code: Select all

$apt list --installed|grep firmware
linux-firmware/xenial-security,xenial-security,now 1.157.14 all [installed,upgradable to: 1.157.15]
I have now version: 1.157.15
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Black screen coming out of hibernation

Post by thx-1138 »

Note that hibernation is a bit of...black magic, it doesn't always work on every hardware - sometimes it works with a different kernel, sometimes a newer bios update fixes it...and you need a swap file at least the size of your installed ram, if not bigger...
Ie. you'd have much more chances getting suspend to work out of the box...
johnbracara

Re: Black screen coming out of hibernation

Post by johnbracara »

thx-1138 wrote: Wed Feb 07, 2018 7:53 am Note that hibernation is a bit of...black magic, it doesn't always work on every hardware - sometimes it works with a different kernel, sometimes a newer bios update fixes it...and you need a swap file at least the size of your installed ram, if not bigger...
Ie. you'd have much more chances getting suspend to work out of the box...
yes.. I have some colleagues that also have DELLs, but different models, and they don't have problems when they use hibernation with their laptops.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Black screen coming out of hibernation

Post by thx-1138 »

...next time that it crashes after resuming, could you try dmesg | pastebin and post the link with the results here?

What's your bios version? It wouldn't hurt trying to update it, quite the contrary...
and it actually appears an update was actually released merely yesterday:
http://www.dell.com/support/home/en/en/ ... erId=ND42N
johnbracara

Re: Black screen coming out of hibernation

Post by johnbracara »

Sure, I will do that

I have the following version: 1.9.4.. a bit old..

I will also try to perform a BIOS update
THanks!
johnbracara

Re: Black screen coming out of hibernation

Post by johnbracara »

Just an update

I updated the BIOS to the latest version and I also updated the linux firmware package

So far everything looks more stable. I will run with this setup for a while to verify that it actually solved my initial issue
johnbracara

Re: Black screen coming out of hibernation

Post by johnbracara »

Final update

Updated kernel to 4.15 using Ukuu and linux firmware to the latest stable version available.

everything is more stable now.

topic can be marked as "solved"
Locked

Return to “Other topics”