I actually have a second PC I'm using for streaming, but even previewing in OBS uses so much GPU it makes it impossible to play. I'm using the trick where you send the preview to the capture card in fullscreen projection mode and then streaming from a 2700x.
¿Do you run OBS on both the gaming PC and the streaming PC?.
As I tried to explain in my previous post, running OBS on the gaming PC is a demanding task, but if the gaming PC is a SLI setup, it is just an performance lost overkill for your gaming performance.
If you want to play with a SLI setup without stutter, great performance lost, etc., you need a second PC for streaming. And if you do have a decicated streaming PC, you need to capture the video and audio directly from the gaming PC output in the streaming PC with a capture card. So the gaming PC does anything but playing the game, it sends the video through HDMI to your screen, but before reaching your screen, a capture card (in your streaming PC) capture that video (of the game that was rendered in your gaming PC by both of your SLI GPUs) and also let it passthrough to your screen. And that streaming PC does the capture, image tweaking (filters, etc.), renders the sources in the scene, encodes and send to the streaming ingest server your video and audio.
If in your gaming PC you run OBS Studio with SLI Compatibility mode enabled, it doesn't matter if you are sending that preview to a dedicated streaming PC vía NDI, because you are actually overloading your gaming PC PCIe Lanes so bottlenecking your gaming performance. With dual PC setup, the streaming PC has to take all the capture (with some capture cards as the ones from Elgato, Avermeida, etc.), scene composing, encode and stream workload, and the gaming PC shall do anything but playing the game. That's allways the best streaming setup, and the only decent one if your gaming setup has SLI.
So my only real solution is either:
Cut down to one card
OR
Get a HEDT platform with 16 lanes per PCIE slot and more cores to keep using SLI?
The first option really will help due to no extra CPU load neither PCIe bandwidth needed. But even disabling SLI (or in games where SLI is not used at all due to the lack of SLI profile), you will see that there's still some communication workload with the second graphic card (second graphic card's VRAM is as loaded as the first graphic card's VRAM, GPU load in about 5 - 20% even without rendering a single frame). So the way for that first option is literally unpluging the second graphic card. And then, you will get rid of the "streaming - SLI issues" and shall stream "normally" with one GPU.
The seccond option could help, but it wont be perfect. As said before, with more PCIe Lanes you'll find more room for gaming until PCIe bandwidth botlenecks your PC, but it also can happen when using SLI compatibility mode capture (or preview) in your gaming PC. So you'll still need to cap your frames, etc.
Both options help or make it a bit easier to stream. But anyway, if you already have a dual-PC setup, don't bother with none of them, just use your gaming PC to play games and your streaming PC to capture, compose, encode and stream your video and audio.
EDIT: Here's a question for the OBS developers then, can we add a feature to the program to be able to select the GPU used for compositing? If I was able to set the program to use EXCLUSIVELY the Intel GPU for rendering and compositing, this might help SLI users that have an iGPU with streaming allowing them to remove load from their PCIE lanes?
I'm not an OBS developer and they will be the only ones to answer this question with an official statement, but from what I've researched: I'm afraid that the option to use CPU's iGPU for compositing the scene might free some PCIe bandwidth (the one used to send the sources to render the scene to the GPU), but the main problem, download all the resources needed from SLI's VRAMs to RAM in SLI Compatibility Mode, will still be slow, unefficient and requiring a lot of bandwidth of PCIe Lanes.
EDIT 2: So if I run OBS on my main screen minimized, the problem disappears, it's only when I run on something other than my main screen, which I had been doing to be able to see OBS at all times to make sure the stream was working properly. Turns out I might of been causing the problem all along. Derp.
If you have the game capture source turned off (i.e. "deactivated when not showning"), OBS shall be not using SLI Compatibility Mode, so no extra PCIe bandwidth needed.
But let me insist on this: with dual PC setup and a capture card in your streaming PC, just don't run OBS in your gaming PC, let your streaming PC to do all of the capture and streaming part and use your gaming PC only for play games. That's the only and the best way to never have any impact on your gaming performance at all and all the frames from both of your GPUs being captured.