tsoj
26 February 2021 20:37
1
When I wake up my notebook from standby and use my mouse (or touchpad, doesn’t make a difference) to slide up the login screen to get to the password enter thingy, the system freezes for 10 - 20 seconds (sometimes everything works fine, but it is not reproducible).
When I first use my keyboard it sometimes completely freezes (forever if I don’t force reboot) or my keyboard doesn’t work anymore (making it difficult to enter my password).
This problem persists in 5.10 Kernel, and it also happened in 5.4.
My System:
System: Host: tsoj-swift Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 Desktop: GNOME 3.38.3 Distro: Manjaro Linux
Machine: Type: Laptop System: Acer product: Swift SF314-52 v: V1.08 serial: <superuser required>
Mobo: KBL model: Suntory_KL v: V1.08 serial: <superuser required> UEFI: Insyde v: 1.08 date: 11/28/2017
Battery: ID-1: BAT0 charge: 33.5 Wh condition: 33.5/50.8 Wh (66%)
CPU: Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP L2 cache: 6 MiB
Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Device-2: Chicony HD WebCam type: USB driver: uvcvideo
Display: wayland server: X.org 1.20.10 driver: loaded: modesetting unloaded: intel resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.4
Audio: Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.10.15-1-MANJARO
Network: Device-1: Intel Wireless 7265 driver: iwlwifi
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
Message: Required tool hciconfig not installed. Check --recommends
Drives: Local Storage: total: 238.47 GiB used: 207.49 GiB (87.0%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW256G7 size: 238.47 GiB
Partition: ID-1: / size: 225.47 GiB used: 206.26 GiB (91.5%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 299.4 MiB used: 280 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1
Swap: ID-1: swap-1 type: partition size: 8.1 GiB used: 1.22 GiB (15.1%) dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 39.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 248 Uptime: 10h 20m Memory: 7.65 GiB used: 3.31 GiB (43.2%) Shell: fish inxi: 3.3.01
How can I investigate this issue, or even resolve it?
Fabby
28 February 2021 20:36
2
Please post the following:
inxi --admin --verbosity=7 --filter --no-host --width
free --human
for szFile in /proc/*/status ; do
awk '/VmSwap|Name/{printf $2 "\t" $3}END{ print "" }' "$szFile"
done | sort --key 2 --numeric --reverse | head --lines=20
because the information you did provide does not provide any RAM usage (looks like swapping in)
tsoj
1 March 2021 01:02
3
System:
Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
udev.log_priority=3
Desktop: GNOME 3.38.3 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 3.38.2.1
Distro: Manjaro Linux
Machine:
Type: Laptop System: Acer product: Swift SF314-52 v: V1.08 serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: KBL model: Suntory_KL v: V1.08 serial: <filter> UEFI: Insyde v: 1.08
Battery:
ID-1: BAT0 charge: 33.7 Wh condition: 33.7/50.8 Wh (66%) volts: 16.1/15.3
model: AC14B7K type: Li-ion serial: N/A status: Full
Memory:
RAM: total: 7.65 GiB used: 6.55 GiB (85.6%)
Array-1: capacity: 8 GiB slots: 2 EC: None max module size: 4 GiB note: est.
Device-1: ChannelA-DIMM0 size: 4 GiB speed: 2400 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: SK Hynix part-no: HMA851S6AFR6N-UH serial: N/A
Device-2: ChannelB-DIMM0 size: 4 GiB speed: 2400 MT/s type: DDR4
detail: synchronous unbuffered (unregistered) bus width: 64 bits
total: 64 bits manufacturer: SK Hynix part-no: HMA851S6AFR6N-UH serial: N/A
CPU:
Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP
arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: A (10)
microcode: E0 L2 cache: 6 MiB bogomips: 28808
Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800
4: 800 5: 800 6: 800 7: 800 8: 800
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art
avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts
rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
xsaves xtopology xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:5917 class ID: 0300
Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus ID: 1-7:4
chip ID: 04f2:b5f7 class ID: 0e02
Display: wayland server: X.org 1.20.10 compositor: gnome-shell driver:
loaded: modesetting unloaded: intel alternate: fbdev,vesa display ID: 0
resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.4
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3
chip ID: 8086:9d71 class ID: 0403
Sound Server: ALSA v: k5.10.15-1-MANJARO
Network:
Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 3040
bus ID: 03:00.0 chip ID: 8086:095a class ID: 0280
IF: wlp3s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus ID: 1-6:3 chip ID: 8087:0a2a class ID: e001
Message: Required tool hciconfig not installed. Check --recommends
RAID:
Message: No RAID data was found.
Drives:
Local Storage: total: 238.47 GiB used: 210.83 GiB (88.4%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKKW256G7
size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 rotation: SSD serial: <filter> rev: PSF109C temp: 20.9 C
scheme: GPT
Message: No Optical or Floppy data was found.
Partition:
ID-1: / raw size: 230.08 GiB size: 225.47 GiB (98.00%)
used: 208.79 GiB (92.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 24742d0a-44c0-442d-9f3c-7006c2f5b158
ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%)
used: 280 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: 5315-C9F3
ID-3: /run/timeshift/backup raw size: 230.08 GiB size: <superuser required>
used: <superuser required> fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 24742d0a-44c0-442d-9f3c-7006c2f5b158
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.1 GiB used: 2.04 GiB (25.2%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
uuid: d1c6b4f3-ff23-4bda-b566-5e08f872be4f
Unmounted:
Message: No Unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002 class ID: 0900
Device-1: 1-5:2 info: Logitech M-U0007 [Corded Mouse M500] type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
chip ID: 046d:c069 class ID: 0301
Device-2: 1-6:3 info: Intel Bluetooth wireless interface type: Bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 8087:0a2a
class ID: e001
Device-3: 1-7:4 info: Chicony HD WebCam type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s chip ID: 04f2:b5f7 class ID: 0e02
Device-4: 1-8:5 info: Realtek RTS5129 Card Reader Controller
type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
interfaces: 1 rev: 2.0 speed: 480 Mb/s chip ID: 0bda:0129 class ID: ff00
serial: <filter>
Device-5: 1-9:7 info: LighTuning EgisTec Touch Fingerprint Sensor
type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 254 Uptime: 3h 25m wakeups: 2 Init: systemd v: 247 Compilers:
gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1789 lib: 451 flatpak: 0
Shell: fish v: 3.1.2 default: Bash v: 5.1.0 running in: gnome-terminal
inxi: 3.3.01
total used free shared buff/cache available
Mem: 7.7Gi 3.4Gi 439Mi 3.0Gi 3.8Gi 1.0Gi
Swap: 8.1Gi 2.0Gi 6.1Gi
gnome-shell 40620 kB
firefox 33964 kB
python3 26448 kB
tracker-miner-f 20756 kB
WebExtensions 20300 kB
Xwayland 19612 kB
ibus-x11 17400 kB
gsd-xsettings 17072 kB
seahorse 15028 kB
evolution-alarm 14640 kB
gnome-calendar 14260 kB
ibus-extension- 11804 kB
goa-daemon 6380 kB
gjs 5176 kB
gsd-keyboard 4204 kB
gsd-color 4008 kB
ibus-daemon 3768 kB
evolution-calen 3168 kB
gsd-wacom 2964 kB
evolution-sourc 2664 kB
Fabby
1 March 2021 09:21
4
As I suspected… What is happening when you go to Hibernate is the following:
Kernel and all applications get swapped out
shutdown
When you get back from hibernation:
Kernel and DE gets swapped in
Applications get swapped in on an as-needed basis
So:
notice it will happen when you have a lot of applications running.
The resolution is:
Add more RAM
set your swappiness to 90 and your cache pressure to 75
If you cannot afford #1 , try #2 above anyway: it might help (a bit)
OR
use sleep instead of hibernate: then you don’t need any additional HW…
tsoj
1 March 2021 13:44
5
Thanks for your reply.
It seems like it indeed happens less if I have no applications open, but it still happens about every second time. (I am using sleep (Bereitschaft) not hibernate, if I am not completely mistaken.)
The keyboard freeze (i.e. if I use the keyboard quickly after resuming from sleep/standby, it stops working) still happens regardless if applications are running or not.
Fabby
1 March 2021 13:47
6
If that happens, use the on-screen virtual keyboard to log in and hibernate again. (=no need to reboot)