You are not logged in.

#1 2019-01-12 06:19:38

alex.forencich
Member
Registered: 2011-05-29
Posts: 91

Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

Not much else to say.  Computer suspended normally, but was completely off when I went to wake it up a couple of hours later.  Battery was full.  No messages journalctl after "PM: suspend entry (deep)".  Checking with linux-lts to see if the issue is present there.  Anyone else seeing similar behavior?

Last edited by alex.forencich (2019-02-13 06:30:32)

Offline

#2 2019-01-12 13:58:01

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 136

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

alex.forencich wrote:

Not much else to say.

Beg to differ; post a full journal from the affected boot. Post whatever you're passing to your kernel command line as well. Are you using any power management software {TLP,LMT,powertop,etc.}? Do you have latest BIOS installed?

Help us help you.


"the wind-blown way, wanna win? don't play"

Offline

#3 2019-01-18 16:07:55

iwismer
Member
Registered: 2019-01-18
Posts: 2

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

I have the same issue, it seemed to have started within the last few days.
I'm on the latest BIOS (1.9.0), kernel 4.20.3, and use TLP.
In plasma power management it is set to suspend on lid close. If I change it to do nothing, it does exactly that, but changing it back to suspend seems to shut the computer down.
I've tried https://askubuntu.com/questions/815117/ … -hibernate to no avail.

The one weird thing is that when I close the lid and it shuts down, when I open up the lid again, it start right up (no need to push the power button). If I shut down the computer normally, when I open the lid I do have to press the power button.

Relevant journal:

Jan 18 10:49:19 isaac-XPS13 systemd-logind[560]: Lid closed.
Jan 18 10:49:19 isaac-XPS13 org_kde_powerdevil[1098]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))
Jan 18 10:49:19 isaac-XPS13 org_kde_powerdevil[1098]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 1)))
Jan 18 10:49:19 isaac-XPS13 org_kde_powerdevil[1098]: powerdevil: Starting Login1 suspend job
Jan 18 10:49:19 isaac-XPS13 org_kde_powerdevil[1098]: powerdevil: Pausing all media players before suspending
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: lock called
Jan 18 10:49:19 isaac-XPS13 NetworkManager[559]: <info>  [1547826559.1943] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jan 18 10:49:19 isaac-XPS13 NetworkManager[559]: <info>  [1547826559.1944] manager: NetworkManager state is now ASLEEP
Jan 18 10:49:19 isaac-XPS13 kdeinit5[1000]: bluedevil: About to suspend
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: Lock window Id:  16777229
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 16777229
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96468996
Jan 18 10:49:19 isaac-XPS13 kscreenlocker_greet[2739]: Qt: Session management error: networkIdsList argument is NULL
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469000
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469008
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469013
Jan 18 10:49:19 isaac-XPS13 kscreenlocker_greet[2739]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:59: TypeError: Property 'setAction' of object ScreenLocker::WallpaperIntegration(0x558acfe0d400) is not a function
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469015
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469017
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: MapNotify: 96469015
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469019
Jan 18 10:49:19 isaac-XPS13 kscreenlocker_greet[2739]: UdevQt: unable to create udev monitor connection
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469028
Jan 18 10:49:19 isaac-XPS13 kscreenlocker_greet[2739]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Jan 18 10:49:19 isaac-XPS13 kscreenlocker_greet[2739]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: MapNotify: 16777229
Jan 18 10:49:19 isaac-XPS13 ksmserver[1031]: CreateNotify: 96469035
Jan 18 10:49:20 isaac-XPS13 systemd[1]: Starting TLP suspend/resume...
Jan 18 10:49:20 isaac-XPS13 kscreenlocker_greet[2739]: kf5.kpackage: No metadata file in the package, expected it at: "/media/Nextcloud/Pictures/Wallpapers/Landscape/"
Jan 18 10:49:20 isaac-XPS13 kscreenlocker_greet[2739]: kf5.kpackage: No metadata file in the package, expected it at: "/media/Nextcloud/Pictures/Wallpapers/Landscape/"
Jan 18 10:49:20 isaac-XPS13 kscreenlocker_greet[2739]: kf5.kpackage: No metadata file in the package, expected it at: "/media/Nextcloud/Pictures/Wallpapers/Landscape/"
Jan 18 10:49:20 isaac-XPS13 systemd[1]: Started TLP suspend/resume.
Jan 18 10:49:20 isaac-XPS13 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 18 10:49:20 isaac-XPS13 systemd[1]: Reached target Sleep.
Jan 18 10:49:20 isaac-XPS13 kernel: audit: type=1130 audit(1547826560.703:61): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tlp-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 18 10:49:20 isaac-XPS13 systemd[1]: Starting Suspend...
Jan 18 10:49:20 isaac-XPS13 systemd[1]: Stopping Atop advanced performance monitor...
Jan 18 10:49:21 isaac-XPS13 systemd[1]: atop.service: Succeeded.
Jan 18 10:49:21 isaac-XPS13 systemd[1]: Stopped Atop advanced performance monitor.
Jan 18 10:49:21 isaac-XPS13 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=atop comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 18 10:49:21 isaac-XPS13 kernel: audit: type=1131 audit(1547826561.166:62): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=atop comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 18 10:49:21 isaac-XPS13 systemd-sleep[2876]: Suspending system...

Last edited by iwismer (2019-01-18 16:16:39)

Offline

#4 2019-01-18 16:23:44

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 136

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

iwismer wrote:

The one weird thing is that when I close the lid and it shuts down, when I open up the lid again, it start right up (no need to push the power button). If I shut down the computer normally, when I open the lid I do have to press the power button.

Yes, basically when you close the lid, the system is trying to suspend. When you open the lid the system is trying to resume, but due to the failed suspend the system instead powers back on immediately (reboot effectively).

