I'm running a Mint 20.1 Mate edition and I recently noticed that after my laptops comes out of sleep, I'm getting sporadic system hangs.
First I noticed that my mouse cursor just stops for a few seconds, but then I realized that the whole system hangs.
Looking at the system monitor I can see that I'm getting spikes in the CPU load and these spikes are correlated with the system hangs: When I look at top output, I can see that the process causing these spikes is Xorg, goes up to 60-70%.
A restart solves the issue, but it's kinda annoying to restart the laptop after each sleep.
Any idea how to debug this further?
In case it helps here are the details of my setup:
Code: Select all
inxi -Fxxxz
System: Kernel: 5.4.0-72-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0
info: mate-panel, plank wm: marco 1.24.0 dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa
base: Ubuntu 20.04 focal
Machine: Type: Laptop System: LENOVO product: 81LL v: IdeaPad L340-17IRH Gaming serial: <filter> Chassis: type: 10
v: IdeaPad L340-17IRH Gaming serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <filter> UEFI: LENOVO v: BGCN33WW
date: 11/24/2020
Battery: ID-1: BAT0 charge: 6.9 Wh condition: 41.5/45.0 Wh (92%) volts: 11.5/11.5 model: Celxpert L18C3PF1
type: Li-poly serial: <filter> status: Charging cycles: 71
CPU: Topology: Quad Core model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Kaby Lake rev: A
L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38400
Speed: 1252 MHz min/max: 800/2400 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 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 460.73.01
bus ID: 01:00.0 chip ID: 10de:1f91
Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa
compositor: compton v: 0.1~beta2+20150922 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.6 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
chip ID: 8086:a348
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10fa
Sound Server: ALSA v: k5.4.0-72-generic
Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo driver: rtl8821ce
v: v5.5.2.1_35598.20191029 port: 4000 bus ID: 07:00.0 chip ID: 10ec:c821
IF: wlp7s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel
port: 3000 bus ID: 08:00.0 chip ID: 10ec:8168
IF: enp8s0 state: down mac: <filter>
Drives: Local Storage: total: 953.87 GiB used: 46.54 GiB (4.9%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB1T0HALR-000L2 size: 953.87 GiB speed: 31.6 Gb/s lanes: 4
serial: <filter> rev: 5L1QEXA7 scheme: GPT
Partition: ID-1: / size: 166.02 GiB used: 44.35 GiB (26.7%) fs: ext4 dev: /dev/nvme0n1p5
ID-2: swap-1 size: 14.93 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p7
Sensors: System Temperatures: cpu: 51.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 320 Uptime: 6d 4h 54m Memory: 15.52 GiB used: 4.98 GiB (32.1%) Init: systemd v: 245
runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: mate-terminal inxi: 3.0.38