Bug Report [FIX] Frame Drop When Game Window Focuses

DarkSwordsman

New Member
Found a fix (I think full fix, the rest may be dependent on processing power) for the frames dropping when you focus in a game window.

*** NOTE: This was originally with SLOBS, but it appears to be the same exact issue with regular OBS in 32 and 64 bit ***

I am in OBS version 20.0.1 and SLOBS version 0.8.8.

I was previously getting about 35-40 FPS on a 720p60 @ 6000 Kbps stream even when not encoding and on the start screen of PUBG. PUBG didn't suffer performance-wise, but the stream did. It was only when I focused on the game window. Even if I had no game source or any source with the game in it, it still lowered the FPS.

Nothing seemed to work until I tried the following (personal settings are below):

  1. Go to Settings > Output in SLOBS
  2. Change Output Mode from Simple to Advanced
  3. Set your desired bitrate and encoding
  4. Change Profile to Main
I noticed that a setting seemed missing from OBS, and it was that main preset. When you turn on advanced settings (which was never a thing before) it is set to None instead of the old Main preset.

From here, my 720p60 stream at 6000 Kbps went from 40ish fps in an idle game to a full 60 fps while in game with action.

1080p30 6000 Kbps is flawless. 1080p60 6000 Kbps slows down to about 55-60, but still holds up well for the most part.

My in-game settings? Low preset at 1080p. I have a 144 hz monitor just for reference. Game still ran at a solid 90-95 fps as if I weren't even streaming without any hiccups or anything.

NOTE: The only downside seems to be the browser source tipjar. Doesn't like it and still drops to about 40-50 on 720p60 and 25ish on 720p30.

Here is a list of my (relevant) Output "Streaming" settings:

  • Output Mode - Advanced
  • Encoder - Software (x264)
  • Rate Control - CBR
  • Bitrate - 6000
  • Keyframe interval - 0
  • CPU Usage Preset - veryfast
  • Profile - main
  • Tune - (None)
  • x264 Options -
Here is a list of my (relevant) Video settings:

  • Base (Canvas) Resolution - 1920x1080
  • Output (Scaled) Resolution - 1920x1080
  • Downscale Filter - Bilinear
  • FPS Type - Common FPS Values
  • Common FPS Value - 60
My PC Specs:

  • i7-2600k @ 4.508 Ghz
  • Gigabyte G1 GTX 970
Again, the tipjar is a pain in the butt, but if you can get it working, kudos.

I will note: This appears to be a simple Windows issue. Someone mentioned something about GPU priority built into Windows. I don't see how setting the profile to main would fix that, but it works great for me and seems to be the only useful fix.
 

ChriskyBusiness

New Member
Well mate, sounds like something similar that was happening to me, and it happened because I was running PUBG in borderless windowed instead of full-screen. However, whilst my stream was smooth my game still lagged when I played. What I did was I dropped my monitor refresh rate to 60hz instead of 144hz and BAM I could stream every game flawlessly.
 

DarkSwordsman

New Member
Well mate, sounds like something similar that was happening to me, and it happened because I was running PUBG in borderless windowed instead of full-screen. However, whilst my stream was smooth my game still lagged when I played. What I did was I dropped my monitor refresh rate to 60hz instead of 144hz and BAM I could stream every game flawlessly.

I was thinking of doing that but I would rather not like to manually change my refresh rate every time I play PUBG.

I am noticing, however, that I am badly missing frames. I could try lowering the bitrate, but from my understanding, a 2600k should be able to handle 1080p60 6000 pretty easily. I'll report back. Worse comes to worst, I could just do 720p60.
 

DarkSwordsman

New Member
I found something regarding registry value for GPU priority under this MSDN article. Will try editing and see a difference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684247(v=vs.85).aspx

There's also some here that I may take a look at, which may help, but may not solve the actual issue: https://www.reddit.com/r/killerinst...xcellent_guide_to_optimizing_your_windows_10/

Like [AFK] Pyro said on the SLOBS Discord, don't change registry values unless you know what you're doing and/or can afford to possibly ruin your OS. I can easily reinstall without any consequence so I'm okay with being a guinea pig.
 
Last edited:
Top