I'd first try to take TLP out of the equation (completely remove and/or disable) and see if you get the same behavior.

Also, post a full journal and whatever you're passing to your kernel when booting so others here with more know-how can parse and assist.


"the wind-blown way, wanna win? don't play"

Offline

#5 2019-01-21 14:30:13

iwismer
Member
Registered: 2019-01-18
Posts: 2

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

I went away for the weekend, and when I came back, suspend on lid close seems to work again. I don't remember changing anything or performing any updates, so I'm not sure what changed to make it work again.

Offline

#6 2019-01-31 07:22:08

aalotia
Member
Registered: 2019-01-31
Posts: 2

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

I'm likely experiencing something similar. I'm running 4.20.5-arch1-1-ARCH and it appears that my machine which is a Precision Workstation 5510 (pro variant of XPS 15 9550) appears to be rebooting instead of resuming after suspend when on battery.

I'm running BIOS 1.9.0 on that machine as well.

Things are very well behaved when plugged in suspend works fine as does hibernate.

The machine was suspended with the battery plugged in then unplugged, plugged back in and the lid was opened which appears to have resulted in a reboot instead of a resume.

Relevant section from the journal.

Jan 30 22:42:21 neckbeard systemd-logind[654]: Lid closed.
Jan 30 22:42:30 neckbeard systemd-logind[654]: Suspending...
Jan 30 22:42:30 neckbeard NetworkManager[656]: <info>  [1548888150.1126] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jan 30 22:42:30 neckbeard NetworkManager[656]: <info>  [1548888150.1126] manager: NetworkManager state is now ASLEEP
Jan 30 22:42:35 neckbeard systemd-logind[654]: Delay lock is active (UID 120/gdm, PID 914/gsd-power) but inhibitor timeout is reached.
Jan 30 22:42:35 neckbeard systemd[1]: Reached target Sleep.
Jan 30 22:42:35 neckbeard systemd[1]: Starting Suspend...
-- Reboot --
Jan 31 06:16:22 archlinux kernel: Linux version 4.20.5-arch1-1-ARCH (builduser@heftig-23240) (gcc version 8.2.1 20181127 (GCC)) #1 SMP >
Jan 31 06:16:22 archlinux kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img rd.luks.name=181330d3-2f4a-4eb7-ad3>
Jan 31 06:16:22 archlinux kernel: KERNEL supported cpus:
Jan 31 06:16:22 archlinux kernel:   Intel GenuineIntel

Would be keen to know if anyone else is experiencing this. I will try downgrading to the previous kernel package and will report back since I have a vague recollection of that working more effectively. Meanwhile if anyone else on similar hardware is on the previous kernel package any updates would be much appreciated.

Update
Shortly after I first posted this comment I suspended by closing the lid when connected to power. Opened the lid when on battery and the machine resumed instead of rebooting.
Next update I'll see if suspending on battery and resuming connected to power results in a resume or a reboot.

Last edited by aalotia (2019-01-31 09:30:04)

Offline

#7 2019-01-31 18:05:14

HarlemSquirrel
Member
From: New York, NY
Registered: 2014-01-22
Posts: 119
Website

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

I'm having a similar issue with my Dell E7470 running Fedora 29 and kernel 4.20.4-200.fc29.x86_64.

Jan 31 12:43:55 pc200230 systemd[1]: Reached target Sleep.
Jan 31 12:43:55 pc200230 systemd[1]: Starting Suspend...
Jan 31 12:43:55 pc200230 systemd-sleep[5407]: Suspending system...
Jan 31 12:43:55 pc200230 kernel: PM: suspend entry (deep)

Update: This is also happening with kernel 4.20.3 and 4.19.15 so I suspect it may not be a kernel issue.

Supposedly a similar issue to this was fixed in systemd

Last edited by HarlemSquirrel (2019-01-31 18:17:11)


"Melody reigns supreme!"
    -J. J. Johnson

Offline

#8 2019-02-01 19:05:07

aalotia
Member
Registered: 2019-01-31
Posts: 2

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

Okay somewhat vexingly, I got into EFI setup menu and changed one completely unrelated setting (related to virtualisation), saved the changes and rebooted and my machine has been behaving itself since then. Running BIOS/EFI Firmware 1.9.0. I have confirmed that this EFI settings change seems to have fixed resume from suspend with kernel 4.20.5-arch1-1-ARCH. I have also updated to 4.20.6-arch1-1-ARCH since then and suspend/resume are working okay when plugged in and on battery. While this is handy to have I'm somewhat confused as to why it was fixed by changing a totally unrelated setting.

Offline

#9 2019-02-12 03:22:16

alex.forencich
Member
Registered: 2011-05-29
Posts: 91

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

I think I solved the issue on my machine.  It seems that there was a loose screw inside of my laptop that was bouncing around when the laptop was packed up and moved.  Not sure why I didn't hear it rattling around in there earlier, but the problem seems to have gone away now that the screw has installed back in its proper place.

Offline

#10 2019-02-13 06:32:16

alex.forencich
Member
Registered: 2011-05-29
Posts: 91

Re: Dell XPS 15 9530 shuts off in suspend under linux kernel 4.20

Never mind, posted too soon.  The machine worked for several suspend/resume cycles, but I am now back to a dead laptop when suspending.  I need to write a script or something to sanitize the system log, but the last log entry for any failing suspend is simply

kernel: PM: suspend entry (deep)

I am seeing this behavior on both linux and linux-lts.  So it may be due to a backported change, which is something I have personally been bitten by in the past on this same machine (flickering display after suspend due to a graphics card driver "optimization" with respect to the display port interface).

Last edited by alex.forencich (2019-02-13 06:37:09)

Offline

Board footer

Powered by FluxBB