Question / Help Terrible frame loss, unplayable while streaming.

Diebre

New Member
I used to be able to stream a few games like WoW and LoL decently, but I would still lose about 50% of my fps whenever I started up. I recently tried streaming ARMA 2 and Dota 2, and i've had to quit because of the amount of frames i'm losing.

This is the log from last night's short attempt at streaming Dota 2 -

Code:
00:59:48: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
00:59:48: -------------------------------
00:59:48: CPU Name: AMD Phenom(tm) II X4 965 Processor
00:59:48: CPU Speed: 3400MHz
00:59:48: Physical Memory:  4095MB Total, 4095MB Free
00:59:48: stepping id: 3, model 4, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
00:59:48: monitor 1: pos={0, 0}, size={1920, 1080}
00:59:48: monitor 2: pos={1920, 0}, size={1024, 768}
00:59:48: Windows Version: 6.1 Build 7601 S
00:59:48: Aero is Enabled
00:59:48: -------------------------------
00:59:48: OBS Modules:
00:59:48: Base Address     Module
00:59:48: 01090000         OBS.exe
00:59:48: 55460000         OBSApi.dll
00:59:48: 5EF30000         DShowPlugin.dll
00:59:48: 69640000         GraphicsCapture.dll
00:59:48: 68F60000         NoiseGate.dll
00:59:48: 5F430000         PSVPlugin.dll
00:59:48: ------------------------------------------
00:59:48: Adapter 1
00:59:48:   Video Adapter: NVIDIA GeForce GTX 560 
00:59:48:   Video Adapter Dedicated Video Memory: 1024917504
00:59:48:   Video Adapter Shared System Memory: 3221106688
00:59:48:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:59:48:   Video Adapter Output 2: pos={1920, 0}, size={1024, 768}, attached=true
00:59:48: =====Stream Start: 2013-11-29, 00:59:48===============================================
00:59:48:   Multithreaded optimizations: On
00:59:48:   Base resolution: 1920x1080
00:59:48:   Output resolution: 1920x1080
00:59:48: ------------------------------------------
00:59:48: Loading up D3D10 on NVIDIA GeForce GTX 560...
00:59:48: ------------------------------------------
00:59:48: Audio Format: 48000hz
00:59:48: Playback device Default
00:59:48: ------------------------------------------
00:59:48: Using desktop audio input: Speakers (VIA High Definition Audio)
00:59:48: ------------------------------------------
00:59:48: Using auxilary audio input: Microphone (VIA High Definition Audio)
00:59:48: ------------------------------------------
00:59:48: Audio Encoding: AAC
00:59:48:     bitrate: 128
00:59:48: Using Window Capture
00:59:48: Scene buffering time set to 700
00:59:48: ------------------------------------------
00:59:48: Video Encoding: x264
00:59:48:     fps: 31
00:59:48:     width: 1920, height: 1080
00:59:48:     preset: veryfast
00:59:48:     profile: high
00:59:48:     keyint: 62
00:59:48:     CBR: yes
00:59:48:     CFR: yes
00:59:48:     max bitrate: 1000
00:59:48:     buffer size: 1000
00:59:48: ------------------------------------------
00:59:48: MMDeviceAudioSource: Frequency for device 'Speakers (VIA High Definition Audio)' is 384000, samples per sec is 48000
00:59:48: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
01:04:20: Total frames encoded: 8395, total frames duplicated: 823 (9.80%)
01:04:20: Number of frames skipped due to encoder lag: 92 (1.10%)
01:04:20: Total frames rendered: 8105, number of late frames: 132 (1.63%) (it's okay for some frames to be late)
01:04:20: 
01:04:20: Profiler time results:
01:04:20: 
01:04:20: ==============================================================
01:04:20: video thread frame - [100%] [avg time: 5.978 ms] [children: 88.4%] [unaccounted: 11.6%]
01:04:20: | scene->Preprocess - [83.9%] [avg time: 5.014 ms]
01:04:20: | GPU download and conversion - [4.57%] [avg time: 0.273 ms] [children: 3.98%] [unaccounted: 0.585%]
01:04:20: | | flush - [0.87%] [avg time: 0.052 ms]
01:04:20: | | CopyResource - [2.84%] [avg time: 0.17 ms]
01:04:20: | | conversion to 4:2:0 - [0.268%] [avg time: 0.016 ms]
01:04:20: Convert444Threads - [100%] [avg time: 3.437 ms] [children: 97.3%] [unaccounted: 2.73%]
01:04:20: | Convert444toNV12 - [97.3%] [avg time: 3.343 ms]
01:04:20: encoder thread frame - [100%] [avg time: 5.436 ms]
01:04:20: ==============================================================
01:04:20: 
01:04:20: 
01:04:20: Profiler CPU results:
01:04:20: 
01:04:20: ==============================================================
01:04:20: video thread frame - [cpu time: avg 0.885 ms, total 7176.05 ms] [avg calls per frame: 1]
01:04:20: | scene->Preprocess - [cpu time: avg 0.171 ms, total 1388.41 ms] [avg calls per frame: 1]
01:04:20: | GPU download and conversion - [cpu time: avg 0.078 ms, total 639.602 ms] [avg calls per frame: 1]
01:04:20: | | flush - [cpu time: avg 0.034 ms, total 280.801 ms] [avg calls per frame: 1]
01:04:20: | | CopyResource - [cpu time: avg 0.027 ms, total 218.401 ms] [avg calls per frame: 1]
01:04:20: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 62.4 ms] [avg calls per frame: 1]
01:04:20: Convert444Threads - [cpu time: avg 2.377 ms, total 38423 ms] [avg calls per frame: 2]
01:04:20: | Convert444toNV12 - [cpu time: avg 2.364 ms, total 38204.6 ms] [avg calls per frame: 2]
01:04:20: encoder thread frame - [cpu time: avg 3.472 ms, total 29078.6 ms] [avg calls per frame: 1]
01:04:20: ==============================================================
01:04:20: 
01:04:20: =====Stream End: 2013-11-29, 01:04:20=================================================
01:06:10: =====Stream Start: 2013-11-29, 01:06:10===============================================
01:06:10:   Multithreaded optimizations: On
01:06:10:   Base resolution: 1920x1080
01:06:10:   Output resolution: 1920x1080
01:06:10: ------------------------------------------
01:06:10: Loading up D3D10 on NVIDIA GeForce GTX 560...
01:06:10: ------------------------------------------
01:06:10: Audio Format: 48000hz
01:06:10: Playback device Default
01:06:10: ------------------------------------------
01:06:10: Using desktop audio input: Speakers (VIA High Definition Audio)
01:06:10: ------------------------------------------
01:06:10: Using auxilary audio input: Microphone (VIA High Definition Audio)
01:06:10: ------------------------------------------
01:06:10: Audio Encoding: AAC
01:06:10:     bitrate: 128
01:06:10: Using Window Capture
01:06:10: Scene buffering time set to 700
01:06:10: ------------------------------------------
01:06:10: Video Encoding: x264
01:06:10:     fps: 31
01:06:10:     width: 1920, height: 1080
01:06:10:     preset: veryfast
01:06:10:     profile: high
01:06:10:     keyint: 62
01:06:10:     CBR: yes
01:06:10:     CFR: yes
01:06:10:     max bitrate: 1000
01:06:10:     buffer size: 1000
01:06:10: ------------------------------------------
01:06:10: MMDeviceAudioSource: Frequency for device 'Speakers (VIA High Definition Audio)' is 384000, samples per sec is 48000
01:06:10: MMDeviceAudioSource: Frequency for device 'Microphone (VIA High Definition Audio)' is 384000, samples per sec is 48000
01:06:12: Using RTMP service: Twitch / Justin.tv
01:06:12:   Server selection: rtmp://live.justin.tv/app
01:06:12:   Interface: Atheros AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
01:06:13: Completed handshake with rtmp://live.justin.tv/app in 214 ms.
01:06:14: SO_SNDBUF was at 8192
01:06:14: SO_SNDBUF is now 65536
01:13:39: Using graphics capture
01:13:40: SharedTexCapture hooked
01:32:41: Total frames encoded: 49284, total frames duplicated: 3608 (7.32%)
01:32:41: Number of frames skipped due to encoder lag: 1302 (2.64%)
01:32:41: Total frames rendered: 47893, number of late frames: 250 (0.52%) (it's okay for some frames to be late)
01:32:41: RTMPPublisher::SocketLoop: Graceful loop exit
01:32:41: Average send payload: 3957 bytes, average send interval: 27 ms
01:32:41: Number of times waited to send: 0, Waited for a total of 0 bytes
01:32:41: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:32:41: Number of bytes sent: 225113483
01:32:41: 
01:32:41: Profiler time results:
01:32:41: 
01:32:41: ==============================================================
01:32:41: video thread frame - [100%] [avg time: 2.282 ms] [children: 55.3%] [unaccounted: 44.7%]
01:32:41: | scene->Preprocess - [27%] [avg time: 0.617 ms]
01:32:41: | GPU download and conversion - [28.3%] [avg time: 0.646 ms] [children: 18.1%] [unaccounted: 10.2%]
01:32:41: | | flush - [9.68%] [avg time: 0.221 ms]
01:32:41: | | CopyResource - [8.24%] [avg time: 0.188 ms]
01:32:41: | | conversion to 4:2:0 - [0.219%] [avg time: 0.005 ms]
01:32:41: Convert444Threads - [100%] [avg time: 2.692 ms] [children: 99.3%] [unaccounted: 0.743%]
01:32:41: | Convert444toNV12 - [99.3%] [avg time: 2.672 ms]
01:32:41: encoder thread frame - [100%] [avg time: 7.953 ms]
01:32:41: ==============================================================
01:32:41: 
01:32:41: 
01:32:41: Profiler CPU results:
01:32:41: 
01:32:41: ==============================================================
01:32:41: video thread frame - [cpu time: avg 0.733 ms, total 35147 ms] [avg calls per frame: 1]
01:32:41: | scene->Preprocess - [cpu time: avg 0.053 ms, total 2542.81 ms] [avg calls per frame: 1]
01:32:41: | GPU download and conversion - [cpu time: avg 0.089 ms, total 4290.04 ms] [avg calls per frame: 1]
01:32:41: | | flush - [cpu time: avg 0.043 ms, total 2074.81 ms] [avg calls per frame: 1]
01:32:41: | | CopyResource - [cpu time: avg 0.025 ms, total 1216.81 ms] [avg calls per frame: 1]
01:32:41: | | conversion to 4:2:0 - [cpu time: avg 0.006 ms, total 327.606 ms] [avg calls per frame: 1]
01:32:41: Convert444Threads - [cpu time: avg 2.43 ms, total 232707 ms] [avg calls per frame: 2]
01:32:41: | Convert444toNV12 - [cpu time: avg 2.426 ms, total 232286 ms] [avg calls per frame: 2]
01:32:41: encoder thread frame - [cpu time: avg 3.919 ms, total 193098 ms] [avg calls per frame: 1]
01:32:41: ==============================================================
01:32:41: 
01:32:41: =====Stream End: 2013-11-29, 01:32:41=================================================


Last game capture log:
2013-11-29, 01:13:39: we're booting up: 
01:13:39: D3D9 Present
01:13:39: D3D9EndScene called
01:13:40: D3DPRESENT_PARAMETERS {
01:13:40: 	BackBufferWidth: 1920
01:13:40: 	BackBufferHeight: 1080
01:13:40: 	BackBufferFormat: D3DFMT_A8R8G8B8
01:13:40: 	BackBufferCount: 1
01:13:40: 	MultiSampleType: D3DMULTISAMPLE_NONE
01:13:40: 	MultiSampleQuality: 0
01:13:40: 	SwapEffect: D3DSWAPEFFECT_DISCARD
01:13:40: 	hDeviceWindow: 3803344
01:13:40: 	Windowed: true
01:13:40: 	EnableAutoDepthStencil: true
01:13:40: 	AutoDepthStencilFormat: D3DFMT_D24S8
01:13:40: 	Flags: None
01:13:40: 	FullScreen_RefreshRateInHz: 0
01:13:40: 	PresentationInterval: 2147483648
01:13:40: };
01:13:40: successfully set up d3d9 hooks
01:13:40: D3D9Present called
01:13:40: DoD3D9GPUHook: success - d3d9ex
01:13:40: D3DSURFACE_DESC {
01:13:40: 	Format: D3DFMT_A8R8G8B8
01:13:40: 	Type: D3DRTYPE_SURFACE
01:13:40: 	Usage: D3DUSAGE_RENDERTARGET 
01:13:40: 	Pool: D3DPOOL_DEFAULT
01:13:40: 	MultiSampleType: D3DMULTISAMPLE_NONE
01:13:40: 	MultiSampleQuality: 0
01:13:40: 	Width: 1920
01:13:40: 	Height: 1080
01:13:40: };
01:13:40: successfully capturing d3d9 frames via GPU
01:13:40: NV Capture available
01:13:40: FBO available
01:13:40: GL Present
01:13:40: (half life scientist) everything..  seems to be in order
01:32:41: ---------------------- Cleared D3D9 Capture ----------------------
01:32:41: D3D9EndScene called
01:32:41: D3D9Present called

These are my PC specs - http://valid.canardpc.com/5rr2xp

It seems with every game now I go from 40-100 fps, right down to 10-20. I've tried almost everything I can think of, it worked fine on 4 gbs of ram, I now have 12 and it's worse than before.
 

Krazy

Town drunk
Moved to Questions and Help as this is not a bug.

Your CPU will simply not be able to handle encoding 1080p30fps in realtime while gaming at the same time. You'll need to downscale to at least 720p, but probably more.
 

dodgepong

Administrator
Community Helper
If you want to stay with AMD, you could get one of their Eight-core processors, but I think you might have to get a new Motherboard for that. And if you have to get a new motherboard, you might as well get an Intel Ivy Bridge or Haswell i7 and compatible motherboard instead.
 
Top