Question / Help OBS Lagging on a high-end'ish system?

Fragil1ty

New Member
Hey guys, so I'm currently suffering from lag issues on my current set-up, my set-up is as follows:

CPU: i5-3570k @ 3.4GHz (stock)
RAM: 12GB DDR3 @ 1600MHz
HDD: 120GB Corsair Force 3 SSD w/ 2TB Samsung Eco Green HDD for storage
GPU: AMD HD 7850 /w custom overclock settings (925mhz/1300mhz)
Internet: 40mb/20mb

And the settings that I use for OBS are as follows:

Encoding: Quality Balance: 8 / Max Birate: 2500 / codec: AAC / bitrate: 64
Video: Resolution Downscale: 1.50 (1280x720) / filter: blinear (fast) / fps: 30
Advanced: Use multithreaded optimisations: yes/ticked / process priority class: Normal / Scene Buffering time: 400
x264 CPU Preset: faster

Now for example if I stream, my stream is lovely, it appears perfectly, there is no lag on stream what so ever, but in-game, I get lag, so if I play APB:Reloaded I go from a steady FPS of 80-90+ constantly to a low 50-58 and it feels sluggish to play with and this is apparent for most games if not all, I want to stream titles such as: APB/League of Legends/Scrolls/etc, etc but I just cannot deal with losing so many frame.

Is there anything I can do to increase this? as it's starting to become somewhat of an annoyance.

Regards,
Fragil1ty.
 

FerretBomb

Active Member
Post a log of a live streaming session. They're in %appdata%\OBS\logs and are timestamped with your session date/time.

Also, have you been monitoring your CPU usage and frequency stepping? You are using Faster, which the i5 may not be able to handle in conjunction with the games you're trying to play. Go back to Veryfast. When streaming, your CPU is far more likely to be the hardware bottleneck than your graphics card.

Also, run a 6MB test at http://testmy.net/upload and post the results here. This will test your constant throughput instead of averaged rate (as speedtest.net will check), which is only useful for dead-file transfers.
 

Fragil1ty

New Member
testmy.net/results = Upload :: 4.4 Mbps 550 kB/s

live streaming session log:

