Question / Help Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log file)

AdamoA

New Member
Hello everybody!

I got a little problem while I am trying to stream with OBS. Unfortunately my fps is very low after a while and I cannot find the best and balanced settings between good quality and good performance.

I check the log analyzer already plus I set everything what the Stream Settings Estimator recommended to me. Still its not okay :/

Code:
19:43:05: Settings::Video: Enabling Aero
19:46:29: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
19:46:29: -------------------------------
19:46:29: CPU Name: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
19:46:29: CPU Speed: 2494MHz
19:46:29: Physical Memory:  4095MB Total, 3479MB Free
19:46:29: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
19:46:29: monitor 1: pos={0, 0}, size={1600, 900}
19:46:29: monitor 2: pos={1600, 0}, size={1280, 1024}
19:46:29: Windows Version: 6.1 Build 7601 S
19:46:29: Aero is Enabled
19:46:29: -------------------------------
19:46:29: OBS Modules:
19:46:29: Base Address     Module
19:46:29: 00330000         OBS.exe
19:46:29: 69EF0000         OBSApi.dll
19:46:29: 6A1B0000         DShowPlugin.dll
19:46:29: 6A260000         GraphicsCapture.dll
19:46:29: 6A240000         NoiseGate.dll
19:46:29: 6A190000         PSVPlugin.dll
19:46:29: ------------------------------------------
19:46:29: Adapter 1
19:46:29:   Video Adapter: NVIDIA GeForce GT 540M
19:46:29:   Video Adapter Dedicated Video Memory: 2096693248
19:46:29:   Video Adapter Shared System Memory: 2147495936
19:46:29: ------------------------------------------
19:46:29: Adapter 2
19:46:29:   Video Adapter: NVIDIA GeForce GT 540M
19:46:29:   Video Adapter Dedicated Video Memory: 2096693248
19:46:29:   Video Adapter Shared System Memory: 2147495936
19:46:29: =====Stream Start: 2013-09-21, 19:46:29===============================================
19:46:29:   Multithreaded optimizations: On
19:46:29:   Base resolution: 1600x900
19:46:29:   Output resolution: 1280x720
19:46:29: ------------------------------------------
19:46:29: Loading up D3D10 on NVIDIA GeForce GT 540M...
19:46:29: Path/To/There/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
19:46:29: Path/To/There/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
19:46:29: Path/To/There/AppData/Roaming/OBS/shaderCache/shaders/DownscaleBilinear1YUV.pShader.blob
19:46:29: Playback device Default
19:46:29: ------------------------------------------
19:46:29: Using desktop audio input: Hangszórók (Realtek High Definition Audio)
19:46:29: ------------------------------------------
19:46:29: Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
19:46:29: ------------------------------------------
19:46:29: Audio Encoding: AAC
19:46:29:     bitrate: 128
19:46:29: Using graphics capture
19:46:29: Path/To/There/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
19:46:29: ------------------------------------------
19:46:29: Video Encoding: x264
19:46:29:     fps: 25
19:46:29:     width: 1280, height: 720
19:46:29:     preset: veryfast
19:46:29:     CBR: yes
19:46:29:     CFR: yes
19:46:29:     max bitrate: 3000
19:46:29:     buffer size: 3000
19:46:29: ------------------------------------------
19:46:29: MMDeviceAudioSource: Frequency for device 'Hangszórók (Realtek High Definition Audio)' is 384000, samples per sec is 48000
19:46:29: MMDeviceAudioSource: Frequency for device 'Mikrofon (Realtek High Definition Audio)' is 352800, samples per sec is 44100
19:46:29: SharedTexCapture hooked
19:46:31: Using RTMP service: Twitch / Justin.tv
19:46:31:   Server selection: rtmp://live-fra.justin.tv/app
19:46:31:   Interface: Broadcom 802.11n h l¢zati adapter (802.11, 108 mbps)
19:46:32: SO_SNDBUF was at 8192
19:46:32: SO_SNDBUF is now 65536
19:46:33: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 400384)
19:46:34: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 400384)
19:54:59: Total frames rendered: 12657, number of late frames: 126 (1.00%) (it's okay for some frames to be late)
19:54:59: Total duplicated frames to ensure constant framerate: 148 (1.17%)
19:54:59: RTMPPublisher::SocketLoop: Graceful loop exit
19:54:59: Number of times waited to send: 0, Waited for a total of 0 bytes
19:54:59: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:54:59: 
19:54:59: Profiler results:
19:54:59: 
19:54:59: ==============================================================
19:54:59: frame - [100%] [avg time: 5.521 ms (cpu time: avg 2.504 ms, total 31699.4 ms)] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.29%]
19:54:59: | frame preprocessing and rendering - [19.4%] [avg time: 1.069 ms (cpu time: avg 0.578 ms, total 7316.45 ms)] [avg calls per frame: 1] [children: 0.0543%] [unaccounted: 19.3%]
19:54:59: | | scene->Preprocess - [0.0543%] [avg time: 0.003 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
19:54:59: | video encoding and uploading - [80.3%] [avg time: 4.436 ms (cpu time: avg 1.921 ms, total 24320.6 ms)] [avg calls per frame: 1] [children: 77.8%] [unaccounted: 2.52%]
19:54:59: | | flush - [24%] [avg time: 1.326 ms (cpu time: avg 0.052 ms, total 670.804 ms)] [avg calls per frame: 1]
19:54:59: | | CopyResource - [1.29%] [avg time: 0.071 ms (cpu time: avg 0.029 ms, total 374.404 ms)] [avg calls per frame: 0]
19:54:59: | | conversion to 4:2:0 - [0.308%] [avg time: 0.017 ms (cpu time: avg 0.004 ms, total 62.4 ms)] [avg calls per frame: 0]
19:54:59: | | call to encoder - [50.5%] [avg time: 2.786 ms (cpu time: avg 1.771 ms, total 22417.3 ms)] [avg calls per frame: 1]
19:54:59: | | sending stuff out - [1.76%] [avg time: 0.097 ms (cpu time: avg 0.032 ms, total 405.605 ms)] [avg calls per frame: 1]
19:54:59: | Convert444Threads - [729%] [avg time: 40.233 ms (cpu time: avg 1.31 ms, total 16582.9 ms)] [avg calls per frame: 0]
19:54:59: ==============================================================
19:54:59: 
19:54:59: =====Stream End: 2013-09-21, 19:54:59=================================================

Thank you!

Best regards,
AdamoA
 

flavored

Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

While your notebook isn't of the fastest ones out there, you should still be getting playable speeds. Few things: what are your graphics settings in sc2? What method do you use to capture your game (game capture should be used)?
 

AdamoA

New Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

flavored said:
While your notebook isn't of the fastest ones out there, you should still be getting playable speeds. Few things: what are your graphics settings in sc2? What method do you use to capture your game (game capture should be used)?

Hello!

First of all thank you for the quick response!

My Sc2 settings are: Windowed (Fullscreen)
Everything Low, 2D and off

I am using game capture, however I got a little fight with until it worked :)
 

