Hibernate issue crashes SDDM back to logon

Hello. Thanks for Manjaro.!! I have a vexing issue that seems to happen on stable lts kernel and latest 4.17.2 kernel. This has happened in kde 5.13 and 5.13. I have a Dell xps 13 (9343) laptop and when I am done working I close the lid. Then when I open the lid it will often crash and go back to SDDM Logon. It is not a hard reboot. It is just crashing my session and sending me back to Logon. The problem there is I often have a couple VM's open and those crash hard. I think it is related to power devil but I am not sure. Has anyone else had this issue? Are there any known fixes?

Again thanks.
Dave

Please post the output of:

inxi -Fxzc0
System:    Host: mike-pc Kernel: 4.17.4-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.1.1 
           Desktop: KDE Plasma 5.13.2 tk: Qt 5.11.1 Distro: Manjaro Linux 17.1.11 Hakoila 
Machine:   Type: Laptop System: Dell product: XPS 13 9343 v: N/A serial: <filter> 
           Mobo: Dell model: 0TM99H v: A00 serial: <filter> UEFI: Dell v: A13 date: 06/16/2017 
Battery:   ID-1: BAT0 charge: 24.2 Wh condition: 38.1/52.7 Wh (72%) model: SMP DELL RWT1R43 
           status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP arch: Broadwell rev: 4 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17565 
           Speed: 798 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
Graphics:  Card-1: Intel HD Graphics 5500 driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: intel unloaded: fbdev,modesetting,vesa tty: N/A 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) v: 4.5 Mesa 18.1.3 
           direct render: Yes 
Audio:     Card-1: Intel Broadwell-U Audio driver: snd_hda_intel v: kernel bus ID: 00:03.0 
           Card-2: Intel Wildcat Point-LP High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.17.4-1-MANJARO 
Network:   Card-1: Intel Wireless 7265 driver: iwlwifi v: kernel bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    HDD Total Size: 238.47 GiB used: 137.29 GiB (57.6%) 
           ID-1: /dev/sda vendor: Samsung model: SSD PM851 M.2 2280 256GB size: 238.47 GiB 
Partition: ID-1: / size: 224.77 GiB used: 137.28 GiB (61.1%) fs: ext4 dev: /dev/dm-0 
           ID-2: swap-1 size: 8.80 GiB used: 2.4 MiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 56.0 C mobo: 54.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 191 Uptime: 1d 12m Memory: 7.70 GiB used: 1.13 GiB (14.7%) Init: systemd Compilers: 
           gcc: 8.1.1 Shell: bash v: 4.4.23 inxi: 3.0.12

Perform these commands before you hibernate:

sudo systemctl stop NetworkManager

sudo modprobe –r iwlmvm

sudo modprobe -r iwldvm

sudo modprobe -r iwlwifi

Resume, from suspend. If your system is still responding, perform these commands:

sudo modprobe iwlwifi

sudo modprobe iwldvm

sudo modprobe iwlmvm

sudo systemctl start NetworkManager

If that procedure worked then you know your wifi is causing the problem.

1 Like

Check logs and services

systemctl status upower
journalctl -g suspend
journalctl -g PowerDevil

Thanks...I think you hit the nail on the head. I watched it and brought the system up and the wireless icon was spinning and as soon as it got a connection it kicked me back to login. It does not happen all the time. About 30% of the time.

Are there any known fixes for this? It does not happen on other distros.

Thanks
Dave

I wrote a very simplistic sytemd unit file for another user who was having issues related to his wifi upon suspend. It was a very amateurish attempt at a fix, but it did work.

It may help you, but your problem may be more complex. It's worth giving it a try.

Here's the links to info I and others posted (read entire threads):

https://archived.forum.manjaro.org/t/wifi-does-not-work-after-suspend-driver-rtl8723be/47354/47

https://archived.forum.manjaro.org/t/surface-pro-1796-wifi-not-resuming-after-suspend/48133/47

Thanks very much ...I will give this a shot and post pack

Forum kindly sponsored by