Question / Help Stream has significant FPS drops for no apparent reason on specific game

facetats

New Member
I don't know if this is a problem that can be identified with OBS log files or not, but I decided it was worth a shot.
I tried streaming CS:GO with the same settings as Fortnite. CS:GO played and streamed flawlessly, but Fortnite is not the same.
In the main menu, frames are fine, but in-game there is significant stutter viewer-side, but not game-side. I have tried disabling Windows Game Mode and limiting FPS but to no avail. Anyone have any suggestions? Thanks.

https://obsproject.com/logs/IDIPRgahGxLVQpx-
 

Narcogen

Active Member
16:17:46.504: Windows Version: 10.0 Build 17134 (revision: 523; 64-bit)

Your windows is out of date, and Game Mode is on by default and cannot be deactivated in PC settings. You have turned off Game DVR and Game Bar, but Game Mode is a separate setting. In your build of Windows you cannot disable it without editing the registry, and the log does not show that you've done that. (After the update, registry editing is not necessary and doesn't work anyway.)

Run the October 2018 update and turn off game mode (instructions in signature).

You are overloading both your GPU:

16:26:37.504: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 3038 (14.4%)

The rendering lag may be caused by Game Mode being on; if turning it off doesn't solve this you may need to cap framerate in your game. OBS is trying to render frames but cannot access the GPU because it is busy. This is what game mode does-- it lets the game monopolize the GPU and blocks other apps from using it by design.

16:17:49.397: - scene 'Scene':
16:17:49.397: - source: 'Game Capture' (game_capture)
16:17:49.397: - source: 'Display Capture 2' (monitor_capture)
16:17:49.397: - source: 'Window Capture' (window_capture)


You have a game capture, a display capture, and a window capture in the same scene. This is a recipe for killing performance.

16:26:51.138: Video stopped, number of skipped frames due to encoding lag: 6746/13801 (48.9%)

Your CPU is significantly overloaded. I'm guessing Fortnite is using more CPU than CS:GO.
 

facetats

New Member
I guess I didn't upload the most recent log, because I specifically updated to 1309 last night. That log is definitely from before I updated. I didn't even use that scene when playing Fortnite, I just have a Game Capture and a Browser window (for live stats). Let me know what you can find from the test I did just now.
 

Attachments

  • 2019-01-21 10-54-43.txt
    22.1 KB · Views: 8

Narcogen

Active Member
Still have multiple competing capture methods in the same scenes:

10:54:55.977: - scene 'Scene':
10:54:55.977: - source: 'Game Capture' (game_capture)
10:54:55.977: - source: 'Display Capture 2' (monitor_capture)
10:54:55.977: - source: 'Window Capture' (window_capture)
10:54:55.977: - source: 'timer' (window_capture)
10:54:55.977: - scene 'fort':
10:54:55.977: - source: 'Game Capture 2' (game_capture)
10:54:55.977: - source: 'Browser' (browser_source)
10:54:55.977: - scene 'csgo':
10:54:55.977: - source: 'Game Capture 3' (game_capture)


You've got one scene with game, display, and window capture in the same scene. This will negatively impact performance.

You've got what look like separate game captures for different games in the same scene collection. This will also negatively impact performance.

You're better off with one instance of each necessary capture method, with others in separate scene collections.

11:02:16.833: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 121 (1.1%)
11:02:16.834: Video stopped, number of skipped frames due to encoding lag: 6496/10779 (60.3%)


That's a significant amount of CPU overload. I would try with a fresh scene collection using only the necessary methods without duplicates, and seeing if that helps, but it may also just be that you have to drop to 30 fps and/or go to a faster CPU preset.
 

facetats

New Member
Game Mode was the solution. I was forced to restart my computer after something happened (which I hadn't done yet, as Windows didn't tell me in archaic fashion to "restart my computer for changes to take effect"), so then I tried using Streamlabs OBS which worked, and as I imported my settings from regular OBS, I feel I can safely assume that OBS Studio will work fine now, as well. Thanks for all the help, @Narcogen!
 
Top