Question / Help FPS drops in game while streaming live (DOTA 2)

4ndr3wch4n

New Member
So i'm trying to stream dota 2, but when i do my fps drops to about 25 fps from my typical 50 fps (I know, it still isn't that good). If someone can tell me why it's dropping so much, it would be much appreciated. By the way, I noticed that my integrated graphics card is only using 500mb out of it's 1.7gb can't it use more so that the game can run better? Honestly though, every time I try to stream my fps goes down to 25-30fps even in lowered resolution where my fps would generally be 60

NOTE: My bitrate is low but I will be switching to a better ISP soon.

THIS IS A LAPTOP

Log:
Code:
21:28:51: Open Broadcaster Software v0.552b - 32bit (´・ω・`)
21:28:51: -------------------------------
21:28:51: CPU Name: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
21:28:51: CPU Speed: 1796MHz
21:28:51: Physical Memory:  4095MB Total, 4095MB Free
21:28:51: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
21:28:51: monitor 1: pos={0, 0}, size={1366, 768}
21:28:51: Windows Version: 6.2 Build 9200 
21:28:51: Aero is Enabled
21:28:51: -------------------------------
21:28:51: OBS Modules:
21:28:51: Base Address     Module
21:28:51: 01000000         OBS.exe
21:28:51: 61340000         OBSApi.dll
21:28:51: 60F10000         DShowPlugin.dll
21:28:51: 60EF0000         GraphicsCapture.dll
21:28:51: 60ED0000         NoiseGate.dll
21:28:51: 60EB0000         PSVPlugin.dll
21:28:51: ------------------------------------------
21:28:51: Adapter 1
21:28:51:   Video Adapter: Intel(R) HD Graphics 4000
21:28:51:   Video Adapter Dedicated Video Memory: 134217728
21:28:51:   Video Adapter Shared System Memory: 1711276032
21:28:51: =====Stream Start: 2013-08-24, 21:28:51===============================================
21:28:51:   Multithreaded optimizations: On
21:28:51:   Base resolution: 900x650
21:28:51:   Output resolution: 900x650
21:28:51: ------------------------------------------
21:28:51: Loading up D3D10 on Intel(R) HD Graphics 4000...
21:28:53: Playback device Default
21:28:53: ------------------------------------------
21:28:53: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:28:53: ------------------------------------------
21:28:53: Using auxilary audio input: Microphone (Realtek High Definition Audio)
21:28:53: ------------------------------------------
21:28:53: Audio Encoding: AAC
21:28:53:     bitrate: 64
21:28:53: Using graphics capture
21:28:53: ------------------------------------------
21:28:53: Video Encoding: x264
21:28:53:     fps: 30
21:28:53:     width: 900, height: 650
21:28:53:     preset: veryfast
21:28:53:     CBR: yes
21:28:53:     CFR: no
21:28:53:     max bitrate: 300
21:28:53: ------------------------------------------
21:28:53: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
21:28:53: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
21:28:53: SharedTexCapture hooked
21:29:06: SharedTexCapture hooked
21:29:28: Using graphics capture
21:29:28: SharedTexCapture hooked
21:32:03: GraphicsCaptureSource::NewCapture:  eliminating old capture
21:32:03: SharedTexCapture hooked
21:34:10: GraphicsCaptureSource::NewCapture:  eliminating old capture
21:34:10: SharedTexCapture hooked
21:34:27: GraphicsCaptureSource::NewCapture:  eliminating old capture
21:34:27: SharedTexCapture hooked
22:05:27: Capture window 0x000103C2 invalid or changing, terminating capture
22:05:30: Total frames rendered: 65747, number of late frames: 178 (0.27%) (it's okay for some frames to be late)
22:05:30: 
22:05:30: Profiler results:
22:05:30: 
22:05:30: ==============================================================
22:05:30: frame - [100%] [avg time: 4.871 ms (cpu time: avg 3.952 ms, total 259891 ms)] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.308%]
22:05:30: | frame preprocessing and rendering - [22.7%] [avg time: 1.108 ms (cpu time: avg 0.898 ms, total 59078.1 ms)] [avg calls per frame: 1] [children: 0.0411%] [unaccounted: 22.7%]
22:05:30: | | scene->Preprocess - [0.0411%] [avg time: 0.002 ms (cpu time: avg 0.002 ms, total 171.875 ms)] [avg calls per frame: 1]
22:05:30: | video encoding and uploading - [76.9%] [avg time: 3.748 ms (cpu time: avg 3.048 ms, total 200438 ms)] [avg calls per frame: 1] [children: 74.4%] [unaccounted: 2.5%]
22:05:30: | | flush - [5.01%] [avg time: 0.244 ms (cpu time: avg 0.172 ms, total 11312.5 ms)] [avg calls per frame: 1]
22:05:30: | | CopyResource - [2.77%] [avg time: 0.135 ms (cpu time: avg 0.117 ms, total 7750 ms)] [avg calls per frame: 0]
22:05:30: | | conversion to 4:2:0 - [2.26%] [avg time: 0.11 ms (cpu time: avg 0.007 ms, total 484.375 ms)] [avg calls per frame: 0]
22:05:30: | | call to encoder - [64.3%] [avg time: 3.131 ms (cpu time: avg 2.717 ms, total 178688 ms)] [avg calls per frame: 0]
22:05:30: | | sending stuff out - [0.123%] [avg time: 0.006 ms (cpu time: avg 0.004 ms, total 281.25 ms)] [avg calls per frame: 0]
22:05:30: | Convert444Threads - [685%] [avg time: 33.39 ms (cpu time: avg 2.038 ms, total 134000 ms)] [avg calls per frame: 0]
22:05:30: ==============================================================
22:05:30: 
22:05:30: =====Stream End: 2013-08-24, 22:05:30=================================================


Last game capture log:
2013-08-24, 21:28:53: we're booting up: 
21:28:53: D3D9 Present
21:28:53: D3D9EndScene called
21:28:53: D3DPRESENT_PARAMETERS {
21:28:53: 	BackBufferWidth: 900
21:28:53: 	BackBufferHeight: 650
21:28:53: 	BackBufferFormat: D3DFMT_A8R8G8B8
21:28:53: 	BackBufferCount: 1
21:28:53: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:28:53: 	MultiSampleQuality: 0
21:28:53: 	SwapEffect: D3DSWAPEFFECT_DISCARD
21:28:53: 	hDeviceWindow: 66498
21:28:53: 	Windowed: true
21:28:53: 	EnableAutoDepthStencil: true
21:28:53: 	AutoDepthStencilFormat: D3DFMT_D24S8
21:28:53: 	Flags: None
21:28:53: 	FullScreen_RefreshRateInHz: 0
21:28:53: 	PresentationInterval: 2147483648
21:28:53: };
21:28:53: successfully set up d3d9 hooks
21:28:53: D3D9Present called
21:28:53: DoD3D9GPUHook: success - d3d9ex
21:28:53: D3DSURFACE_DESC {
21:28:53: 	Format: D3DFMT_A8R8G8B8
21:28:53: 	Type: D3DRTYPE_SURFACE
21:28:53: 	Usage: D3DUSAGE_RENDERTARGET 
21:28:53: 	Pool: D3DPOOL_DEFAULT
21:28:53: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:28:53: 	MultiSampleQuality: 0
21:28:53: 	Width: 900
21:28:53: 	Height: 650
21:28:53: };
21:28:53: successfully capturing d3d9 frames via GPU
21:28:54: GL Present
21:28:54: (half life scientist) everything..  seems to be in order
21:29:06: ---------------------- Cleared D3D9 Capture ----------------------
21:29:06: received restart event, capturing
21:29:06: DoD3D9GPUHook: success - d3d9ex
21:29:06: D3D9EndScene called
21:29:06: D3D9Present called
21:29:06: D3DSURFACE_DESC {
21:29:06: 	Format: D3DFMT_A8R8G8B8
21:29:06: 	Type: D3DRTYPE_SURFACE
21:29:06: 	Usage: D3DUSAGE_RENDERTARGET 
21:29:06: 	Pool: D3DPOOL_DEFAULT
21:29:06: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:29:06: 	MultiSampleQuality: 0
21:29:06: 	Width: 900
21:29:06: 	Height: 650
21:29:06: };
21:29:06: successfully capturing d3d9 frames via GPU
21:29:21: ---------------------- Cleared D3D9 Capture ----------------------
21:29:21: D3D9EndScene called
21:29:21: D3D9Present called
21:29:28: received restart event, capturing
21:29:28: DoD3D9GPUHook: success - d3d9ex
21:29:28: D3DSURFACE_DESC {
21:29:28: 	Format: D3DFMT_A8R8G8B8
21:29:28: 	Type: D3DRTYPE_SURFACE
21:29:28: 	Usage: D3DUSAGE_RENDERTARGET 
21:29:28: 	Pool: D3DPOOL_DEFAULT
21:29:28: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:29:28: 	MultiSampleQuality: 0
21:29:28: 	Width: 900
21:29:28: 	Height: 650
21:29:28: };
21:29:28: successfully capturing d3d9 frames via GPU
21:32:00: D3D9Reset called
21:32:00: ---------------------- Cleared D3D9 Capture ----------------------
21:32:00: D3DPRESENT_PARAMETERS {
21:32:00: 	BackBufferWidth: 1280
21:32:00: 	BackBufferHeight: 768
21:32:00: 	BackBufferFormat: D3DFMT_A8R8G8B8
21:32:00: 	BackBufferCount: 1
21:32:00: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:32:00: 	MultiSampleQuality: 0
21:32:00: 	SwapEffect: D3DSWAPEFFECT_DISCARD
21:32:00: 	hDeviceWindow: 66498
21:32:00: 	Windowed: false
21:32:00: 	EnableAutoDepthStencil: true
21:32:00: 	AutoDepthStencilFormat: D3DFMT_D24S8
21:32:00: 	Flags: None
21:32:00: 	FullScreen_RefreshRateInHz: 60
21:32:00: 	PresentationInterval: 2147483648
21:32:00: };
21:32:00: successfully set up d3d9 hooks
21:32:03: D3D9EndScene called
21:32:03: D3D9Present called
21:32:03: DoD3D9GPUHook: success - d3d9ex
21:32:03: D3DSURFACE_DESC {
21:32:03: 	Format: D3DFMT_A8R8G8B8
21:32:03: 	Type: D3DRTYPE_SURFACE
21:32:03: 	Usage: D3DUSAGE_RENDERTARGET 
21:32:03: 	Pool: D3DPOOL_DEFAULT
21:32:03: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:32:03: 	MultiSampleQuality: 0
21:32:03: 	Width: 1280
21:32:03: 	Height: 768
21:32:03: };
21:32:03: successfully capturing d3d9 frames via GPU
21:34:07: D3D9Reset called
21:34:07: ---------------------- Cleared D3D9 Capture ----------------------
21:34:07: successfully set up d3d9 hooks
21:34:10: D3D9EndScene called
21:34:10: D3D9Present called
21:34:10: DoD3D9GPUHook: success - d3d9ex
21:34:10: D3DSURFACE_DESC {
21:34:10: 	Format: D3DFMT_A8R8G8B8
21:34:10: 	Type: D3DRTYPE_SURFACE
21:34:10: 	Usage: D3DUSAGE_RENDERTARGET 
21:34:10: 	Pool: D3DPOOL_DEFAULT
21:34:10: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:34:10: 	MultiSampleQuality: 0
21:34:10: 	Width: 1280
21:34:10: 	Height: 768
21:34:10: };
21:34:10: successfully capturing d3d9 frames via GPU
21:34:24: D3D9Reset called
21:34:24: ---------------------- Cleared D3D9 Capture ----------------------
21:34:24: successfully set up d3d9 hooks
21:34:27: D3D9EndScene called
21:34:27: D3D9Present called
21:34:27: DoD3D9GPUHook: success - d3d9ex
21:34:27: D3DSURFACE_DESC {
21:34:27: 	Format: D3DFMT_A8R8G8B8
21:34:27: 	Type: D3DRTYPE_SURFACE
21:34:27: 	Usage: D3DUSAGE_RENDERTARGET 
21:34:27: 	Pool: D3DPOOL_DEFAULT
21:34:27: 	MultiSampleType: D3DMULTISAMPLE_NONE
21:34:27: 	MultiSampleQuality: 0
21:34:27: 	Width: 1280
21:34:27: 	Height: 768
21:34:27: };
21:34:27: successfully capturing d3d9 frames via GPU
 

alpinlol

Active Member
i guess theres not much to do with that hardware your cpu can barely handle dota dont expect it to do anything while playing AND streaming :(

only thing you could do is downscale the resolution really far and drop the fps to like 15-20 but then again noone really wants to see that kind of quality :(
 

4ndr3wch4n

New Member
alpinlol said:
i guess theres not much to do with that hardware your cpu can barely handle dota dont expect it to do anything while playing AND streaming :(

only thing you could do is downscale the resolution really far and drop the fps to like 15-20 but then again noone really wants to see that kind of quality :(
Really? D: i guess 50 fps isn't the best, but streaming honestly takes up that much? when i look at the task manager, it says 50-60% of my cpu is being used when i'm trying to stream and play dota together
 

Kharay

Member
Max Bitrate... 300? No one is going to be able to see anything at 300 Kbps in that resolution.

Anyhow, I do not fully agree with alpinlol. Even though your hardware is the most powerful out there, I do think it should be able to stream Dota 2 at a watchable level at least.

First of all though, run an upload test here, making sure to pick a test server near the one you intend to stream to. So we can get a good idea of what your real world upload to that server is like.
 

4ndr3wch4n

New Member
Kharay said:
Max Bitrate... 300? No one is going to be able to see anything at 300 Kbps in that resolution.

Anyhow, I do not fully agree with alpinlol. Even though your hardware is the most powerful out there, I do think it should be able to stream Dota 2 at a watchable level at least.

First of all though, run an upload test here, making sure to pick a test server near the one you intend to stream to. So we can get a good idea of what your real world upload to that server is like.
At what speed? and btw, if you tell me to do the automatic. The results are REALLLLLY bad
W6s3zI7.png


Getting a new ISP this thursday, hopefully it will be better. However, isn't this for quality of stream? what i was saying was that my fps in game is dropping dramatically, isn't that a hardware issue like alpinlol said?
 

Kharay

Member
The reason I suggested you also do a speed test is simple reason: Even if we get OBS to stop dropping frames for you, if your bandwidth doesn't meet the minimal requirements for streaming, what is the point? And, if that result is, as I suggested to a server near the one you intend to stream to, let me just be blunt for a second... 253 Kbps is nowhere near enough to play Dota 2 ánd stream at the same time.

Dota 2 needs bandwidth as well, given the fact it's a MOBA. Meaning that we have way less than 253 Kbps to work with for the stream. Which... is not enough, by any means. At any resolution. At any framerate.
 

4ndr3wch4n

New Member
Kharay said:
The reason I suggested you also do a speed test is simple reason: Even if we get OBS to stop dropping frames for you, if your bandwidth doesn't meet the minimal requirements for streaming, what is the point? And, if that result is, as I suggested to a server near the one you intend to stream to, let me just be blunt for a second... 253 Kbps is nowhere near enough to play Dota 2 ánd stream at the same time.

Dota 2 needs bandwidth as well, given the fact it's a MOBA. Meaning that we have way less than 253 Kbps to work with for the stream. Which... is not enough, by any means. At any resolution. At any framerate.
I'll message you on thursday/friday once i have changed my ISP. If my bandwidth is enough for streaming and playing, can you help me fix this frame rate drop problem?
 

alpinlol

Active Member
the problem is that your cpu is actually an i3 since you got a dual core with ht so when you already are at around 50-60% cpu usage while playing then your cpu is going crazy when you stream and play also since your cpu gets throttled when your integrated gpu needs more power even tho dota 2 is also based on a source engine which is mostly cpu based thats why you get decent performance while playing only.

so if you get your new connection going you might also consider downscaling by 1.5-2.0 to give your cpu less work
 

4ndr3wch4n

New Member
alpinlol said:
the problem is that your cpu is actually an i3 since you got a dual core with ht so when you already are at around 50-60% cpu usage while playing then your cpu is going crazy when you stream and play also since your cpu gets throttled when your integrated gpu needs more power even tho dota 2 is also based on a source engine which is mostly cpu based thats why you get decent performance while playing only.

so if you get your new connection going you might also consider downscaling by 1.5-2.0 to give your cpu less work
ah ok, btw when i just play it is at 30%
 
Top