Recently I bought a new system with a Ryzen 7 5800x and RTX 3080. I planned to use this to make videos, however when I tried to record using the same settings I had used on my old PC (i7-6700 and GTX 1070) It lagged tremendously. Thought it was a playback issue at first, but it wasn't. I checked the stats and half of the frames were skipped due to encoding lag. I'm trying to record Minecraft at 240fps 1440p, something that should work just fine on this PC (I get 1400 FPS in game, game doesn't lag but OBS does.) Running OBS as admin didn't fix it. Any help would be appreciated.
Log: https://pastebin.com/2sXxGBMr
Log: https://pastebin.com/2sXxGBMr