You are not logged in.

#1 2018-11-18 15:29:57

robborg
Member
Registered: 2015-05-04
Posts: 10

[Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

Hi Everyone,

This is my issue. I have a Dell XPS 15 (9550), I'm using the Nvidia gpu but the Intel igd is also effected by this too. I can suspend once and it will wake up. After I login into KDE Plasma 5 I get a notification that Kwin Desktop Window Manager needed to be restarted because gpu reset. Later when I put my laptop in suspend to ram again by closing the lid or even selecting suspend in KDE leave screen the display will turn off, keyboard will lock up, but the system will never suspend. How I know is because the power light remains on and the fans stay on. The only way I can get out of this state is by holding the power button down and restarting the laptop. I provided some information from journalctl below. If there is more information needed please let me know.


OS: Arch Linux 
 Kernel: x86_64 Linux 4.19.2-1
 Uptime: 25m
 Packages: 1186
 Shell: bash 4.4.23
 Resolution: 3840x2160
 DE: KDE 5.52.0 / Plasma 5.14.3
 WM: KWin
 GTK Theme: Breath-Dark [GTK2/3]
 Icon Theme: breeze-dark
 Font: Noto Sans Regular
 CPU: Intel Core i7-6700HQ @ 8x 2.6GHz [43.0°C]
 GPU: GeForce GTX 960M
 RAM: 1712MiB / 31980MiB
Graphics:  Device-1: Intel HD Graphics 530 driver: i915 v: kernel 
           Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 410.73 
           Display: x11 server: X.Org 1.20.3 driver: modesetting,nvidia resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 v: 4.6.0 NVIDIA 410.73 
$ journalctl -b -1 --grep PM\:
Nov 18 00:15:30  kernel: PM: suspend entry (deep)
Nov 18 00:15:30  kernel: PM: Syncing filesystems ... done.
Nov 18 07:29:19  kernel: PM: Saving platform NVS memory
Nov 18 07:29:19  kernel: PM: Restoring platform NVS memory
Nov 18 07:29:19  kernel: PM: suspend exit
$ journalctl -b -1 grep X11
Nov 18 07:50:01  kactivitymanagerd[1242]: The X11 connection broke (error 1). Did the X11 server die?
Nov 18 07:50:01  kglobalaccel5[1205]: The X11 connection broke (error 1). Did the X11 server die?
Nov 18 07:50:01  kscreen_backend_launcher[1234]: The X11 connection broke (error 1). Did the X11 server die?
Nov 18 07:50:01  kdeconnectd[2609]: The X11 connection broke (error 1). Did the X11 server die?
Nov 18 07:50:01  kdeinit5[1186]: The X11 connection broke: I/O error (code 1)
Nov 18 07:50:01  kuiserver5[1433]: The X11 connection broke (error 1). Did the X11 server die?
Nov 18 07:50:01  kwin_x11[1246]: The X11 connection broke: I/O error (code 1)
$ journalctl -b -1 --grep suspend
Nov 18 07:51:07  kdeinit5[1182]: kscreen.kded: PowerDevil SuspendSession action not available!
Nov 18 07:51:29  org_kde_powerdevil[1306]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))
Nov 18 07:51:29  org_kde_powerdevil[1306]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint,>
Nov 18 07:51:29  org_kde_powerdevil[1306]: powerdevil: Starting Login1 suspend job
Nov 18 07:51:29  org_kde_powerdevil[1306]: powerdevil: Pausing all media players before suspending
Nov 18 07:51:29  kdeinit5[1182]: bluedevil: About to suspend
Nov 18 07:51:30  systemd[1]: Starting Suspend...
Nov 18 07:51:30  systemd-sleep[1534]: Suspending system...
Nov 18 07:51:30  kernel: PM: suspend entry (deep)
Nov 18 07:51:48  kernel: Suspending console(s) (use no_console_suspend to debug)
Nov 18 07:51:48  systemd[1]: Started Suspend.
Nov 18 07:51:48  audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=>
Nov 18 07:51:48  audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=?>
Nov 18 07:51:48  systemd[1]: Reached target Suspend.
Nov 18 07:51:48  systemd[1]: Stopped target Suspend.
Nov 18 07:51:48  kernel: PM: suspend exit
Nov 18 07:51:55  kdeinit5[1182]: plasma-nm: Not emitting conection activated notification as the connection was active prior to suspend
Nov 18 07:53:44  kdeinit5[2095]: kscreen.kded: PowerDevil SuspendSession action not available!
Nov 18 08:03:37  org_kde_powerdevil[2183]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))
Nov 18 08:03:37  org_kde_powerdevil[2183]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint,>
Nov 18 08:03:37  org_kde_powerdevil[2183]: powerdevil: Starting Login1 suspend job
Nov 18 08:03:37  org_kde_powerdevil[2183]: powerdevil: Pausing all media players before suspending
Nov 18 08:03:37  kdeinit5[2095]: bluedevil: About to suspend
Nov 18 08:03:38  systemd[1]: Starting Suspend...
Nov 18 08:03:38  systemd-sleep[3051]: Suspending system...

Last edited by robborg (2018-11-19 15:10:37)

Offline

#2 2018-11-18 16:12:04

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 412
Website

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

Post a full journal from the affected boot, you can use a pastebin client from command line if needed.

Also, do you have any/multiple power-management tools installed (i.e. laptop-mode-tools, TLP, powertop)? Lastly, how are you running your video cards? Bumblebee, etc.?


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

Offline

#3 2018-11-18 16:27:36

robborg
Member
Registered: 2015-05-04
Posts: 10

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

I disabled TLP. I do not have any other laptop-mode-tools or powertop installed. I am running my video card using https://wiki.archlinux.org/index.php/NVIDIA_Optimus and I have SDDM.

Here is the pastebin link https://ptpb.pw/Lc2B

Offline

#4 2018-11-18 17:23:45

Kanehekili
Member
Registered: 2018-07-28
Posts: 12

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

There you go:
After quite some errors from the ndvidia card resume fails:

Nov 18 08:03:37 ncc9550 kernel: [drm:nv_drm_gem_fence_attach_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence context: 0x00000000

This might help you to find the real culprit:
Kerneldocumentation
roll

Offline

#5 2018-11-18 17:30:10

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 412
Website

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

Can you run lspci successfully? May help drill down on the gpu issue.


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

Offline

#6 2018-11-18 18:41:08

robborg
Member
Registered: 2015-05-04
Posts: 10

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

@CarbonChauvinist Yes. I can run lspci successfully.  No lockup on running the command.

Offline

#7 2018-11-18 18:59:28

robborg
Member
Registered: 2015-05-04
Posts: 10

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

@Kanehekili I also experienced the same problem with using only the Intel GPU and bbswitch to turn off the Nvidia GPU and I don't get those errors. Could it be a drm problem?  Here is another link to that journal https://ptpb.pw/C1C8

Offline

#8 2018-11-19 15:15:22

robborg
Member
Registered: 2015-05-04
Posts: 10

Re: [Solved] Dell XPS 15 (9550) Suspend to ram once; but not a second time

I believe I solved the issue. I was curious what was being inhibited so I checked out systemd-inihibit. I noticed Telepathy had the mode of delay. I looked at the packages that had be recently updated and there I saw telepathy and the its dependencies and add-ons. Unfortunately, I don't know exactly which one was causing the problem I hastely removed

$ sudo pacman -Rnscu telepathy-qt 

. I shutdown the computer and restarted. Then I started testing the suspend to ram. It has been working just fine ever since I removed telepathy. It might be a stretch but it works now.

Offline

Board footer

Powered by FluxBB