OBS Causes stuttering

oPiruz

New Member
So I have this bizzare issue where when I capture games with OBS the FPS counter will stay way above 60fps, yet it plays and chops like its sub 30FPS, if I open a program that monitors my core usage, it smooths it out abit but I still have snags, desktop capture makes it REALLY bad, window capture works for some games, and game capture works for others and it just makes no sense. Some games like CSGO are the worst meanwhile games like GTA V have a small issue with it but it's still there.

i7 4790K @4ghz
16GB ram
GTX 1080
Windows 10 (64bit)

OBS Studio Settings
720P (downscaled from 1920x1080)
30FPS
2200 bitrate
 

Attachments

  • 2016-09-09 15-23-24.txt
    16.4 KB · Views: 48
  • 2016-09-09 15-23-24.txt
    16.4 KB · Views: 21

RytoEX

Forum Admin
Forum Moderator
Developer
This is an OBS Studio in the OBS Classic forum. Paging @dping!

Your log are incomplete as neither of them show a recording or streaming attempt or a successful game capture hook. To get a complete log:
  1. Open the game which causes you to see the issue that you've described.
  2. Open OBS Studio.
  3. Start recording.
  4. Wait 30-60 seconds.
  5. Stop recording.
  6. Upload the current log file via the built-in upload feature (Help Menu > Log Files > Upload Current Log file) or upload the file here.

Are you saying that this issue is visible in the files after being recorded? Does this also occur in OBS Studio 0.16.2?
 

oPiruz

New Member
I'm saying the issue is that the moment I open OBS/start streaming, my game plays horribly, it is unsmooth and snags way too much, but the FPS counter (for CSGO at least) is at 150+
 

Attachments

  • 2016-10-02 00-48-49.txt
    7.9 KB · Views: 54

RytoEX

Forum Admin
Forum Moderator
Developer
So, does it happen as soon as you open OBS Studio? Or does it happen as soon as you start streaming? Which is it?

So the gameplay framerate itself is affected. Correct?

Your log still doesn't show a game capture attempt. If the issue is prevalent while games are running, then that log info would be important for us to see. Please recreate the situation that you're describing where issues arise, and upload the log file for that session.

Are OBS Studio and CS:GO on different monitors? If so, do they have different framerates, and does it happen if OBS Studio and CS:GO are on the same monitor?
 

dping

Active Member
This is an OBS Studio in the OBS Classic forum. Paging @dping!

Your log are incomplete as neither of them show a recording or streaming attempt or a successful game capture hook. To get a complete log:
  1. Open the game which causes you to see the issue that you've described.
  2. Open OBS Studio.
  3. Start recording.
  4. Wait 30-60 seconds.
  5. Stop recording.
  6. Upload the current log file via the built-in upload feature (Help Menu > Log Files > Upload Current Log file) or upload the file here.

Are you saying that this issue is visible in the files after being recorded? Does this also occur in OBS Studio 0.16.2?
got it moved
 

oPiruz

New Member
So, does it happen as soon as you open OBS Studio? Or does it happen as soon as you start streaming? Which is it?

So the gameplay framerate itself is affected. Correct?

Your log still doesn't show a game capture attempt. If the issue is prevalent while games are running, then that log info would be important for us to see. Please recreate the situation that you're describing where issues arise, and upload the log file for that session.

Are OBS Studio and CS:GO on different monitors? If so, do they have different framerates, and does it happen if OBS Studio and CS:GO are on the same monitor?
I have a 2 monitor setup and I open OBS on the second monitor, the issue only happens once I start streaming or recording, today it was barely noticeable, but another day it will be so bad I can't play anything while streaming.I did a log while streaming and also while recording which I have attatched below
 

Attachments

  • 2016-10-02 14-23-56.txt
    9.6 KB · Views: 29

oPiruz

New Member
I forgot to include, I use a program that monitors my processor temp and usage back when I streamed BF4 because I was hitting 99% usage, but anywho, on CSGO (while streaming) only 70% of my processor is being used, 20% of it is from OBS, and yet this stutter issue still occurs, so that leads me to believe it can't be my processor causing this issue.
 

Waistless

New Member
Here's a few things you could try (do one thing at a time):
  • For the game capture source, what options do you have enabled? Try switching them off if on, etc. Check these options in all game capture sources (in case one of them takes control of CSGO)
  • Try removing all instances of game capture in all scenes, then use a window capture, whilst running CSGO in a borderless window.
  • Add -nod3d9ex to your CSGO launch options
 

oPiruz

New Member
Here's a few things you could try (do one thing at a time):
  • For the game capture source, what options do you have enabled? Try switching them off if on, etc. Check these options in all game capture sources (in case one of them takes control of CSGO)
  • Try removing all instances of game capture in all scenes, then use a window capture, whilst running CSGO in a borderless window.
  • Add -nod3d9ex to your CSGO launch options
See the issue is with many games it isn't just CSGO, And I only have 1 scene that captures gameplay, the other one is an intermission and an ending screen.
 

Waistless

New Member
That implies an issue with CPU usage, even though your high-end CPU should be more than enough, hmm..

Whilst streaming, monitor the cpu usage on all threads. (task manager > performance > right click graph change to logical processors.) Check if any of the cores/threads are maxxing out.

A few things to try regardless, to completely rule out CPU issues:
  • In OBS settings > advanced, what is the process priority set to? If it's on high or above normal, set it to normal. If it's already on normal, set it to idle. If this has any effect on making gameplay less laggy, double check the stream is still keeping up and not dropping in FPS.
  • Switch to GPU encoding (OBS settings > output > Encoder: Hardware (NVENC))
 
Last edited:

oPiruz

New Member
That implies an issue with CPU usage, even though your high-end CPU should be more than enough, hmm..

Whilst streaming, monitor the cpu usage on all threads. (task manager > performance > right click graph change to logical processors.) Check if any of the cores/threads are maxxing out.

A few things to try regardless, to completely rule out CPU issues:
  • In OBS settings > advanced, what is the process priority set to? If it's on high or above normal, set it to normal. If it's already on normal, set it to idle. If this has any effect on making gameplay less laggy, double check the stream is still keeping up and not dropping in FPS.
  • Switch to GPU encoding (OBS settings > output > Encdoder: Hardware (NVENC)
If CSGO is a CPU heavy game, and GTA 5 isn't that would definitely point towards that, because GTA 5 has rarely an issue with stuttering where as CSGO has noticeable snags every 5 seconds or so.
 
Top