Question / Help In game fps ok but on obs preview or streaming fps drop

TaffsX

New Member
log: https://gist.github.com/anonymous/32e8ea786ccb4690ea851b08db7890bb
I've always done live broadcasts without problems, but in the last 3 months I'm going through this problem. Almost all my games when they are above 60fps, I have lags in the OBS.

It is not a problem with my internet connection because even in the preview I have falls of frames as you can see in the videos below.
https://youtu.be/9_3m02XX5kU
https://youtu.be/mCS-wprhfOI

I made these videos with destiny 2, but I have the same problem with Overwatch, battlefield bad company 2, Hellblade among others...

Sorry for English. I'm using google translate to write here.
 

Attachments

  • 2017-12-14 14-19-26.txt
    13 KB · Views: 57
  • 2017-12-14 14-23-55.txt
    13.3 KB · Views: 15
  • 2017-12-14 14-39-19.txt
    8.6 KB · Views: 8
  • 2017-12-14 14-52-41.txt
    13.5 KB · Views: 8
  • 2017-12-14 15-08-28.txt
    12.9 KB · Views: 5
  • 2017-12-14 15-16-40.txt
    12.9 KB · Views: 10
  • 2017-12-14 15-42-55.txt
    7.8 KB · Views: 8
  • 2017-12-14 15-52-15.txt
    12.8 KB · Views: 6
  • 2017-12-14 15-56-41.txt
    13 KB · Views: 6
  • 2017-12-14 17-09-33.txt
    7.5 KB · Views: 8
Out of those 11 logs you posted, none of them contain any recording/streaming information.

Although I assume that this is a GPU overload based on what you're talking about. You need spare room on the GPU for OBS to handle at proper speeds and this means you'll have to reduce GPU-based settings and/or capping the framerate below the minimum you get.
 

TaffsX

New Member
Out of those 11 logs you posted, none of them contain any recording/streaming information.

Although I assume that this is a GPU overload based on what you're talking about. You need spare room on the GPU for OBS to handle at proper speeds and this means you'll have to reduce GPU-based settings and/or capping the framerate below the minimum you get.
I'll read the link text. Here is a 5 minute log of livestream on the twitch test server. Remembering that even using QuickSync or NVENC I have frame crashes. I can not understand the reason for the overuse of GPU being that even with old games and in minimal configurations the problem persists.

LOG: https://gist.github.com/anonymous/31448a9125f41139e326cfc88526dbc5
 

BK-Morpheus

Active Member
At point 4.1 I explain, why the lack of an FPS limit might result in OBS stutter/frame drops:
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/#post-329619


Code:
Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 4617 (22.3%)
Your last log shows evidence of too much GPU load from the game and therefore not enough free GPU power for OBS to render the scene fast enough (it will always render via GPU, no matter if the later applied video encoding is done by CPU or NVENC).

You could go to:
C:\Users\Username\AppData\Roaming\Bungie\DestinyPC\prefs
and edit your cvars.xml file.
In there, you can find this line:
<cvar name="framerate_cap" value="0" />

For an FPS limit of 120 you could try value="120"

Remember: Without an FPS limit you will always create a bottleneck (no matter how fast the CPU and GPU are).
If it is the CPU, you might be fine, as a CPU bottleneck in games often leaves some unused threads for OBS, but GPU bottleneck will definitely result in stuttering OBS footage.
 
Last edited:

TaffsX

New Member
At point 4.1 I explain, why the lack of an FPS limit might result in OBS stutter/frame drops:
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/#post-329619


Code:
Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 4617 (22.3%)
Your last log shows evidence of too much GPU load from the game and therefore not enough free GPU power for OBS to render the scene fast enough (it will always render via GPU, no matter if the later applied video encoding is done by CPU or NVENC).

You could go to:
C:\Users\Username\AppData\Roaming\Bungie\DestinyPC\prefs
and edit your cvars.xml file.
In there, you can find this line:
<cvar name="framerate_cap" value="0" />

For an FPS limit of 120 you could try value="120"

Remember: Without an FPS limit you will always create a bottleneck (no matter how fast the CPU and GPU are).
If it is the CPU, you might be fine, as a CPU bottleneck in games often leaves some unused threads for OBS, but GPU bottleneck will definitely result in stuttering OBS footage.
So I can say that my video card has some problem. I do not believe that a GTX 980 is not able to run a game and stream at the same time. I'm installing a GTX 970 to do some testing.

