You are not logged in.
Pages: 1
It recently started to happen at a random time pc stutters, like 3-4 times in a day, when stutter happens it takes like 1 or 2 seconds long, mouse cursor affected, sound gets stutter like small noise cuts, and all things lag, if i am playing a game, game fps drops to 5 or something, and since i could not move mouse as normally, i die in a multiplayer game that critical moment.
Because it happens unknown amount of time at indefinite intervals, i am unable to tell what causes it to happen, because it may happen regardless of if there is any application is running around or not.
I want to know how to detect what causes this, maybe if possible, record the cpu and resource usage and list of running processes to inspect them later when problem occured. Is there such program exist? or perhaps i could use a bash file that saves output of ps to a file periodically, but it's granularity may not be enough to detect a 1 second stutter i guess.
Edit: When i was using windows in past, there was some software that detects reason of audio stuttering if there is any, simply running that program while using pc, and after stutter happens, program reports what causes it and you could fix the problem easily, perhaps there is similar tools in linux too but i am not aware of yet.
Last edited by evren320 (2023-03-20 10:32:27)
Offline
When i was using windows in past, there was some software that detects reason of audio stuttering
https://imgs.xkcd.com/comics/wikipedian_protester.png
However, because of
mouse cursor affected … game fps drops to 5 or something
that's also not relevant.
The symptoms sound like you're running OOM but also check the system journal and for coredumps in the aftermath, https://wiki.archlinux.org/title/Core_d … _core_dump
As for the OOM, the filesystem indexers of the fat desktops and recently the wireplumber camera plugin are prone to this.
Also look at https://archlinux.org/packages/community/x86_64/nmon/ and https://aur.archlinux.org/packages/collectd
Offline
How up to date is your system and ist it a Ryzen CPU? This sounds like the TPM stutters due to hwrng usage. The issue should be worked around in the 6.2.6+ kernels and can be fixed without that via a UEFI upgrade/disabling fTPM in the UEFI.
Offline
System Specs:
AMD Ryzen 9 5950X
AMD Radeon RX 6900XT
128GB memory
4TB nvme
4K Monitor
Software is KDE Plasma desktop and window manager, SDDM, Xorg, Kernel 6.1 currently.
I update os like once a month manually.
KDE file indexer is disabled, a software called "tracker" was exist and disabled too.
Wireplumber and anything related to wireplumber is not installed.
This is the windows software that detects stutters, i have used it in past and it effectively finds the reason, it would be usually a dll file or a network driver that came with some program, or another program that runs in the background:
https://www.resplendence.com/whysoslow
I will try nmon and collectd and report results later.
Offline
You almost certainly are running into the TPM stutter. Update to 6.2.6 (or iirc 6.1.19 should have it as well) or disable ftpm in your UEFI if you do not need it.
Offline
i have disabled fTPM in the UEFI, but stutter still happened after that 1 time in several hours.
Offline
Problem solved after updating kernel to 6.1.19
Tested for several days, everything is fine
Offline
Pages: 1