System freezing during sleep/suspend

With the latest version of linux-firmware-20181218 I experience a system freeze anytime I put the machine to sleep. Upon hitting sleep, the screen will go black, back on, black again then back on. After this neither mouse nor keyboard work. IF the machine does go to sleep, I am unable to awake with mouse/keyboard, however the power button does work, but the machine awakes in a frozen state.

I feel this issue is related to the network. When I boot into the system and NOT connect to my VPN the sleep works correctly, but after (dis)connecting the freezing problem appears. I use the expressvpn package from the AUR which is command line based. I believe it edits the iptables directly because the gnome panel always states "VPN off".

System:    Host: twifty-lynx Kernel: 4.19.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Gnome 3.30.2 
           wm: gnome-shell dm: GDM 3.30.2 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG CROSSHAIR VII HERO (WI-FI) v: Rev 1.xx serial: <filter> 
           UEFI: American Megatrends v: 1103 date: 11/16/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech Performance MX serial: <filter> charge: 10% (should be ignored) 
           rechargeable: yes status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech K800 serial: <filter> charge: 70% (should be ignored) 
           rechargeable: yes status: Discharging 
CPU:       Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118208 
           Speed: 2984 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2673 2: 2671 3: 2498 4: 2318 
           5: 1992 6: 2128 7: 1983 8: 3192 9: 2795 10: 2556 11: 1866 12: 2039 13: 2531 14: 2604 15: 1796 16: 1988 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] vendor: ASUSTeK 
           driver: amdgpu v: kernel bus ID: 0a:00.0 chip ID: 1002:67df 
           Display: x11 server: X.org 1.20.3 driver: amdgpu compositor: gnome-shell resolution: <xdpyinfo missing> 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.27.0 4.19.13-1-MANJARO LLVM 7.0.0) v: 4.5 Mesa 18.3.1 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 580] vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 0a:00.1 chip ID: 1002:aaf0 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.3 chip ID: 1022:1457 
           Sound Server: ALSA v: k4.19.13-1-MANJARO 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.4.0-k port: d000 bus ID: 06:00.0 
           chip ID: 8086:1539 
           IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: ASUSTeK driver: r8822be v: kernel port: c000 
           bus ID: 07:00.0 chip ID: 10ec:b822 
           IF: wlp7s0 state: down mac: <filter> 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 6.80 TiB used: 843.22 GiB (12.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 1B2QEXE7 scheme: GPT 
           ID-2: /dev/sda vendor: Western Digital model: WD30EFRX-68EUZN0 size: 2.73 TiB speed: 6.0 Gb/s 
           rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT 
           ID-3: /dev/sdb vendor: Western Digital model: WD30EFRX-68EUZN0 size: 2.73 TiB speed: 6.0 Gb/s 
           rotation: 5400 rpm serial: <filter> rev: 0A80 scheme: GPT 
           ID-4: /dev/sdc vendor: SanDisk model: SDSSDXPS480G size: 447.13 GiB speed: 6.0 Gb/s serial: <filter> rev: 00RL 
           scheme: GPT 
Partition: ID-1: / size: 195.86 GiB used: 8.47 GiB (4.3%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /home size: 195.86 GiB used: 48.17 GiB (24.6%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-3: swap-1 size: 32.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p1 
Sensors:   System Temperatures: cpu: 48.1 C mobo: N/A gpu: amdgpu temp: 31 C 
           Fan Speeds (RPM): cpu: 0 gpu: amdgpu fan: 1374 
Info:      Processes: 400 Uptime: 13m Memory: 31.40 GiB used: 2.02 GiB (6.4%) Init: systemd v: 239 Compilers: gcc: 8.2.1 
           Shell: bash v: 4.4.23 running in: terminator inxi: 3.0.28

There is nothing in the logs to hint at what the problem may be. As a work around I have downgraded linux-firmware to 20181216.

You need to write a service to shut down all your network components prior to suspend, and reload all your network components after resuming.

Search these terms on the forum:

Systemd suspend resume service file

There are many other posts on this topic if you search the forum.

https://archived.forum.manjaro.org/t/kernel-4-19-0-3-not-network-after-suspending-gnome-edition/63544/2

https://archived.forum.manjaro.org/t/wifi-adapter-tp-link-tl-wn823n-must-be-reconnected-for-it-to-work/52968/19

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

https://archived.forum.manjaro.org/t/thinkpad-x230t-wont-suspend-under-kernel-419rc4-4-18-4-17-4-14-4-9/59798/21

Here are some external links with excellent systemd reference material:

The ArchWiki - systemd

Red Hat - systemd-targets

Red Hat - systemd unit files

Systemd manpage

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by