Huge lag spikes and force to restart pc

over the last few days my pc will lag and become totally unusable if i press any button or do anything at all whilst its slowing down/jittering. Usually, one screen is ok- my secondary screen does not lock up until a min later (if i leave it that long).
It feels like i am over loading my pc with tabs and programs but im not doing anything out of the norm :confused:
i have tried other kernels but, again, i have changed nothing from when it was working at full fluency.

output of innx fizza:

System:    Kernel: 5.10.15-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
           root=UUID=8385376e-058c-4190-b13c-0411b1ce92e4 rw rootflags=subvol=@ quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           resume=UUID=25f83cb9-6cfa-4fc0-9ebb-5459b0de6e09 loglevel=3
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Garuda Linux
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME B350-PLUS v: Rev X.0x serial: <filter>
           UEFI [Legacy]: American Megatrends v: 5220 date: 09/12/2019
CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ family: 17 (23)
           model-id: 8 stepping: 2 microcode: 800820D L2 cache: 3 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92211
           Speed: 3660 MHz min/max: 1550/3850 MHz boost: enabled Core speeds (MHz): 1: 3660
           2: 3715 3: 3473 4: 3498 5: 3711 6: 3678 7: 3799 8: 3704 9: 3837 10: 3476 11: 3424
           12: 3722
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           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 AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1060 6GB] vendor: Gigabyte driver: nvidia
           v: 460.39 alternate: nouveau,nvidia_drm bus ID: 09:00.0 chip ID: 10de:1b83
           class ID: 0300
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: nvidia
           display ID: :0 screens: 1
           Screen-1: 0 s-res: 3840x1431 s-dpi: 101 s-size: 967x360mm (38.1x14.2")
           s-diag: 1032mm (40.6")
           Monitor-1: DP-0 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2") diag: 686mm (27")
           Monitor-2: DVI-D-1 res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.8x10.6")
           diag: 547mm (21.5")
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39
           direct render: Yes
Audio:     Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel
           v: kernel bus ID: 09:00.1 chip ID: 10de:10f0 class ID: 0403
           Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 0b:00.3 chip ID: 1022:1457 class ID: 0403
           Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-3:2
           chip ID: 046d:081b class ID: 0102 serial: <filter>
           Sound Server: ALSA v: k5.10.15-zen1-1-zen
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK
           driver: r8169 v: kernel port: f000 bus ID: 03:00.0 chip ID: 10ec:8168 class ID: 0200
           IF: enp3s0 state: down mac: <filter>
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 bus ID: 08:00.0
           chip ID: 8086:2723 class ID: 0280
           IF: wlp8s0 state: up mac: <filter>
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus ID: 1-6:3
           chip ID: 8087:0029 class ID: e001
           Message: Required tool hciconfig not installed. Check --recommends
Drives:    Local Storage: total: 1.25 TiB used: 78.41 GiB (6.1%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Transcend model: TS256GSSD370S size: 238.47 GiB
           block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD
           serial: <filter> rev: 6KB scheme: GPT
           ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EZEX-08WN4A0
           size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
           rotation: 7200 rpm serial: <filter> rev: 1A02 scheme: GPT
           ID-3: /dev/sdc maj-min: 8:32 vendor: SanDisk model: SSD PLUS 120GB size: 111.8 GiB
           block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD
           serial: <filter> rev: 00RL scheme: MBR
Partition: ID-1: / raw size: 94.61 GiB size: 94.61 GiB (100.00%) used: 78.41 GiB (82.9%)
           fs: btrfs dev: /dev/sdc1 maj-min: 8:33
           ID-2: /home raw size: 94.61 GiB size: 94.61 GiB (100.00%) used: 78.41 GiB (82.9%)
           fs: btrfs dev: /dev/sdc1 maj-min: 8:33
           ID-3: /var/log raw size: 94.61 GiB size: 94.61 GiB (100.00%) used: 78.41 GiB (82.9%)
           fs: btrfs dev: /dev/sdc1 maj-min: 8:33
           ID-4: /var/tmp raw size: 94.61 GiB size: 94.61 GiB (100.00%) used: 78.41 GiB (82.9%)
           fs: btrfs dev: /dev/sdc1 maj-min: 8:33
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
           ID-1: swap-1 type: partition size: 17.19 GiB used: 0 KiB (0.0%) priority: -2
           dev: /dev/sdc2 maj-min: 8:34
           ID-2: swap-2 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram0
           ID-3: swap-3 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram1
           ID-4: swap-4 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram2
           ID-5: swap-5 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram3
           ID-6: swap-6 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram4
           ID-7: swap-7 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram5
           ID-8: swap-8 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram6
           ID-9: swap-9 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram7
           ID-10: swap-10 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram8
           ID-11: swap-11 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram9
           ID-12: swap-12 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram10
           ID-13: swap-13 type: zram size: 1.3 GiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram11
Sensors:   System Temperatures: cpu: 43.6 C mobo: N/A gpu: nvidia temp: 57 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:      Processes: 347 Uptime: 4m wakeups: 0 Memory: 15.63 GiB used: 2.86 GiB (18.3%)
           Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1823
           lib: 549 Shell: fish v: 3.1.2 default: Bash v: 5.1.4 running in: alacritty
           inxi: 3.3.01

Generally that sort of thing doesn't happen without leaving some sort of trail of bread crumbs in your logs.

https://wiki.archlinux.org/index.php/Systemd/Journal

4 Likes

I have same issue.. after my system updated to the new update. When I run Lutris and launch blizzard gaming software.. everything works fine until I go to launch Diablo3.. I get to my character page and game freezes, no keystroke works.. I have to power off and restart comp.

IIRC 5.21 is out. But KDE confused me often.

1 Like

output of journalctl:

-- Journal begins at Tue 2021-02-02 11:17:17 GMT, ends at Tue 2021-03-02 14:37:11 GMT. --
Feb 02 11:17:17 teritrot kernel: Linux version 5.10.10-114-tkg-bmq (linux-tkg-bmq@archlinux) (gcc (>
Feb 02 11:17:17 teritrot kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq root=UUID=8>
Feb 02 11:17:17 teritrot kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point regis>
Feb 02 11:17:17 teritrot kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Feb 02 11:17:17 teritrot kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Feb 02 11:17:17 teritrot kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Feb 02 11:17:17 teritrot kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, u>
Feb 02 11:17:17 teritrot kernel: BIOS-provided physical RAM map:
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d3ff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000009d400-0x000000000009ffff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009e0ffff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x0000000009e10000-0x0000000009ffffff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000a200000-0x000000000a20afff] ACPI NVS
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000a20b000-0x000000000affffff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x000000000b020000-0x00000000d17b9fff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000d17ba000-0x00000000d17d6fff] ACPI data
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000d17d7000-0x00000000da65afff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000da65b000-0x00000000da798fff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000da799000-0x00000000da7a5fff] ACPI data
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000da7a6000-0x00000000da8adfff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000da8ae000-0x00000000dac6efff] ACPI NVS
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000dac6f000-0x00000000db77cfff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000db77d000-0x00000000ddffffff] usable
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000de000000-0x00000000dfffffff] reserved
Feb 02 11:17:17 teritrot kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved

