Bug Report Game Capture freezes

Ianuarius

Member
I haven't really tried Game Capture that much but I now decided to give it a try since I saw some mod saying people should never use monitor capture if possible.

So my Game Capture froze twice.
http://www.twitch.tv/ianuarius/b/481255681
You can see there round 13:30 the game capture is just a still until I finally notice it and refresh. Then it happened again later on the cast.

Code:
21:40:19: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
21:40:19: -------------------------------
21:40:19: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
21:40:19: CPU Speed: 3410MHz
21:40:19: Physical Memory:  4095MB Total, 4095MB Free
21:40:19: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
21:40:19: monitor 1: pos={-1600, 0}, size={1600, 1200}
21:40:19: monitor 2: pos={0, 0}, size={1920, 1080}
21:40:19: Windows Version: 6.1 Build 7601 S
21:40:19: Aero is Disabled
21:40:19: -------------------------------
21:40:19: OBS Modules:
21:40:19: Base Address     Module
21:40:19: 01350000         OBS.exe
21:40:19: 5F930000         OBSApi.dll
21:40:19: 60460000         DShowPlugin.dll
21:40:19: 60440000         GraphicsCapture.dll
21:40:19: 60420000         NoiseGate.dll
21:40:19: 60350000         PSVPlugin.dll
21:40:19: ------------------------------------------
21:40:19: Adapter 1
21:40:19:   Video Adapter: AMD Radeon HD 7900 Series
21:40:19:   Video Adapter Dedicated Video Memory: 3202523136
21:40:19:   Video Adapter Shared System Memory: 1092378624
21:40:19:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:40:19:   Video Adapter Output 2: pos={-1600, 0}, size={1600, 1200}, attached=true
21:40:19: =====Stream Start: 2013-11-19, 21:40:19===============================================
21:40:19:   Multithreaded optimizations: On
21:40:19:   Base resolution: 1280x720
21:40:19:   Output resolution: 1280x720
21:40:19: ------------------------------------------
21:40:19: Loading up D3D10 on AMD Radeon HD 7900 Series...
21:40:19: ------------------------------------------
21:40:19: Audio Format: 44100hz
21:40:19: Playback device Default
21:40:19: ------------------------------------------
21:40:19: Using desktop audio input: Kaiuttimet (Realtek High Definition Audio)
21:40:19: ------------------------------------------
21:40:19: Using auxilary audio input: Mikrofoni (Realtek High Definition Audio)
21:40:19: ------------------------------------------
21:40:19: Audio Encoding: AAC
21:40:19:     bitrate: 128
21:40:19: Using bitmap image
21:40:20: ------------------------------------------
21:40:20:     device: Microsoft LifeCam HD-3000,
21:40:20:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1583a058&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
21:40:20:     chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-666666
21:40:20:     use buffering: false - 0, fourCC: 'YUY2'
21:40:20:     audio device: Disable,
21:40:20:     audio device id Disabled,
21:40:20: 
21:40:20: Using directshow input
21:40:20: Using graphics capture
21:40:20: Scene buffering time set to 400
21:40:20: ------------------------------------------
21:40:20: Video Encoding: x264
21:40:20:     fps: 30
21:40:20:     width: 1280, height: 720
21:40:20:     preset: veryfast
21:40:20:     profile: high
21:40:20:     keyint: 60
21:40:20:     CBR: yes
21:40:20:     CFR: yes
21:40:20:     max bitrate: 1600
21:40:20:     buffer size: 1600
21:40:20: ------------------------------------------
21:40:20: MMDeviceAudioSource: Frequency for device 'Kaiuttimet (Realtek High Definition Audio)' is 384000, samples per sec is 48000
21:40:20: MMDeviceAudioSource: Frequency for device 'Mikrofoni (Realtek High Definition Audio)' is 352800, samples per sec is 44100
21:40:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:40:24:   New Scene
21:41:21: ------------------------------------------
21:41:21:     device: Microsoft LifeCam HD-3000,
21:41:21:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1583a058&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
21:41:21:     chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-666666
21:41:21:     use buffering: false - 0, fourCC: 'YUY2'
21:41:21:     audio device: Disable,
21:41:21:     audio device id Disabled,
21:41:21: 
21:41:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:41:22:   New Scene
21:41:26: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:41:26:   New Scene
21:41:27: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:41:27:   New Scene
21:41:27: Using bitmap image
21:41:54: SharedTexCapture hooked
21:41:57: Total frames encoded: 2884, total frames duplicated: 27 (0.94%)
21:41:57: Total frames rendered: 2865, number of late frames: 4 (0.14%) (it's okay for some frames to be late)
21:41:57: 
21:41:57: Profiler time results:
21:41:57: 
21:41:57: ==============================================================
21:41:57: video thread frame - [100%] [avg time: 2.399 ms] [children: 70.4%] [unaccounted: 29.6%]
21:41:57: | scene->Preprocess - [64.8%] [avg time: 1.555 ms]
21:41:57: | GPU download and conversion - [5.59%] [avg time: 0.134 ms] [children: 4.88%] [unaccounted: 0.709%]
21:41:57: | | flush - [4.46%] [avg time: 0.107 ms]
21:41:57: | | CopyResource - [0.333%] [avg time: 0.008 ms]
21:41:57: | | conversion to 4:2:0 - [0.0834%] [avg time: 0.002 ms]
21:41:57: Convert444Threads - [100%] [avg time: 0.387 ms] [children: 99%] [unaccounted: 1.03%]
21:41:57: | Convert444toNV12 - [99%] [avg time: 0.383 ms]
21:41:57: encoder thread frame - [100%] [avg time: 0.85 ms]
21:41:57: ==============================================================
21:41:57: 
21:41:57: 
21:41:57: Profiler CPU results:
21:41:57: 
21:41:57: ==============================================================
21:41:57: video thread frame - [cpu time: avg 1.187 ms, total 3400.82 ms] [avg calls per frame: 1]
21:41:57: | scene->Preprocess - [cpu time: avg 0.914 ms, total 2620.81 ms] [avg calls per frame: 1]
21:41:57: | GPU download and conversion - [cpu time: avg 0.016 ms, total 46.8 ms] [avg calls per frame: 1]
21:41:57: | | flush - [cpu time: avg 0.01 ms, total 31.2 ms] [avg calls per frame: 1]
21:41:57: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
21:41:57: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 15.6 ms] [avg calls per frame: 1]
21:41:57: Convert444Threads - [cpu time: avg 0.076 ms, total 436.802 ms] [avg calls per frame: 2]
21:41:57: | Convert444toNV12 - [cpu time: avg 0.076 ms, total 436.802 ms] [avg calls per frame: 2]
21:41:57: encoder thread frame - [cpu time: avg 0.135 ms, total 390.002 ms] [avg calls per frame: 1]
21:41:57: ==============================================================
21:41:57: 
21:41:57: =====Stream End: 2013-11-19, 21:41:57=================================================
21:41:59: =====Stream Start: 2013-11-19, 21:41:59===============================================
21:41:59:   Multithreaded optimizations: On
21:41:59:   Base resolution: 1280x720
21:41:59:   Output resolution: 1280x720
21:41:59: ------------------------------------------
21:41:59: Loading up D3D10 on AMD Radeon HD 7900 Series...
21:41:59: ------------------------------------------
21:41:59: Audio Format: 44100hz
21:41:59: Playback device Default
21:41:59: ------------------------------------------
21:41:59: Using desktop audio input: Kaiuttimet (Realtek High Definition Audio)
21:41:59: ------------------------------------------
21:41:59: Using auxilary audio input: Mikrofoni (Realtek High Definition Audio)
21:41:59: ------------------------------------------
21:41:59: Audio Encoding: AAC
21:41:59:     bitrate: 128
21:41:59: Using bitmap image
21:41:59: Scene buffering time set to 400
21:41:59: ------------------------------------------
21:41:59: Video Encoding: x264
21:41:59:     fps: 30
21:41:59:     width: 1280, height: 720
21:41:59:     preset: veryfast
21:41:59:     profile: high
21:41:59:     keyint: 60
21:41:59:     CBR: yes
21:41:59:     CFR: yes
21:41:59:     max bitrate: 1600
21:41:59:     buffer size: 1600
21:41:59: ------------------------------------------
21:41:59: MMDeviceAudioSource: Frequency for device 'Kaiuttimet (Realtek High Definition Audio)' is 384000, samples per sec is 48000
21:41:59: MMDeviceAudioSource: Frequency for device 'Mikrofoni (Realtek High Definition Audio)' is 352800, samples per sec is 44100
21:42:01: Using RTMP service: Twitch / Justin.tv
21:42:01:   Server selection: rtmp://live-lhr.justin.tv/app
21:42:01:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
21:42:02: Completed handshake with rtmp://live-lhr.justin.tv/app in 612 ms.
21:42:03: SO_SNDBUF was at 8192
21:42:03: SO_SNDBUF is now 65536
21:42:04: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 12617 / 221184)
21:44:12: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:44:12:   New Scene
21:44:12: Using bitmap image
21:44:12: ------------------------------------------
21:44:12:     device: Microsoft LifeCam HD-3000,
21:44:12:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1583a058&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
21:44:12:     chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-666666
21:44:12:     use buffering: false - 0, fourCC: 'YUY2'
21:44:12:     audio device: Disable,
21:44:12:     audio device id Disabled,
21:44:12: 
21:44:12: Using directshow input
21:44:13: PERFORMANCE WARNING: Scene change took 733 ms, maybe some sources should be global sources?
21:44:15: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 221184)
21:44:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:44:24:   New Scene
21:44:24: Using graphics capture
21:44:24: SharedTexCapture hooked
22:01:16: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:01:16:   New Scene
22:01:16: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:01:16:   New Scene
22:01:21: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:01:21:   New Scene
22:01:23: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:01:23:   New Scene
22:01:46: SharedTexCapture hooked
22:48:16: SharedTexCapture hooked
22:56:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:56:04:   New Scene
22:57:00: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:57:00:   New Scene
22:57:08: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:57:08:   New Scene
22:57:12: Exit signal received, terminating capture
22:57:16: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:57:16:   New Scene
22:57:22: Total frames encoded: 135653, total frames duplicated: 403 (0.30%)
22:57:22: Total frames rendered: 135504, number of late frames: 57 (0.04%) (it's okay for some frames to be late)
22:57:22: RTMPPublisher::SocketLoop: Graceful loop exit
22:57:22: Average send payload: 5558 bytes, average send interval: 25 ms
22:57:22: Number of times waited to send: 17, Waited for a total of 69663 bytes
22:57:22: Number of b-frames dropped: 51 (0.038%), Number of p-frames dropped: 28 (0.021%), Total 79 (0.058%)
22:57:22: Number of bytes sent: 978537149
22:57:22: 
22:57:22: Profiler time results:
22:57:22: 
22:57:22: ==============================================================
22:57:22: video thread frame - [100%] [avg time: 1.659 ms] [children: 75.6%] [unaccounted: 24.4%]
22:57:22: | scene->Preprocess - [56.4%] [avg time: 0.936 ms]
22:57:22: | GPU download and conversion - [19.2%] [avg time: 0.319 ms] [children: 6.93%] [unaccounted: 12.3%]
22:57:22: | | flush - [6.39%] [avg time: 0.106 ms]
22:57:22: | | CopyResource - [0.422%] [avg time: 0.007 ms]
22:57:22: | | conversion to 4:2:0 - [0.121%] [avg time: 0.002 ms]
22:57:22: Convert444Threads - [100%] [avg time: 0.408 ms] [children: 98.8%] [unaccounted: 1.23%]
22:57:22: | Convert444toNV12 - [98.8%] [avg time: 0.403 ms]
22:57:22: encoder thread frame - [100%] [avg time: 0.867 ms]
22:57:22: ==============================================================
22:57:22: 
22:57:22: 
22:57:22: Profiler CPU results:
22:57:22: 
22:57:22: ==============================================================
22:57:22: video thread frame - [cpu time: avg 0.791 ms, total 107297 ms] [avg calls per frame: 1]
22:57:22: | scene->Preprocess - [cpu time: avg 0.264 ms, total 35833.4 ms] [avg calls per frame: 1]
22:57:22: | GPU download and conversion - [cpu time: avg 0.006 ms, total 920.408 ms] [avg calls per frame: 1]
22:57:22: | | flush - [cpu time: avg 0.005 ms, total 733.206 ms] [avg calls per frame: 1]
22:57:22: | | CopyResource - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
22:57:22: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 46.802 ms] [avg calls per frame: 1]
22:57:22: Convert444Threads - [cpu time: avg 0.08 ms, total 21886.9 ms] [avg calls per frame: 2]
22:57:22: | Convert444toNV12 - [cpu time: avg 0.079 ms, total 21574.9 ms] [avg calls per frame: 2]
22:57:22: encoder thread frame - [cpu time: avg 0.098 ms, total 13384.9 ms] [avg calls per frame: 1]
22:57:22: ==============================================================
22:57:22: 
22:57:22: =====Stream End: 2013-11-19, 22:57:22=================================================


