Question / Help OBS starts to lag for no reason?

Spiritendo

New Member
Hey! :)

First of all, here are my PC-specs and my OBS settings:

- Specs
CPU: i7 5960x @3ghz
GPU: 2x 980Ti
RAM: 64gb @2400mhz

- OBS
encoder: NVENC H.264
Bitrate: 8000
Preset: Default
Profile: high
1080p/60fps

So, I tried to stream yesterday. Sadly a problem occoured. Out of nowhere my OBS started to lag as soon as I entered the game. It doesn't matter what game it is. The weird thing is: the games seems to do finde with ~100 to ~250+ FPS but OBS wont. As long as I'm not focused on the game window OBS will stream it in 60 FPS. As soon as I focus the game and want to start playing the frames will randomly drop. Sometimes to 40, sometimes to 10 or 20. It's completely random.

I tried to change the encoder, the bitrate, downscaled the resolution to 720p, changed the process priority, I literally tried to change every possible settings. Nothing helps. Of course I also tried to reinstall OBS several times.
I didn't install any programms. I even reseted my pc just a week ago.

I was streaming with this settings for months before. Never had any problems. They just now appeared out of nowhere and I'm completely confused. Does anyone know how to fix this?

(latest logfile below)


Cheers,
Spiritendo
 

Attachments

  • 2017-10-06 13-29-07.txt
    18.5 KB · Views: 15

Sapiens

Forum Moderator
Running a game without vertical sync or a frame rate limiter will frequently cause performance issues with OBS because your GPU will be maxed out. Enable vsync or set a reasonable frame rate limit that your GPU can handle without hitting 100% usage. If that's not enough you may also need to turn down some of the video quality options in the game.
 

Spiritendo

New Member
Thanks for your reply! :)

Tried that with Overwatch. I limited the frames to 150. Works!
But sadly not with any other game :/ It's just strange. Never had a FPS limit before and everything worked fine. As example PUBG. Same problems even with VSync/Gsync enabled.
 

Sapiens

Forum Moderator
Do you hold a steady frame rate in PUBG? What does GPU load look like? Gsync isn't going to cut it as the whole point of that technology is to keep the image smooth when the frame rate dips below the monitor's refresh rate. If it's actually being taken advantage of then you're probably maxing out your GPU.
 

Spiritendo

New Member
One maxes out at 100% and the other one is arround 50-70%. The lag make sense for me now. But I wont get why.. It worked before and I didn't change anything D:

//Edit:
Latest log added
 

Attachments

  • 2017-10-07 14-05-15.txt
    25.2 KB · Views: 12

Sapiens

Forum Moderator
SLI + the multi-adapter compatibility option are also going to cause a performance hit just because of how OBS has to work with the two separate video cards. Not a great way around that one other than maybe trying with a single card, or splurging for a capture card or something.
 

Spiritendo

New Member
Wow. Thank you so much!
Disabled multi-adapter compatibility, SLI and activated vsync in PUBG. Now it worked! Also with SLI enabled again. I don't understand it, but it works.

Again: Thank you! :)
 
Top