System Stutters When Opening Up Certain Programs

Here is a video of the stuttering: https://youtu.be/aDeI1KgGIx4

Basically, when I open certain programs, like Pico-8, Firefox, and Spotify, my entire computer stutters for a split second as the program opens, yet other programs like GIMP or GNOME-Calculator open with no stutter. This is annoying as the mouse stops moving as well, and I lose track of where it should be. Is there any way to fix this?

My specs are as follows:

CPU: i5-8500
GPU: GTX 970
Motherboard: Gigabyte Z390-UD
Hard drive: Samsung 970 EVO Plus
RAM: 16 GB DDR4 @ 3000 MHz
OS: Manjaro 20.0.3
Nvidia driver: 440.81

There can be a number of issues that might be causing that. I am assuming you are using Xorg cause of the Nvidia drives.

First try disabling all of your extensions and see if they improve anything.
Second I’d recommend trying to replicate this with a more vanilla environment, to see if the issue exists there as well/is replicatable. Try Fedora 32 with all extensions disabled.