Bug Report Fps Drop/Fps fluctuation

Utsuroo

Member
Hi. I need some help with some in game fps. I play League of Legends and I have everything set to "Very Low" and the fps scaling to "High Framerate". Yes, I have it set to "Borderless". Ok, theres the in game settings.

--- Now heres my CPU specs and OBS Log file ---

Dell XPS 630i
Windows 8 Pro 64-Bit
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40Ghz (4 CPUs)
4096 MB RAM
DirectX 11
NVIDIA GeForce GTX 260(x2) SLI

http://www.speedtest.net/result/2634843146.png

Up above is my internet speed to closest city near me. Note I get 5 up but it is peek time at the moment.

-----------Here are my OBS Settings. ------------ (Note: I dont know what time this log file was made when I streamed but If it doesnt work or help you guys then I can do another one.)

Code:
Open Broadcaster Software v0.48.012b (experimental test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory: 4093MB Total, 1694MB Free
stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1600, 900}
monitor 2: pos={-1440, 0}, size={1440, 900}
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 260
Video Adapter Dedicated Video Memory: 919994368
Video Adapter Shared System Memory: 1877587968
------------------------------------------
Adapter 2
Video Adapter: Microsoft Basic Render Driver
Video Adapter Dedicated Video Memory: 0
Video Adapter Shared System Memory: 268435456
=====Stream Start: 2013-04-09, 18:05:26===============================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 1064x600
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G930 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G930 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 25
width: 1064, height: 600
preset: veryfast
CBR: no
CFR: no
max bitrate: 2500
buffer size: 2500
quality: 6
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
SO_SNDBUF was at 65536
SO_SNDBUF is now 65536
Total frames rendered: 694, number of frames that lagged: 6 (0.86%) (it's okay for some frames to lag)
Total duplicated frames: 12 (1.73%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-09, 18:05:55=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 19.165 ms] [avg calls per frame: 1] [children: 91.3%] [unaccounted: 8.74%]
| scene->Preprocess - [3.93%] [avg time: 0.754 ms] [avg calls per frame: 1]
| video encoding and uploading - [87.3%] [avg time: 16.736 ms] [avg calls per frame: 1] [children: 86.8%] [unaccounted: 0.485%]
| | CopyResource - [49.8%] [avg time: 9.548 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.46%] [avg time: 0.28 ms] [avg calls per frame: 0]
| | call to encoder - [35%] [avg time: 6.711 ms] [avg calls per frame: 0]
| | sending stuff out - [0.543%] [avg time: 0.104 ms] [avg calls per frame: 0]
==============================================================


For TwitchTV servers considering I live in NY common sense would be to pick the NY server for Twitch right? Come to find out I used the "JTVPing" program that someone recommended to me, and NY has about a ~100+ ping. Ashburn, VA(Secondary) actually ties with the lowest ping with recording about 40 ms - 50 same for Chicago, IL.


If you guys can help me I would really appreciate it. I think I provided alot of the things that most people ask for regarding this kind of situation. Ill be monitoring the post all night. So I'll be able to reply ASAP. Thank You!
 

Zephiris

Member
While you have posted the log and details for your computer/game, you failed to describe your problem in detail. What frame rate do you get? By how much does it fluctuate? What frame rate do you get when OBS is not running? Do you have any other programs running at the same time? Any additional information you could provide would help us to help you.
 

Utsuroo

Member
What frame rate do you get? - I get about 30 - 40 occasionally it'll spike to 51 then back down to 35 - 44 range.
By how much does it fluctuate? - ^ ^
What frame rate do you get when OBS is not running? - Well I have Vsync on so it caps at a perfect 60 almost 95% of the time.
Do you have any other programs running at the same time? - No. If I did, it would be only Pandora for music.
Any additional information you could provide would help us to help you - Hmm I pretty much told you everything.
 

Zephiris

Member
The first thing that could be causing this is the fact that you have Aero enabled while you are using monitor capture. Aero must be disabled when using monitor capture, or be enabled when using window capture. Doing otherwise will result in issues like yours. Next, you should turn off vertical sync unless you are having screen tearing problems. Having v-sync enabled, means that even if you set the league client to benchmark, it will never go higher than your monitor's refresh rate. It also means that if a frame is not quite ready by the time the refresh happens, it will wait until the next frame to display it, which can result in situations where you may only receive 30 frames a second if the game would normally render more than that in the same time span. Lastly, although it is rare, flash video players can sometimes cause odd frame rate drops, especially if you are watching your own stream on your dashboard or channel page while you are streaming. I have experienced such problems before with league of legends. I can only guess that it has something to do with flash player's inefficient use of resources (even on my Core I7).

My guess would be that disabling aero will most likely fix your specific issue though, so try that first.
 

Zephiris

Member
Actually, I overlooked that you are running Windows 8, so aero can't be disabled there, and monitor capture should still work fine with it enabled in Windows 8 according to other posts on this forum. So give the other options a try. If they don't work, you can try running league in full screen mode and using a Game Capture source when playing the game itself. If you decide to do this, you can set up two scenes. One for when you are out of game, and one for when you are in game, then you can use this plugin to automatically switch between them.

Using superfast is probably not going to make a big difference in this case and it will decrease the overall quality of your stream.
 

Zephiris

Member
Utsuroo said:
1 more thing, what about lag? Sometimes OBS spikes my ping up about 3 - 4 ms.

First, make sure "minimize network impact" is enabled in the broadcast settings. Second, if you continue to see lag spikes after that, you will probably need to lower your stream bit rate. My upstream is 5 Mbps, but I typically stream at 1800kbps (1.8Mbps) video in 1080p 30fps and the quality is near-perfect. You shouldn't try to use more bandwidth than you absolutely need to use for a good picture because higher bit rates can cause the streaming servers to lag and also prevent some viewers with lesser internet connections from watching your stream.

Edit:
If you have any further questions, you can ask me in the IRC channel. You can access it from the webchat link located on this page.
 
Top