Minecraft Java edition lags massively when OBS is running

Norava

New Member
For some reason any time I START OBS Minecraft is going from 110-120 FPS to 20-40 FPS with heavy lag spikes any time I turn. This happens regardless of if I have OBS actually recording anything more than webcams or not. I AM running NDI to output to another PC for the actual streaming portion however I don't have this problem with other games, only Minecraft. I've tried setting OBS and Minecraft on separate processor affinities to see if that helped and set Java to a higher priority with no solution. I am running Optifine on the Stacia Expert 1.16.5 pack if that helps.

Logs attached and 2 gif (Edit: Adding GIFs, size was too big) screenshots, one showing my FPS with and without OBS running and another of my PC's performance monitors repeating the same thing. It's worth noting none of my CPU cores are spiking during this

PC Specs:
CPU: AMD Ryzen 7 3700X @ 3707 MHz
Motherboard: ASUS ROG CROSSHAIR VII HERO (WI-FI)
Memory: 32GB Corsair CMW64GX4M4C3000C15
GPU1: Sapphire Ppulse RX 5700 XT, 8192 GB
GPU2: XFX RX 5700 XT, 8192 GB
System Drive: Sabrent, 1TB, NVMe
Data Drive: WD Blue 4TB @ 5400 RPM
 

Attachments

  • 2021-02-14 19-11-41.txt
    18.8 KB · Views: 5
  • 2021-02-14 19-05-54.txt
    19.1 KB · Views: 3
Top