You are not logged in.

#1 2018-02-20 04:31:17

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

[SOLVED] Arch Won't Wake from Suspend

Howdy everyone!

I've just gotten my first installation of Arch Linux up and running and everything went pretty swimmingly with the notable exception of the fact that I can't wake my laptop from suspend.

I've done a fair bit of poking around and it seems like a common issue - however none of the other solutions I've seen seem to work for me.

The Problem:
The full issue is that when I suspend to RAM I cannot wake the laptop back up. When I press the power button, the backlight for the screen wakes up and the keyboard wakes up, but the screen stays black and unresponsive. The only way to solve this is to do a hard reboot.

What I've Tried:
When the screen is black I've tried just typing my password, opening a terminal and rebooting.
I've tried the same but opening a tty terminal
I've added hpet=disable to my /boot/refind_linux.cong
I tried messing with the display drivers, but that just led to a lot of other problems that I was only able to solve by doing a complete reinstall of Arch

Any help would be greatly appreciated, as this is a feature I find kind of necessary for a laptop, especially as I'm in college and need to be able to go from class to class without constantly shutting down and rebooting my laptop.

Edit - Solution
This was fixed by blacklilsting the nvidiafb module, as explained in https://bbs.archlinux.org/viewtopic.php?id=234646

Last edited by ApricotRembrandt (2018-02-22 13:57:26)

Offline

#2 2018-02-20 04:32:24

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

Oh, some info I forgot:

I have integrated intel graphics as well as a discrete Nvidia GPU (960M)

I am using Xfce4 as my DE

Offline

#3 2018-02-20 06:16:37

sincomil
Member
Registered: 2018-02-13
Posts: 118

Re: [SOLVED] Arch Won't Wake from Suspend

It seams that problem caused by   nvidia kernel module.
There is old one: https://devtalk.nvidia.com/default/topi … dia-370-/1
I'm faced with this problem on my Debian Installation, but it is some how was resolved with either nvidia driver update or xorg update, I do not remember which one....

Here may be some useful info: https://wiki.archlinux.org/index.php/Po … _hibernate (Troubleshooting article)

Last edited by sincomil (2018-02-20 06:46:40)

Offline

#4 2018-02-20 08:14:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,464

Re: [SOLVED] Arch Won't Wake from Suspend

Most likely the system wakes up and this is a visual problem with the compositor. Try to disable it for confirmation: https://wiki.archlinux.org/index.php/Xf … te_manager

Offline

#5 2018-02-20 08:32:30

sincomil
Member
Registered: 2018-02-13
Posts: 118

Re: [SOLVED] Arch Won't Wake from Suspend

This is not an issue with compositing or something like this, because when screen got a backlight on then computer stays in "text mode" and seams like xorg can't get initialized, keyboard is working (num lock/caps lock) but no type input is displayed.

Offline

#6 2018-02-20 10:34:01

Taylan
Member
From: Germany
Registered: 2014-12-23
Posts: 15

Re: [SOLVED] Arch Won't Wake from Suspend

Offline

#7 2018-02-20 11:37:35

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] Arch Won't Wake from Suspend

Offline

#8 2018-02-20 15:37:45

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

Unfortunately no dice on any of these. I don't have the nvidia kernel module (I tried installing it earlier and it just broke more things) and I just use the integrated intel graphics. The other threads were also dead ends, as I tried the solutions in them but to no avail...

Offline

#9 2018-02-22 03:24:38

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

Any other suggestions, by any chance? I don't mean to be annoying but this is an incredibly frustrating problem...

Offline

#10 2018-02-22 08:26:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,464

Re: [SOLVED] Arch Won't Wake from Suspend

If it hangs with a blinking cursor on a  console and this also happens when suspending from the multi-user.target it's most likely ACPI or microcode related.
What's the HW vendor and model? lscpu/lspci/lsusb/dmidecode? dmesg?
Do you https://wiki.archlinux.org/index.php/Microcode ?

Offline

#11 2018-02-22 13:09:43

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

There's no blinking cursor - just a black screen. And I folowed the microcode section of that when I was installing in the first place, my compupter wouldn't boot without it.

That being said, here's the default option line from my refind_linux.conf file:

