Just a bit of advice from personal experience,
Try monitoring a few things such as your fps, cpu usage, ram usage, temperatures of your cpu and gpu
The issue is so weird, it may not even be your gpu, because it works in some scenarios just fine.
For example maybe your fps is locked, considering...