Question / Help FPS spikes and above avg pings.

Bodegaz

New Member
I am trying to stream League of Legends.

When I dont have OBS on and I am not streaming, I get FPS around 200. My ping is usually around 40ms.

When I have it on, my fps spikes from 20-80 and its very difficult to play because its always freezing/jerking. My ping also spikes around 80-400ms.

I got my friend to check out my stream and he said that the stream ran pretty smooth in 1080P.

I have tried:
Running LoL and OBS on different cores (LoL on CPU 0, 1, and 2; OBS on CPU 3)
Lowering in game graphics (Resolution and quality)
Not watching my own stream, turning off everything except OBS and the game.

I ran the speed test for 33MB of data and my Upload speed is 2 MBps.

This is my OBS log.

19:38:33: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
19:38:33: -------------------------------
19:38:33: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
19:38:33: CPU Speed: 3400MHz
19:38:33: Physical Memory: 4095MB Total, 4095MB Free

19:38:33: stepping id: 3, model 12, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
19:38:33: monitor 1: pos={0, 0}, size={1920, 1080}
19:38:33: monitor 2: pos={-2560, 0}, size={2560, 1440}
19:38:33: Windows Version: 6.1 Build 7601 S
19:38:33: Aero is Disabled
19:38:33: -------------------------------
19:38:33: OBS Modules:
19:38:33: Base Address Module
19:38:33: 00F90000 OBS.exe
19:38:33: 5D4C0000 OBSApi.dll
19:38:33: 73200000 DShowPlugin.dll
19:38:33: 74400000 GraphicsCapture.dll
19:38:33: 743E0000 NoiseGate.dll
19:38:33: 731E0000 PSVPlugin.dll
19:38:33: 731C0000 scenesw.dll
19:38:33: ------------------------------------------
19:38:33: Adapter 1
19:38:33: Video Adapter: AMD Radeon HD 7800 Series
19:38:33: Video Adapter Dedicated Video Memory: 2120425472
19:38:33: Video Adapter Shared System Memory: 2174476288
19:38:33: =====Stream Start: 2013-07-16, 19:38:33===============================================
19:38:33: Multithreaded optimizations: On
19:38:33: Base resolution: 1920x1080
19:38:33: Output resolution: 1920x1080
19:38:33: ------------------------------------------
19:38:33: Loading up D3D10...
19:38:33: Playback device {0.0.0.00000000}.{23913775-9d3f-4141-9a05-1fb7eabe382b}
19:38:33: ------------------------------------------
19:38:33: Using desktop audio input: Speakers (Corsair Vengeance 2000 Headset)
19:38:33: Using 7.1 surround speaker setup
19:38:33: ------------------------------------------
19:38:33: Using auxilary audio input: Microphone (Corsair Vengeance 2000 Headset)
19:38:33: ------------------------------------------
19:38:33: Audio Encoding: AAC
19:38:33: bitrate: 128
19:38:33: Using Monitor Capture
19:38:33: ------------------------------------------
19:38:33: Video Encoding: x264
19:38:33: fps: 60
19:38:33: width: 1920, height: 1080
19:38:33: preset: veryfast
19:38:33: CBR: no
19:38:33: CFR: no
19:38:33: max bitrate: 2107
19:38:33: buffer size: 2107
19:38:33: quality: 8
19:38:33: ------------------------------------------
19:38:35: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:38:35: New Scene
19:38:35: Using graphics capture
19:38:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:38:36: New Scene
19:38:36: Using Monitor Capture
19:38:39: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:38:39: New Scene
19:38:39: Using graphics capture
19:41:31: Total frames rendered: 10435, number of frames that lagged: 139 (1.33%) (it's okay for some frames to lag)
19:41:31: =====Stream End: 2013-07-16, 19:41:31=================================================
19:41:32: =====Stream Start: 2013-07-16, 19:41:32===============================================
19:41:32: Multithreaded optimizations: On
19:41:32: Base resolution: 1920x1080
19:41:32: Output resolution: 1920x1080
19:41:32: ------------------------------------------
19:41:32: Loading up D3D10...
19:41:32: Playback device {0.0.0.00000000}.{23913775-9d3f-4141-9a05-1fb7eabe382b}
19:41:32: ------------------------------------------
19:41:32: Using desktop audio input: Speakers (Corsair Vengeance 2000 Headset)
19:41:32: Using 7.1 surround speaker setup
19:41:32: ------------------------------------------
19:41:32: Using auxilary audio input: Microphone (Corsair Vengeance 2000 Headset)
19:41:32: ------------------------------------------
19:41:32: Audio Encoding: AAC
19:41:32: bitrate: 128
19:41:32: Using graphics capture
19:41:32: ------------------------------------------
19:41:32: Video Encoding: x264
19:41:32: fps: 60
19:41:32: width: 1920, height: 1080
19:41:32: preset: veryfast
19:41:32: CBR: no
19:41:32: CFR: no
19:41:32: max bitrate: 2107
19:41:32: buffer size: 2107
19:41:32: quality: 8
19:41:32: ------------------------------------------
19:41:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:41:34: New Scene
19:41:34: Using Monitor Capture
19:41:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:41:46: New Scene
19:41:46: Using graphics capture
19:41:56: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:41:56: New Scene
19:41:56: Using Monitor Capture
19:43:50: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:43:50: New Scene
19:43:50: Using graphics capture
19:43:51: SharedTexCapture hooked
19:43:51: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:43:51: New Scene
19:43:51: Using Monitor Capture
19:43:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:43:52: New Scene
19:43:52: Using graphics capture
19:43:53: SharedTexCapture hooked
19:43:53: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:43:53: New Scene
19:43:53: Using Monitor Capture
19:43:54: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:43:54: New Scene
19:43:54: Using graphics capture
19:43:55: SharedTexCapture hooked
19:44:47: Exit signal received, terminating capture
19:44:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:44:48: New Scene
19:44:48: Using Monitor Capture
19:45:43: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:45:43: New Scene
19:45:43: Using graphics capture
19:45:54: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:45:54: New Scene
19:45:54: Using Monitor Capture
19:46:00: Total frames rendered: 14193, number of frames that lagged: 5583 (39.34%) (it's okay for some frames to lag)
19:46:00: =====Stream End: 2013-07-16, 19:46:00=================================================
19:46:00:
19:46:00: Profiler results:
19:46:00:
19:46:00: ==============================================================
19:46:00: frame - [100%] [avg time: 10.105 ms (cpu time: avg 7.501 ms, total 184736 ms)] [avg calls per frame: 1] [children: 80.2%] [unaccounted: 19.8%]
19:46:00: | scene->Preprocess - [35.5%] [avg time: 3.584 ms (cpu time: avg 2.692 ms, total 66300.4 ms)] [avg calls per frame: 1]
19:46:00: | video encoding and uploading - [44.7%] [avg time: 4.518 ms (cpu time: avg 4.209 ms, total 103678 ms)] [avg calls per frame: 1] [children: 44.3%] [unaccounted: 0.435%]
19:46:00: | | CopyResource - [0.178%] [avg time: 0.018 ms (cpu time: avg 0.006 ms, total 171.6 ms)] [avg calls per frame: 0]
19:46:00: | | conversion to 4:2:0 - [0.554%] [avg time: 0.056 ms (cpu time: avg 0.003 ms, total 78 ms)] [avg calls per frame: 0]
19:46:00: | | call to encoder - [43.5%] [avg time: 4.398 ms (cpu time: avg 4.179 ms, total 102929 ms)] [avg calls per frame: 0]
19:46:00: | | sending stuff out - [0.0198%] [avg time: 0.002 ms (cpu time: avg 0.003 ms, total 78.002 ms)] [avg calls per frame: 0]
19:46:00: | Convert444Threads - [357%] [avg time: 36.093 ms (cpu time: avg 5.341 ms, total 131556 ms)] [avg calls per frame: 1]
19:46:00: ==============================================================
19:46:00:
 

Kharay

Member
The biggest issue I am seeing is that you're using Monitor Capture. There are other approaches to capturing LoL effectively that do not require monitor capture. Use a scene switcher -- viewtopic.php?f=11&t=1785 -- to set up 2 scenes, one for its menu/main window and one for its game window.
 

alpinlol

Active Member
try streaming at 720p@60 instead of 1080p@60 will change a lot performance issues with an i5 while streaming
 

Kharay

Member
alpinlol said:
try streaming at 720p@60 instead of 1080p@60 will change a lot performance issues with an i5 while streaming
I hadn't even noticed the 60 FPS. :P

Yes, 1080p@60 FPS is quite taxing on an i5. Although it can still be done. I have little issue doing it but it requires some tweaking to OBS and to the game in question. But, it's a bandwidth hog anyhow, 1080p@60 FPS. Running it at 30 FPS (while streaming CBR) will actually improve the overall quality of the stream quite a bit.
 

WayZHC

Member
Bodegaz said:
I ran the speed test for 33MB of data and my Upload speed is 2 MBps.

19:38:33: Audio Encoding: AAC
19:38:33: bitrate: 128

19:38:33: max bitrate: 2107
19:38:33: buffer size: 2107
19:38:33: quality: 8
(is that MBps or Mbps? testmy.net displays the results in Mbps or Kbps)
You already solved the ping problem by telling this... Why you stream at higher bitrate than your upload? You said you have 2M upload which is 2000Kbps and you try to stream at 2235Kbps + possible spikes caused by VBR....

You need around 150Kbps for the game to keep the ping down. And if you talk with your friends while gaming that takes another 50-100Kbps.

So assuming you talk with your friends you consume at max: 2350Kbps + 150Kbps + 100Kbps = 2600Kbps (stream(including spikes) + Game + VOIP)

2000Kbps - 2600Kbps = -600 You ran out of bandwidth here...
 
Top