Question / Help FPS stuttering

rob444

New Member
Hello!

I'm trying to do some streaming again and I am having issues with stuttering. FPS is totally fine but I get these really annoying stutters that lasts under 0.1 sec.
Interestingly enough, the stutters starts to appear like 1-2 min into streaming.

I'm trying to stream Overwatch at 720@60fps. I've tried going down to 30 fps and this almost removed my stutters completely (obviously). No dropped frames or anything like that and log analyzer shows nothing but my audio bitrate is above 128 kbit (I lowered it to 128 kbit but it's still complaining).

I'm using game capture and after reading threads about it (I even asked about it a long time ago on this very forum and some developer replied) that will use the GPU mostly? The thing is, I've lowered my settings in Overwatch to medium and I've even capped the FPS to 60 to minimize GPU resource usage - the issue is still there. I run the game on "ultra" above 100+ FPS otherwise...

I did a test stream and as usual it starts lagging like 1-2 minutes into the round. I checked task manager and CPU was at around 40% usage (when I alt+tabbed - it updates every odd second or so, so I should have seen CPU spikes if that was the case).

What's causing these annoying stutters and why do they start to appear 1+ minute later? It almost feels like it's storing video data on a mechanical HDD but it doesn't because I have an SSD as a system drive to begin with so it's something else.


Specs:
Windows 8.1 x64
Intel Core i7 4790K 4GHz, 8MB
MSI GeForce GTX 980 Ti 6GB
ADATA 16GB (2x8GB) CL9 1600MHz XPG INET EDITION

Current log file: https://gist.github.com/4e279a3f82629f161981122e48d51747

I've tried classic and studio with default settings.

Help!
 
First of all, your system is not a weak system by any means.

@Mario345, if you don't have anything to contribute that is constructive perhaps not contribute at all... I have not seen anybody post anything of the likes that is not warranted in our threads. Just about every thread I have perused has had helpful feedback.

1st stream, at 720p60fps output:
21:56:15.975: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 21 (0.1%)
2nd stream, at 720p30fps output:
22:03:07.602: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.1%)
3rd stream, at 720p60fps output:
22:12:30.783: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 25 (0.2%)
4th stream, at 720p60fps output (Same settings as 3rd stream output):
22:24:58.981: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 102 (0.5%)

Your CPU is not displaying any signs at all of struggling when streaming, your would see a line above stating encoding lag if there was.
Your GPU is struggling slightly at 720p60fps when streaming, it really is only marginal though so perhaps tweak settings slightly lower in-game.
Your connection is displaying no issues at all when streaming.

As to why your GPU is struggling with the workload of Overwatch at medium settings when it is a 980ti I cannot answer that as I don't have Overwatch nor a nVidia card to assist with in-game/OBS NVENC-specific settings.

I also do not stream so can't help you out much there other than to re-iterate the recommended twitch settings. In saying that:

Can you try the below settings and upload a logfile after you have streamed please:
Video Settings:
Base Resolution: Your display resolution
Scaled Resolution: 1280x720p
Downscale Filter: Lanczos
FPS Value: 60
Output Settings:
Output Mode: Advanced
Encoder: NVENC h.264
Enforce streaming service encoder settings: Checked/Ticked.
Rate Control: CBR
Bitrate: 2500
Keyframe Interval: 2
Preset: Low-Latency High Quality
Profile: High
Level: Auto
B-frames: 2
Audio Bitrate Settings Tab (In Output Settings):
128 bit

Use Two Pass Encoding: Checked/Ticked. <--- From what I have read, will improve quality slightly. Just test to see if it does for you.

You could try the x.264 encoder and use your CPU though it will increase your CPU usage, you could also try out QSync encoder on your 4790k.

Make sure to choose the closest streaming server to your location, this will help a lot for overall performance of the stream.

Below is a link to the Twitch OBS info page:
https://help.twitch.tv/customer/en/portal/articles/1262922-open-broadcaster-software

Hopefully someone with a more positive attitude towards helping others will also reply to your thread with more insight than what I can offer.
 
Hi,

Log looks fine some blips but that wouldn't be causing the stuffer, settings also look fine for your system . You should have no issues with 720p 30fps using x264 software. Given the log it could be more driver related conflicting with OBS
 

rob444

New Member
First of all, your system is not a weak system by any means.

@Mario345, if you don't have anything to contribute that is constructive perhaps not contribute at all... I have not seen anybody post anything of the likes that is not warranted in our threads. Just about every thread I have perused has had helpful feedback.

1st stream, at 720p60fps output:
21:56:15.975: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 21 (0.1%)
2nd stream, at 720p30fps output:
22:03:07.602: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.1%)
3rd stream, at 720p60fps output:
22:12:30.783: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 25 (0.2%)
4th stream, at 720p60fps output (Same settings as 3rd stream output):
22:24:58.981: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 102 (0.5%)

Your CPU is not displaying any signs at all of struggling when streaming, your would see a line above stating encoding lag if there was.
Your GPU is struggling slightly at 720p60fps when streaming, it really is only marginal though so perhaps tweak settings slightly lower in-game.
Your connection is displaying no issues at all when streaming.

As to why your GPU is struggling with the workload of Overwatch at medium settings when it is a 980ti I cannot answer that as I don't have Overwatch nor a nVidia card to assist with in-game/OBS NVENC-specific settings.

I also do not stream so can't help you out much there other than to re-iterate the recommended twitch settings. In saying that:

Can you try the below settings and upload a logfile after you have streamed please:
Video Settings:
Base Resolution: Your display resolution
Scaled Resolution: 1280x720p
Downscale Filter: Lanczos
FPS Value: 60
Output Settings:
Output Mode: Advanced
Encoder: NVENC h.264
Enforce streaming service encoder settings: Checked/Ticked.
Rate Control: CBR
Bitrate: 2500
Keyframe Interval: 2
Preset: Low-Latency High Quality
Profile: High
Level: Auto
B-frames: 2
Audio Bitrate Settings Tab (In Output Settings):
128 bit

Use Two Pass Encoding: Checked/Ticked. <--- From what I have read, will improve quality slightly. Just test to see if it does for you.

You could try the x.264 encoder and use your CPU though it will increase your CPU usage, you could also try out QSync encoder on your 4790k.

Make sure to choose the closest streaming server to your location, this will help a lot for overall performance of the stream.

Below is a link to the Twitch OBS info page:
https://help.twitch.tv/customer/en/portal/articles/1262922-open-broadcaster-software

Hopefully someone with a more positive attitude towards helping others will also reply to your thread with more insight than what I can offer.


Thank you! I am not entirely sure if what you suggested fixed the problem of all the settings. But I don't have any sort of stutters at all now and the stream looks totally fine in my opinion!

Thanks a lot, that solved my issue!
 
No problem at all, do you mind uploading a logfile post-stream, I am not a streamer so if I can grab a look at a logfile of yours to compare with your previous it would help my knowledge.
 

rob444

New Member
Top