Question / Help FPS issue

Spades

New Member
Hello, I find myself in a bit of a bind here. I've been using the combination of OBS and DXtory to stream many of my games. I recently reinstalled my Windows 7 64-bit and I've encountered a problem since then. My FPS used to be 60 in-game and I was streaming at 30, which is completely fine and I'm satisfied with this result. But since the reinstall OBS has been acting up on me. DXtory is working just fine - 60 in-game/30 live, but when i turn the stream on the in-game FPS drops down to 30. This was not happening before and I'm running both programs with the same settings as I used to. The DXtory feed doesn't even have to be turned on, this happens literally whenever the stream is up. Me and my friend tried to solve this in many ways but to no result. I would very much appreciate your help and advice. If you need any more data let me know, I'll happily provide.¨

Here is a log, I'm not sure if it'll be of any help.
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
CPU Speed: 2800MHz
Physical Memory:  4086MB Total, 1689MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 4800 Series 
  Video Adapter Dedicated Video Memory: 1066618880
  Video Adapter Shared System Memory: 1873848320
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2109, outputRateWindowTime: 1000, dropThreshold: 2609
Total frames rendered: 240, number of frames that lagged: 95 (39.58%) (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:1     Avg QP:23.91  size:173818
x264: frame P:105   Avg QP:29.34  size: 15522
x264: frame B:90    Avg QP:27.56  size:  2402
x264: consecutive B-frames: 30.6% 18.4% 18.4% 32.7%
x264: mb I  I16..4: 20.8% 30.0% 49.2%
x264: mb P  I16..4:  4.9%  4.6%  0.5%  P16..4: 19.1%  6.4%  2.4%  0.0%  0.0%    skip:62.2%
x264: mb B  I16..4:  0.7%  0.3%  0.0%  B16..8:  7.6%  1.3%  0.1%  direct: 1.1%  skip:88.9%  L0:38.1% L1:57.9% BI: 4.0%
x264: 8x8 transform intra:43.7% inter:24.9%
x264: coded y,uvDC,uvAC intra: 36.4% 42.0% 17.4% inter: 3.9% 4.8% 0.9%
x264: i16 v,h,dc,p: 30% 47% 16%  8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 32% 31%  4%  4%  3%  6%  3%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 28% 18%  5%  6%  6%  7%  5%  7%
x264: i8c dc,h,v,p: 50% 32% 14%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1978.49
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 2183, outputRateWindowTime: 1000, dropThreshold: 2683
Total frames rendered: 147, number of frames that lagged: 51 (34.69%) (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:1     Avg QP:31.79  size: 77989
x264: frame P:51    Avg QP:28.76  size: 17011
x264: frame B:51    Avg QP:24.13  size:   908
x264: consecutive B-frames: 29.8%  9.6%  2.9% 57.7%
x264: mb I  I16..4: 32.6% 50.8% 16.5%
x264: mb P  I16..4:  4.0%  5.1%  0.7%  P16..4: 23.1%  6.7%  2.2%  0.0%  0.0%    skip:58.2%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  3.0%  0.5%  0.0%  direct: 0.4%  skip:95.9%  L0:50.9% L1:45.0% BI: 4.2%
x264: 8x8 transform intra:51.8% inter:28.3%
x264: coded y,uvDC,uvAC intra: 42.7% 43.6% 15.3% inter: 4.5% 5.3% 0.7%
x264: i16 v,h,dc,p: 34% 45% 14%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 36% 23%  4%  4%  4%  7%  4%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 27% 16%  6%  6%  6%  8%  5%  6%
x264: i8c dc,h,v,p: 49% 33% 15%  4%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:1880.68
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 17, number of frames that lagged: 0 (0.00%) (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: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 19, number of frames that lagged: 0 (0.00%) (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: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 18, number of frames that lagged: 0 (0.00%) (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: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 21, number of frames that lagged: 1 (4.76%) (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: Headset (Sound Blaster Tactic(3D) Sigma)
------------------------------------------
Using auxilary audio input: Mic in at front panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
    device: Dxtory Video 1,
    device id (null),
    chosen type: RGB32, usingFourCC: false, res: 1680x1050 - 1680x1050, fps: 30-30, fourCC: 00000000

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 5000
    quality: 10
------------------------------------------
Total frames rendered: 18, number of frames that lagged: 0 (0.00%) (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=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 27.801 ms] [avg calls per frame: 1] [children: 97.7%] [unaccounted: 2.26%]
| scene->Preprocess - [0.0216%] [avg time: 0.006 ms] [avg calls per frame: 1]
| video encoding and uploading - [97.7%] [avg time: 27.166 ms] [avg calls per frame: 1] [children: 8.2%] [unaccounted: 89.5%]
| | CopyResource - [0.054%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.112%] [avg time: 0.031 ms] [avg calls per frame: 0]
| | call to encoder - [8.01%] [avg time: 2.226 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0324%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================

P.S. Please excuse the ever possible typos. Also, I am not posting this in the Bugs section as I'm pretty sure it's not a bug.
 

hilalpro

Member
you don't really have to use dxtory unless you wanna feed like multiple applications or something. obs's game capture is really a faster solution.
anyways are you sure that you weren't downscaling before reinstalling ? if so then you was streaming at 1680x1050 30 fps and 60 fps ingame.
obs right now is also struggling to encode at the specified frame rate. and that means something after the installation started using alot of the your cpu.
 

Spades

New Member
I'm using DXtory because when I use OBS's game capture instead I'm getting only 40 FPS in-game for some reason. This was happening before as well so I don't really mind.
Yes, I am sure I wasn't downscaling anything, as I said, the settings are all the same.
I just tried streaming for a bit and my CPU usage stuck around 15-25% so I don't think that is much of a problem. This probably isn't in any way connected to the issue, but just in case - my internet connection is also not the problem.
 

Spades

New Member
Well I just noticed that the FPS are actually just non-constant when using game capture. The screen however does tear a lot, which is visible in the following VOD(actually it tears a lot more in reality than what can be seen on the recording). The game is League of Legends.

http://cs.twitch.tv/spaadeslol/b/373363323

I'm not sure if this relates to my original issue though... As I said, I don't mind using DXtory.
 

hilalpro

Member
game capture should be working perfectly fine with lol.
i want you to close dxtory start a streaming session with obs go to task manager and lower the priority of obs.exe to (below normal). your ingame fps should be more constant now unless you have changed any of them quality settings from where they were at before.
obs also uses quite a bit of gpu power i want you to use a program called msi afterburner to monitor your gpu usage during streaming on game capture.
 

Spades

New Member
I did exactly as instructed, the experience was pretty much the same. However MSI Afterburner showed that my GPU usage was jumping up to 95%. But then again, when I was using DXtory everything went smoothly the fps was constantly sticking to 60 and the stream was just fine, running smoothly and in good quality.

//Just noticed that when I open OBS, stream for a bit then stop streaming the FPS sticks to 30 till I close OBS itself, which leads me to believe the problem is the process itself. I have no clue what to do with this since we've already tried lowering the priority and I've been running it as administrator.
 

hilalpro

Member
that's pretty much the reason.
on dxtory there is an option on advanced for forcing cpu processing to help the gpu have you tried playing with that ?
 

Spades

New Member
It wasn't ticked so I did try it out but no obvious change. You are still trying to solve why the game capture isn't working as it should, but that's not the problem here. The problem is that whenever I turn on the stream, the video FPS gets dragged and glued down to 30, which was not happening before. This is a software issue with OBS, that I'm sure of.
 

hilalpro

Member
i personally have heard about this and just to confirm that it's the same issue that is related with the gpu (it's not supposed to happen) do this.

close the game. close dxtory and do just a simple desktop no games running (software capture with aero off) stream and tell me whats your gpu usage during this.

if it gets high enough that would explain why it effects the game's fps.
 

Spades

New Member
Ok, so with aero on the usage was 65-75% with are 63-70%. I did however experience the same tearing that I did in-game. The tearing was very strong with aero on, a little less so with aero off.

Aero on: http://cs.twitch.tv/spaadeslol/b/373508551
Aero off: http://cs.twitch.tv/spaadeslol/b/373508983

I also tried downscaling the resolution down to 1120x700 while streaming the game and the FPS problem disappeared. This was however not necessary before and I could stream at my full resolution with 60/30 FPS.
 

hilalpro

Member
maybe something else has changed like on gpu driver side. but certainly that much gpu usage can only mean that you have to downscale to run the game smoother.
 

Spades

New Member
Yeah, pity though. Maybe I'll figure it out as time goes. Thank you for all your advice, it's been very helpful.
 
Top