Bug Report Low framerate of stream for some games

AdamAK

New Member
Hello everyone,
I've done a few initial tests with OBS, and am loving the software. I was able to stream games at a higher framerate and resolution, while taking a far smaller performance hit than XSplit. Sadly, one of the games I stream regularly doesn't work properly with OBS. The game Grand Theft Auto 3 runs perfectly while I'm streaming, but the framerate of the stream itself is awfully low; it's shows up on stream as if it were running at 15-20fps, when it should really be 60. Is there any particular reason why OBS would work great for games like L4D or Amnesia, but not capture something like GTA3 correctly?

I browsed through the forums for a moment before posting, so if this thread already exists, I unfortunately missed it. Let me know if you'd like a dxdiag log or anything.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
nope, a dxdiag shouldn't be necessary, just a regular log file from the application would suffice.
 

Shiden

New Member
Hey there AdamAK :D Mind sharing this thread with me? Same thing happens with Bionic Commando. Game runs smooth as I play it but OBS shows 15-20 fps on its status bar.

Code:
Open Broadcaster Software v0.446a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 940 Processor
CPU Speed: 3415MHz
Physical Memory:  4087MB Total, 2163MB Free
stepping id: 2, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 260
  Video Adapeter Dedicated Video Memory: 919994368
  Video Adapeter Shared System Memory: 1874362368
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 2304x1440
  Output resolution: 1152x720
------------------------------------------
Loading up D3D10...
Using 5.1 speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1152, height: 720
    quality: 10
    preset: veryfast
    i444: no
    max bitrate: 1500
    buffer size: 2000
------------------------------------------
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 16448, number of frames that lagged: 7842 (47.68%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 32.188 ms] [avg calls per frame: 1] [children: 98%] [unaccounted: 1.95%]
| scene->Preprocess - [0.00311%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [98%] [avg time: 31.558 ms] [avg calls per frame: 1] [children: 98%] [unaccounted: 0.0342%]
| | CopyResource - [92.6%] [avg time: 29.808 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0963%] [avg time: 0.031 ms] [avg calls per frame: 0]
| | call to encoder - [5.31%] [avg time: 1.708 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.

EDIT: I should of ended preview before posting the log, fixed. (Or closed the program, whatever I did to make it add more data to the end...)
Almost 50% lagged frames? That don't make any sense.. I'm sure the same is happening to his GTA3..post yer log Adam!
 

AdamAK

New Member
Hey,
Apologies for the late response. Something came up, and I wasn't able to do much with OBS for a bit.
Anyway, where can I find this log file? It doesn't seem to show up after a stream in the OBS folder, nor could I find it in My Documents.

I did a quick stream on a test account to show you what the main issue is here. Here's a highlight http://www.twitch.tv/poserak/c/1746460
 

AdamAK

New Member
Awesome, thanks. Here's my log for that quick test stream I highlighted in the previous post. I've tried various settings with streaming the game (mainly changing the resolution and encoding speed), but none of it made any difference. CPU usage while streaming is low.

Code:
Open Broadcaster Software v0.432a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
CPU Speed: 1995MHz
Physical Memory:  3947MB Total, 1407MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics Family
  Video Adapeter Dedicated Video Memory: 134217728
  Video Adapeter Shared System Memory: 1711276032
Send Buffer Size: 4096
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Headset Microphone (3- Microsoft LifeChat LX-3000 )
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1364, height: 768
    quality: 8
    preset: ultrafast
    i444: no
    max bitrate: 1600
    buffer size: 3200
------------------------------------------
Total frames rendered: 460, number of frames that lagged: 413 (89.78%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================
Send Buffer Size: 4096
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1366x768
  Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Headset Microphone (3- Microsoft LifeChat LX-3000 )
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1364, height: 768
    quality: 8
    preset: ultrafast
    i444: no
    max bitrate: 1600
    buffer size: 3200
------------------------------------------
Total frames rendered: 7271, number of frames that lagged: 5234 (71.98%) (it's okay for some frames to lag)
Number of b-frames dropped: 0, Number of p-frames dropped: 0
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 20.079 ms] [avg calls per frame: 1] [children: 92.9%] [unaccounted: 7.06%]
| scene->Preprocess - [40.1%] [avg time: 8.052 ms] [avg calls per frame: 1]
| video encoding and uploading - [52.8%] [avg time: 10.609 ms] [avg calls per frame: 1] [children: 12.2%] [unaccounted: 40.6%]
| | CopyResource - [0.388%] [avg time: 0.078 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0498%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | call to encoder - [11.8%] [avg time: 2.363 ms] [avg calls per frame: 0]
==============================================================
 

AdamAK

New Member
I was using the "Software Capture Source". Hadn't noticed that there were already several updates since the 11th, so I'll try getting a newer version of OBS and will try using game source instead. I'll post again once I've had the opportunity to test it.
 
Top