Bug Report Terrible FPS

itzhoovEr

New Member
My FPS hovers around 15-22fps.

Code:
Open Broadcaster Software v0.471b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory:  8175MB Total, 6436MB Free
stepping id: 7, 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}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6900 Series
  Video Adapter Dedicated Video Memory: 2133544960
  Video Adapter Shared System Memory: 4017680384
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 29
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw.justin.tv/app
bufferTime: 4853, outputRateWindowTime: 1000, dropThreshold: 5353
Total frames rendered: 3868, number of frames that lagged: 3853 (99.61%) (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:16    Avg QP:18.09  size: 99981
x264: frame P:1015  Avg QP:18.09  size:  2325
x264: frame B:2801  Avg QP:13.93  size:    93
x264: consecutive B-frames:  2.1%  0.9%  0.9% 96.0%
x264: mb I  I16..4: 44.2% 22.0% 33.8%
x264: mb P  I16..4:  1.0%  0.1%  0.4%  P16..4:  1.3%  0.3%  0.3%  0.0%  0.0%    skip:96.7%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.7%  L0:49.3% L1:48.4% BI: 2.3%
x264: 8x8 transform intra:14.1% inter:22.3%
x264: coded y,uvDC,uvAC intra: 41.7% 22.5% 20.2% inter: 0.3% 0.1% 0.1%
x264: i16 v,h,dc,p: 38% 61%  1%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  5% 33% 58%  0%  0%  0%  0%  0%  2%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 45% 13%  2%  3%  2%  4%  2%  5%
x264: i8c dc,h,v,p: 66% 23% 10%  0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:188.68
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 46.577 ms] [avg calls per frame: 1] [children: 98.7%] [unaccounted: 1.26%]
| scene->Preprocess - [13.4%] [avg time: 6.246 ms] [avg calls per frame: 1]
| video encoding and uploading - [85.3%] [avg time: 39.746 ms] [avg calls per frame: 1] [children: 2.9%] [unaccounted: 82.4%]
| | CopyResource - [0.00215%] [avg time: 0.001 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.41%] [avg time: 0.656 ms] [avg calls per frame: 0]
| | call to encoder - [1.48%] [avg time: 0.691 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0107%] [avg time: 0.005 ms] [avg calls per frame: 0]
==============================================================
 

paibox

heros in an halfshel
You've turned off multithreaded optimizations for some reason, please turn it back on. Also, you should avoid using monitor capture and game capture in the same scene.
 

itzhoovEr

New Member
paibox said:
You've turned off multithreaded optimizations for some reason, please turn it back on. Also, you should avoid using monitor capture and game capture in the same scene.

I did and I'm still getting absolutely terrible fps.

Code:
Open Broadcaster Software v0.471b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory:  8175MB Total, 5276MB Free
stepping id: 7, 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}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6900 Series
  Video Adapter Dedicated Video Memory: 2133544960
  Video Adapter Shared System Memory: 4017680384
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 29
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw.justin.tv/app
bufferTime: 5770, outputRateWindowTime: 1000, dropThreshold: 6270
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
SharedTexCapture hooked
Warning -- Capture BitBlt failed..  just so you know
SharedTexCapture hooked
Total frames rendered: 7582, number of frames that lagged: 7208 (95.07%) (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:18.10  size: 68197
x264: frame P:2751  Avg QP:21.60  size:  9063
x264: frame B:4750  Avg QP:20.99  size:   680
x264: consecutive B-frames: 13.3%  7.5%  2.3% 76.9%
x264: mb I  I16..4: 40.0% 21.4% 38.5%
x264: mb P  I16..4:  2.6%  2.7%  0.9%  P16..4: 13.4%  5.7%  3.0%  0.0%  0.0%    skip:71.8%
x264: mb B  I16..4:  0.2%  0.2%  0.0%  B16..8:  1.8%  0.7%  0.1%  direct: 0.6%  skip:96.4%  L0:34.7% L1:43.1% BI:22.2%
x264: 8x8 transform intra:39.1% inter:41.3%
x264: coded y,uvDC,uvAC intra: 50.6% 29.5% 8.7% inter: 4.1% 1.9% 0.1%
x264: i16 v,h,dc,p: 53% 28% 13%  6%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 24% 26%  4%  5%  4%  6%  4%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 26% 15%  6%  7%  5%  7%  5%  8%
x264: i8c dc,h,v,p: 64% 19% 14%  3%
x264: Weighted P-Frames: Y:8.4% UV:5.4%
x264: kb/s:612.85
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 52.756 ms] [avg calls per frame: 1] [children: 85%] [unaccounted: 15%]
| scene->Preprocess - [13.4%] [avg time: 7.064 ms] [avg calls per frame: 1]
| video encoding and uploading - [71.6%] [avg time: 37.77 ms] [avg calls per frame: 1] [children: 2.72%] [unaccounted: 68.9%]
| | CopyResource - [0.127%] [avg time: 0.067 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0512%] [avg time: 0.027 ms] [avg calls per frame: 0]
| | call to encoder - [2.45%] [avg time: 1.292 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0891%] [avg time: 0.047 ms] [avg calls per frame: 0]
==============================================================

