Question / Help Extremely bad FPS lag

ughhhhh

Member
Alright I have been looking all over the place for a fix but I found none. Alright to start the long story off, I do have a slow laptop, but the thing is, Fraps can record it clean with good picture but I hear OBS is better and takes less of a lag hit, so more frames for me while recording is better. Now, I have a AMD E-450 APU dual core processor that runs at 1.65 GHz, not that strong, so I decided I'd put the CPU preset at veryfast. I enabled multi core processing, put the processing priority at normal and left everything else default (except the base resolution and the down scale resolution, left that at 1280x720). When I record, it's just frozen. So I up the CPU preset to ultra fast, and the only thing it left me with was 10 fps (keep in mind I was running the game at 100 fps, so yes OBS dropped me down from 100 fps to 10), but it actually recorded everything and wasn't a frozen picture. So I put it to superfast, frozen picture. So I put it back to ultrafast and decided to set the processing priority to high, it went from 100 fps to 10-20. I lowered it to above normal, 10-20 fps. I set it to normal, then it's a lag free recording but a frozen picture, doesn't record anything, just the part when i started recording (mostly me sitting there until i move, then it freezes). It's so annoying, I'm almost about through with OBS and I just might stick with Fraps for user ability's sake. If I left anything out, just tell me, I just wanna give OBS a shot so I can keep more of my fps.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
That system will be really poor for streaming. CPU preset should probably be on ultrafast rather than very fast. You'll have to downscale a lot, at least 1.5, probably 2.0 even. FPS at 30 as well.

Next time remember to include a log file so we can more easily determine what's going on: viewtopic.php?f=5&t=97
 

ughhhhh

Member
I know it is but I just plan to local record. And here's my log

