Bug Report Framerate Drop with window active

kes_wow

New Member
First off - my specs:
i5-3330 3.2GHz
8 gigs ram
Windows 7 Ultimate x64
GeForce 9800GT - I know, dated, but shouldn't be the problem.
45mbit down, 4mbit up.

I use registered Dxtory for software capture, and Avermedia HD DVR PciE for console capture

I stream League of Legends at 1080p 30fps no problems. No latency, no FPS drop in-game or on stream.

I stream Xbox at 720p 30fps no problems either.

When I try to stream WoW (64 or 32) with the identical settings as LoL, my in-game FPS stays the same (~70fps), but my stream drops to 4-8fps. Tried changing all resolutions (including ingame) to 720, same problem. Now here is the weird part - if the WoW window is minimized or otherwise not the active window - My stream FPS shoots back up to 30fps and motion is smooth. http://www.twitch.tv/kesstreams/b/377343709 may provide a good example. You can clearly tell when I am focused on the WoW window, and when I am not. It seems that no matter what settings I try to tweak or change have no effect on this. My CPU usage is never over 50% total or on any one core. I tried using screen region, and OBS Game Capture but nothing solves this stream-only FPS drop. I should also add that this problem does not occur using Xsplit.

Any help with this would be greatly appreciated!

Edit: Wanted to add that I am not dropping any frames while streaming, and the color indicator stays green.

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3330 CPU @ 3.20GHz
CPU Speed: 3193MHz
Physical Memory:  8138MB Total, 5190MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={1920, 30}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce 9600 GT
  Video Adapter Dedicated Video Memory: 511246336
  Video Adapter Shared System Memory: 3757649920
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
    device: Microsoft LifeCam HD-3000,
    device id \\?\usb#vid_045e&pid_0779&mi_00#7&3446ea8e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: faster
    CBR: no
    CFR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 7
------------------------------------------
Total frames rendered: 78, number of frames that lagged: 6 (7.69%) (it's okay for some frames to lag)
x264: frame I:1     Avg QP:20.15  size:117262
x264: frame P:8     Avg QP:17.42  size:   774
x264: frame B:21    Avg QP:23.81  size:    75
x264: consecutive B-frames:  3.0%  0.0%  0.0% 97.0%
x264: mb I  I16..4: 24.6% 43.3% 32.1%
x264: mb P  I16..4:  0.5%  0.1%  0.0%  P16..4:  3.1%  0.4%  0.1%  0.0%  0.0%    skip:95.8%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:16.8% L1:83.2% BI: 0.0%
x264: 8x8 transform intra:42.1% inter:39.8%
x264: coded y,uvDC,uvAC intra: 70.5% 65.5% 30.2% inter: 0.1% 0.7% 0.0%
x264: i16 v,h,dc,p: 41% 38% 10% 11%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 25% 16%  6%  6%  5%  7%  6%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 31%  9%  6%  6%  6%  6%  5%  7%
x264: i8c dc,h,v,p: 40% 34% 20%  7%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: ref P L0: 96.5%  3.5%
x264: ref B L1: 96.8%  3.2%
x264: kb/s:986.34
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
------------------------------------------
    device: Microsoft LifeCam HD-3000,
    device id \\?\usb#vid_045e&pid_0779&mi_00#7&3446ea8e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: faster
    CBR: no
    CFR: no
    max bitrate: 3500
    buffer size: 3500
    quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1576, outputRateWindowTime: 1000, dropThreshold: 2076
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
------------------------------------------
    device: Microsoft LifeCam HD-3000,
    device id \\?\usb#vid_045e&pid_0779&mi_00#7&3446ea8e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, fps: 7.5-30, fourCC: 'YUY2'

Using directshow input
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1920x1080 - 1920x1080, fps: 30-30, fourCC: 00000000

Using directshow input
RTMPPublisher::BufferedSend: Socket buffer is full (457493 / 459776 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (457493 / 459776 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (459375 / 459776 bytes), waiting to send 437 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (459375 / 459776 bytes), waiting to send 437 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (456139 / 459776 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (456139 / 459776 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (456228 / 459776 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (456228 / 459776 bytes), waiting to send 4104 bytes
Total frames rendered: 2307, number of frames that lagged: 397 (17.21%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:12    Avg QP:20.54  size:145156
x264: frame P:631   Avg QP:20.33  size:  8677
x264: frame B:1617  Avg QP:24.03  size:   918
x264: consecutive B-frames:  2.1%  5.9%  4.9% 87.1%
x264: mb I  I16..4: 36.7% 22.1% 41.2%
x264: mb P  I16..4:  1.6%  0.7%  0.8%  P16..4:  7.7%  3.3%  1.0%  0.0%  0.0%    skip:84.9%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.7%  0.4%  0.1%  direct: 0.2%  skip:96.4%  L0:39.5% L1:56.2% BI: 4.4%
x264: 8x8 transform intra:22.9% inter:22.6%
x264: coded y,uvDC,uvAC intra: 48.7% 47.5% 29.6% inter: 1.2% 1.1% 0.2%
x264: i16 v,h,dc,p: 61% 32%  5%  2%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 28% 18%  4%  8%  7%  7%  4%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 25% 13%  7%  8%  8%  8%  6%  8%
x264: i8c dc,h,v,p: 56% 26% 13%  5%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: ref P L0: 86.9% 13.1%
x264: ref B L0: 91.3%  8.7%
x264: ref B L1: 95.2%  4.8%
x264: kb/s:847.32
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 25.02 ms] [avg calls per frame: 1] [children: 97.4%] [unaccounted: 2.59%]
| scene->Preprocess - [47.3%] [avg time: 11.835 ms] [avg calls per frame: 1]
| video encoding and uploading - [50.1%] [avg time: 12.537 ms] [avg calls per frame: 1] [children: 50%] [unaccounted: 0.132%]
| | CopyResource - [34.1%] [avg time: 8.542 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.228%] [avg time: 0.057 ms] [avg calls per frame: 0]
| | call to encoder - [15.5%] [avg time: 3.89 ms] [avg calls per frame: 0]
| | sending stuff out - [0.06%] [avg time: 0.015 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
you need to get your frame time down. disable aero. lower the game graphic's, and use game capture instead of dxtory. obs use's some of the gpu power also so keep that in mind.

put the preset back to veryfast for now. only use "faster" when streaming console.
 
Top