In a few hours I will come back here with a new log of a new video card.
 

BK-Morpheus

Active Member
Even a GTX 1080 TI can not stream smooth, if the game runs without fps limit and the CPU is fast enough to let the GPU bottleneck.

Limit your ingame fps, if you want smooth OBS recordings.
 

TaffsX

New Member
Even a GTX 1080 TI can not stream smooth, if the game runs without fps limit and the CPU is fast enough to let the GPU bottleneck.

Limit your ingame fps, if you want smooth OBS recordings.
I've been livestream for over 4 years and have always used the same settings. From August to here I can not anymore. I always have these problems of falling frames. I think my video card has some problem because it always worked and now no more.
 

TaffsX

New Member
I tested a gtx 970 and the same problem happened, I believe it is some problem on my computer. I did not do overwatch livestream and did not have this problem. Today I can not do livestream of overwatch.

In 15 days I will be with a new kit Ryzen 1700, 16gb ram and an asus crosshair vi hero x370. I hope I can do livestream with no problem.
 

BK-Morpheus

Active Member
It happens since Win10 Creator Update (maybe even before), that's why you were fine with those settings a few month back.
Limit your ingame fps to free up some GPU resources for OBS and you will be fine.
 

TaffsX

New Member
Yes, I will try to limit the fps and leave one more log here. But I'm really looking forward to my new pc :)

I hope no moderator will close this topic as I will use it to leave more information about my problem.
 

BK-Morpheus

Active Member
Code:
20:45:33.940: Output 'simple_stream': Total frames output: 48277 (48358 attempted)
20:45:33.940: Output 'simple_stream': Total drawn frames: 48354 (48622 attempted)
20:45:33.940: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 268 (0.6%)
20:45:33.940: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 81 (0.2%)


Looks okay, just a few dropped packages and some rendering lag, but that's less than 1%.
 

Zap

New Member
I've locked myself to Windows 10 Anniversary update right now and I've tried 3 different versions of OBS. Current, and versions I used when I didn't have this issue.

Somehow, someway, this doesn't fix this issue. This HAS to be a driver issue and NOT a Windows 10 creators update issue. This said, I'm pretty damn sure I tried old drivers before and that didn't fix it either... I really have no clue at this point and I'm starting to doubt that I even used to play with an uncapped FPS. Maybe I had it capped and I didn't realize? I just don't know any more.

Sigh... I'm so fucking tired of this... to Windows 7 I go... the exact thing I didn't want to do. But its that or play all my stream games at 60 FPS.

Can a dev or something at least acknowledge this is a huge issue that didn't exist before?
 

TaffsX

New Member
After all the tests I concluded that really some windows update has damaged my streams and generated all this mess!

As I said here, I installed windows 7 and all these problems are gone. But in the last weeks I bought a new kit with motherboard, memory and AMD processor. I reinstalled windows 10, updated, did all the tests and had no problems.

Summing up. If you have drop frames after the windows 10 update, try to install an older version of windows 10 or go back to windows 7 / 8.1, but if you have money and you need to, switch to AMD.

Soon I will post OBS logs with my new pc.

Again excuse me for my English, I'm using google translator ;)
 

Salty_Roman

New Member
I had the same issue recently. Win10 AMD RYZEN5 1600 GTX 1070. I believe something in a recent windows update is utilizing GPU and CPU resources more than it should. It may be aero but I doubt it as this problem persists into game captures as well. I am Taking tomorrow off from work to delve into this a little deeper (looking at resource monitors, windows event logs, and other built in resources in windows.) I will try to make a post tomorrow night covering my findings or lack thereof. I am trying to bring this issue more to light as i am seeing a lot of posts about it recently from Win10 users who use OBS
 

TaffsX

New Member
I had the same issue recently. Win10 AMD RYZEN5 1600 GTX 1070. I believe something in a recent windows update is utilizing GPU and CPU resources more than it should. It may be aero but I doubt it as this problem persists into game captures as well. I am Taking tomorrow off from work to delve into this a little deeper (looking at resource monitors, windows event logs, and other built in resources in windows.) I will try to make a post tomorrow night covering my findings or lack thereof. I am trying to bring this issue more to light as i am seeing a lot of posts about it recently from Win10 users who use OBS
Hey, buddy, any news?
 
Top