So my pc worked fine, until I moved it recently into college. First of all my monitor (144hz 1080p) seems extremely stretched and appears to only display 60hz when plugged into my pc. However this isn't the main issue (as I assume I can fix this in the settings panel later on), the main issue is that with every keystroke/mouse click my monitor fizzles out into static then black. Once it's done, it refreshes back into that weird aforementioned stretched screen view and if I click my mouse/press a key the problem restarts.
The monitor works fine (plugged it into my laptop, 1080p 144hz automatically, no problem). Power doesn't seem to be an issue either (I plugged the PC in by itself to my power strip vs plugged in with the rest of my appliances- same problem occurs in both scenarios). I reseated the RAM, SSD, and HDD- nothing.
I believe my mobo is a msi m5 z170 and the error code flickers between 31-32. The weirdest thing is when I go into my bios everything works perfectly, no flickering, I can use my keyboard, I can use my mouse. But, once I try to enter my desktop/use windows- shit hits the fan. Please help.