Question / Help Recording/Stream frame stuttering in PUBG

amazingness

New Member
I've tried to figure this out by myself with googling and trial/error, but I feel like I've hit a wall. When I use OBS with PUBG, the recordings and stream have horrible frame drops that I do not see in-game. I've tried changing several of the settings over the past week when I've had time to fiddle with it, I'll make a quick list of everything I can recall off the top of my head.

- Changed stream servers to houston, dallas, phoenix, chicago
- Video bitrate, tried 3500 - 6000, currently at 6000
- advanced encoder settings on and off, from very fast down to medium
- tried with replay buffer on and off ( wasn't sure if this would have any impact or not )
- change the resolution from 1080, 720, & 480 - 60fps, 48fps, & 30fps
- downscale filter tried lanczos & bicubic
- tried game capture and window capture, problem persists on both
PUBG is the only game I experience this with, I can stream/record overwatch, heroes of the storm, league of legends, world of warcraft, titanfall 2, battlefield 1, and a couple others without issue. I've tried deleting all scenes to start from scratch.

This is a relatively new PC, put together about a month ago. Ryzen 1800x cpu, 16gb ram @ 3200, vega 64 gpu

Before this PC, My previous build was able to stream pubg just fine at 720p 30fps with a 4770k, 16gb ram, vega 64(same gpu).

I also tried running the auto-config wizard, here is a SS of what it recommended.
529116da7c.png


And here is a SS of my speedtest (to a different host than my ISP, same town).
8203dd601a.png


I was pretty confident that I would be able to stream @ 720p 60fps with this setup, am I missing something here?
Attached is a log file from trying different settings while recording with replay buffer.
 

Attachments

  • 2017-12-28 19-43-59.txt
    42.5 KB · Views: 30

amazingness

New Member
I've now tried reinstalling OBS, including my user settings without success. I've tried game capture, window capture, and display capture. Any suggestions are appreciated
 

amazingness

New Member
I noticed that my logs show a high number of lagged frames due to rendering lag/stalls, but I regularly have 80-100fps in-game. If my fps is high in-game, my lagged frames due to rendering shouldn't be that high, should it?
 

amazingness

New Member
I've had another thought that I'm going to try when I get off work, if I limit my in game fps to 60 that might free up gpu resources to stop the rendering delays.

I'm still confused why my gpu is holding me down on this newer, supposedly more powerful system but not on my old 4770k with windows 7.
 

amazingness

New Member
Today I noticed that OBS only loses frames when the program is not in focus. So, when I bring OBS to focus I get a steady 60fps in the view -> stats panel, but when I tab back in game it tanks again. I found this thread that seems to be the exact same issue that I'm having:

https://obsproject.com/forum/thread...when-out-of-focus-or-non-active-window.67728/

Unfortunately, I have an AMD card so I'm not able to attempt the workaround mentioned at the end of the thread. I tried turning on gpu scaling on all three of my monitors, but the frame drops appear to worse than with gpu scaling off.

Other results from googling this issue don't have many solutions, is this a common problem with windows 10? Like I've mentioned before, I've been able to stream the exact same game with the exact same graphics card but a worse cpu on windows 7. Makes me think it's a compatibility issue with, or maybe even just a Windows 10 issue?
 

BK-Morpheus

Active Member
Totally normal.
You play without FPS limit, so as long as the CPU can handle it, your GPU will run at 90-100% load and this will make OBS stutter. OBS needs some GPU power to render the scene (~10%) and without ingame fps limits, the game engine will eat up all of the GPU resources.

When you click out of games, so they run in the backround / out of focus, most games will reduce max fps to 30 or 60, that's why OBS has now enough GPU power left for rendering.

In PUBG you can edit a config file to set a custom fps limit, I would suggest to choose a limit that allows for good gameplay while being stable (no ingame fps drops if possible) and while still leaving some GPU power left for OBS.
 

Zxoir

New Member
Totally normal.
You play without FPS limit, so as long as the CPU can handle it, your GPU will run at 90-100% load and this will make OBS stutter. OBS needs some GPU power to render the scene (~10%) and without ingame fps limits, the game engine will eat up all of the GPU resources.

When you click out of games, so they run in the backround / out of focus, most games will reduce max fps to 30 or 60, that's why OBS has now enough GPU power left for rendering.

In PUBG you can edit a config file to set a custom fps limit, I would suggest to choose a limit that allows for good gameplay while being stable (no ingame fps drops if possible) and while still leaving some GPU power left for OBS.
I tried that for minecraft limiting my fps but its still really laggy.
 

BK-Morpheus

Active Member
Then you might have a completely different problem (not even sure if you have rendering stall problems in your log file).
 

amazingness

New Member
Totally normal.
You play without FPS limit, so as long as the CPU can handle it, your GPU will run at 90-100% load and this will make OBS stutter. OBS needs some GPU power to render the scene (~10%) and without ingame fps limits, the game engine will eat up all of the GPU resources.

When you click out of games, so they run in the backround / out of focus, most games will reduce max fps to 30 or 60, that's why OBS has now enough GPU power left for rendering.

In PUBG you can edit a config file to set a custom fps limit, I would suggest to choose a limit that allows for good gameplay while being stable (no ingame fps drops if possible) and while still leaving some GPU power left for OBS.
PUBG doens't seem to limit fps when not in focus though, steam FPS counter shows it staying at 90ish (fluctuates) when I switch focus to OBS on another monitor. I'll definitely research how to limit my in-game fps through a config file as you suggested after I get off work, but I don't understand why this wasn't an issue on windows 7 with lower-spec hardware. Is it common for background applications to drop performance when not the primary focus in Windows 10, despite being visible on a separate display?
 

BK-Morpheus

Active Member
Sadly Microsoft changed a lot when it comes to GPU priority and grabbing Game content via Software, that's the main reason, why the GPU bottleneck is so obvious in OBS on Windows 10, where it was much better at Windows 7.
 

messi

New Member
same probleme i limeted my fps to 60 and im always my gpu is working 99% with lowest settings 1280*720
 
Top