Code:
12:06:38: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
12:06:38: -------------------------------
12:06:38: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
12:06:38: CPU Speed: 3400MHz
12:06:38: Physical Memory:  4095MB Total, 4095MB Free
12:06:38: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
12:06:38: monitor 1: pos={0, 0}, size={1920, 1080}
12:06:38: monitor 2: pos={-1920, 0}, size={1920, 1080}
12:06:38: Windows Version: 6.1 Build 7601 S
12:06:38: Aero is Disabled
12:06:38: -------------------------------
12:06:38: OBS Modules:
12:06:38: Base Address     Module
12:06:38: 001D0000         OBS.exe
12:06:38: 68600000         OBSApi.dll
12:06:38: 73430000         DShowPlugin.dll
12:06:38: 73410000         GraphicsCapture.dll
12:06:38: 733E0000         NoiseGate.dll
12:06:38: ------------------------------------------
12:06:38: Adapter 1
12:06:38:   Video Adapter: AMD Radeon HD 7800 Series
12:06:38:   Video Adapter Dedicated Video Memory: 2124619776
12:06:38:   Video Adapter Shared System Memory: 2170281984
12:06:38: =====Stream Start: 2013-06-26, 12:06:38===============================================
12:06:38:   Multithreaded optimizations: On
12:06:38:   Base resolution: 1920x1080
12:06:38:   Output resolution: 1280x720
12:06:38: ------------------------------------------
12:06:38: Loading up D3D10...
12:06:38: Playback device Default
12:06:38: ------------------------------------------
12:06:38: Using desktop audio input: Speakers (High Definition Audio Device)
12:06:38: ------------------------------------------
12:06:38: Using auxilary audio input: Microphone (High Definition Audio Device)
12:06:38: ------------------------------------------
12:06:38: Audio Encoding: AAC
12:06:38:     bitrate: 64
12:06:38: Using Monitor Capture
12:06:39: ------------------------------------------
12:06:39: Video Encoding: x264
12:06:39:     fps: 60
12:06:39:     width: 1280, height: 720
12:06:39:     preset: faster
12:06:39:     CBR: no
12:06:39:     CFR: no
12:06:39:     max bitrate: 2000
12:06:39:     buffer size: 2000
12:06:39:     quality: 6
12:06:39: ------------------------------------------
12:06:40: Using RTMP service: Twitch / Justin.tv
12:06:40:   Server selection: rtmp://live-lhr.justin.tv/app
12:06:41: SO_SNDBUF was at 8192
12:06:41: SO_SNDBUF is now 65536
12:12:21: Total frames rendered: 19478, number of frames that lagged: 1898 (9.74%) (it's okay for some frames to lag)
12:12:21: RTMPPublisher::SocketLoop: Aborting due to bStopping
12:12:21: Number of times waited to send: 0, Waited for a total of 0 bytes
12:12:21: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:12:22: =====Stream End: 2013-06-26, 12:12:22=================================================
12:12:45: =====Stream Start: 2013-06-26, 12:12:45===============================================
12:12:45:   Multithreaded optimizations: On
12:12:45:   Base resolution: 1920x1080
12:12:45:   Output resolution: 1280x720
12:12:45: ------------------------------------------
12:12:45: Loading up D3D10...
12:12:45: Playback device Default
12:12:45: ------------------------------------------
12:12:45: Using desktop audio input: Speakers (High Definition Audio Device)
12:12:45: ------------------------------------------
12:12:45: Using auxilary audio input: Microphone (High Definition Audio Device)
12:12:45: ------------------------------------------
12:12:45: Audio Encoding: AAC
12:12:45:     bitrate: 64
12:12:45: Using Monitor Capture
12:12:45: ------------------------------------------
12:12:45: Video Encoding: x264
12:12:45:     fps: 25
12:12:45:     width: 1280, height: 720
12:12:45:     preset: veryfast
12:12:45:     CBR: no
12:12:45:     CFR: no
12:12:45:     max bitrate: 2500
12:12:45:     buffer size: 2500
12:12:45:     quality: 8
12:12:45: ------------------------------------------
12:12:47: Using RTMP service: Twitch / Justin.tv
12:12:47:   Server selection: rtmp://live-lhr.justin.tv/app
12:12:49: SO_SNDBUF was at 8192
12:12:49: SO_SNDBUF is now 65536
12:46:37: Total frames rendered: 50334, number of frames that lagged: 954 (1.90%) (it's okay for some frames to lag)
12:46:37: RTMPPublisher::SocketLoop: Aborting due to bStopping
12:46:37: Number of times waited to send: 0, Waited for a total of 0 bytes
12:46:37: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:46:37: =====Stream End: 2013-06-26, 12:46:37=================================================
12:46:38: 
12:46:38: Profiler results:
12:46:38: 
12:46:38: ==============================================================
12:46:38: frame - [100%] [avg time: 11.236 ms] [avg calls per frame: 1] [children: 99.5%] [unaccounted: 0.463%]
12:46:38: | scene->Preprocess - [86.5%] [avg time: 9.715 ms] [avg calls per frame: 1]
12:46:38: | video encoding and uploading - [13.1%] [avg time: 1.469 ms] [avg calls per frame: 1] [children: 10.7%] [unaccounted: 2.41%]
12:46:38: | | CopyResource - [0.498%] [avg time: 0.056 ms] [avg calls per frame: 0]
12:46:38: | | conversion to 4:2:0 - [0.32%] [avg time: 0.036 ms] [avg calls per frame: 0]
12:46:38: | | call to encoder - [9.63%] [avg time: 1.082 ms] [avg calls per frame: 0]
12:46:38: | | sending stuff out - [0.214%] [avg time: 0.024 ms] [avg calls per frame: 0]
12:46:38: ==============================================================
12:46:38:

---------

As you may be able to see, I did change the settings a little bit prior to the stream, but it didn't appear to be much better.
 

dodgepong

Administrator
Community Helper
Don't use monitor capture. It is the slowest capture method on Windows 7. Use Window capture with Aero enabled or game capture instead.
 
Top