Question / Help Strange "lag" with OBS and Games (Recording and Streaming)

Chocoferu

New Member
I've been reading the forums and didn't find this kind of problem.

I'm using Windows 10 on dual screen (Main 1440p, second 1080p) and I play videogames on the main screen (1440) and OBS Multiplatform.


The thing is that when I start recording/streaming with OBS, either game or OBS lags.
Whenever I press the left screen where I watch the OBS preview or lurk internet etc, the game lags a bit and gets frames down a bit, like going from 60FPS to 30~50 randomly.
Then, if I go back to the game, it runs fluid 60FPS+, but OBS lags a lot and gets low frames, like 5-20 and records/streams like that.


I play with borderless window and record the application directly with "capture game". I've been trying to capture the screen directly but the result is the same.
I've been trying to run Windows 10 at minimum, unckecking all effects and stuff, but the problem persists.


Am I doing something wrong? u_u
 

Chocoferu

New Member
Oops, sorry!

There are 2 logs from the days I used it the most, and the last one is from now.

Checking on the OBS analyzer it shows that I'm using Wireless (it's 5Ghz with 30M upload 200-300M download) and using twitch as streaming, but that's not the problem because it runs perfect (except from the frame drops)
 

Attachments

  • 2015-10-05-1826-41.log
    7.4 KB · Views: 10
  • 2015-10-01-1534-16.log
    10.6 KB · Views: 4
  • 2015-10-14-1918-14.log
    239 bytes · Views: 4

H4ndy

Forum Moderator
Switch to Main Profile for Twitch, otherwise there seems to be no problem with your log, especially encoding-wise there is are almost no dropped or duplicated frames.

You have a few stalls in your log, but this is probably due to operating on the maximum allowed Twitch bitrate for non-partners (3500).
 

Boildown

Active Member
These days I wouldn't even bother switching to Main profile. The only reason is if a viewer's device isn't capable of displaying video encoded in High profile, but any PC device can do that without any problem, only an old cell phone or tablet would have that limitation. I think its safe to keep it on High, you'll get better encode performance that way.

What you do need to change for Twitch is your key interval:

22:39:39: keyint: 250

That needs to be twice your framerate, or set to 2 seconds. It should appear in the logs as 60, not 250, when you keep your current framerate of 30.

The other issue is that your bitrate is too high for your viewers. Try setting it to 2000.
 

Chocoferu

New Member
I still have the same problem recording/streaming ><

Look at the vid I uploaded as an example:
https://www.youtube.com/watch?v=ZcJljFHJz-Y&feature=youtu.be

The first seconds happens when I clicked the game, so main screen was "selected". You can see the frame drops D:

After some seconds it runs smooth because I clicked the OBS program on the other screen. It runs smotth if I click any other program, but the game runs a bit weird (can't notice it on youtube compressed vid) and FPS drops a bit here and there.
 
Top