You are not logged in.

#1 2019-11-07 15:30:51

PogMat
Member
Registered: 2013-09-19
Posts: 41

Laptop sometimes cannot wake up after RAM suspension of the system

Hi, I'm running Arch Linux with KDE DE on a Samsung model RT500M5K. It comes with a NVIDIA OPTIMUS (as far as I understood a hybrid NVIDIA/intal video card). I'm using a XFS file system. I'm planning to use just intel video card for the moment so I installed xf86-video-intel only, without any nvidia driver.  My problem is the following: when I suspend the PC on ram (no matter how: closing the lid, explicitly pushing the button, with `systemctl suspend`) sometimes everything is fine, and some other times I'm not able to wake my PC up anymore. More specifically: when the process is normal the screen is turned off, the status led switches off and then, by pressing the power button or opening the lid, the PC wakes up and it is ready to go. In some other cases it happens that the screen is turned off but the led does not switch off and, then, the PC cannot be woken up in any way. The only way to use it again is to hard reset it. The last line of journalctl of the botched suspension are

Nov 07 23:48:12 workpc org_kde_powerdevil[703]: powerdevil: Pausing all media players before sleep
Nov 07 23:48:12 workpc kdeinit5[608]: bluedevil: About to suspend
Nov 07 23:48:12 workpc NetworkManager[401]: <info>  [1573138092.0436] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Nov 07 23:48:12 workpc NetworkManager[401]: <info>  [1573138092.0437] device (enp2s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 07 23:48:12 workpc ksmserver[650]: lock called
Nov 07 23:48:12 workpc ksmserver[650]: Lock window Id:  27262983
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 27262983
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 27262985
Nov 07 23:48:12 workpc NetworkManager[401]: <info>  [1573138092.0584] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 07 23:48:12 workpc NetworkManager[401]: <info>  [1573138092.0588] manager: NetworkManager state is now ASLEEP
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194308
Nov 07 23:48:12 workpc kscreenlocker_greet[816]: Qt: Session management error: networkIdsList argument is NULL
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194312
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194320
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194325
Nov 07 23:48:12 workpc kscreenlocker_greet[816]: kf5.kconfig.core: couldn't lock local file
Nov 07 23:48:12 workpc kscreenlocker_greet[816]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
Nov 07 23:48:12 workpc kscreenlocker_greet[816]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194327
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194329
Nov 07 23:48:12 workpc ksmserver[650]: MapNotify: 4194327
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 46138389
Nov 07 23:48:12 workpc ksmserver[650]: CreateNotify: 4194331
Nov 07 23:48:12 workpc ksmserver[650]: MapNotify: 27262983
Nov 07 23:48:12 workpc systemd[1]: Reached target Sleep.
Nov 07 23:48:12 workpc systemd[1]: Starting Suspend...
Nov 07 23:48:12 workpc systemd-sleep[826]: Suspending system...
Nov 07 23:48:12 workpc kernel: PM: suspend entry (deep)

I suspect that, since when the problem manifests the led remain on, the bug should occur during the suspension process rather than during the waking up one.
What can I do to solve my problem?

Offline

#2 2019-11-07 15:34:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,771

Re: Laptop sometimes cannot wake up after RAM suspension of the system

there's little kernel action going on in that excerpt. do you get more if you use

sudo journalctl

?

Offline

#3 2019-11-07 16:20:15

PogMat
Member
Registered: 2013-09-19
Posts: 41

Re: Laptop sometimes cannot wake up after RAM suspension of the system

As V1del I will report more line of journalctl -b -1. I add that when the botched suspension occur, while the PC seems sleeping (but the led is turned on) not even SysRqs work. (I launch the kernel with sysrq_always_on

Nov 08 01:03:31 workpc kernel: audit: type=1131 audit(1573142611.804:36): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 08 01:03:35 workpc dhcpcd[427]: wlp1s0: no IPv6 Routers available
Nov 08 01:03:47 workpc dbus-daemon[585]: [session uid=1000 pid=585] Activating service name='org.kde.runners.baloo' requested by ':1.20' (uid=1000 pid=653 comm="/usr/bin/plasmashell ")
Nov 08 01:03:47 workpc dbus-daemon[585]: [session uid=1000 pid=585] Successfully activated service 'org.kde.runners.baloo'
Nov 08 01:03:48 workpc kwin_x11[651]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9955, resource id: 37748948, major code: 18 (ChangeProperty), minor code: 0
Nov 08 01:03:48 workpc dbus-daemon[416]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.87' (uid=1000 pid=828 comm="/usr/lib/chromium/chromium ")
Nov 08 01:03:48 workpc dbus-daemon[416]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Nov 08 01:03:49 workpc kwin_x11[651]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10467, resource id: 56623106, major code: 18 (ChangeProperty), minor code: 0
Nov 08 01:03:49 workpc kwin_x11[651]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10770, resource id: 41944161, major code: 3 (GetWindowAttributes), minor code: 0
Nov 08 01:03:49 workpc kwin_x11[651]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10771, resource id: 41944161, major code: 14 (GetGeometry), minor code: 0
Nov 08 01:03:49 workpc kdeinit5[604]: Registering "org.kde.StatusNotifierItem-828-1/StatusNotifierItem" to system tray
Nov 08 01:03:49 workpc plasmashell[653]: QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_290(0x55e0c77ccf60, parent=0x55e0c460a060, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_290(0x55e0c5ebf080), which must be a sibling
Nov 08 01:03:51 workpc kdeinit5[604]: Registering "org.kde.StatusNotifierItem-828-2/StatusNotifierItem" to system tray
Nov 08 01:03:51 workpc plasmashell[653]: QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_290(0x55e0c61dd260, parent=0x55e0c460a060, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_290(0x55e0c77ccf60), which must be a sibling
Nov 08 01:03:53 workpc wpa_supplicant[474]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Nov 08 01:03:58 workpc wpa_supplicant[474]: wlp1s0: PMKSA-CACHE-ADDED d8:c7:c8:d8:67:90 0
Nov 08 01:04:58 workpc systemd-logind[452]: Lid closed.
Nov 08 01:04:59 workpc org_kde_powerdevil[704]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))
Nov 08 01:04:59 workpc org_kde_powerdevil[704]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 1)))
Nov 08 01:04:59 workpc org_kde_powerdevil[704]: powerdevil: Starting Login1 suspend job
Nov 08 01:04:59 workpc kdeinit5[604]: bluedevil: About to suspend
Nov 08 01:04:59 workpc org_kde_powerdevil[704]: powerdevil: Pausing all media players before sleep
Nov 08 01:04:59 workpc NetworkManager[422]: <info>  [1573142699.3066] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Nov 08 01:04:59 workpc NetworkManager[422]: <info>  [1573142699.3067] device (enp2s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 08 01:04:59 workpc ksmserver[632]: lock called
Nov 08 01:04:59 workpc ksmserver[632]: Lock window Id:  23068679
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 23068679
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 23068681
Nov 08 01:04:59 workpc NetworkManager[422]: <info>  [1573142699.3259] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 08 01:04:59 workpc NetworkManager[422]: <info>  [1573142699.3264] manager: NetworkManager state is now ASLEEP
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011716
Nov 08 01:04:59 workpc kscreenlocker_greet[1202]: Qt: Session management error: networkIdsList argument is NULL
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011720
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011728
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011733
Nov 08 01:04:59 workpc kscreenlocker_greet[1202]: kf5.kconfig.core: couldn't lock local file
Nov 08 01:04:59 workpc kscreenlocker_greet[1202]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
Nov 08 01:04:59 workpc kscreenlocker_greet[1202]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011735
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011737
Nov 08 01:04:59 workpc ksmserver[632]: MapNotify: 65011735
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 41944912
Nov 08 01:04:59 workpc ksmserver[632]: CreateNotify: 65011739
Nov 08 01:04:59 workpc ksmserver[632]: MapNotify: 23068679
Nov 08 01:04:59 workpc systemd[1]: Reached target Sleep.
Nov 08 01:04:59 workpc systemd[1]: Starting Suspend...
Nov 08 01:04:59 workpc systemd-sleep[1212]: Suspending system...
Nov 08 01:04:59 workpc kernel: PM: suspend entry (deep)

Offline

Board footer

Powered by FluxBB