Fix: Ubuntu 20.04 stuttering animations & video
Ok, this was driving me nuts, but I’m glad I finally figured it out thanks to this.
So the issue was: every 500ms or so, any graphic output would briefly freeze, be it a video playing, a page scrolling, or moving a window around. This issue was persistent right after I upgraded from Ubuntu 19.10 to Ubuntu 20.04.
The troublemaker: the issue was caused by the “System Monitor” extension. The extension was running in my app indicators toolbar, since I like seeing small bits of stats about CPU load, network usage, etc. Unfortunately, it seems that there is an issue with this extension on the newest version of Ubuntu.
Unsuccessful attempts: I tried reinstalling the Nvidia driver (390.132), tried to install the driver manually instead of using the Ubuntu Drivers tool. Switching to the Nouveau driver had no effect. Choosing a different session from the log in screen (Default Gnome) had no effect either, since my Gnome extensions were running there too for some reasons.
The solution: Disabling the “System Monitor” extension, instantly fixed the issue. If you have the extension running in the app indicators area, simply clicking on it, and choosing “Quit” will do the trick.
Update (June 10th, 2020): My suggestion above is to close the “System Monitor”, also known as the “Indicator Multiload” Gnome extension. If you don’t want to have to deal with closing the app on every system reboot, you can either choose to:
- Disable the extension by unchecking the “System Load Indicator” entry in “Startup Applications”. Hopefully the extension is fixed in the future, so you can re-enable this easily when that happens.
- If you want to completely remove the extension:
sudo apt-get purge --auto-remove indicator-multiloadwhich will remove the extension, its dependencies and the config data.
If you found this helpful, or have a suggestion for this article – let me know in the commentary section below 🙂
Thank you! You save me from wasting several hours on solving this!
Thanks, it helped!
This fixed my stutter problem on Ubuntu 21.10, on both Xorg and the default Wayland.
It can be produced by testing with a youtube video (YouTube 60fps Tester) or by moving windows around the desktop.
THANK YOU!!! I’d been spending days racking my brains trying to figure out the reason. I always thought it’s the wayland/xorg issue, or the driver, but NO, it’s a (relatively) harmless and simple Gnome extension. Almost got me to do a fresh install.
Now the animation is so smooth and I can finally watch videos in peace. Thank you again!
Removing indicator-multiload actually solved my problem on my MSI GT80 2QD laptop. Just upgraded from 18.04 to 20.04 and this issue drives me crazzy. You literally save my life. Thanks a lot and best of luck…
In my case, removing indicator-multiload didn’t help, but I was using NVIDIA GPU Stats Tool and disabling that actually solved my problem.
Thanks for sharing this, others might find it helpful!
you’re a god THANKS!
I suppose this has been getting on your nerves for a while 🙂 Glad it solved it for you
I have been finding an answer to my stutter of wireless audio for weeks and I stumbled on your post … you’re the man !!! … I uninstalled using snap store the system monitor and it works flawless … two thumbs up
Thanks a lot!! Trying to find solution for couple of days. This helped!! Thanks!!!
what would you try if disabling all extensions doesn’t work? i’ve tried switching the nvidia drivers to no avail and i’m trying to downgrade the kernel but then the screen is only 640×480. I have a fresh install of ubuntu 20 since june but this just happened now, i suspect that with a kernel upgrade but i’m not sure.
Any help will be greatly appreciated!!!
If it only started recently, see if this issue I created is related to what you are experiencing https://gitlab.gnome.org/GNOME/mutter/-/issues/1561 . If so, give it a thumbs up or provide extra details to help fix it. A quick way to see if this might be related is to run glxgears, and while that is running, see if the stuttering disappears.
This is insane. It literally worked. For me the issue was that I recently changed the refresh rate of my monitor tool from 5s to 1s. After changing back to 5s now its fixed!!!
Thank you very much. It was “System Load Indicator”.
I don’t have indicator-multiload and I have stuttering
Simply “sudo apt-get purge –auto-remove indicator-multiload” , reboot and the stuttering is gone. Thanks.
Wow, thank you a lot too, it helped me after just recently updating to 20.04 and installing my favorite system monitor. Now it has to stay disabled though.
Thanks buddy this solved my problem. But maybe we should make a bug report for the indicator multiloading?
it worked for me but i really do like having my monitor in the bar so kind of a bummer i cant keep it opened.
O.M.G thanks so much, I almost developed autism during the last week from this bugging me, and not once did it strike me that it could be the system monitor extension.
You saved me from doom, thanks!
Just upgraded yesterday 10.8.20. Still having this problem. None of these solutions applied in my case.
In my case, the gnome-system-monitor was not active although it is loaded in startup.
When I looked through all the hidden processes that were loaded at startup I was struck by the thought that Orca screen reader might be set to read my screens every 1-2 seconds like my video pauses.
I did NOT remove sys monitor but DID remove Orca from startup (along with the backup tool) and cured the problem.
Thanks for this! It’s been bugging me from day 1!
I’ve narrowed it down to the GPU monitor; disabling GPU “Display” and “Show In Menu” fixed it for me.
+1 thanks for posting! I had this problem too, although I’ll miss indicator-multiload as I’ve used it for many years previously and never had this problem :'(
+1, can’t believe how many hours I spent on this before finding your post
I’m surprised this extension was still “working” for you. It would randomly disappear on me when I upgraded to 19.04 a year or so ago so I removed it. Overall gnome extensions have caused me more pain than it’s worth so I removed all of them.
I find some Gnome extensions useful, although I agree they can be a PITA sometimes
I tried so many things, and this was an instant pain relieve. Thank you so much for sharing this!
Oh my god thank you, I noticed this and was just sitting like: “if I start searching why it’ll take me hours and I’ll break my system trying random fixes”. I finally tried a lucky google search and found this post. Now it’s clearly visible that the shuttering occurs exactly when the monitor refreshes (every 2 sec in my case).
This worked for me too. The stutter is very visible using glxgears. With the system monitor indicator off, no issues. Thanks!
Thanks a lot! I did all the same operations with video drivers and lost a lot of time.
OMG THANK YOU SO MUCH. I was starting to consider going back to windows because I thought it was some weird driver issue
Haha! I had a similar feeling I needed to upgrade my laptop 😀
Thanks a lot! You saved me after several hours of unsuccessful attempts to fix the drivers!
Glad it helped!