Question / Help 30% CPU used have fine FPS game is sill jerky

RobroGamer

New Member
my games act jerky and lag freeze this only happens when i use obs.
i have a NVIDIA Graphics card GeForce GT 630M
game runs fine when not using OBS.

20:10:10: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
20:10:10: -------------------------------
20:10:10: CPU Name: Intel(R) Core(TM) i5-3330S CPU @ 2.70GHz
20:10:10: CPU Speed: 2694MHz
20:10:10: Physical Memory: 4095MB Total, 4095MB Free
20:10:10: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:10:10: monitor 1: pos={0, 0}, size={1600, 900}
20:10:10: Windows Version: 6.2 Build 9200
20:10:10: Aero is Enabled
20:10:10: -------------------------------
20:10:10: OBS Modules:
20:10:10: Base Address Module
20:10:10: 00EA0000 OBS.exe
20:10:10: 712F0000 OBSApi.dll
20:10:10: 71650000 DShowPlugin.dll
20:10:10: 71630000 GraphicsCapture.dll
20:10:10: 71120000 NoiseGate.dll
20:10:10: ------------------------------------------
20:10:10: Adapter 1
20:10:10: Video Adapter: NVIDIA GeForce GT 630M
20:10:10: Video Adapter Dedicated Video Memory: 2096693248
20:10:10: Video Adapter Shared System Memory: 2147504128
20:10:10: =====Stream Start: 2013-06-09, 20:10:10===============================================
20:10:10: Multithreaded optimizations: On
20:10:10: Base resolution: 1600x900
20:10:10: Output resolution: 1600x900
20:10:10: ------------------------------------------
20:10:10: Loading up D3D10...
20:10:10: Playback device {0.0.0.00000000}.{0ce18326-5cdb-4696-917c-ffcb37088bb3}
20:10:10: ------------------------------------------
20:10:10: Using desktop audio input: Speakers / Headphones (IDT High Definition Audio CODEC)
20:10:10: ------------------------------------------
20:10:10: Using auxilary audio input: Microphone (IDT High Definition Audio CODEC)
20:10:10: ------------------------------------------
20:10:10: Audio Encoding: AAC
20:10:10: bitrate: 192
20:10:10: ------------------------------------------
20:10:10: device: HP 1.0MP High Definition Webcam,
20:10:10: device id \\?\usb#vid_04f2&pid_b31f&mi_00#7&114b2014&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:10:10: chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-666666, fourCC: 'YUY2'
20:10:10: audio device: Disable,
20:10:10: audio device id Disabled,
20:10:10:
20:10:10: Using directshow input
20:10:10: Using graphics capture
20:10:10: x264: VBV maxrate specified, but no bufsize, ignored
20:10:10: ------------------------------------------
20:10:10: Video Encoding: x264
20:10:10: fps: 20
20:10:10: width: 1600, height: 900
20:10:10: preset: faster
20:10:10: CBR: no
20:10:10: CFR: no
20:10:10: max bitrate: 100
20:10:10: buffer size: 0
20:10:10: quality: 10
20:10:10: ------------------------------------------
20:10:10: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
20:10:12: SharedTexCapture hooked
20:24:40: Total frames rendered: 17391, number of frames that lagged: 8 (0.05%) (it's okay for some frames to lag)
20:24:40: =====Stream End: 2013-06-09, 20:24:40=================================================
20:26:14:
20:26:14: Profiler results:
20:26:14:
20:26:14: ==============================================================
20:26:14: frame - [100%] [avg time: 2.148 ms] [avg calls per frame: 1] [children: 79.6%] [unaccounted: 20.4%]
20:26:14: | scene->Preprocess - [1.96%] [avg time: 0.042 ms] [avg calls per frame: 1]
20:26:14: | video encoding and uploading - [77.7%] [avg time: 1.668 ms] [avg calls per frame: 1] [children: 75.1%] [unaccounted: 2.51%]
20:26:14: | | CopyResource - [0.605%] [avg time: 0.013 ms] [avg calls per frame: 0]
20:26:14: | | conversion to 4:2:0 - [0.885%] [avg time: 0.019 ms] [avg calls per frame: 0]
20:26:14: | | call to encoder - [73%] [avg time: 1.569 ms] [avg calls per frame: 0]
20:26:14: | | sending stuff out - [0.605%] [avg time: 0.013 ms] [avg calls per frame: 0]
20:26:14: ==============================================================
20:26:14:
 

FerretBomb

Active Member
Not going to stream at 100kbps at 1600x900 with a quality of 10. The CPU is probably thrashing away like crazy trying to fit enough detail in to make the stream look like... anything at all, at that rate.

Do a http://testmy.net/upload 6MB test while NOT streaming and post your results. We need to get you a realistic baseline bitrate to work with/start tweaking from. I'd also recommend downscaling at 1.25 (720p), and dropping AAC audio to 128 instead of 192 (it will still sound good; it's not MP3, aac is much more bitrate-efficient). Your preprocess time is fine, most of your frame-time is being spent on encoding and uploading. With more overall bitrate to work with, things will go more smoothly, almost guaranteed.

Also advised to set your buffer to match your bitrate, it'll smooth out network transmission.
 
Top