Any and all windows can start stuttering and just not stop. Sometimes its just one instance, sometimes it cascades to other windows from other applications. This is usually fixed by just closing the window and opening it again (discord/telegram) or restarting the program (firefox, as i can’t transfer all my tabs at once, esp. with a stutter).
This seems to be an issue related to wayland as it has only started in the last 1 or 2 months.
Any info I can provide, I will gladly, just ask for it and explain how to get it.
relevant neofetch info:
OS: EndeavourOS Linux x86_64
Uptime: 3 days, 9 hours, 44 mins
Packages: 1416 (pacman), 6 (flatpak)
DE: Plasma 5.25.2
Lets say i start a video, it starts repeating the same video clip every 3 seconds, even as I can hear the audio continue on normally. Selecting a different tab is impossible, without alt-tabbing twice, opening a new tab same issue, etc. Basically it gets stuck in a loop showing the same thing and while clicks obviously do something (as i can close a tab, hear the video stop playing, yet visually nothing has changed) One way I found to still see a somewhat low framerate video is to just alt tab constantly. For whatever reason, focusing elsewhere and back allows it to redraw whatever it was missing.
I believe it is wayland because wayland is the big new thing which has been added somewhat recently to pretty much every program and things worked fine just a few months ago. And because the issue seems to not be related to any specific program, as it seems to affect any random number of programs. I notice it by firefox the most, but I had it cascade down towards discord, and in rare instances go from discord and appear on firefox. At one point I noticed sysmonitor being affected as well. I know that firefox runs wayland, as I checked about:support and ctrl-f for “wayland” and found several results. If you have another way to check other programs, I am willing to check elsewhere as well.
Maybe uptime is the issue, as it tends to happen more often the longer the machine is running the same session (i update and restart once a week).
I am not sure if it is the same issue or not but I see nearly the exact same behaviour as you on my machine. It starts after the machine has been up and running for some period of time(days). Impacts applications seemingly randomly. It doesn’t seem to be related to actual application performance, purely the way that they are drawn on the screen. The result is that either blink, loop back and forth or somply don’t redraw at all unless I trigger a redraw by switching desktops back and forth or taking some other action which triggers a redraw.
I see this behavior on both X11 and wayland. I am not sure if it is the same thing you are seeing but I have never heard of anyone else but me with those symptoms before.
So turns out that the latest BIOS update was about “Fix AMD fTPM issue causes random stuttering.” While i have flashed the bios with the new update (hadn’t needed to for the last 3 years), i somehow doubt that memory writing stutters would only affect the drawing of specific programs. But who knows, it might help.
Update: Just happened to discord with me, seems the bios update didn’t fix things . Started a video, got near the end and it started repeating the same few frames. Minimized video and alt-tabbed from and back to discord and now all of discord is having the same loop issue.