Shell lag/lockups every few seconds
I've noticed this mostly when playing games, but I can also tell just typing in a text editor from time to time. It seems like the shell is skipping frame or not processing any input every few seconds.
Using sysprof I can tell that there are gaps in the timeline of event processing :
You can see that the frame is dispatched 19ms too late.
Unfortunately looking at the backtraces doesn't give much information (looks like it's mostly JS code) :
Restarting the shell fixes the problem only for a few minutes though.
I'm using Ubuntu 22.04 (Gnome-Shell 42.4)
Edited by Lionel Landwerlin