Question / Help FPS Lag when playing LoL

vereto

New Member
Hi,

I have been playing around with OBS for about a month now. I recently upgraded my ram to 8g for the purposes of streaming my games of LoL but it seems the performance has only gotten worse. I have been experiencing a lot of FPS and lag issues recently. Can someone help me identify what I can do to resolve this? Thanks!

Log below:

18:45:48: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
18:45:48: -------------------------------
18:45:48: CPU Name: AMD Phenom(tm) II X4 955 Processor
18:45:48: CPU Speed: 3214MHz
18:45:48: Physical Memory: 4095MB Total, 4095MB Free
18:45:48: stepping id: 2, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
18:45:48: monitor 1: pos={0, 0}, size={1680, 1050}
18:45:48: Windows Version: 6.1 Build 7600
18:45:48: Aero is Enabled
18:45:48: -------------------------------
18:45:48: OBS Modules:
18:45:48: Base Address Module
18:45:48: 00F10000 OBS.exe
18:45:48: 70D80000 OBSApi.dll
18:45:48: 74400000 DShowPlugin.dll
18:45:48: 75260000 GraphicsCapture.dll
18:45:48: 74F30000 NoiseGate.dll
18:45:48: 74610000 PSVPlugin.dll
18:45:48: ------------------------------------------
18:45:48: Adapter 1
18:45:48: Video Adapter: ATI Radeon HD 5700 Series
18:45:48: Video Adapter Dedicated Video Memory: 1059696640
18:45:48: Video Adapter Shared System Memory: 4025577472
18:45:48: Using fixed low latency mode, factor 20
18:45:48: =====Stream Start: 2013-07-16, 18:45:48===============================================
18:45:48: Multithreaded optimizations: On
18:45:48: Base resolution: 1680x1050
18:45:48: Output resolution: 1120x700
18:45:48: ------------------------------------------
18:45:49: Loading up D3D10...
18:45:49: Playback device Default
18:45:49: ------------------------------------------
18:45:49: Using desktop audio input: Speakers (VIA High Definition Audio)
18:45:49: ------------------------------------------
18:45:49: Using auxilary audio input: Microphone (2- USB camera)
18:45:49: ------------------------------------------
18:45:49: Audio Encoding: MP3
18:45:49: bitrate: 128
18:45:49: Using graphics capture
18:45:49: ------------------------------------------
18:45:49: Video Encoding: x264
18:45:49: fps: 24
18:45:49: width: 1120, height: 700
18:45:49: preset: veryfast
18:45:49: CBR: no
18:45:49: CFR: no
18:45:49: max bitrate: 800
18:45:49: buffer size: 800
18:45:49: quality: 7
18:45:49: ------------------------------------------
18:45:50: Using RTMP service: Twitch / Justin.tv
18:45:50: Server selection: rtmp://live-dfw.justin.tv/app
18:45:52: SO_SNDBUF was at 8192
18:45:52: SO_SNDBUF is now 65536
18:45:52: SharedTexCapture hooked
18:46:03: GraphicsCaptureSource::NewCapture: eliminating old capture
18:46:03: SharedTexCapture hooked
18:46:59: GraphicsCaptureSource::NewCapture: eliminating old capture
18:46:59: SharedTexCapture hooked
18:49:42: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
18:49:45: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
18:49:53: Total frames rendered: 5853, number of frames that lagged: 6 (0.10%) (it's okay for some frames to lag)
18:49:53: RTMPPublisher::SocketLoop: Aborting due to loop exit
18:49:53: Number of times waited to send: 62, Waited for a total of 180723 bytes
18:49:53: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:49:53: =====Stream End: 2013-07-16, 18:49:53=================================================
19:36:55: Using fixed low latency mode, factor 20
19:36:55: =====Stream Start: 2013-07-16, 19:36:55===============================================
19:36:55: Multithreaded optimizations: On
19:36:55: Base resolution: 1680x1050
19:36:55: Output resolution: 1120x700
19:36:55: ------------------------------------------
19:36:55: Loading up D3D10...
19:36:55: Playback device Default
19:36:55: ------------------------------------------
19:36:55: Using desktop audio input: Speakers (VIA High Definition Audio)
19:36:55: ------------------------------------------
19:36:55: Using auxilary audio input: Microphone (2- USB camera)
19:36:55: ------------------------------------------
19:36:55: Audio Encoding: MP3
19:36:55: bitrate: 128
19:36:55: Using graphics capture
19:36:55: ------------------------------------------
19:36:55: Video Encoding: x264
19:36:55: fps: 24
19:36:55: width: 1120, height: 700
19:36:55: preset: veryfast
19:36:55: CBR: no
19:36:55: CFR: no
19:36:55: max bitrate: 800
19:36:55: buffer size: 800
19:36:55: quality: 7
19:36:55: ------------------------------------------
19:36:57: Using RTMP service: Twitch / Justin.tv
19:36:57: Server selection: rtmp://live-dfw.justin.tv/app
19:36:57: SharedTexCapture hooked
19:36:58: SO_SNDBUF was at 8192
19:36:58: SO_SNDBUF is now 65536
19:38:19: Total frames rendered: 2024, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
19:38:19: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:38:19: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:38:19: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:38:19: Number of times waited to send: 0, Waited for a total of 0 bytes
19:38:19: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:38:19: =====Stream End: 2013-07-16, 19:38:19=================================================
19:38:46: Using fixed low latency mode, factor 20
19:38:46: =====Stream Start: 2013-07-16, 19:38:46===============================================
19:38:46: Multithreaded optimizations: On
19:38:46: Base resolution: 1680x1050
19:38:46: Output resolution: 1120x700
19:38:46: ------------------------------------------
19:38:46: Loading up D3D10...
19:38:46: Playback device Default
19:38:46: ------------------------------------------
19:38:46: Using desktop audio input: Speakers (VIA High Definition Audio)
19:38:46: ------------------------------------------
19:38:46: Using auxilary audio input: Microphone (2- USB camera)
19:38:46: ------------------------------------------
19:38:46: Audio Encoding: MP3
19:38:46: bitrate: 128
19:38:46: Using graphics capture
19:38:46: ------------------------------------------
19:38:46: Video Encoding: x264
19:38:46: fps: 24
19:38:46: width: 1120, height: 700
19:38:46: preset: veryfast
19:38:46: CBR: no
19:38:46: CFR: no
19:38:46: max bitrate: 800
19:38:46: buffer size: 800
19:38:46: quality: 7
19:38:46: ------------------------------------------
19:38:46: SharedTexCapture hooked
19:38:48: Using RTMP service: Twitch / Justin.tv
19:38:48: Server selection: rtmp://live-dfw.justin.tv/app
19:38:48: GraphicsCaptureSource::NewCapture: eliminating old capture
19:38:48: SharedTexCapture hooked
19:38:49: SO_SNDBUF was at 8192
19:38:49: SO_SNDBUF is now 65536
19:39:28: Total frames rendered: 1004, number of frames that lagged: 1 (0.10%) (it's okay for some frames to lag)
19:39:28: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:39:28: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
19:39:28: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
19:39:28: Number of times waited to send: 0, Waited for a total of 0 bytes
19:39:28: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:39:28: =====Stream End: 2013-07-16, 19:39:28=================================================
20:12:31: Using fixed low latency mode, factor 20
20:12:31: =====Stream Start: 2013-07-16, 20:12:31===============================================
20:12:31: Multithreaded optimizations: On
20:12:31: Base resolution: 1680x1050
20:12:31: Output resolution: 1120x700
20:12:31: ------------------------------------------
20:12:31: Loading up D3D10...
20:12:31: Playback device Default
20:12:31: ------------------------------------------
20:12:31: Using desktop audio input: Speakers (VIA High Definition Audio)
20:12:31: ------------------------------------------
20:12:31: Using auxilary audio input: Microphone (2- USB camera)
20:12:31: ------------------------------------------
20:12:31: Audio Encoding: MP3
20:12:31: bitrate: 128
20:12:31: Using graphics capture
20:12:31: ------------------------------------------
20:12:31: Video Encoding: x264
20:12:31: fps: 24
20:12:31: width: 1120, height: 700
20:12:31: preset: veryfast
20:12:31: CBR: no
20:12:31: CFR: no
20:12:31: max bitrate: 800
20:12:31: buffer size: 800
20:12:31: quality: 7
20:12:31: ------------------------------------------
20:12:33: Using RTMP service: Twitch / Justin.tv
20:12:33: Server selection: rtmp://live-dfw.justin.tv/app
20:12:34: SharedTexCapture hooked
20:12:34: SO_SNDBUF was at 8192
20:12:34: SO_SNDBUF is now 65536
20:15:26: GraphicsCaptureSource::NewCapture: eliminating old capture
20:15:26: SharedTexCapture hooked
20:15:50: Total frames rendered: 4777, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
20:15:50: RTMPPublisher::SocketLoop: Aborting due to loop exit
20:15:50: Number of times waited to send: 110, Waited for a total of 289738 bytes
20:15:50: Number of b-frames dropped: 117 (2.5%), Number of p-frames dropped: 188 (4%), Total 305 (6.5%)
20:15:50: =====Stream End: 2013-07-16, 20:15:50=================================================
20:28:17:
20:28:17: Profiler results:
20:28:17:
20:28:17: ==============================================================
20:28:17: frame - [100%] [avg time: 2.651 ms (cpu time: avg 2.292 ms, total 31309.4 ms)] [avg calls per frame: 1] [children: 81.1%] [unaccounted: 18.9%]
20:28:17: | scene->Preprocess - [0.0377%] [avg time: 0.001 ms (cpu time: avg 0.001 ms, total 15.6 ms)] [avg calls per frame: 1]
20:28:17: | video encoding and uploading - [81.1%] [avg time: 2.15 ms (cpu time: avg 1.998 ms, total 27300.2 ms)] [avg calls per frame: 1] [children: 77.5%] [unaccounted: 3.58%]
20:28:17: | | CopyResource - [0.453%] [avg time: 0.012 ms (cpu time: avg 0.011 ms, total 156.001 ms)] [avg calls per frame: 0]
20:28:17: | | conversion to 4:2:0 - [0.339%] [avg time: 0.009 ms (cpu time: avg 0.007 ms, total 109.201 ms)] [avg calls per frame: 0]
20:28:17: | | call to encoder - [75.8%] [avg time: 2.009 ms (cpu time: avg 1.937 ms, total 26457.8 ms)] [avg calls per frame: 0]
20:28:17: | | sending stuff out - [0.943%] [avg time: 0.025 ms (cpu time: avg 0.018 ms, total 249.601 ms)] [avg calls per frame: 0]
20:28:17: | Convert444Threads - [3.13e+003%] [avg time: 83.053 ms (cpu time: avg 2.341 ms, total 31980.2 ms)] [avg calls per frame: 1]
20:28:17: ==============================================================
20:28:17:
 

Kharay

Member
Do you have an example VOD to show this issue you're describing? Because apart from the last entry which showed some frames dropping indeed everything does mostly look fine. Albeit that your bandwidth is fairly low. But I'm going to assume that is on purpose.

Mind you, supposedly LoL is quite the bandwidth hog and does not play nicely with other programs usually up a fair bit of the same bandwidth as well. So, if your upload is indeed what your log file suggests to me it is then you may have an issue streaming LoL altogether.
 

vereto

New Member
Thank you for the fast reply, Kharay!

A short example test can be found here: http://www.twitch.tv/vereto/b/431561840
At the very end of the video, you can see the FPS drop into the high 400's.

To your point, this could just be a limitation of my bandwidth then? What would be a good upload speed to provide stable streaming?
 
Top