If it's time-based, then you have a memory issue. You're probably getting the slowdown from the kernel OOMKilling things as fast as possible to keep the system alive.
Linux
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of [email protected] and The GIMP
Ok, that makes sense, thank you I'll have a look next time I'm on my PC
Would that affect only the mouse because otherwise I still get amazing performance when I don't use the mouse?
It would make the mouse polling slowdown noticable, but there are other background things happening if you're having what I think you're having. Just because your game is running doesn't mean the rest of the system isn't suffering.
Install MangoHUD and watch your resources while you're playing and running OBS at the same time. Both take up a lot of memory.
I neglected to configure mangohud to show temperatures and it turns out I was getting 90°c CPU!
I had a sus clip on the CPU heat sink and missed a system fan plug on last rebuild.
Everything should be good but I'll need to finish it up tomorrow morning after I purchase thermal paste to be sure.
Ok, thank you, I'll have a look.
Back to troubleshooting, it wasn't the heat unfortunately.
I averaged 90% GPU and 47% CPU, there was no change during and after the beginning of the mouse frame rate drop. However, I tried to restart the game and it wouldn't run again until reboot.
The game has a known vram leak bug. I'm going to look into that as well as my compositor set-up. I think you might be right about it not being the mouse as the desktop is still very smooth.