Question / Help losing frames ingame since update

CoryTP

Member
Since OBS has been updating my CPU usage is hitting 100% when streaming i used to stream 720p 60fps on CSGO now i cant even stream in 30 fps without losing 100 frames when starting the stream and feeling laggy in game not sure what to do. I havent changed anything since ive started streaming so its rather annoying that i cant stream at all now.
 

CoryTP

Member
Code:
14:30:04: Settings::Video: Disabling Aero
14:57:48: Open Broadcaster Software v0.554b - 32bit (´・ω・`)
14:57:48: -------------------------------
14:57:48: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
14:57:48: CPU Speed: 3309MHz
14:57:48: Physical Memory:  4095MB Total, 4095MB Free
14:57:48: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
14:57:48: monitor 1: pos={0, 0}, size={1920, 1080}
14:57:48: Windows Version: 6.1 Build 7601 S
14:57:48: Aero is Disabled
14:57:48: -------------------------------
14:57:48: OBS Modules:
14:57:48: Base Address     Module
14:57:48: 01060000         OBS.exe
14:57:48: 5D8D0000         OBSApi.dll
14:57:48: 5D690000         DShowPlugin.dll
14:57:48: 5D670000         GraphicsCapture.dll
14:57:48: 5D650000         NoiseGate.dll
14:57:48: 5D630000         PSVPlugin.dll
14:57:48: ------------------------------------------
14:57:48: Adapter 1
14:57:48:   Video Adapter: NVIDIA GeForce GTX 580
14:57:48:   Video Adapter Dedicated Video Memory: 1560739840
14:57:48:   Video Adapter Shared System Memory: 2684235776
14:57:48: ------------------------------------------
14:57:48: Adapter 2
14:57:48:   Video Adapter: Intel(R) HD Graphics 3000
14:57:48:   Video Adapter Dedicated Video Memory: 67108864
14:57:48:   Video Adapter Shared System Memory: 1711276032
14:57:48: =====Stream Start: 2013-09-11, 14:57:48===============================================
14:57:48:   Multithreaded optimizations: On
14:57:48:   Base resolution: 1920x1080
14:57:48:   Output resolution: 1920x1080
14:57:48: ------------------------------------------
14:57:48: Loading up D3D10 on NVIDIA GeForce GTX 580...
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
14:57:48: Playback device Default
14:57:48: ------------------------------------------
14:57:48: Using desktop audio input: Speakers (High Definition Audio Device)
14:57:48: ------------------------------------------
14:57:48: Using auxilary audio input: Microphone (High Definition Audio Device)
14:57:48: ------------------------------------------
14:57:48: Audio Encoding: AAC
14:57:48:     bitrate: 192
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
14:57:48: Using bitmap image
14:57:48: Using graphics capture
14:57:48: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
14:57:48: ------------------------------------------
14:57:48: Video Encoding: x264
14:57:48:     fps: 30
14:57:48:     width: 1920, height: 1080
14:57:48:     preset: veryfast
14:57:48:     CBR: yes
14:57:48:     CFR: no
14:57:48:     max bitrate: 2750
14:57:48:     buffer size: 2750
14:57:48: ------------------------------------------
14:57:48: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 1536000, samples per sec is 192000
14:57:48: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 1536000, samples per sec is 192000
14:58:44: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
14:59:21: SharedTexCapture hooked
14:59:31: GraphicsCaptureSource::NewCapture:  eliminating old capture
14:59:31: SharedTexCapture hooked
15:00:38: GraphicsCaptureSource::NewCapture:  eliminating old capture
15:00:38: SharedTexCapture hooked
15:02:15: Settings::Video: Disabling Aero
15:02:21: Total frames rendered: 8084, number of late frames: 20 (0.25%) (it's okay for some frames to be late)
15:02:21: 
15:02:21: Profiler results:
15:02:21: 
15:02:21: ==============================================================
15:02:21: frame - [100%] [avg time: 3.492 ms (cpu time: avg 2.655 ms, total 21465.7 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.2%]
15:02:21: | frame preprocessing and rendering - [21.3%] [avg time: 0.743 ms (cpu time: avg 0.308 ms, total 2496.02 ms)] [avg calls per frame: 1] [children: 0.0286%] [unaccounted: 21.2%]
15:02:21: | | scene->Preprocess - [0.0286%] [avg time: 0.001 ms (cpu time: avg 0.001 ms, total 15.6 ms)] [avg calls per frame: 1]
15:02:21: | video encoding and uploading - [78.5%] [avg time: 2.742 ms (cpu time: avg 2.344 ms, total 18954.1 ms)] [avg calls per frame: 1] [children: 77.7%] [unaccounted: 0.83%]
15:02:21: | | flush - [5.15%] [avg time: 0.18 ms (cpu time: avg 0.061 ms, total 499.206 ms)] [avg calls per frame: 1]
15:02:21: | | CopyResource - [0.401%] [avg time: 0.014 ms (cpu time: avg 0.005 ms, total 46.8 ms)] [avg calls per frame: 0]
15:02:21: | | conversion to 4:2:0 - [1.95%] [avg time: 0.068 ms (cpu time: avg 0.013 ms, total 109.2 ms)] [avg calls per frame: 0]
15:02:21: | | call to encoder - [70.2%] [avg time: 2.45 ms (cpu time: avg 2.252 ms, total 18205.3 ms)] [avg calls per frame: 0]
15:02:21: | | sending stuff out - [0.0286%] [avg time: 0.001 ms (cpu time: avg 0.003 ms, total 31.201 ms)] [avg calls per frame: 0]
15:02:21: | Convert444Threads - [1.92e+003%] [avg time: 67.11 ms (cpu time: avg 2.4 ms, total 19406.5 ms)] [avg calls per frame: 1]
15:02:21: ==============================================================
15:02:21: 
15:02:21: =====Stream End: 2013-09-11, 15:02:21=================================================
15:02:21: =====Stream Start: 2013-09-11, 15:02:21===============================================
15:02:21:   Multithreaded optimizations: On
15:02:21:   Base resolution: 1920x1080
15:02:21:   Output resolution: 1280x720
15:02:21: ------------------------------------------
15:02:21: Loading up D3D10 on NVIDIA GeForce GTX 580...
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DownscaleLanczos6tapYUV.pShader.blob
15:02:21: Playback device Default
15:02:21: ------------------------------------------
15:02:21: Using desktop audio input: Speakers (High Definition Audio Device)
15:02:21: ------------------------------------------
15:02:21: Using auxilary audio input: Microphone (High Definition Audio Device)
15:02:21: ------------------------------------------
15:02:21: Audio Encoding: AAC
15:02:21:     bitrate: 192
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
15:02:21: Using bitmap image
15:02:21: Using graphics capture
15:02:21: C:/Users/Cory/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:02:21: ------------------------------------------
15:02:21: Video Encoding: x264
15:02:21:     fps: 30
15:02:21:     width: 1280, height: 720
15:02:21:     preset: veryfast
15:02:21:     CBR: yes
15:02:21:     CFR: no
15:02:21:     max bitrate: 2750
15:02:21:     buffer size: 2750
15:02:21: ------------------------------------------
15:02:21: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 1536000, samples per sec is 192000
15:02:21: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 1536000, samples per sec is 192000
15:02:24: SharedTexCapture hooked
15:05:34: Total frames rendered: 5746, number of late frames: 4 (0.07%) (it's okay for some frames to be late)
15:05:34: 
15:05:34: Profiler results:
15:05:34: 
15:05:34: ==============================================================
15:05:34: frame - [100%] [avg time: 1.918 ms (cpu time: avg 1.33 ms, total 7644.05 ms)] [avg calls per frame: 1] [children: 99.7%] [unaccounted: 0.313%]
15:05:34: | frame preprocessing and rendering - [27.1%] [avg time: 0.52 ms (cpu time: avg 0.274 ms, total 1575.61 ms)] [avg calls per frame: 1] [children: 0.0521%] [unaccounted: 27.1%]
15:05:34: | | scene->Preprocess - [0.0521%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
15:05:34: | video encoding and uploading - [72.6%] [avg time: 1.392 ms (cpu time: avg 1.053 ms, total 6052.84 ms)] [avg calls per frame: 1] [children: 70.9%] [unaccounted: 1.72%]
15:05:34: | | flush - [11.8%] [avg time: 0.227 ms (cpu time: avg 0.021 ms, total 124.801 ms)] [avg calls per frame: 1]
15:05:34: | | CopyResource - [0.782%] [avg time: 0.015 ms (cpu time: avg 0.01 ms, total 62.4 ms)] [avg calls per frame: 0]
15:05:34: | | conversion to 4:2:0 - [1.25%] [avg time: 0.024 ms (cpu time: avg 0.008 ms, total 46.8 ms)] [avg calls per frame: 0]
15:05:34: | | call to encoder - [56.9%] [avg time: 1.091 ms (cpu time: avg 0.988 ms, total 5678.44 ms)] [avg calls per frame: 0]
15:05:34: | | sending stuff out - [0.104%] [avg time: 0.002 ms (cpu time: avg 0.002 ms, total 15.6 ms)] [avg calls per frame: 0]
15:05:34: | Convert444Threads - [3.48e+003%] [avg time: 66.683 ms (cpu time: avg 1.023 ms, total 5881.24 ms)] [avg calls per frame: 1]
15:05:34: ==============================================================
15:05:34: 
15:05:34: =====Stream End: 2013-09-11, 15:05:34=================================================


Last game capture log:
2013-09-11, 14:58:44: we're booting up: 
14:58:44: D3D9 Present
14:58:44: NV Capture available
14:58:44: FBO available
14:58:44: GL Present
14:58:44: (half life scientist) everything..  seems to be in order
14:59:21: D3D9EndScene called
14:59:21: D3DPRESENT_PARAMETERS {
14:59:21: 	BackBufferWidth: 1920
14:59:21: 	BackBufferHeight: 1080
14:59:21: 	BackBufferFormat: D3DFMT_A8R8G8B8
14:59:21: 	BackBufferCount: 1
14:59:21: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
14:59:21: 	MultiSampleQuality: 0
14:59:21: 	SwapEffect: D3DSWAPEFFECT_DISCARD
14:59:21: 	hDeviceWindow: 1574612
14:59:21: 	Windowed: false
14:59:21: 	EnableAutoDepthStencil: true
14:59:21: 	AutoDepthStencilFormat: D3DFMT_D24S8
14:59:21: 	Flags: None
14:59:21: 	FullScreen_RefreshRateInHz: 75
14:59:21: 	PresentationInterval: 2147483648
14:59:21: };
14:59:21: successfully set up d3d9 hooks
14:59:21: D3D9Present called
14:59:21: DoD3D9GPUHook: success
14:59:21: D3DSURFACE_DESC {
14:59:21: 	Format: D3DFMT_A8R8G8B8
14:59:21: 	Type: D3DRTYPE_SURFACE
14:59:21: 	Usage: D3DUSAGE_RENDERTARGET 
14:59:21: 	Pool: D3DPOOL_DEFAULT
14:59:21: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
14:59:21: 	MultiSampleQuality: 0
14:59:21: 	Width: 1920
14:59:21: 	Height: 1080
14:59:21: };
14:59:21: successfully capturing d3d9 frames via GPU
14:59:29: DoD3D9DrawStuff: device->StretchRect failed, result = 2289436780
14:59:29: D3D9Reset called
14:59:29: ---------------------- Cleared D3D9 Capture ----------------------
14:59:30: successfully set up d3d9 hooks
14:59:31: D3D9EndScene called
14:59:31: D3D9Present called
14:59:31: DoD3D9GPUHook: success
14:59:31: D3DSURFACE_DESC {
14:59:31: 	Format: D3DFMT_A8R8G8B8
14:59:31: 	Type: D3DRTYPE_SURFACE
14:59:31: 	Usage: D3DUSAGE_RENDERTARGET 
14:59:31: 	Pool: D3DPOOL_DEFAULT
14:59:31: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
14:59:31: 	MultiSampleQuality: 0
14:59:31: 	Width: 1920
14:59:31: 	Height: 1080
14:59:31: };
14:59:31: successfully capturing d3d9 frames via GPU
15:00:36: D3D9Reset called
15:00:36: ---------------------- Cleared D3D9 Capture ----------------------
15:00:37: successfully set up d3d9 hooks
15:00:38: D3D9EndScene called
15:00:38: D3D9Present called
15:00:38: DoD3D9GPUHook: success
15:00:38: D3DSURFACE_DESC {
15:00:38: 	Format: D3DFMT_A8R8G8B8
15:00:38: 	Type: D3DRTYPE_SURFACE
15:00:38: 	Usage: D3DUSAGE_RENDERTARGET 
15:00:38: 	Pool: D3DPOOL_DEFAULT
15:00:38: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
15:00:38: 	MultiSampleQuality: 0
15:00:38: 	Width: 1920
15:00:38: 	Height: 1080
15:00:38: };
15:00:38: successfully capturing d3d9 frames via GPU
15:02:23: ---------------------- Cleared D3D9 Capture ----------------------
15:02:23: received restart event, capturing
15:02:23: DoD3D9GPUHook: shareDevice->CreateTexture2D failed, result = 2147942487
15:02:23: ---------------------- Cleared D3D9 Capture ----------------------
15:02:23: D3D9Reset called
15:02:23: ---------------------- Cleared D3D9 Capture ----------------------
15:02:24: D3DPRESENT_PARAMETERS {
15:02:24: 	BackBufferWidth: 1920
15:02:24: 	BackBufferHeight: 1080
15:02:24: 	BackBufferFormat: D3DFMT_A8R8G8B8
15:02:24: 	BackBufferCount: 1
15:02:24: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
15:02:24: 	MultiSampleQuality: 0
15:02:24: 	SwapEffect: D3DSWAPEFFECT_DISCARD
15:02:24: 	hDeviceWindow: 1574612
15:02:24: 	Windowed: false
15:02:24: 	EnableAutoDepthStencil: true
15:02:24: 	AutoDepthStencilFormat: D3DFMT_D24S8
15:02:24: 	Flags: None
15:02:24: 	FullScreen_RefreshRateInHz: 75
15:02:24: 	PresentationInterval: 2147483648
15:02:24: };
15:02:24: successfully set up d3d9 hooks
15:02:24: D3D9EndScene called
15:02:24: D3D9Present called
15:02:24: DoD3D9GPUHook: success
15:02:24: D3DSURFACE_DESC {
15:02:24: 	Format: D3DFMT_A8R8G8B8
15:02:24: 	Type: D3DRTYPE_SURFACE
15:02:24: 	Usage: D3DUSAGE_RENDERTARGET 
15:02:24: 	Pool: D3DPOOL_DEFAULT
15:02:24: 	MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
15:02:24: 	MultiSampleQuality: 0
15:02:24: 	Width: 1920
15:02:24: 	Height: 1080
15:02:24: };
15:02:24: successfully capturing d3d9 frames via GPU
 

Krazy

Town drunk
According to the log, your system seems to be handling everything fine. You're not really getting any late frames, which is generally a good indicator of too much system load. With under 3ms frame times, I'm really not sure what it could be. Do previous versions of the software reduce system load by noticeable amounts?
 

CoryTP

Member
No im just noticing my frames in game being reduced by about 100, and im planning on upgrading my monitor to a 120hz and i know i need 120fps in order to make use of it and when i stream my fps drops an incredible amount and i tend to become laggy in game when i start an OBS stream or Preview
 

CoryTP

Member
I have fiddled with some settings to get rid of the laggy feel and stuff but still losing alot of frames which is what im most worried about right now since im in the process of getting a 120hz monitor i want to be able to stream above 120 fps ingame frames not dropping frames on OBS
 

CoryTP

Member
Manufacturer: Gagabyte
Case: HAF 912
Power Supply: RAIDMAX RX-850AE 850W 80+ GOLD
OS:Windows 7
Motherboard:GA-z68AP-D3
CPU:i5 2500k 4.0ghz - would overclocking to 4.5 increase frames? or should I get a i7 3770k
Memory:Kingston 8GB ddr3 1600MHz
Hard Drive: 1TB SATA III 7200 RPM 3.5"
Video Card: GTX580 1.5GB - could my gfx card be the issue?
120 gb SSD which OBS is on with windows
 

dodgepong

Administrator
Community Helper
The 3770k will give you a very noticeable performance increase. I upgraded from a 2500k to a 3770k and it made a pretty big difference. That will do a lot more than a simple overclock would do.

The best way to prevent loss of framerate (especially when trying to maintain a solid 120) is to get a second computer to do the encoding for you, with a capture card. You could also try streaming with QuickSync, which will degrade your quality but free up your CPU a lot more.
 

CoryTP

Member
So i currently have an i5 2500k 4.0 ghz and when i stream and play games like CSGO im pretty much capped out at 100% im looking for a new processor to fix in my GA Z68AP-D3, I have been looking into the i7 3770k I persoanlly want an i7 but some people are telling me to try the AMD fx 8350 but that would mean i need to buy a new moboard and the options i have been looking into just turn out to be more money. So im kind of leaning towards staying with intel. Now Im curious though will i see a good boost in FPS with a new CPU on games like CSGO. My priority is to get set up to keep a constant 120+ frames while streaming which with CSGO's current memory leak is hard to do, But I am stuck on upgrading. But in my case would it be better to upgrade my graphics card or CPU first thanks here is my specs.
Basically im just trying to up my frames while streaming lower CPU usage while streaming and not purchase a whole new system to render for me and such. thanks in advance.
 

dodgepong

Administrator
Community Helper
There probably wasn't a need to post the same thing in 2 threads. I didn't realize you did that until after I responded to the other one.
 
Top