Freezing a lot lately

I use Arch myself as it’s more in my control.
In some rare cases, AI configurations may be unpredictable and difficult to solve issues. AI has no mind of their own :wink:.

This is based on a feeling, you know that. :wink:
Because you have Arch experience, if you decide to find what is the real problem of those freezings, you would be a great asset in this support forum!!


I am sorry I marked the topic solved, by misunderstanding.
It might be better stay open until it’s really solved.

1 Like

I noticed a few years back some Lenovo-specific laptop power management packages were available in the Arch repositories…I believe they dealt with ACPI? Your description sounds like it might be related to power management issues.

Sorry for such a vague description. I also run Garuda dr460nized on a 2014 4th Gen Haswell laptop, a Dell, but without your issues.

regards

EDIT: Are you running the latest BIOS update?

1 Like

Have you tried disabling Baloo?

Have you tried disabling the compositor completely as a test?

1 Like

I have disabled file indexers since day one. I tried to disable the compositor but I can easily get to the unresponsive mode where after opening up a bunch of web browsers, clicking on the top bar on the wifi button will get stuck with the rest of the desktop for 10 seconds.

You have not answered this question as yet ^^^^

Have you been monitoring your CPU and Memory usage? Are there large spikes in either that coincide with your system becoming unresponsive?

I also suggest you test the linux and linux-hardened kernels.

You may also want to test installing this package:

https://archlinux.org/packages/community/any/throttled/

You may want to uninstall or disable/mask “thermald” as it may conflict with the throttling fix in this package.

Then run in terminal:

systemctl enable --now lenovo_fix.service
2 Likes

Yes I’m running the latest BIOS update from November 2020.

I didn’t notice any particular spike in memory or CPU usage. It happens even without being loaded.

Thanks for the pointer. I remember installing that lenovo_fix thing on my previous ArchLinux running on this laptop.

I also encountered freezing just after installation , for me it was linux-tkg-bmq 5.10 kernel causing the issue , Now i have switched to linux-lts and everything is just fine .

3 Likes

I have a found a somewhere stable combination for my configuration

  • intel_pstate=active added to kernel options. Without it it would be automatically set to passive and my CPU would get stuck to 400MHz when running on battery.
  • linux-zen kernel. When using linux-tkg-bmq with intel_pstate=active it was actually the worst combination with lots of lags.
  • Compositor backend set to Xrender (for now). In that case I can leave VSync to auto. If I switch to OpenGL 2 or 3.1 then I have to disable VSync otherwise people joining my Zoom sessions see a lot of artifacts when sharing my screen.
  • I also disabled ananicy for a while and I recently enabled it back to see if it makes things better or not.

Now I'm experiencing regular kwin crashes (other forum post) with coredump and that leads to latte-dock to disappear which can be annoying since I don't have any other top or side bar to interact with.

2 Likes

Garuda uses auto-cpufreq by default.
Maybe you would want to check its status and look into any possible interference to your issue.

IIRC in such cases, latte runs in the background. You can popup Running tasks (Ctrl-Esc), kill latte and start again using kRunner (Alt+F2 or just type when desktop is focused).

3 Likes

Thanks everybody for your patience but I have had even more repeating full freezes lately. I have decided to leave Garuda Linux and go back to vanilla Arch Linux or eventually Manjaro.

1 Like

Recently tried Garuda Linux as well and from what I've seen the system freeze happens after updating to latest linux-tkg-bmq release although linux-zen was affected as well so it might be the zenify patches that broke the system.

When using a fresh installed version from current iso, the system is fine. I went back to the first ever timeshift backup and it was fine as well, although I accidentally break that backup I think since I'm not used to booting to timeshift btrfs backup from grub.

I think the issue primarily has something to do with disk I/O because I noticed the system will always freeze after some disk activity - it pretty much freeze instantly when I start Steam and the game download (on second HDD) resumes and I was barely able to install other kernel.

Still, linux-lts seems fine and whatever version the one that shipped with the iso is fine. Is there a way to manually install that version of the kernel? The kernel installer only have the latest version and the OOTB kernel isn't in the cache anymore after upgrade.

I use an AMD 3400G and RX570 btw if it's relevant.

Edit: seems to affect all of linux-tkg and linux-xen based builds, although linux-xanmod is safe. Can't install the unmodified (? the one that is just linux, not mainline or anything) arch linux kernel for some reason, something with timeshift from the log.

If you think you need support for your system, please, start a new topic, as no system is the same.