18:02:12: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
18:02:12: Failed loading CUDA dll
18:04:37: Open Broadcaster Software v0.613b - 32bit (´・ω・`)
18:04:37: -------------------------------
18:04:37: CPU Name: AMD E-450 APU with Radeon(tm) HD Graphics
18:04:37: CPU Speed: 1646MHz
18:04:37: Physical Memory: 3689MB Total, 1981MB Free
18:04:37: stepping id: 0, model 2, family 20, type 0, extmodel 8, extfamily 2, HTT 1, logical cores 2, total cores 2
18:04:37: monitor 1: pos={0, 0}, size={1600, 900}
18:04:37: Windows Version: 6.2 Build 9200
18:04:37: Aero is Enabled
18:04:37: -------------------------------
18:04:37: OBS Modules:
18:04:37: Base Address Module
18:04:37: 01110000 OBS.exe
18:04:37: 690D0000 OBSApi.dll
18:04:37: 68E50000 DShowPlugin.dll
18:04:37: 68E30000 GraphicsCapture.dll
18:04:37: 68E10000 NoiseGate.dll
18:04:37: 68DF0000 PSVPlugin.dll
18:04:37: ------------------------------------------
18:04:37: Adapter 1
18:04:37: Video Adapter: AMD Radeon HD 6320 Graphics
18:04:37: Video Adapter Dedicated Video Memory: 391532544
18:04:37: Video Adapter Shared System Memory: 1665873920
18:04:37: Video Adapter Output 1: pos={0, 0}, size={1024, 768}, attached=true
18:04:37: =====Stream Start: 2014-03-15, 18:04:37===============================================
18:04:37: Multithreaded optimizations: On
18:04:37: Base resolution: 1600x900
18:04:37: Output resolution: 1064x600
18:04:37: ------------------------------------------
18:04:37: Loading up D3D10 on AMD Radeon HD 6320 Graphics (Adapter 1)...
18:04:38: ------------------------------------------
18:04:38: Audio Format: 48000 Hz
18:04:38: ------------------------------------------
18:04:38: Audio Channels: 2 Ch
18:04:38: Playback device Default
18:04:38: ------------------------------------------
18:04:38: Using desktop audio input: Speakers (High Definition Audio Device)
18:04:38: ------------------------------------------
18:04:38: Using auxilary audio input: Microphone (High Definition Audio Device)
18:04:38: ------------------------------------------
18:04:38: Audio Encoding: AAC
18:04:38: bitrate: 128
18:04:38: Using graphics capture
18:04:38: Scene buffering time set to 700
18:04:38: ------------------------------------------
18:04:38: Video Encoding: x264
18:04:38: fps: 30
18:04:38: width: 1064, height: 600
18:04:38: preset: ultrafast
18:04:38: profile: high
18:04:38: keyint: 250
18:04:38: CBR: yes
18:04:38: CFR: no
18:04:38: max bitrate: 2000
18:04:38: buffer size: 2000
18:04:38: ------------------------------------------
18:04:38: SharedTexCapture hooked
18:04:39: Audio timestamp for device 'Microphone (High Definition Audio Device)' was behind target timestamp by 20274787
18:05:32: Total frames encoded: 484, total frames duplicated: 451 (93.18%)
18:05:32: Number of frames skipped due to encoder lag: 450 (92.98%)
18:05:33: Total frames rendered: 39, number of late frames: 2 (5.13%) (it's okay for some frames to be late)
18:05:33:
18:05:33: Profiler time results:
18:05:33:
18:05:33: ==============================================================
18:05:33: video thread frame - [100%] [avg time: 5.994 ms] [children: 77.8%] [unaccounted: 22.2%]
18:05:33: | scene->Preprocess - [0.0501%] [avg time: 0.003 ms]
18:05:33: | GPU download and conversion - [77.8%] [avg time: 4.661 ms] [children: 54.2%] [unaccounted: 23.6%]
18:05:33: | | flush - [50.7%] [avg time: 3.041 ms]
18:05:33: | | CopyResource - [3.15%] [avg time: 0.189 ms]
18:05:33: | | conversion to 4:2:0 - [0.317%] [avg time: 0.019 ms]
18:05:33: Convert444Thread - [100%] [avg time: 10.835 ms] [children: 99.7%] [unaccounted: 0.268%]
18:05:33: | Convert444toNV12 - [99.7%] [avg time: 10.806 ms]
18:05:33: encoder thread frame - [100%] [avg time: 113.379 ms] [children: 0.0635%] [unaccounted: 99.9%]
18:05:33: | sending stuff out - [0.0635%] [avg time: 0.072 ms]
18:05:33: ==============================================================
18:05:33:
18:05:33:
18:05:33: Profiler CPU results:
18:05:33:
18:05:33: ==============================================================
18:05:33: video thread frame - [cpu time: avg 1.6 ms, total 62.4 ms] [avg calls per frame: 1]
18:05:33: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:05:33: | GPU download and conversion - [cpu time: avg 1.2 ms, total 46.8 ms] [avg calls per frame: 1]
18:05:33: | | flush - [cpu time: avg 1.2 ms, total 46.8 ms] [avg calls per frame: 1]
18:05:33: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
18:05:33: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
18:05:33: Convert444Thread - [cpu time: avg 3.342 ms, total 46.8 ms] [avg calls per frame: 1]
18:05:33: | Convert444toNV12 - [cpu time: avg 3.342 ms, total 46.8 ms] [avg calls per frame: 1]
18:05:33: encoder thread frame - [cpu time: avg 2.762 ms, total 1279.21 ms] [avg calls per frame: 1]
18:05:33: | sending stuff out - [cpu time: avg 0.101 ms, total 46.8 ms] [avg calls per frame: 1]
18:05:33: ==============================================================
18:05:33:
18:05:33: =====Stream End: 2014-03-15, 18:05:33=================================================


Last game capture log:
2014-03-15, 18:04:38: we're booting up:
18:04:38: CaptureThread: attached to process iw3mp.exe
18:04:38: D3D9 Present
18:04:38: (half life scientist) everything.. seems to be in order
18:04:38: D3D9EndScene called
18:04:38: D3DPRESENT_PARAMETERS {
18:04:38: BackBufferWidth: 1024
18:04:38: BackBufferHeight: 768
18:04:38: BackBufferFormat: D3DFMT_A8R8G8B8
18:04:38: BackBufferCount: 1
18:04:38: MultiSampleType: D3DMULTISAMPLE_NONE
18:04:38: MultiSampleQuality: 0
18:04:38: SwapEffect: D3DSWAPEFFECT_DISCARD
18:04:38: hDeviceWindow: 262902
18:04:38: Windowed: false
18:04:38: EnableAutoDepthStencil: false
18:04:38: AutoDepthStencilFormat: D3DFMT_D24S8
18:04:38: Flags: None
18:04:38: FullScreen_RefreshRateInHz: 60
18:04:38: PresentationInterval: 2147483648
18:04:38: };
18:04:38: successfully set up d3d9 hooks
18:04:38: D3D9SwapPresent called
18:04:38: DoD3D9GPUHook: success
18:04:38: D3DSURFACE_DESC {
18:04:38: Format: D3DFMT_A8R8G8B8
18:04:38: Type: D3DRTYPE_SURFACE
18:04:38: Usage: D3DUSAGE_RENDERTARGET
18:04:38: Pool: D3DPOOL_DEFAULT
18:04:38: MultiSampleType: D3DMULTISAMPLE_NONE
18:04:38: MultiSampleQuality: 0
18:04:38: Width: 1024
18:04:38: Height: 768
18:04:38: };
18:04:38: successfully capturing d3d9 frames via GPU
18:05:33: ---------------------- Cleared D3D9 Capture ----------------------
 

paibox

heros in an halfshel
Unfortunately, your CPU (the AMD APU in your laptop) is not suitable for streaming, its performance when encoding is less than half of a decent Core 2 Duo from 7 years ago. You would have to lower your resolution so much and change the preset to superfast (or even ultrafast) that your stream would be nearly unwatchable.
 

ughhhhh

Member
Well I switched to Bandicam anyway which takes less of a toll on my system and records in 720p so I think I'm going to stick with that.
 
Top