flavored

Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

Disable aero, check your processor/gpu load while streaming. If it's at 100% perhaps your machine just isn't enough. Lower encoding quality: bitrate, resolution. Make sure you're not watching your own stream/not running any flash.
 

alpinlol

Active Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

meh your cpu is actually an i3 sold under the name of an i5 :/ but it should be able to get 720@25 in my opinion and 5ms render time for an weak notebook cpu isnt bad either but since you run into problems you might downscale a bit more

but i've also heared that several people have problems with sc2 lately if they are playing for quite a time because blizzard changed something essential
 

AdamoA

New Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

Thank you all for the response!

I did tests and always checked my CPU usage.
Actually I got a pretty good FPS in SC2 but sometimes (I dunno why) OBS.exe's CPU usage jumps up above 50% for 2-3 seconds and then the FPS in SC2 drops down below 15 :/
I set the bitrate to 1000 but it did not helped, it was the same. It is not constant... but jumping.

I am not sure about the following thins:
- CBR is helping or not (I think yous cos VBR requires more CPU works afaik)
- CFR is helping or not
- key interval should be 50 afaik but it doesn't let me to set. Kayframe interval (seconds, 0=auto) could be between 0-20 actually. I check the Custom x264 Encoder Settings and write keyint=50 but I am not sure it is working like this.

Thank you again!
 

alpinlol

Active Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

you set a simple 2 in the key interval because thats changed and stands for seconds so instead of the double frames per second you just chose 2 seconds since you had to set a command for it before.

also bitrate doesnt really do much with cpu usage its about the preset and the resolution+fps you try to encode
 

AdamoA

New Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

alpinlol said:
you set a simple 2 in the key interval because thats changed and stands for seconds so instead of the double frames per second you just chose 2 seconds since you had to set a command for it before.

also bitrate doesnt really do much with cpu usage its about the preset and the resolution+fps you try to encode
Thank you, now I can see the problem! :) I set it to 20... but not it is 2. However the problem is still around.
I set the CPU preset to superfast from veryfast... and as far as I saw it was better... can the quality still be good with higher bitrate with superfast CPU preset? Or it is not working like this?
 

alpinlol

Active Member
Re: Low fps in SC2 (60/10mbit, Samsung RF511 notebook, log f

well if you go with an faster preset the price you pay for less cpu usage compared to the bitrate needed with the default preset (veryfast) is pretty crazy but your cpu gets quite a lot more headroom

but actually for a 1280x720@25 stream even with superfast preset you should be fine with a 3000bitrate shouldnt be that bad tho
 
Top