Question / Help OBS Causes In-Game Frame Drops When Recording Locally

MockRock

New Member
Hello,

I'm currently attempting to record gameplay footage to start a YouTube channel, and am running into massive issues with the game's frame rate lagging. My computer isn't weak as far as I know (Intel i7 4790K, AMD Radeon R9 200 Series), but the issue persists even if I lower my settings in-game. The game that I'm attempting to record is Robocraft, a Steam game that uses Easy Anti-Cheat. Is anyone able to lend a hand? Here are my current settings, although I've tried many configurations (not downscaling, different bitrates, different process priorities, etc) and haven't been able to improve performance. If anything needs to be more specific, please let me know; I'm new to the world of screen capturing and really don't know what I'm talking about.


upload_2015-4-1_14-19-51-png.6579



upload_2015-4-1_14-20-27-png.6580

upload_2015-4-1_14-21-5-png.6581


upload_2015-4-1_14-21-57-png.6582



https://gist.github.com/f5481c1d816473892a96
 
Hi, I actually began with process priority on normal and had the exact same problem. Would setting it below normal be an option, or would that be more likely to cause its own issues?
 
I have exacly same problem with my stream.
I have lags on stream and also even i record local...
trying to use 60 fps to make record more "smooth", but anyway fps drops too obivous
When u watch frame by frame in any video making program, u see that every sec (60fps) theres nearly 10-15 frames got dublicated
Tryed loooooooooots of settings, but anyway i got duplicated fps
Have 300 fps ingame and obs didnt load even single core fully while recording or streaming, so i dont think that i have hardware lack of perfomance...
Even when i try to record through NVENC i have same fps duplication, while recording through shadowplay have no fps drops or dublication.


