RVS
New Member
Hello!
I have got a crush of DCS game (but in rare times it works)
Seems it was data access violation.
In some research I found that program ends after D3D9Capture.cpp:159 memcpy instruction executes (D3D9Capture.cpp:159 in source code)
Could you help resolve this issue?
I have no so much development skills to fix this and OBS updates dll's (in here is GraphicsCaptureHook64.dll) after any change.
The game only in 64-bit mode
Other games works fine
Hope included logs and mini dumps helps.
Thank you!
http://pastebin.com/4PnmzyTJ
I have got a crush of DCS game (but in rare times it works)
Seems it was data access violation.
In some research I found that program ends after D3D9Capture.cpp:159 memcpy instruction executes (D3D9Capture.cpp:159 in source code)
Could you help resolve this issue?
I have no so much development skills to fix this and OBS updates dll's (in here is GraphicsCaptureHook64.dll) after any change.
The game only in 64-bit mode
Other games works fine
Hope included logs and mini dumps helps.
Thank you!
http://pastebin.com/4PnmzyTJ
Code:
21:46:08: Open Broadcaster Software v0.64b - 64bit ( ^ω^)
21:46:08: -------------------------------
21:46:08: CPU Name: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
21:46:08: CPU Speed: 1696MHz
21:46:08: Physical Memory: 3981MB Total, 711MB Free
21:46:08: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
21:46:08: monitor 1: pos={0, 0}, size={1920, 1080}
21:46:08: monitor 2: pos={-1920, 0}, size={1920, 1080}
21:46:08: Windows Version: 6.2 Build 9200
21:46:08: Aero is Enabled
21:46:08: -------------------------------
21:46:08: OBS Modules:
21:46:08: Base Address Module
21:46:08: 000000006D8F0000 OBS.exe
21:46:08: 00000000EE420000 OBSApi.dll
21:46:08: 00000000EE760000 DShowPlugin.dll
21:46:08: 00000000EE720000 GraphicsCapture.dll
21:46:08: 00000000EE6F0000 NoiseGate.dll
21:46:08: 00000000EE6C0000 PSVPlugin.dll
21:46:08: ------------------------------------------
21:46:08: Adapter 1
21:46:08: Video Adapter: Intel(R) HD Graphics 4000
21:46:08: Video Adapter Dedicated Video Memory: 33554432
21:46:08: Video Adapter Shared System Memory: 1845493760
21:46:08: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:46:08: Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
21:46:08: ------------------------------------------
21:46:08: Adapter 2
21:46:08: Video Adapter: NVIDIA GeForce GT 620M
21:46:08: Video Adapter Dedicated Video Memory: 1018818560
21:46:08: Video Adapter Shared System Memory: 2087448576
21:46:08: =====Stream Start: 2015-01-26, 21:46:08===============================================
21:46:08: Multithreaded optimizations: On
21:46:08: Base resolution: 1920x1080
21:46:08: Output resolution: 1920x1080
21:46:08: ------------------------------------------
21:46:08: Nvidia optimus detected, second adapter selected, ignoring useless second adapter, I guess.
21:46:08: Loading up D3D10 on Intel(R) HD Graphics 4000 (Adapter 1)...
21:46:08: ------------------------------------------
21:46:08: Audio Format: 48000 Hz
21:46:08: ------------------------------------------
21:46:08: Audio Channels: 2 Ch
21:46:08: Playback device Default
21:46:08: ------------------------------------------
21:46:08: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:46:08: Global Audio time adjust: 0
21:46:08: ------------------------------------------
21:46:08: Using auxilary audio input: Microphone (Realtek High Definition Audio)
21:46:08: Mic time offset: 0
21:46:08: Using graphics capture
21:46:08: Trying to hook process: Launcher.exe
21:46:08: Scene buffering time set to 1140
21:46:10: SharedTexCapture hooked
21:46:17: Capture window 0x003D05AE invalid or changing, terminating capture
21:46:27: Total frames encoded: 0, total frames duplicated: 0 (0.00%)
21:46:27: Total frames rendered: 567, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
21:46:27:
21:46:27: Profiler time results:
21:46:27:
21:46:27: ==============================================================
21:46:27: video thread frame - [100%] [avg time: 0.899 ms] [children: 9.34%] [unaccounted: 90.7%]
21:46:27: | scene->Preprocess - [0.222%] [avg time: 0.002 ms]
21:46:27: | GPU download and conversion - [9.12%] [avg time: 0.082 ms] [children: 8.79%] [unaccounted: 0.334%]
21:46:27: | | flush - [8.79%] [avg time: 0.079 ms]
21:46:27: ==============================================================
21:46:27:
21:46:27:
21:46:27: Profiler CPU results:
21:46:27:
21:46:27: ==============================================================
21:46:27: video thread frame - [cpu time: avg 0.165 ms, total 93.75 ms] [avg calls per frame: 1]
21:46:27: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:46:27: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:46:27: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:46:27: ==============================================================
21:46:27:
21:46:27: =====Stream End: 2015-01-26, 21:46:27=================================================
21:55:55: =====Stream Start: 2015-01-26, 21:55:55===============================================
21:55:55: Multithreaded optimizations: On
21:55:55: Base resolution: 1920x1080
21:55:55: Output resolution: 1920x1080
21:55:55: ------------------------------------------
21:55:55: Nvidia optimus detected, second adapter selected, ignoring useless second adapter, I guess.
21:55:55: Loading up D3D10 on NVIDIA GeForce GT 620M (Adapter 1)...
21:55:55: ------------------------------------------
21:55:55: Audio Format: 48000 Hz
21:55:55: ------------------------------------------
21:55:55: Audio Channels: 2 Ch
21:55:55: Playback device Default
21:55:55: ------------------------------------------
21:55:55: Using desktop audio input: Speakers (Realtek High Definition Audio)
21:55:55: Global Audio time adjust: 0
21:55:55: ------------------------------------------
21:55:55: Using auxilary audio input: Microphone (Realtek High Definition Audio)
21:55:55: Mic time offset: 0
21:55:55: Using graphics capture
21:55:55: Trying to hook process: Launcher.exe
21:55:55: Scene buffering time set to 1140
21:55:56: SharedTexCapture hooked
21:57:01: Capture window 0x000D0B5C invalid or changing, terminating capture
21:59:10: Total frames encoded: 0, total frames duplicated: 0 (0.00%)
21:59:10: Total frames rendered: 5830, number of late frames: 1 (0.02%) (it's okay for some frames to be late)
21:59:10:
21:59:10: Profiler time results:
21:59:10:
21:59:10: ==============================================================
21:59:10: video thread frame - [100%] [avg time: 0.802 ms] [children: 10.3%] [unaccounted: 89.7%]
21:59:10: | scene->Preprocess - [0.249%] [avg time: 0.002 ms]
21:59:10: | GPU download and conversion - [10.1%] [avg time: 0.081 ms] [children: 9.73%] [unaccounted: 0.374%]
21:59:10: | | flush - [9.73%] [avg time: 0.078 ms]
21:59:10: ==============================================================
21:59:10:
21:59:10:
21:59:10: Profiler CPU results:
21:59:10:
21:59:10: ==============================================================
21:59:10: video thread frame - [cpu time: avg 0.072 ms, total 421.875 ms] [avg calls per frame: 1]
21:59:10: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:59:10: | GPU download and conversion - [cpu time: avg 0.032 ms, total 187.5 ms] [avg calls per frame: 1]
21:59:10: | | flush - [cpu time: avg 0.032 ms, total 187.5 ms] [avg calls per frame: 1]
21:59:10: ==============================================================
21:59:10:
21:59:10: =====Stream End: 2015-01-26, 21:59:10=================================================
21:59:57: Terminating 0x4960
21:59:57: Terminating 0x44d4
Last game capture log:
2015-01-26, 21:55:55: we're booting up:
21:55:55: CaptureThread: attached to process Launcher.exe
21:55:55: D3D9 Present
21:55:55: (half life scientist) everything.. seems to be in order
21:55:56: D3D9EndScene called
21:55:56: D3DPRESENT_PARAMETERS {
21:55:56: BackBufferWidth: 1920
21:55:56: BackBufferHeight: 1080
21:55:56: BackBufferFormat: D3DFMT_X8R8G8B8
21:55:56: BackBufferCount: 1
21:55:56: MultiSampleType: D3DMULTISAMPLE_NONE
21:55:56: MultiSampleQuality: 0
21:55:56: SwapEffect: D3DSWAPEFFECT_DISCARD
21:55:56: hDeviceWindow: 854876
21:55:56: Windowed: false
21:55:56: EnableAutoDepthStencil: true
21:55:56: AutoDepthStencilFormat: D3DFMT_D24S8
21:55:56: Flags: None
21:55:56: FullScreen_RefreshRateInHz: 59
21:55:56: PresentationInterval: 1
21:55:56: };
21:55:56: successfully set up d3d9 hooks
21:55:56: D3D9Present called
21:55:56: DoD3D9GPUHook: success
[code]