I managed to copy this just after it happened. The first line says it "... ends ... 14:37:11 GMT" that time stamp is when i did the journalctl command, but i dont see a line with that date. Either way, the issue occured perhaps 5min before this latest time.

without ruining why whole system, i am not sure how to change DEs. Although with my experience its hard to tell what is kde or what is a program or what is anything else- I do believe that kde is a total, buggy, pain. :stuck_out_tongue:

I have run KDE since many years and I do not find this the case with Plasma’s current state. Perhaps this is more a “PEBKAC” type issue. :wink:

2 Likes

perslaps. Though even if i wanted to, i wouldnt know how to make my input feel like its refreshing at 1hz/min

Have you tried masking or disabling the services in the performance tweaks package. There's lots of information on the forum regarding that. The auto-cpufreq service being the one that was causing the most issues for users.

3 Likes

I am currently having a lot of stability issues with Latte-Dock(don't know if you are using it)
I downgraded from my pacman cache(sudo downgrade latte-dock-git) to a package from two weeks ago and the system seemed to be more stable again.
I posted about the specific issue on the gitlab page for latte-dock, but I haven't gotten a response yet

1 Like

I dont use latte no. Again, though, i thought it was kde given how similar the feel of it was (going round the settings n stuff) and it was really really buggy. Still dont know if it was that or what but thanks for your comment

No, I’m more a long time die hard KDE user. I always stick to the standard KDE setup not Latte.

You can always switch to the standard KDE version and alter it’s size and make it toggle just like a dock if you want. Personally, I like my KDE to be more or less standard. I’m not wound up in all the Dragonized visual tweaks. My installs are all before those editions came out and my system is far more vanilla KDE.

1 Like

I cant seem to remove it though garuda assistant. Just click on it yeah?
It comes up with “choose optional dependencies for auto-cpufreq-git” and going though it it just seems to re-install o.o

point in case about buggy-ness: just doing that whole opening garuda assistant > settings > click on thingy > [popup] > [OK] > [password] > decline > [password] > missclick full-screen and not close > visual glitch occurs, takes a moment, settles > close > same popup from before, must of clicked twice > cant close cos i already did > kill ID> does not work > get lucky and it dies

this is a common series of misshaps

yeah that's odd.
I have a similar MOBO with the same Chipset. My CPU is also at least somewhat similar (R5 1600)
I currently use the zen kernel(5.11) and the latest version of KDE 5.21. I have auto-cpufreq disabled.

I do see that you are using Nvidia Drivers 460.39.
I think I had stability issue with that specific version.
I was using the chaotic-nvidia-tkg drivers, though.
I switched to the nvidia-dkms drivers from the main Arch repository. I believe the version I use now is 460.51. After making the switch, I saw a stability improvement last week as well. Just throwing stuff out there, Nvidia Drivers can also be the culprit.

I would just click next on that step. I've seen it ask that before uninstalling stuff before. Just don't click any options and hit "next"

inxi -G                                  
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 460.56 
           Display: x11 server: X.Org 1.20.10 driver: loaded: nvidia resolution: 3840x2160~60Hz 
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56

Did he post that earlier? All I see above is 460.39 in the inxi -fizza
edit: that's your ouput @sgs oof

inxi -G
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1060 6GB] driver: nvidia v: 460.39 
           Display: x11 server: X.Org 1.20.10 driver: loaded: nvidia resolution: 1: 1920x1080 2: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39

:wink: oops wrong reply

yeah, i dont have that monitor

It appears you are using 460.39.
The other question would be is it Chaotic-Nvidia-tkg drivers or is it off of the regular Arch Linux Repository? The Chaotic-Nvidia-tkg drivers don't seem to play nicely with the Zen kernel