Code:
17:10:00: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
17:10:00: -------------------------------
17:10:00: CPU Name: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
17:10:00: CPU Speed: 3331MHz
17:10:00: Physical Memory:  16374MB Total, 9234MB Free
17:10:00: stepping id: 5, model 26, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
17:10:00: monitor 1: pos={0, 0}, size={1920, 1080}
17:10:00: monitor 2: pos={1920, 0}, size={1920, 1080}
17:10:00: Windows Version: 6.1 Build 7601 S
17:10:00: Aero is Disabled
17:10:00: -------------------------------
17:10:00: OBS Modules:
17:10:00: Base Address     Module
17:10:00: 000000003F620000 OBS.exe
17:10:00: 00000000F78F0000 OBSApi.dll
17:10:00: 00000000F7BA0000 DShowPlugin.dll
17:10:00: 00000000F7B60000 GraphicsCapture.dll
17:10:00: 00000000F7B30000 NoiseGate.dll
17:10:00: 00000000F7860000 PSVPlugin.dll
17:10:00: 00000000F7830000 scenesw.dll
17:10:00: ------------------------------------------
17:10:00: Adapter 1
17:10:00:   Video Adapter: NVIDIA GeForce GTX 660 
17:10:00:   Video Adapter Dedicated Video Memory: 2050629632
17:10:00:   Video Adapter Shared System Memory: 2147807232
17:10:00:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:10:00:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
17:10:00: =====Stream Start: 2015-04-04, 17:10:00===============================================
17:10:00:   Multithreaded optimizations: On
17:10:00:   Base resolution: 1920x1080
17:10:00:   Output resolution: 1280x720
17:10:00: ------------------------------------------
17:10:00: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
17:10:00: ------------------------------------------
17:10:00: Audio Format: 48000 Hz
17:10:00: ------------------------------------------
17:10:00: Audio Channels: 2 Ch
17:10:00: Playback device Default
17:10:00: ------------------------------------------
17:10:00: Using desktop audio input: Динамики (Realtek High Definition Audio)
17:10:00: Global Audio time adjust: 0
17:10:00: ------------------------------------------
17:10:00: Using auxilary audio input: Микрофон (Realtek High Definition Audio)
17:10:00: Mic time offset: 0
17:10:00: ------------------------------------------
17:10:00: Audio Encoding: AAC
17:10:00:     bitrate: 160
17:10:00: Using graphics capture
17:10:00: Trying to hook process: csgo.exe
17:10:01: Scene buffering time set to 2000
17:10:01: ------------------------------------------
17:10:01: Video Encoding: x264
17:10:01:     fps: 60
17:10:01:     width: 1280, height: 720
17:10:01:     preset: veryfast
17:10:01:     profile: main
17:10:01:     keyint: 120
17:10:01:     CBR: yes
17:10:01:     CFR: yes
17:10:01:     max bitrate: 3500
17:10:01:     buffer size: 3500
17:10:01: ------------------------------------------
17:10:01: SharedTexCapture hooked
17:10:15: FlushBufferedVideo: Flushing 99 packets over 1634 ms
17:10:17: Total frames encoded: 853, total frames duplicated: 4 (0.47%)
17:10:17: Total frames rendered: 877, number of late frames: 2 (0.23%) (it's okay for some frames to be late)
17:10:17:
17:10:17: Profiler time results:
17:10:17:
17:10:17: ==============================================================
17:10:17: video thread frame - [100%] [avg time: 0.901 ms] [children: 14.9%] [unaccounted: 85.1%]
17:10:17: | scene->Preprocess - [0.111%] [avg time: 0.001 ms]
17:10:17: | GPU download and conversion - [14.8%] [avg time: 0.133 ms] [children: 14.2%] [unaccounted: 0.555%]
17:10:17: | | flush - [13.4%] [avg time: 0.121 ms]
17:10:17: | | CopyResource - [0.444%] [avg time: 0.004 ms]
17:10:17: | | conversion to 4:2:0 - [0.333%] [avg time: 0.003 ms]
17:10:17: Convert444Threads - [100%] [avg time: 0.675 ms] [children: 99.4%] [unaccounted: 0.593%]
17:10:17: | Convert444toNV12 - [99.4%] [avg time: 0.671 ms]
17:10:17: encoder thread frame - [100%] [avg time: 1.092 ms] [children: 2.2%] [unaccounted: 97.8%]
17:10:17: | sending stuff out - [2.2%] [avg time: 0.024 ms]
17:10:17: ==============================================================
17:10:17:
17:10:17:
17:10:17: Profiler CPU results:
17:10:17:
17:10:17: ==============================================================
17:10:17: video thread frame - [cpu time: avg 0.106 ms, total 93.75 ms] [avg calls per frame: 1]
17:10:17: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:10:17: | GPU download and conversion - [cpu time: avg 0.017 ms, total 15.625 ms] [avg calls per frame: 1]
17:10:17: | | flush - [cpu time: avg 0.017 ms, total 15.625 ms] [avg calls per frame: 1]
17:10:17: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:10:17: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:10:17: Convert444Threads - [cpu time: avg 0.951 ms, total 1437.5 ms] [avg calls per frame: 2]
17:10:17: | Convert444toNV12 - [cpu time: avg 0.951 ms, total 1437.5 ms] [avg calls per frame: 2]
17:10:17: encoder thread frame - [cpu time: avg 0.58 ms, total 437.5 ms] [avg calls per frame: 1]
17:10:17: | sending stuff out - [cpu time: avg 0.062 ms, total 46.875 ms] [avg calls per frame: 1]
17:10:17: ==============================================================
17:10:17:
17:10:17: =====Stream End: 2015-04-04, 17:10:17=================================================
17:11:20: Terminating 0x1268


Last game capture log:
2015-04-04, 17:10:01: we're booting up:
17:10:01: CaptureThread: attached to process csgo.exe
17:10:01: D3D9 Present
17:10:01: (half life scientist) everything..  seems to be in order
17:10:01: D3D9EndScene called
17:10:01: D3DPRESENT_PARAMETERS {
17:10:01:     BackBufferWidth: 1920
17:10:01:     BackBufferHeight: 1080
17:10:01:     BackBufferFormat: D3DFMT_A8R8G8B8
17:10:01:     BackBufferCount: 1
17:10:01:     MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
17:10:01:     MultiSampleQuality: 0
17:10:01:     SwapEffect: D3DSWAPEFFECT_DISCARD
17:10:01:     hDeviceWindow: 270192
17:10:01:     Windowed: true
17:10:01:     EnableAutoDepthStencil: true
17:10:01:     AutoDepthStencilFormat: D3DFMT_D24S8
17:10:01:     Flags: None
17:10:01:     FullScreen_RefreshRateInHz: 0
17:10:01:     PresentationInterval: 2147483648
17:10:01: };
17:10:01: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
17:10:01: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
17:10:01: WARNING: Another hook is already present while trying to hook d3d9.dll, hook target is unknown. If you experience crashes, try disabling the other hooking application
17:10:01: successfully set up d3d9 hooks
17:10:01: D3D9Present called
17:10:01: DoD3D9GPUHook: success
17:10:01: D3DSURFACE_DESC {
17:10:01:     Format: D3DFMT_A8R8G8B8
17:10:01:     Type: D3DRTYPE_SURFACE
17:10:01:     Usage: D3DUSAGE_RENDERTARGET
17:10:01:     Pool: D3DPOOL_DEFAULT
17:10:01:     MultiSampleType: D3DMULTISAMPLE_8_SAMPLES
17:10:01:     MultiSampleQuality: 0
17:10:01:     Width: 1920
17:10:01:     Height: 1080
17:10:01: };
17:10:01: successfully capturing d3d9 frames via GPU
17:10:17: ---------------------- Cleared D3D9 Capture ----------------------
17:10:17: D3D9EndScene called
17:10:17: D3D9Present called
 
I just have the same problem as MockRock, just trying to record locally and massive frrame drops every 2-3 minutes, regardless of what is happening in game. Process priority is at normal.
 
Back
Top