Question / Help FPS drops ingame when streaming (from 140 to 30-)

Mothcity

New Member
Before my stream is turned on my fps is pretty stable on 120-140, but when i turn my stream on it drops to lower than 30 (10-30)..
Doesn't change anything when i change the fps settings for my stream, i've tried from 30 to 60.
I just bought a new video card (Nvidia GeForce GTX660 Ti), when i heard about OBS and how it used more of the video card rather than cpu, because my cpu is alittle outdated(intel core 2 Quad).

So is it my cpu? should i get a new one to start streaming properly..

Heres the log:
Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz
CPU Speed: 2333MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 660 Ti
  Video Adapter Dedicated Video Memory: 2091319296
  Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using Window Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 50
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 8
------------------------------------------
Total frames rendered: 3225, number of frames that lagged: 502 (15.57%) (it's okay for some frames to lag)
x264: frame I:14    Avg QP:23.09  size: 80833
x264: frame P:825   Avg QP:22.39  size:   724
x264: frame B:2338  Avg QP:33.83  size:    83
x264: consecutive B-frames:  1.8%  0.3%  0.0% 97.9%
x264: mb I  I16..4: 60.6% 11.6% 27.8%
x264: mb P  I16..4:  0.8%  0.1%  0.0%  P16..4:  0.8%  0.2%  0.1%  0.0%  0.0%    skip:97.9%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:41.5% L1:48.9% BI: 9.6%
x264: 8x8 transform intra:9.0% inter:24.2%
x264: coded y,uvDC,uvAC intra: 30.1% 28.8% 17.4% inter: 0.1% 0.1% 0.0%
x264: i16 v,h,dc,p: 57% 40%  2%  1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 37% 25%  2%  7%  4%  3%  1%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 43%  9%  4%  4%  3%  4%  3%  5%
x264: i8c dc,h,v,p: 35% 36% 28%  1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:221.61
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using Window Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 50
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 3012, outputRateWindowTime: 1000, dropThreshold: 3512
Total frames rendered: 10547, number of frames that lagged: 10346 (98.09%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:43    Avg QP:25.59  size:132611
x264: frame P:2996  Avg QP:26.31  size: 12171
x264: frame B:7461  Avg QP:32.21  size:  2310
x264: consecutive B-frames:  4.6%  1.1%  2.5% 91.8%
x264: mb I  I16..4: 25.4% 30.2% 44.4%
x264: mb P  I16..4:  1.9%  1.4%  0.8%  P16..4: 11.8%  2.6%  1.4%  0.0%  0.0%    skip:80.2%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.7%  0.8%  0.2%  direct: 0.5%  skip:96.6%  L0:39.1% L1:46.0% BI:14.9%
x264: 8x8 transform intra:32.3% inter:26.4%
x264: coded y,uvDC,uvAC intra: 63.3% 59.8% 30.1% inter: 2.4% 2.3% 0.4%
x264: i16 v,h,dc,p: 27% 32% 31% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 17% 35%  4%  8%  5%  6%  5%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 21% 20%  7%  8%  7%  7%  6%  7%
x264: i8c dc,h,v,p: 52% 25% 16%  6%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1348.27
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using Window Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1689, outputRateWindowTime: 1000, dropThreshold: 2189
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Total frames rendered: 66193, number of frames that lagged: 43679 (65.99%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:313   Avg QP:23.60  size: 93123
x264: frame P:18900 Avg QP:24.54  size: 10296
x264: frame B:46938 Avg QP:29.82  size:  1892
x264: consecutive B-frames:  4.3%  1.9%  3.7% 90.0%
x264: mb I  I16..4: 49.1% 21.3% 29.6%
x264: mb P  I16..4:  2.4%  1.4%  0.8%  P16..4:  8.6%  1.9%  1.0%  0.0%  0.0%    skip:83.8%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.2%  0.6%  0.2%  direct: 0.5%  skip:97.3%  L0:39.5% L1:46.7% BI:13.8%
x264: 8x8 transform intra:27.8% inter:25.1%
x264: coded y,uvDC,uvAC intra: 50.5% 48.2% 24.3% inter: 1.8% 1.9% 0.4%
x264: i16 v,h,dc,p: 41% 32% 20%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 19% 35%  4%  7%  5%  6%  5%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 22% 19%  7%  7%  7%  7%  6%  7%
x264: i8c dc,h,v,p: 57% 24% 14%  5%
x264: Weighted P-Frames: Y:0.2% UV:0.1%
x264: kb/s:1104.77
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 8
------------------------------------------
Total frames rendered: 24, number of frames that lagged: 1 (4.17%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Digital Audio (S/PDIF) (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1800
    buffer size: 2000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1891, outputRateWindowTime: 1000, dropThreshold: 2391
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Using text output
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed, result = 88890004
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
Using text output
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Total frames rendered: 161191, number of frames that lagged: 2927 (1.82%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:653   Avg QP:15.02  size: 28870
x264: frame P:40874 Avg QP:15.80  size:   233
x264: frame B:119621 Avg QP:16.63  size:    67
x264: consecutive B-frames:  1.0%  0.1%  0.1% 98.9%
x264: mb I  I16..4: 74.6% 16.6%  8.8%
x264: mb P  I16..4:  0.2%  0.0%  0.0%  P16..4:  0.3%  0.0%  0.0%  0.0%  0.0%    skip:99.4%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%  L0:47.1% L1:50.1% BI: 2.8%
x264: 8x8 transform intra:16.7% inter:36.9%
x264: coded y,uvDC,uvAC intra: 18.8% 23.3% 11.8% inter: 0.0% 0.1% 0.0%
x264: i16 v,h,dc,p: 86%  9%  3%  2%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 34% 18%  3%  8%  4%  9%  4%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 28% 14%  7%  6%  4%  7%  4%  4%
x264: i8c dc,h,v,p: 74% 13%  8%  6%
x264: Weighted P-Frames: Y:0.2% UV:0.1%
x264: kb/s:70.82
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (USB Headphone Set)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using text output
Using text output
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3500
    buffer size: 1500
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1855, outputRateWindowTime: 1000, dropThreshold: 2355
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Using Window Capture
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
Using Window Capture
Total frames rendered: 54585, number of frames that lagged: 4996 (9.15%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:266   Avg QP:16.73  size: 86899
x264: frame P:14220 Avg QP:17.10  size:  3234
x264: frame B:40061 Avg QP:18.85  size:   490
x264: consecutive B-frames:  1.8%  0.5%  1.3% 96.5%
x264: mb I  I16..4: 61.3% 12.3% 26.3%
x264: mb P  I16..4:  0.9%  0.3%  0.2%  P16..4:  2.8%  0.7%  0.4%  0.0%  0.0%    skip:94.7%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.1%  0.0%  direct: 0.2%  skip:99.2%  L0:39.3% L1:48.4% BI:12.3%
x264: 8x8 transform intra:15.7% inter:25.6%
x264: coded y,uvDC,uvAC intra: 37.6% 37.0% 22.7% inter: 0.5% 0.6% 0.1%
x264: i16 v,h,dc,p: 66% 24%  7%  3%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 29% 27%  3%  6%  4%  5%  4%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 28% 13%  7%  6%  6%  6%  5%  6%
x264: i8c dc,h,v,p: 60% 23% 13%  4%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:378.74
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 18.808 ms] [avg calls per frame: 1] [children: 94.7%] [unaccounted: 5.29%]
| scene->Preprocess - [26.5%] [avg time: 4.986 ms] [avg calls per frame: 1]
| video encoding and uploading - [68.2%] [avg time: 12.827 ms] [avg calls per frame: 1] [children: 38.4%] [unaccounted: 29.8%]
| | CopyResource - [0.452%] [avg time: 0.085 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.893%] [avg time: 0.168 ms] [avg calls per frame: 0]
| | call to encoder - [36.9%] [avg time: 6.947 ms] [avg calls per frame: 0]
| | sending stuff out - [0.165%] [avg time: 0.031 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.
 

Mothcity

New Member
I just realized my fps is actually 60 while im not streaming... my bad..

But if anyone can help me find out what the problem is that would be great.

My fps has dropped since i formatted and started using a new video card..
 
Your CPU is very low end, unfortunately.

Also, your CPU is a very HEAVY bottleneck to your video card. :(

If you have a very high upload speed, try setting your CPU preset to the FASTEST possible option. I think it's UltraFast.
 

Mothcity

New Member
TriAtlasGaming said:
Your CPU is very low end, unfortunately.

Also, your CPU is a very HEAVY bottleneck to your video card. :(

If you have a very high upload speed, try setting your CPU preset to the FASTEST possible option. I think it's UltraFast.
Okay, ill try that. Thanks

Could that be the reason that my fps dropped? because my video card now is too good compared the other components? ^^
 

ThoNohT

Developer
I own that cpu too, it can definitely do veryfast, I do play on 1920x1080 and stream at a downscale of 1.5 though, but you should get some advantage from that gpu.

The real problem is you are using window capture with Aero disabled. If you enable aero, window capture should be pretty much free and you can reserve all your cpu for encoding. Or you could possibly switch to game capture if it's possible for your game, which does not care about aero, and I believe makes better use of the gpu. Either window capture with aero or game capture with or without should both be about the same.

It might be a good idea to just keep track of your cpu monitor while streaming, if it starts peaking to 100% on any of the cores, you are using too much cpu. You didn't mention which game you played either, I manage to stream GW2 at 720p30 with those settings, but it took some tweaking, and I'm pushing my cpu to the limit.

Also, AAC over 128kbps for audio really is useless, you aren't going to hear the difference.
 

Mothcity

New Member
ThoNohT said:
I own that cpu too, it can definitely do veryfast, I do play on 1920x1080 and stream at a downscale of 1.5 though, but you should get some advantage from that gpu.

The real problem is you are using window capture with Aero disabled. If you enable aero, window capture should be pretty much free and you can reserve all your cpu for encoding. Or you could possibly switch to game capture if it's possible for your game, which does not care about aero, and I believe makes better use of the gpu. Either window capture with aero or game capture with or without should both be about the same.

It might be a good idea to just keep track of your cpu monitor while streaming, if it starts peaking to 100% on any of the cores, you are using too much cpu. You didn't mention which game you played either, I manage to stream GW2 at 720p30 with those settings, but it took some tweaking, and I'm pushing my cpu to the limit.

Also, AAC over 128kbps for audio really is useless, you aren't going to hear the difference.
My windows Area is not disabled.
I play league of legends, ill start a game up right now and keep and eye on my cpu temps.

Thanks for the response.

E: Doesn't go up to higher than 70%, this is while streaming.
 

ThoNohT

Developer
Not temps, just the usage, sir. Try to keep them between 80-90% max, and you should be fine.

And your logfile does definitely say Aero is disabled. Did you enable the checkbox disable Aero on startup in the OBS settings? Or did you perhaps choose a non-transparent windows skin. Or did you upload an old log?
 

Mothcity

New Member
ThoNohT said:
Not temps, just the usage, sir. Try to keep them between 80-90% max, and you should be fine.

And your logfile does definitely say Aero is disabled. Did you enable the checkbox disable Aero on startup in the OBS settings? Or did you perhaps choose a non-transparent windows skin. Or did you upload an old log?

I did not check that box.

Im guessin you mean what is showing in the task manager? my cpu usage is like 10%..

E: When i turn stream on it goes to 90%+
 

Krazy

Town drunk
You should be ok if you do a 1.5 downscale and leave the FPS at 30. Aero is definitely disabled on your system, though. You will need to look into re-enabling it most likely.
 
Top