Boot with standard options"  "rw root=UUID=38bca3b1-35a6-45f2-a6d3-4fdd07c6774b hpet=disable quiet initrd=intel-ucode.img initrd=initramfs-linux.img"

My laptop is a Dell XPS15 - 9550


Also, in case it helps, the output of lspci -v:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
	Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: dc000000-dd0fffff [size=17M]
	Prefetchable memory behind bridge: 00000000b0000000-00000000c1ffffff [size=288M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Dell HD Graphics 530
	Flags: bus master, fast devsel, latency 0, IRQ 135
	Memory at db000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 70000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
	Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
	Flags: fast devsel, IRQ 16
	Memory at ddd20000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
	Subsystem: Dell Sunrise Point-H USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 124
	Memory at ddd10000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
	Subsystem: Dell Sunrise Point-H Thermal subsystem
	Flags: fast devsel, IRQ 18
	Memory at ddd38000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at ddd37000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at ddd36000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: Dell Sunrise Point-H CSME HECI
	Flags: bus master, fast devsel, latency 0, IRQ 134
	Memory at ddd35000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Sunrise Point-H SATA Controller [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 125
	Memory at ddd30000 (32-bit, non-prefetchable) [size=8K]
	Memory at ddd34000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at ddd33000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ddc00000-ddcfffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff [size=4K]
	Memory behind bridge: dd100000-ddafffff [size=10M]
	Prefetchable memory behind bridge: 00000000c2100000-00000000c2afffff [size=10M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff [size=4K]
	Memory behind bridge: ddb00000-ddbfffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: None
	Prefetchable memory behind bridge: None
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Bus: primary=00, secondary=06, subordinate=3e, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: c4000000-da0fffff [size=353M]
	Prefetchable memory behind bridge: 0000000080000000-00000000a1ffffff [size=544M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: Dell Sunrise Point-H LPC Controller
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: Dell Sunrise Point-H PMC
	Flags: fast devsel
	Memory at ddd2c000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) (prog-if 80)
	Subsystem: Dell Sunrise Point-H HD Audio
	Flags: bus master, fast devsel, latency 32, IRQ 136
	Memory at ddd28000 (64-bit, non-prefetchable) [size=16K]
	Memory at ddd00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: Dell Sunrise Point-H SMBus
	Flags: medium devsel, IRQ 16
	Memory at ddd32000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
	Subsystem: Dell GM107M [GeForce GTX 960M]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at c0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at dd000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidiafb
	Kernel modules: nvidiafb, nouveau

02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
	Subsystem: Intel Corporation Dual Band Wireless-AC 8260
	Flags: bus master, fast devsel, latency 0, IRQ 133
	Memory at ddc00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
	Subsystem: Dell RTS525A PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Memory at dd100000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at ddb00000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at c000 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: nvme

At this point my only guess is that it's related to the display drivers, but last time I tried to fix that I messed something up and couldn't get anything to display to the point where I had to format my root partition and reistall Arch...

Offline

#12 2018-02-22 13:34:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,464

Re: [SOLVED] Arch Won't Wake from Suspend

There's no blinking cursor - just a black screen

In comment #5 you assert that this is *not* a compositor issue because

because when screen got a backlight on then computer stays in "text mode" and seams like xorg can't get initialized

Also you've nvidiafb loaded, so this acually sounds a hell lot like https://bbs.archlinux.org/viewtopic.php?id=234646 - which you ruled out by falsely asserting in comment #8 that

I don't have the nvidia kernel module

Offline

#13 2018-02-22 13:51:08

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

To my understanding nvidia and nvidiafb are two different things. I also ran rmmod nvidiafb and the system calimed (at least at the time) that it had been successfully removed, which was a solution from that thred. I didn't however, blacklist it so I'll try that and get back to you.

Offline

#14 2018-02-22 13:55:53

ApricotRembrandt
Member
Registered: 2018-02-20
Posts: 9

Re: [SOLVED] Arch Won't Wake from Suspend

Well, it turns out that rmmod nvidiafb didn't work, but blacklisting it did. I'm sorry it required the extra posts to figure this out - I'll try to read a bit more carefully in the future. Thanks for the help!

Offline

Board footer

Powered by FluxBB