1 Like

I only experience those freezings when I update the system, sometimes while it's updating it Freezes Completly.

System:
  Kernel: 5.10.14-119-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
  root=UUID=30f871dd-7d1e-48fd-8a77-9fcbb44a5f1a rw rootflags=subvol=@ quiet splash 
  rd.udev.log_priority=3 vt.global_cursor_default=0 
  systemd.unified_cgroup_hierarchy=1 loglevel=3 
  Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM 
  Distro: Garuda Linux 
Machine:
  Type: Laptop System: Dell product: Inspiron 15 7000 Gaming v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 0P84C9 v: A01 serial: <filter> UEFI: Dell v: 1.12.1 
  date: 06/19/2020 
Battery:
  ID-1: BAT0 charge: 41.9 Wh condition: 41.9/74.0 Wh (57%) volts: 12.6/11.4 
  model: SMP DELL 71JF452 type: Li-poly serial: <filter> status: Full 
CPU:
  Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake 
  family: 6 model-id: 9E (158) stepping: 9 microcode: DE L2 cache: 6 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44840 
  Speed: 3448 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3448 2: 3542 3: 3662 
  4: 3268 5: 3308 6: 3413 7: 3275 8: 3296 
  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 HD Graphics 630 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:591b class ID: 0300 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell driver: nvidia 
  v: 460.39 alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1c8c 
  class ID: 0300 
  Device-3: Realtek Integrated Webcam type: USB driver: uvcvideo bus ID: 1-12:4 
  chip ID: 0bda:568a class ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.3.4 
  direct render: Yes 
Audio:
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
  bus ID: 00:1f.3 chip ID: 8086:a171 class ID: 0403 
  Sound Server: ALSA v: k5.10.14-119-tkg-bmq 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
  driver: r8169 v: kernel port: d000 bus ID: 02:00.0 chip ID: 10ec:8168 
  class ID: 0200 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell 
  driver: ath10k_pci v: kernel port: d000 bus ID: 03:00.0 chip ID: 168c:003e 
  class ID: 0280 
  IF: wlp3s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-4:3 
  chip ID: 0cf3:e007 class ID: e001 
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus ID: 1-4:3 
  chip ID: 0cf3:e007 class ID: e001 
  Message: Required tool hciconfig not installed. Check --recommends 
Drives:
  Local Storage: total: 1.82 TiB used: 592.2 GiB (31.8%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: KingDian model: NGFF 2280 1TB SSD 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 9A0 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm 
  serial: <filter> rev: 3D scheme: GPT 
Partition:
  ID-1: / raw size: 100.59 GiB size: 100.59 GiB (100.00%) used: 20.37 GiB (20.2%) 
  fs: btrfs dev: /dev/sda3 maj-min: 8:3 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 560 KiB (0.2%) 
  fs: vfat dev: /dev/sda1 maj-min: 8:1 
  ID-3: /home raw size: 830.63 GiB size: 830.63 GiB (100.00%) 
  used: 66.48 GiB (8.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 
  ID-4: /var/log raw size: 100.59 GiB size: 100.59 GiB (100.00%) 
  used: 20.37 GiB (20.2%) fs: btrfs dev: /dev/sda3 maj-min: 8:3 
  ID-5: /var/tmp raw size: 100.59 GiB size: 100.59 GiB (100.00%) 
  used: 20.37 GiB (20.2%) fs: btrfs dev: /dev/sda3 maj-min: 8:3 
Swap:
  Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
  ID-1: swap-1 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram0 
  ID-2: swap-2 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram1 
  ID-3: swap-3 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram2 
  ID-4: swap-4 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram3 
  ID-5: swap-5 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram4 
  ID-6: swap-6 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram5 
  ID-7: swap-7 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram6 
  ID-8: swap-8 type: zram size: 2.92 GiB used: 0 KiB (0.0%) priority: 32767 
  dev: /dev/zram7 
Sensors:
  System Temperatures: cpu: 58.0 C mobo: 46.0 C sodimm: SODIMM C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 290 Uptime: 21h 35m wakeups: 5 Memory: 23.35 GiB 
  used: 5.69 GiB (24.4%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages: 
  pacman: 1807 lib: 533 Shell: Zsh v: 5.8 running in: konsole inxi: 3.3.01 

And if you change the brtfs mount parameters in /etc/fstab ? Please test it, for me this solved the problem! Have nice day! (from commit=120 0 2 to 15 0 2)

1 Like