I wanted to start streaming some games Just for fun and stream with OBS. I start OBS as administrator so that this is preferred (otherwise the recording and the stream lie) and press start stream, I see the game on the main monitor (in my case fortnite eg) running at a smooth 100-130 FPS and as soon as I then back into play, the FPS doesn't drop but the picture is still jerky, and as soon as I put it back in OBS or discord on the second screen everything is smooth again on the main monitor. I can't explain why. I first streamed with software, so CPU, there was a big frame rate difference and then again with GPU, because it was less bad but still noticeable. Now I ask what could be the reason and or how you can change it.
My specs:
Ryzen 5 3600 (6 cores / 12 threads!)
RX 580 8GB
16GB 3000mHz RAM
The load (the example) in fortnite is normally around 35-50% CPU (with stream 65-75%) depending on what's going on and 80-100% GPU. I wanted to replace the GPU anyway, but it has little to do with the fact that the image is on the main monitor (despite the same high FPS!) As soon as I put it back in, since I'm streaming via the CPU. I hope you can fix the problem because it is otherwise not very fun if it jerks like this.
Also, the problem is not only in fortnite but also in all other games like GTA 5 and ArmA 3, so it is not related. Note that I use an overlay from Streamlabs but without it there are the same problems. The Streamlabs add-on is also installed for OBS, so I don't know if there's a difference with the normal one.
Does the stream continue to run correctly if you switch to OBS? Then it runs smoother on the main screen. I only ask because it could be that OBS does not continue to play the game at all because it no longer has the focus. So it would go better too. It is just a guess.
Just one try: did you choose "game recording" in the OBS? Try test window and screen recording.
If I start playing again from OBS, it takes two seconds until the black screen in the preview is gone and the game is then streamed again, so the main monitor is not always transmitting the game and if I go from OBS → game then there's a short blackscreen in the stream and then when the picture is back the picture is no longer fluid with me. The stream otherwise runs constantly at 1080P 30 and 60 fps, neither makes any difference or improves my picture quality. Should I maybe try ONLY to stream the game maybe, because so far I have just transferred the screen, no matter what was visible, whether game or website in the background?
Again for understanding:
then it takes two seconds until the black screen in the preview is gone
Does that mean that if you tab on OBS, the preview will go black? That would confirm my theory that he would not tap the game. Logically, it then runs faster.
if I go from OBS → game, then there's a short blackscreen in the stream
And what is in the stream beforehand while you are in the OBS?
So what happens to the preview and the stream as soon as you tab into OBS?
No, when I type in OBS it goes black for a few seconds and then back to normal, that which was seen before, just the other way round, from OBS into the game.
In the stream in OBS the game is still running normally and for me it is completely smooth, only when I put it back in there's the short blackscreen as already mentioned and then a lower frame rate for me despite actually the same frame rate: /