Last game capture log:
2013-11-19, 21:41:54: we're booting up: 
21:41:54: D3D9 Present
21:41:54: D3D9EndScene called
21:41:54: (half life scientist) everything..  seems to be in order
21:41:54: D3DPRESENT_PARAMETERS {
21:41:54: 	BackBufferWidth: 1280
21:41:54: 	BackBufferHeight: 720
21:41:54: 	BackBufferFormat: D3DFMT_X8R8G8B8
21:41:54: 	BackBufferCount: 1
21:41:54: 	MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
21:41:54: 	MultiSampleQuality: 0
21:41:54: 	SwapEffect: D3DSWAPEFFECT_DISCARD
21:41:54: 	hDeviceWindow: 330062
21:41:54: 	Windowed: false
21:41:54: 	EnableAutoDepthStencil: true
21:41:54: 	AutoDepthStencilFormat: D3DFMT_D24S8
21:41:54: 	Flags: None
21:41:54: 	FullScreen_RefreshRateInHz: 60
21:41:54: 	PresentationInterval: 1
21:41:54: };
21:41:54: successfully set up d3d9 hooks
21:41:54: D3D9Present called
21:41:54: DXGI Present
21:41:54: DoD3D9GPUHook: success
21:41:54: D3DSURFACE_DESC {
21:41:54: 	Format: D3DFMT_X8R8G8B8
21:41:54: 	Type: D3DRTYPE_SURFACE
21:41:54: 	Usage: D3DUSAGE_RENDERTARGET 
21:41:54: 	Pool: D3DPOOL_DEFAULT
21:41:54: 	MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
21:41:54: 	MultiSampleQuality: 0
21:41:54: 	Width: 1280
21:41:54: 	Height: 720
21:41:54: };
21:41:54: successfully capturing d3d9 frames via GPU
21:41:57: ---------------------- Cleared D3D9 Capture ----------------------
21:41:57: D3D9EndScene called
21:41:57: D3D9Present called
21:44:24: received restart event, capturing
21:44:24: DoD3D9GPUHook: success
21:44:24: D3DSURFACE_DESC {
21:44:24: 	Format: D3DFMT_X8R8G8B8
21:44:24: 	Type: D3DRTYPE_SURFACE
21:44:24: 	Usage: D3DUSAGE_RENDERTARGET 
21:44:24: 	Pool: D3DPOOL_DEFAULT
21:44:24: 	MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
21:44:24: 	MultiSampleQuality: 0
21:44:24: 	Width: 1280
21:44:24: 	Height: 720
21:44:24: };
21:44:24: successfully capturing d3d9 frames via GPU
21:50:04: DoD3D9DrawStuff: device->StretchRect failed, result = 2289436780
22:01:46: ---------------------- Cleared D3D9 Capture ----------------------
22:01:46: received restart event, capturing
22:01:46: DoD3D9GPUHook: success
22:01:46: D3D9EndScene called
22:01:46: D3D9Present called
22:01:46: D3DSURFACE_DESC {
22:01:46: 	Format: D3DFMT_X8R8G8B8
22:01:46: 	Type: D3DRTYPE_SURFACE
22:01:46: 	Usage: D3DUSAGE_RENDERTARGET 
22:01:46: 	Pool: D3DPOOL_DEFAULT
22:01:46: 	MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
22:01:46: 	MultiSampleQuality: 0
22:01:46: 	Width: 1280
22:01:46: 	Height: 720
22:01:46: };
22:01:46: successfully capturing d3d9 frames via GPU
22:45:55: DoD3D9DrawStuff: device->StretchRect failed, result = 2289436780
22:48:16: ---------------------- Cleared D3D9 Capture ----------------------
22:48:16: received restart event, capturing
22:48:16: DoD3D9GPUHook: success
22:48:16: D3D9EndScene called
22:48:16: D3D9Present called
22:48:16: D3DSURFACE_DESC {
22:48:16: 	Format: D3DFMT_X8R8G8B8
22:48:16: 	Type: D3DRTYPE_SURFACE
22:48:16: 	Usage: D3DUSAGE_RENDERTARGET 
22:48:16: 	Pool: D3DPOOL_DEFAULT
22:48:16: 	MultiSampleType: D3DMULTISAMPLE_4_SAMPLES
22:48:16: 	MultiSampleQuality: 0
22:48:16: 	Width: 1280
22:48:16: 	Height: 720
22:48:16: };
22:48:16: successfully capturing d3d9 frames via GPU
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Excellent taste. I've been morrowind and the expansions like 3 times.

