System freezes randomly while browsing

Hi!

I’m encountering random freezes while using the computer. It often happens while I’m browsing the web on Firefox, but I’m pretty sure it already happened while on another software - not entirely sure though.
The screen becomes unresponsive for a couple of seconds and then I can resume my activity just fine. It’s quite annoying as it can happen multiple time in a day (in an hour, but I don’t use this computer so much).

Here is the result of inxi --admin --verbosity=7 --filter --width:

System:
  Kernel: 5.15.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=2fde2a8e-662a-4785-af6a-6789c1793894 rw quiet splash apparmor=1
    security=apparmor resume=UUID=bab496d4-73f8-4f43-a65b-70760fc3f339
    udev.log_priority=3
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20HN0016MD v: ThinkPad X270
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20HN0016MD v: SDK0J40697 WIN
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: R0IET55W (1.33 )
    date: 09/14/2018
Battery:
  ID-1: BAT0 charge: 18.5 Wh (100.0%) condition: 18.5/23.5 Wh (78.8%)
    volts: 12.6 min: 11.4 model: LGC 45N1113 type: Li-ion serial: <filter>
    status: Full cycles: 23
  ID-2: BAT1 charge: 9.7 Wh (57.7%) condition: 16.8/23.5 Wh (71.7%)
    volts: 11.5 min: 11.4 model: LGC 45N1127 type: Li-ion serial: <filter>
    status: Discharging cycles: 66
Memory:
  RAM: total: 15.17 GiB used: 5.15 GiB (33.9%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake
    note: check family: 6 model-id: 0x8E (142) stepping: 9 microcode: 0xEA
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 915 high: 933 min/max: 400/3100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 928 2: 933 3: 900 4: 900
    bogomips: 21607
  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 erms est f16c
    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 sgx smap smep ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tsc tsc_adjust tsc_deadline_timer vme
    x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  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 HD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
  Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:4
    chip-ID: 5986:111c class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org 1.21.1.3 compositor: gnome-shell driver:
    loaded: i915 note: n/a (using device driver) - try sudo/root display-ID: 0
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.19-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d8 class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 03:00.0 chip-ID: 8086:24fd 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-7:3 chip-ID: 8087:0a2b class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 22 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 238.47 GiB used: 85.67 GiB (35.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo
    model: LENSE20256GMSP34MEAT2TA size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2.8.8341 temp: 40.9 C scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 229.67 GiB size: 225 GiB (97.97%) used: 85.67 GiB (38.1%)
    fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 2fde2a8e-662a-4785-af6a-6789c1793894
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2 maj-min: 259:2 label: swap
    uuid: bab496d4-73f8-4f43-a65b-70760fc3f339
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: Alcor Micro AU9540 Smartcard Reader type: Smart Card
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 50mA
    chip-ID: 058f:9540 class-ID: 0b00
  Device-2: 1-7:3 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2b class-ID: e001
  Device-3: 1-8:4 info: Acer Integrated Camera type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:111c
    class-ID: 0e02 serial: <filter>
  Device-4: 1-9:27 info: Validity Sensors type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 138a:0097 class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 49.0 C pch: 46.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 227 Uptime: 6d 23h 32m wakeups: 285 Init: systemd v: 250
  tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: 1228
  pacman: 1215 lib: 319 flatpak: 13 Shell: Zsh v: 5.8 running-in: kitty
  inxi: 3.3.12

I can provide additional informations if needed. What should I look at / research?
Thank you very much for any help provided.

Have a great day.

Classic troubleshoot here involves monitoring your system.
Given your hardware, probable bottlenecks would be:

  • disk read/write (may involve CPU)
  • CPU
  • GPU

You could also monitor system logs, but i doubt you’d find anything relevant…


Does it happen only on battery? Only when plugged in? Both?

Thanks for your reply.
This is a pretty fresh install for me so I’m kind of (re)discovering the linux world and I’m trying to find / learn good ways to monitor and find clues as to what bottlenecks are involved.
It does happen plugged in and on battery. I’m using the power saver mode, could it be interfering in any meaningful way? Do you have pointers to documentation that could be of some help?

Thanks again.

I got that around one of the freezes.

JS ERROR: Error: Expected an object of type ClutterActor for argument 'sibling' but got type undefined
                                               _syncStacking@resource:///org/gnome/shell/ui/workspaceAnimation.js:80:18 

and a lot of errors around Touchégg.

Error connecting to Touchégg daemon: Could not connect: Connection refused

I will dive a bit into that to see if it has something to do with it.

Consider updating BIOS to latest version - BIOS Update - ThinkPad X270 - Lenovo Support

Thanks! I did it by following a guide (can I link it for reference to future readers?).
We’ll see if it does the trick.

Hi again! I did update the BIOS but I’m still getting these small freezes every few minutes.
I am going to dig a bit more into logs to try to find out and will update the thread if I find something.
Thank you for your answers.

I’m still getting them, watched for odd temperatures, CPU / RAM usage and didn’t find anything. No luck in the logs either. It could come from the SSD, I’m trying to gather information on this, will update if this gets resolved.

I believe that when it happens, everything is still going on “under the hood”, only the image is frozen. For example, I can still click on the screen, and the sound is still on.

A post was split to a new topic: Random system freeze while browsing

A post was merged into an existing topic: Random system freeze while browsing