I'd also like to state that as soon as I start OBS my gpu usage jumps to a constant 85%+
 

paibox

heros in an halfshel
Yeah, you have really high encoding/upload times, your log looks fine aside from that and a warning message. Wish I could tell you why, your CPU should be able to handle the encoding just fine. Does changing the FPS to 30 instead of 29 change anything?

Edit: As Grimio pointed out on IRC just now, your 6900 series Radeon is a dual GPU card, right? (In case it's a 6990.) You might have to disable the Crossfire features it has for OBS to work properly, as the way OBS is designed, it has trouble with multiple video adapters, including ones that are dual GPUs on one card.
 

itzhoovEr

New Member
paibox said:
Yeah, you have really high encoding/upload times, your log looks fine aside from that and a warning message. Wish I could tell you why, your CPU should be able to handle the encoding just fine. Does changing the FPS to 30 instead of 29 change anything?

Edit: As Grimio pointed out on IRC just now, your 6900 series Radeon is a dual GPU card, right? (In case it's a 6990.) You might have to disable the Crossfire features it has for OBS to work properly, as the way OBS is designed, it has trouble with multiple video adapters, including ones that are dual GPUs on one card.

I tried 60fps, 35, 30 and 29. And I'm using a 6950 2gb.
 

hilalpro

Member
these are some things to try in this order,

just in case, make sure the theme is not glassy go with a basic theme
use the 32 bit v0.472b
don't downscale the native resolution and lower the fps to 25
uncheck any sources that you're not showing on stream
lower the game graphic's
from task manager make obs.exe process priority "high". especially if the cpu usage is high
with game capture sometimes the game should always run after obs meaning if you rerun obs or recreate capture source you gotta also rerun the game

post a log to see if this makes progress.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
From your log, it seems you might be having an issue with your game taking up all the GPU, you might have to run the game with v-sync on to free up some room for OBS, because OBS also uses the GPU as well. Your processor and CPU usage seems fine, right now it seems to be a GPU thing as far as I can tell.
 

itzhoovEr

New Member
Jim said:
From your log, it seems you might be having an issue with your game taking up all the GPU, you might have to run the game with v-sync on to free up some room for OBS, because OBS also uses the GPU as well. Your processor and CPU usage seems fine, right now it seems to be a GPU thing as far as I can tell.

Thats the thing, my gpu usage jumps to 85%+ as soon as a start OBS without even having a game open.

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory:  8175MB Total, 5937MB Free
stepping id: 7, 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}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6900 Series
  Video Adapter Dedicated Video Memory: 2133544960
  Video Adapter Shared System Memory: 4017680384
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 29
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw.justin.tv/app
bufferTime: 1767, outputRateWindowTime: 1000, dropThreshold: 2267
Total frames rendered: 1887, number of frames that lagged: 1871 (99.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:8     Avg QP:19.28  size: 78523
x264: frame P:495   Avg QP:20.79  size:  1677
x264: frame B:1347  Avg QP:20.99  size:    96
x264: consecutive B-frames:  2.6%  0.9%  0.3% 96.2%
x264: mb I  I16..4: 59.3%  9.7% 30.9%
x264: mb P  I16..4:  1.5%  0.0%  0.3%  P16..4:  1.4%  0.5%  0.2%  0.0%  0.0%    skip:96.0%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.1%  skip:99.6%  L0:49.0% L1:46.9% BI: 4.2%
x264: 8x8 transform intra:5.1% inter:30.2%
x264: coded y,uvDC,uvAC intra: 28.8% 21.3% 17.3% inter: 0.3% 0.2% 0.1%
x264: i16 v,h,dc,p: 47% 52%  1%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 65% 25%  1%  0%  0%  0%  0%  1%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 48% 11%  2%  2%  2%  3%  2%  4%
x264: i8c dc,h,v,p: 42% 47% 11%  1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:144.60
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 47.283 ms] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.909%]
| scene->Preprocess - [13.6%] [avg time: 6.438 ms] [avg calls per frame: 1]
| video encoding and uploading - [85.5%] [avg time: 40.415 ms] [avg calls per frame: 1] [children: 2.33%] [unaccounted: 83.1%]
| | CopyResource - [0.118%] [avg time: 0.056 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.00423%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [2.19%] [avg time: 1.035 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0169%] [avg time: 0.008 ms] [avg calls per frame: 0]
==============================================================

and here is a SS http://www.imagebro.com/?di=1313612318100
 
Top