Avoid monitor capture on windows 7 and below, and on laptops.

You must be using a graphics mod for morrowind to load up in DX9+. What mod specifically?

In the mean time, is there a way to run borderless/windowed with the mod you're using at all? Because then you could just use window capture instead.
 

Ianuarius

Member
1) I've been streaming with monitor capture for like 12 hours with no problems. And other than freezing the game capture was working fine, too. I'd rather use that because then I can play full screen. 1280x720 on a 1600x900 resolution is still a bit lame. :)

2) I'm using Morrowind Overhaul that loads a ton of different mods. Not really sure what. It just installs everything as a package. No other mods, tho.

3) I haven't tried window capture ever. Or then I tried it once and it captured the borders or something. Idk, for some reason I've been avoiding it. Monitor Capture has been working extremely well.
 

dodgepong

Administrator
Community Helper
Morrowind Overhaul changes a lot, and I believe it uses DirectX hooks to do some effects. For example, part of the install instructions involve disabling the Steam Overlay, which isn't a good sign for other apps that use DirectX hooking, like OBS does for game capture. I wouldn't be surprised if that's what is causing the problem.
 

Ianuarius

Member
Tested out Starbound and Alt+Tabbing seemed to cause this freezing again:

http://www.twitch.tv/ianuarius/b/486329248

Pretty much after 1:08:00 when I alt+tab it causes the freeze and then even the refresh didn't help cos Starbound beta jumps out of fullscreen when you alt+tab out and I had to reset it and... ugh... it was a mess. Had to restart the cast. :/
 
Top