System suspension freezes my hardware (XFCE)

Hi
From my old post

I’m still not able to find a solution

The problem is:

Hi,

is from months that when I suspend my session, the hardware freezes when I wake up my PC from suspension: the monitor switch on, but all the rest of the hardware freezes (the keyboard, the mouse, and also my internet connection freeze)
It happens not always, but especially when the system remains suspended from relatively long time (an half-hour or more)

[salome@salome ~]$ inxi -Fxzmi
System:
Host: andrea Kernel: 4.4.196-1-MANJARO x86_64 bits: 64 compiler: gcc
v: 9.2.0 Desktop: Xfce 4.14.1 Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: ASRock model: G41M-VS3. serial:
BIOS: American Megatrends v: P1.60 date: 09/09/2011
Memory:
RAM: total: 3.86 GiB used: 1.01 GiB (26.1%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Quad Core model: Intel Core2 Quad Q9650 bits: 64 type: MCP
arch: Penryn rev: A L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 23945
Speed: 2992 MHz min/max: N/A Core speeds (MHz): 1: 2992 2: 2992 3: 2992
4: 2992
Graphics:
Device-1: NVIDIA GT218 [GeForce 210] vendor: ASUSTeK driver: nouveau
v: kernel bus ID: 04:00.0
Display: x11 server: Xorg 1.20.5 driver: nouveau
resolution:
OpenGL: renderer: NVA8 v: 3.3 Mesa 19.2.1 direct render: Yes
Audio:
Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASRock
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: NVIDIA High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 04:00.1
Sound Server: ALSA v: k4.4.196-1-MANJARO
Network:
Device-1: Qualcomm Atheros AR8152 v2.0 Fast Ethernet vendor: ASRock
driver: atl1c v: 1.0.1.1-NAPI port: dc00 bus ID: 01:00.0
IF: enp1s0 state: up speed: 100 Mbps duplex: full mac:
IP v4: type: dynamic noprefixroute scope: global
IP v6: type: noprefixroute scope: link
WAN IP:
Drives:
Local Storage: total: 6.37 TiB used: 69.02 GiB (1.1%)
ID-1: /dev/sda vendor: Western Digital model: WD60EFRX-68L0BN1
size: 5.46 TiB
ID-2: /dev/sdb vendor: Western Digital model: WD10EZRX-00A8LB0
size: 931.51 GiB
Partition:
ID-1: / size: 98.88 GiB used: 68.97 GiB (69.8%) fs: ext4 dev: /dev/sdb3
ID-2: /boot size: 495.8 MiB used: 47.6 MiB (9.6%) fs: ext4 dev: /dev/sdb1
ID-3: swap-1 size: 5.03 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb2
Sensors:
System Temperatures: cpu: 33.0 C mobo: 29.0 C gpu: nouveau temp: 37 C
Fan Speeds (RPM): cpu: 2057 fan-1: 753 fan-3: 0 fan-4: 0 fan-5: 0
Voltages: 12v: N/A 5v: N/A 3.3v: 3.33 vbat: 3.30
Info:
Processes: 166 Uptime: 36m Init: systemd Compilers: gcc: 9.2.0 Shell: bash
v: 5.0.11 inxi: 3.0.36

Please help, I cannot suspend my system anymore

First of all, let’s see what journal log records about suspend and resume.
Post the output of these commands:

journalctl | grep suspend

journalctl | grep resume

and also

journalctl | grep "kernel: ACPI"

journalctl | grep "kernel: PM"

EDIT:

Also check here:

2 Likes

Hi @salome :wink:

Did you a try a new kernel? like the latest LTS 5.4 Kernel?

sudo mhwd -i linux54

Hi,
following the documentation that you posted here, I tried to modify my /etc/systemd/sleep.conf as following. It seems to work at the time I’m writing, but I want to follow other checks before mark this as solved.

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See systemd-sleep.conf(5) for details

[Sleep]
AllowSuspend=yes
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no
SuspendMode=suspend
SuspendState=standby
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min
SuspendDelaySec=30sec

Also, this links were useful to me

https://www.man7.org/linux/man-pages/man5/systemd-sleep.conf.5.html

https://www.kernel.org/doc/html/latest/admin-guide/pm/sleep-states.html

EDIT: it still doesn’t work: mouse, keyboard and monitor are freezed afret suspension

Hi

this is my output :

[salome@salome ~]$ journalctl | grep suspend
dic 25 21:31:00 salome kernel: Command line: BOOT_IMAGE=/vmlinuz-4.4-x86_64 root=UUID=0ea07c5e-2976-475c-b2f3-9f43dcf1267c rw clocksource=tsc quiet splash usbcore.autosuspend=-1 zswap.enabled=1
dic 25 21:31:00 salome kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-4.4-x86_64 root=UUID=0ea07c5e-2976-475c-b2f3-9f43dcf1267c rw clocksource=tsc quiet splash usbcore.autosuspend=-1 zswap.enabled=1
[salome@salome ~]$ journalctl | grep resume
[salome@salome ~]$ journalctl | grep "kernel: ACPI"
dic 25 21:31:00 salome kernel: ACPI: Early table checksum verification disabled
dic 25 21:31:00 salome kernel: ACPI: RSDP 0x00000000000F94B0 000014 (v00 ACPIAM)
dic 25 21:31:00 salome kernel: ACPI: RSDT 0x00000000DBF80000 00003C (v01 090911 RSDT1104 20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: FACP 0x00000000DBF80200 000084 (v01 A M I  OEMFACP  12000601 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: DSDT 0x00000000DBF80440 005739 (v01 AS288  AS288160 00000160 INTL 20051117)
dic 25 21:31:00 salome kernel: ACPI: FACS 0x00000000DBF90000 000040
dic 25 21:31:00 salome kernel: ACPI: APIC 0x00000000DBF80390 00006C (v01 090911 APIC1104 20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: MCFG 0x00000000DBF80400 00003C (v01 090911 OEMMCFG  20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: OEMB 0x00000000DBF90040 000072 (v01 090911 OEMB1104 20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: AAFT 0x00000000DBF88440 000027 (v01 090911 OEMAAFT  20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: GSCI 0x00000000DBF900C0 002024 (v01 090911 GMCHSCI  20110909 MSFT 00000097)
dic 25 21:31:00 salome kernel: ACPI: Local APIC address 0xfee00000
dic 25 21:31:00 salome kernel: ACPI: PM-Timer IO Port: 0x808
dic 25 21:31:00 salome kernel: ACPI: Local APIC address 0xfee00000
dic 25 21:31:00 salome kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
dic 25 21:31:00 salome kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
dic 25 21:31:00 salome kernel: ACPI: IRQ0 used by override.
dic 25 21:31:00 salome kernel: ACPI: IRQ9 used by override.
dic 25 21:31:00 salome kernel: ACPI: Core revision 20150930
dic 25 21:31:00 salome kernel: ACPI: 1 ACPI AML tables successfully acquired and loaded
dic 25 21:31:00 salome kernel: ACPI: bus type PCI registered
dic 25 21:31:00 salome kernel: ACPI: Added _OSI(Module Device)
dic 25 21:31:00 salome kernel: ACPI: Added _OSI(Processor Device)
dic 25 21:31:00 salome kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
dic 25 21:31:00 salome kernel: ACPI: Added _OSI(Processor Aggregator Device)
dic 25 21:31:00 salome kernel: ACPI: Executed 1 blocks of module-level executable AML code
dic 25 21:31:00 salome kernel: ACPI: Interpreter enabled
dic 25 21:31:00 salome kernel: ACPI: (supports S0 S1 S4 S5)
dic 25 21:31:00 salome kernel: ACPI: Using IOAPIC for interrupt routing
dic 25 21:31:00 salome kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 *6 7 10 11 12 14 15)
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 12 14 15)
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
dic 25 21:31:00 salome kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
dic 25 21:31:00 salome kernel: ACPI: Enabled 2 GPEs in block 00 to 1F
dic 25 21:31:00 salome kernel: ACPI: bus type USB registered
dic 25 21:31:02 salome kernel: ACPI: Power Button [PWRB]
dic 25 21:31:02 salome kernel: ACPI: Power Button [PWRF]
dic 25 21:31:03 salome kernel: ACPI Warning: SystemIO range 0x0000000000000480-0x00000000000004AF conflicts with OpRegion 0x0000000000000480-0x00000000000004AF (\GPR2) (20150930/utaddress-245)
dic 25 21:31:03 salome kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[salome@salome ~]$ journalctl | grep "kernel: PM"
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0x00097000-0x00097fff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0x00098000-0x0009ffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0x000a0000-0x000e3fff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0x000e4000-0x000fffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xdbf80000-0xdbf8ffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xdbf90000-0xdbfdffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xdbfe0000-0xdbffffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xdc000000-0xfedfffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xfee01000-0xffefffff]
dic 25 21:31:00 salome kernel: PM: Registered nosave memory: [mem 0xfff00000-0xffffffff]
dic 25 21:31:00 salome kernel: PM: Registering ACPI NVS region [mem 0xdbf90000-0xdbfdffff] (327680 bytes)
dic 25 21:31:00 salome kernel: PM: Hibernation image not present or could not be loaded.
[salome@salome ~]$

UPDATE:
I made other searches:

So i tried to reinstalling all the input device driver stuff related:

sudo pacman -S libinput xf86-input-evdev xf86-input-libinput xf86-input-void xf86-input-synaptics xf86-input-wacom lib32-libxi libcdio libxi linuxconsole xorg-server

I use nouveau drivers, so I setted the line GRUB_CMDLINE_LINUX= in my /etc/default/grub file like that:

GRUB_CMDLINE_LINUX="clocksource=tsc noveau.modeset=1"

For now, the problem seems to be fixed, but, never say never

I move this to this other topic (as usual, systemd sucks)