Insane input lag

Lately, whenever I go on gmod, I get unplayable input lag and it’s driving me crazy.
I restarted gmod, restarted my PC, nothing changes.
It’s definitely not re-installing gmod, this has happened before and I forgot what I did to fix it but it wasn’t reinstalling for sure.

It’s both on local hosted servers and random servers, as well as on singleplayer and steam overlay…

It’s not my keyboard or anything, I’m writing this with no problem at all but it would probably take me over an hour if this was in-game…

–Nvm, it’s global