Bug Report Input lag

gerarddp

New Member
Me and my friend have the same issue with the game Osu! when trying to record or stream with OBS. This issues never happen when OBS is closed. The problem is input lag and some time freezes. Both of us use a standard keyboard and a Wacom tablet. It's really difficult or impossible to notice the input lag from a recording.

I've already tried using both game capture and window capture and it's worse with game capture.

It's really annoying and frustrating, I'll gladly provide any more information if needed.

Here is the log:
Code:
18:31:35: Open Broadcaster Software v0.583b - 32bit (´・ω・`)
18:31:35: -------------------------------
18:31:35: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
18:31:35: CPU Speed: 3503MHz
18:31:35: Physical Memory:  4095MB Total, 4095MB Free
18:31:35: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
18:31:35: monitor 1: pos={0, 0}, size={1920, 1080}
18:31:35: monitor 2: pos={1920, 106}, size={1440, 900}
18:31:35: Windows Version: 6.2 Build 9200 
18:31:35: Aero is Enabled
18:31:35: -------------------------------
18:31:35: OBS Modules:
18:31:35: Base Address     Module
18:31:35: 00970000         OBS.exe
18:31:35: 5E090000         OBSApi.dll
18:31:35: 5DE50000         DShowPlugin.dll
18:31:35: 5DE30000         GraphicsCapture.dll
18:31:35: 5DE10000         NoiseGate.dll
18:31:35: 5DDF0000         PSVPlugin.dll
18:31:35: ------------------------------------------
18:31:35: Adapter 1
18:31:35:   Video Adapter: NVIDIA GeForce GTX 660 Ti
18:31:35:   Video Adapter Dedicated Video Memory: 2086469632
18:31:35:   Video Adapter Shared System Memory: 2147807232
18:31:35:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:31:35:   Video Adapter Output 2: pos={1920, 106}, size={1440, 900}, attached=true
18:31:35: ------------------------------------------
18:31:35: Adapter 2
18:31:35:   Video Adapter: Intel(R) HD Graphics 3000
18:31:35:   Video Adapter Dedicated Video Memory: 33554432
18:31:35:   Video Adapter Shared System Memory: 1711276032
18:31:35: =====Stream Start: 2013-11-12, 18:31:35===============================================
18:31:35:   Multithreaded optimizations: On
18:31:35:   Base resolution: 1920x1080
18:31:35:   Output resolution: 1280x720
18:31:35: ------------------------------------------
18:31:35: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti...
18:31:35: ------------------------------------------
18:31:35: Audio Format: 48000hz
18:31:35: Playback device Default
18:31:35: ------------------------------------------
18:31:35: Using desktop audio input: Speakers (4- C-Media USB Headphone Set  )
18:31:35: ------------------------------------------
18:31:35: Audio Encoding: AAC
18:31:35:     bitrate: 256
18:31:35: Using Monitor Capture
18:31:35: Scene buffering time set to 400
18:31:35: ------------------------------------------
18:31:35: Video Encoding: x264
18:31:35:     fps: 35
18:31:35:     width: 1280, height: 720
18:31:35:     preset: veryfast
18:31:35:     profile: high
18:31:35:     keyint: 250
18:31:35:     CBR: no
18:31:35:     CFR: yes
18:31:35:     max bitrate: 10000
18:31:35:     buffer size: 15000
18:31:35:     quality: 8
18:31:35: ------------------------------------------
18:31:35: MMDeviceAudioSource: Frequency for device 'Speakers (4- C-Media USB Headphone Set  )' is 352800, samples per sec is 44100
18:31:48: Using graphics capture
18:32:25: Total frames encoded: 1734, total frames duplicated: 1 (0.06%)
18:32:25: Total frames rendered: 1739, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
18:32:25: 
18:32:25: Profiler time results:
18:32:25: 
18:32:25: ==============================================================
18:32:25: video thread frame - [100%] [avg time: 0.689 ms] [children: 16.4%] [unaccounted: 83.6%]
18:32:25: | scene->Preprocess - [5.66%] [avg time: 0.039 ms]
18:32:25: | GPU download and conversion - [10.7%] [avg time: 0.074 ms] [children: 10%] [unaccounted: 0.726%]
18:32:25: | | flush - [7.26%] [avg time: 0.05 ms]
18:32:25: | | CopyResource - [2.47%] [avg time: 0.017 ms]
18:32:25: | | conversion to 4:2:0 - [0.29%] [avg time: 0.002 ms]
18:32:25: Convert444Threads - [100%] [avg time: 0.485 ms] [children: 99.2%] [unaccounted: 0.825%]
18:32:25: | Convert444toNV12 - [99.2%] [avg time: 0.481 ms]
18:32:25: encoder thread frame - [100%] [avg time: 0.726 ms]
18:32:25: ==============================================================
18:32:25: 
18:32:25: 
18:32:25: Profiler CPU results:
18:32:25: 
18:32:25: ==============================================================
18:32:25: video thread frame - [cpu time: avg 0.161 ms, total 281.25 ms] [avg calls per frame: 1]
18:32:25: | scene->Preprocess - [cpu time: avg 0.008 ms, total 15.625 ms] [avg calls per frame: 1]
18:32:25: | GPU download and conversion - [cpu time: avg 0.044 ms, total 78.125 ms] [avg calls per frame: 1]
18:32:25: | | flush - [cpu time: avg 0.008 ms, total 15.625 ms] [avg calls per frame: 1]
18:32:25: | | CopyResource - [cpu time: avg 0.018 ms, total 31.25 ms] [avg calls per frame: 1]
18:32:25: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:25: Convert444Threads - [cpu time: avg 0.585 ms, total 2015.63 ms] [avg calls per frame: 2]
18:32:25: | Convert444toNV12 - [cpu time: avg 0.581 ms, total 2000 ms] [avg calls per frame: 2]
18:32:25: encoder thread frame - [cpu time: avg 0.072 ms, total 125 ms] [avg calls per frame: 1]
18:32:25: ==============================================================
18:32:25: 
18:32:25: =====Stream End: 2013-11-12, 18:32:25=================================================
18:32:27: =====Stream Start: 2013-11-12, 18:32:27===============================================
18:32:27:   Multithreaded optimizations: On
18:32:27:   Base resolution: 1920x1080
18:32:27:   Output resolution: 1280x720
18:32:27: ------------------------------------------
18:32:27: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti...
18:32:27: ------------------------------------------
18:32:27: Audio Format: 48000hz
18:32:27: Playback device Default
18:32:27: ------------------------------------------
18:32:27: Using desktop audio input: Speakers (4- C-Media USB Headphone Set  )
18:32:27: ------------------------------------------
18:32:27: Audio Encoding: AAC
18:32:27:     bitrate: 256
18:32:27: Using graphics capture
18:32:27: Scene buffering time set to 400
18:32:27: ------------------------------------------
18:32:27: Video Encoding: x264
18:32:27:     fps: 35
18:32:27:     width: 1280, height: 720
18:32:27:     preset: veryfast
18:32:27:     profile: high
18:32:27:     keyint: 250
18:32:27:     CBR: no
18:32:27:     CFR: yes
18:32:27:     max bitrate: 10000
18:32:27:     buffer size: 15000
18:32:27:     quality: 8
18:32:27: ------------------------------------------
18:32:27: MMDeviceAudioSource: Frequency for device 'Speakers (4- C-Media USB Headphone Set  )' is 352800, samples per sec is 44100
18:32:29: Using Monitor Capture
18:32:32: Total frames encoded: 158, total frames duplicated: 0 (0.00%)
18:32:32: Total frames rendered: 164, number of late frames: 1 (0.61%) (it's okay for some frames to be late)
18:32:32: 
18:32:32: Profiler time results:
18:32:32: 
18:32:32: ==============================================================
18:32:32: video thread frame - [100%] [avg time: 0.852 ms] [children: 24.9%] [unaccounted: 75.1%]
18:32:32: | scene->Preprocess - [18.3%] [avg time: 0.156 ms]
18:32:32: | GPU download and conversion - [6.57%] [avg time: 0.056 ms] [children: 6.1%] [unaccounted: 0.469%]
18:32:32: | | flush - [4.46%] [avg time: 0.038 ms]
18:32:32: | | CopyResource - [1.53%] [avg time: 0.013 ms]
18:32:32: | | conversion to 4:2:0 - [0.117%] [avg time: 0.001 ms]
18:32:32: Convert444Threads - [100%] [avg time: 0.427 ms] [children: 98.8%] [unaccounted: 1.17%]
18:32:32: | Convert444toNV12 - [98.8%] [avg time: 0.422 ms]
18:32:32: encoder thread frame - [100%] [avg time: 0.756 ms]
18:32:32: ==============================================================
18:32:32: 
18:32:32: 
18:32:32: Profiler CPU results:
18:32:32: 
18:32:32: ==============================================================
18:32:32: video thread frame - [cpu time: avg 0.19 ms, total 31.25 ms] [avg calls per frame: 1]
18:32:32: | scene->Preprocess - [cpu time: avg 0.095 ms, total 15.625 ms] [avg calls per frame: 1]
18:32:32: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:32: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:32: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:32: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:32: Convert444Threads - [cpu time: avg 0.107 ms, total 31.25 ms] [avg calls per frame: 2]
18:32:32: | Convert444toNV12 - [cpu time: avg 0.107 ms, total 31.25 ms] [avg calls per frame: 2]
18:32:32: encoder thread frame - [cpu time: avg 0.108 ms, total 15.625 ms] [avg calls per frame: 1]
18:32:32: ==============================================================
18:32:32: 
18:32:32: =====Stream End: 2013-11-12, 18:32:32=================================================
18:32:38: =====Stream Start: 2013-11-12, 18:32:38===============================================
18:32:38:   Multithreaded optimizations: On
18:32:38:   Base resolution: 1920x1080
18:32:38:   Output resolution: 1280x720
18:32:38: ------------------------------------------
18:32:38: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti...
18:32:38: ------------------------------------------
18:32:38: Audio Format: 48000hz
18:32:38: Playback device Default
18:32:38: ------------------------------------------
18:32:38: Using desktop audio input: Speakers (4- C-Media USB Headphone Set  )
18:32:38: ------------------------------------------
18:32:38: Audio Encoding: AAC
18:32:38:     bitrate: 256
18:32:38: Using Monitor Capture
18:32:38: Scene buffering time set to 400
18:32:38: ------------------------------------------
18:32:38: Video Encoding: x264
18:32:38:     fps: 35
18:32:38:     width: 1280, height: 720
18:32:38:     preset: veryfast
18:32:38:     profile: high
18:32:38:     keyint: 250
18:32:38:     CBR: no
18:32:38:     CFR: yes
18:32:38:     max bitrate: 10000
18:32:38:     buffer size: 15000
18:32:38:     quality: 8
18:32:38: ------------------------------------------
18:32:38: MMDeviceAudioSource: Frequency for device 'Speakers (4- C-Media USB Headphone Set  )' is 352800, samples per sec is 44100
18:32:41: Total frames encoded: 91, total frames duplicated: 0 (0.00%)
18:32:41: Total frames rendered: 97, number of late frames: 1 (1.03%) (it's okay for some frames to be late)
18:32:41: 
18:32:41: Profiler time results:
18:32:41: 
18:32:41: ==============================================================
18:32:41: video thread frame - [100%] [avg time: 1.062 ms] [children: 39.3%] [unaccounted: 60.7%]
18:32:41: | scene->Preprocess - [34.3%] [avg time: 0.364 ms]
18:32:41: | GPU download and conversion - [4.99%] [avg time: 0.053 ms] [children: 4.8%] [unaccounted: 0.188%]
18:32:41: | | flush - [3.58%] [avg time: 0.038 ms]
18:32:41: | | CopyResource - [1.04%] [avg time: 0.011 ms]
18:32:41: | | conversion to 4:2:0 - [0.188%] [avg time: 0.002 ms]
18:32:41: Convert444Threads - [100%] [avg time: 0.531 ms] [children: 99.1%] [unaccounted: 0.942%]
18:32:41: | Convert444toNV12 - [99.1%] [avg time: 0.526 ms]
18:32:41: encoder thread frame - [100%] [avg time: 0.643 ms]
18:32:41: ==============================================================
18:32:41: 
18:32:41: 
18:32:41: Profiler CPU results:
18:32:41: 
18:32:41: ==============================================================
18:32:41: video thread frame - [cpu time: avg 0.644 ms, total 62.5 ms] [avg calls per frame: 1]
18:32:41: | scene->Preprocess - [cpu time: avg 0.161 ms, total 15.625 ms] [avg calls per frame: 1]
18:32:41: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:41: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:41: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:41: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:32:41: Convert444Threads - [cpu time: avg 0.801 ms, total 125 ms] [avg calls per frame: 2]
18:32:41: | Convert444toNV12 - [cpu time: avg 0.801 ms, total 125 ms] [avg calls per frame: 2]
18:32:41: encoder thread frame - [cpu time: avg 0.405 ms, total 31.25 ms] [avg calls per frame: 1]
18:32:41: ==============================================================
18:32:41: 
18:32:41: =====Stream End: 2013-11-12, 18:32:41=================================================


Last game capture log:
2013-11-12, 18:32:07: we're booting up: 
18:32:07: D3D9 Present
18:32:07: (half life scientist) everything..  seems to be in order
18:32:07: D3D9EndScene called
18:32:07: D3DPRESENT_PARAMETERS {
18:32:07: 	BackBufferWidth: 1
18:32:07: 	BackBufferHeight: 1
18:32:07: 	BackBufferFormat: D3DFMT_A8R8G8B8
18:32:07: 	BackBufferCount: 1
18:32:07: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:32:07: 	MultiSampleQuality: 0
18:32:07: 	SwapEffect: D3DSWAPEFFECT_COPY
18:32:07: 	hDeviceWindow: 65552
18:32:07: 	Windowed: true
18:32:07: 	EnableAutoDepthStencil: false
18:32:07: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
18:32:07: 	Flags: None
18:32:07: 	FullScreen_RefreshRateInHz: 0
18:32:07: 	PresentationInterval: 1
18:32:07: };
18:32:07: successfully set up d3d9 hooks
18:32:07: D3D9SwapPresent called
18:32:07: DoD3D9GPUHook: success - d3d9ex
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you go to advanced, turn on "disable encoding while previewing", and then try it all those tests again while previewing only and see if it happens with encoding disabled?
 
Top