Bug Report Capture window blackscreen and crashes.

Miaur

New Member
So I've been using OBS to record games that can't get recognized by the "capture game" option, so i have been using borderless window setting with the "capture window" imput, and it worked just fine for me. However, a few days ago, all my "capture window" sources have started to be recorded as black screen. All other sources as "video device" or "capture monitor" work fine, but the program seems to be unable to record from any type of window. This started to happen after i updated the program to the lastest version, however, i was able to record flawlessly with that version days before this error started to happen.
After being unable to use the "capture window" option, i decided to start unsing the "capture monitor" one, as i had to get the recording out. However, the program crashed on me after i started to use this option, with a message saying that "x" texture is missing. Every time that this hapenned, my intel basic graphics card (i'm on a laptop) said that the intel controller had failed and it had properly recovered. This seemed odd to me, as i have my settings set to use my other graphics card (Geforce gtx 765M) whenever i'm using the games that i record or when i'm using OBS itself, and i have all my drivers up to date (the intel ones and the nvidia ones). I'll post the logs of the crash and the log of me trying to use the "capture window" source.
PS: Sorry for my english, if i hadn't expressed properly, ask me for any detail.

Here is the one with the game crashing:
Code:
02:57:26: Open Broadcaster Software v0.625b - 32bit (´・ω・`)
02:57:26: -------------------------------
02:57:26: CPU Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
02:57:26: CPU Speed: 2394MHz
02:57:26: Physical Memory:  4095MB Total, 4095MB Free
02:57:26: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
02:57:26: monitor 1: pos={0, 0}, size={1920, 1080}
02:57:26: Windows Version: 6.2 Build 9200
02:57:26: Aero is Enabled
02:57:26: -------------------------------
02:57:26: OBS Modules:
02:57:26: Base Address     Module
02:57:26: 00D10000         OBS.exe
02:57:26: 5E9A0000         OBSApi.dll
02:57:26: 6A490000         DShowPlugin.dll
02:57:26: 6A8C0000         GraphicsCapture.dll
02:57:26: 68640000         NoiseGate.dll
02:57:26: 6A470000         PSVPlugin.dll
02:57:26: 68620000         scenesw.dll
02:57:26: ------------------------------------------
02:57:26: Adapter 1
02:57:26:   Video Adapter: Intel(R) HD Graphics 4600
02:57:26:   Video Adapter Dedicated Video Memory: 0
02:57:26:   Video Adapter Shared System Memory: 1879048192
02:57:26:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
02:57:26: ------------------------------------------
02:57:26: Adapter 2
02:57:26:   Video Adapter: NVIDIA GeForce GTX 765M 
02:57:26:   Video Adapter Dedicated Video Memory: 2085482496
02:57:26:   Video Adapter Shared System Memory: 2147610624
02:57:26: =====Stream Start: 2014-07-26, 02:57:26===============================================
02:57:26:   Multithreaded optimizations: On
02:57:26:   Base resolution: 1280x720
02:57:26:   Output resolution: 1280x720
02:57:26: ------------------------------------------
02:57:26: Loading up D3D10 on Intel(R) HD Graphics 4600 (Adapter 1)...
02:57:26: ------------------------------------------
02:57:26: Audio Format: 48000 Hz
02:57:26: ------------------------------------------
02:57:26: Audio Channels: 2 Ch
02:57:26: Playback device Default
02:57:26: ------------------------------------------
02:57:26: Using desktop audio input: Altavoces (Plantronics GameCom 780)
02:57:26: Global Audio time adjust: 0
02:57:26: Using 7.1 surround speaker setup
02:57:26: ------------------------------------------
02:57:26: Using auxilary audio input: Micrófono (Plantronics GameCom 780)
02:57:26: Mic time offset: 0
02:57:26: ------------------------------------------
02:57:26: Audio Encoding: AAC
02:57:26:     bitrate: 128
02:57:26: Using bitmap image
02:57:26: Using bitmap image
Warning -- DShowPlugin: Could not create device filter
02:57:26: Using directshow input
02:57:26: Using Window Capture
02:57:26: Scene buffering time set to 700
02:57:26: ------------------------------------------
02:57:26: Video Encoding: x264
02:57:26:     fps: 30
02:57:26:     width: 1280, height: 720
02:57:26:     preset: medium
02:57:26:     profile: high
02:57:26:     keyint: 250
02:57:26:     CBR: yes
02:57:26:     CFR: yes
02:57:26:     max bitrate: 3000
02:57:26:     buffer size: 3000
02:57:26: ------------------------------------------
02:58:34: ------------------------------------------
02:58:34:     device: BisonCam, NB Pro,
02:58:34:     device id \\?\usb#vid_5986&pid_014c&mi_00#7&22f8b42c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
02:58:34:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
02:58:34:     use buffering: false - 0, fourCC: 'MJPG'
02:58:34:     audio device: Desactivar,
02:58:34:     audio device id Disabled,
02:58:34:     audio time offset 0,
02:58:34:
02:58:34: Using directshow input
02:59:06: Using Monitor Capture
02:59:28: Total frames encoded: 3632, total frames duplicated: 64 (1.76%)
02:59:28: Total frames rendered: 3638, number of late frames: 2 (0.05%) (it's okay for some frames to be late)
02:59:28:
02:59:28: Profiler time results:
02:59:28:
02:59:28: ==============================================================
02:59:28: video thread frame - [100%] [avg time: 3.376 ms] [children: 80.5%] [unaccounted: 19.5%]
02:59:28: | scene->Preprocess - [75.2%] [avg time: 2.539 ms]
02:59:28: | GPU download and conversion - [5.24%] [avg time: 0.177 ms] [children: 4.47%] [unaccounted: 0.77%]
02:59:28: | | flush - [3.94%] [avg time: 0.133 ms]
02:59:28: | | CopyResource - [0.444%] [avg time: 0.015 ms]
02:59:28: | | conversion to 4:2:0 - [0.0889%] [avg time: 0.003 ms]
02:59:28: Convert444Threads - [100%] [avg time: 0.782 ms] [children: 99.1%] [unaccounted: 0.895%]
02:59:28: | Convert444toNV12 - [99.1%] [avg time: 0.775 ms]
02:59:28: encoder thread frame - [100%] [avg time: 0.928 ms] [children: 1.4%] [unaccounted: 98.6%]
02:59:28: | sending stuff out - [1.4%] [avg time: 0.013 ms]
02:59:28: ==============================================================
02:59:28:
02:59:28:
02:59:28: Profiler CPU results:
02:59:28:
02:59:28: ==============================================================
02:59:28: video thread frame - [cpu time: avg 0.481 ms, total 1750 ms] [avg calls per frame: 1]
02:59:28: | scene->Preprocess - [cpu time: avg 0.107 ms, total 390.625 ms] [avg calls per frame: 1]
02:59:28: | GPU download and conversion - [cpu time: avg 0.103 ms, total 375 ms] [avg calls per frame: 1]
02:59:28: | | flush - [cpu time: avg 0.085 ms, total 312.5 ms] [avg calls per frame: 1]
02:59:28: | | CopyResource - [cpu time: avg 0.008 ms, total 31.25 ms] [avg calls per frame: 1]
02:59:28: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
02:59:28: Convert444Threads - [cpu time: avg 0.933 ms, total 6750 ms] [avg calls per frame: 2]
02:59:28: | Convert444toNV12 - [cpu time: avg 0.927 ms, total 6703.13 ms] [avg calls per frame: 2]
02:59:28: encoder thread frame - [cpu time: avg 0.258 ms, total 937.5 ms] [avg calls per frame: 1]
02:59:28: | sending stuff out - [cpu time: avg 0.017 ms, total 62.5 ms] [avg calls per frame: 1]
02:59:28: ==============================================================
02:59:28:
02:59:28: =====Stream End: 2014-07-26, 02:59:28=================================================
02:59:29: =====Stream Start: 2014-07-26, 02:59:29===============================================
02:59:29:   Multithreaded optimizations: On
02:59:29:   Base resolution: 1280x720
02:59:29:   Output resolution: 1280x720
02:59:29: ------------------------------------------
02:59:29: Loading up D3D10 on NVIDIA GeForce GTX 765M (Adapter 1)...
02:59:29: ------------------------------------------
02:59:29: Audio Format: 48000 Hz
02:59:29: ------------------------------------------
02:59:29: Audio Channels: 2 Ch
02:59:29: Playback device Default
02:59:29: ------------------------------------------
02:59:29: Using desktop audio input: Altavoces (Plantronics GameCom 780)
02:59:29: Global Audio time adjust: 0
02:59:29: Using 7.1 surround speaker setup
02:59:29: ------------------------------------------
02:59:29: Using auxilary audio input: Micrófono (Plantronics GameCom 780)
02:59:29: Mic time offset: 0
02:59:29: ------------------------------------------
02:59:29: Audio Encoding: AAC
02:59:29:     bitrate: 128
02:59:29: Using Monitor Capture
02:59:29: Using bitmap image
02:59:29: Using bitmap image
02:59:29: Using Window Capture
02:59:29: Scene buffering time set to 700
02:59:29: ------------------------------------------
02:59:29: Video Encoding: x264
02:59:29:     fps: 30
02:59:29:     width: 1280, height: 720
02:59:29:     preset: medium
02:59:29:     profile: high
02:59:29:     keyint: 250
02:59:29:     CBR: yes
02:59:29:     CFR: yes
02:59:29:     max bitrate: 3000
02:59:29:     buffer size: 3000
02:59:29: ------------------------------------------

Error: Texture->Map failed: 0x887a0005 0x887a0006

Your video card or driver froze and was reset. Please check for possible hardware / driver issues. This error can also occur if you have enabled opencl in x264 custom settings.
 

Attachments

  • 2014-07-26-0257-13.log
    7.8 KB · Views: 5

Miaur

New Member
Couldn't fit in everything one message, but here is the log of me trying to record form a "record window" input.


Code:
17:11:07: Open Broadcaster Software v0.625b - 32bit (´・ω・`)
17:11:07: -------------------------------
17:11:07: CPU Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
17:11:07: CPU Speed: 2394MHz
17:11:07: Physical Memory:  4095MB Total, 4095MB Free
17:11:07: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
17:11:07: monitor 1: pos={0, 0}, size={1920, 1080}
17:11:07: Windows Version: 6.2 Build 9200
17:11:07: Aero is Enabled
17:11:07: -------------------------------
17:11:07: OBS Modules:
17:11:07: Base Address     Module
17:11:07: 00D10000         OBS.exe
17:11:07: 5EE40000         OBSApi.dll
17:11:07: 6A8B0000         DShowPlugin.dll
17:11:07: 6A4A0000         GraphicsCapture.dll
17:11:07: 6A470000         NoiseGate.dll
17:11:07: 68650000         PSVPlugin.dll
17:11:07: 68630000         scenesw.dll
17:11:07: ------------------------------------------
17:11:07: Adapter 1
17:11:07:   Video Adapter: Intel(R) HD Graphics 4600
17:11:07:   Video Adapter Dedicated Video Memory: 0
17:11:07:   Video Adapter Shared System Memory: 1879048192
17:11:07:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:11:07: ------------------------------------------
17:11:07: Adapter 2
17:11:07:   Video Adapter: NVIDIA GeForce GTX 765M 
17:11:07:   Video Adapter Dedicated Video Memory: 2085482496
17:11:07:   Video Adapter Shared System Memory: 2147610624
17:11:07: =====Stream Start: 2014-07-26, 17:11:07===============================================
17:11:07:   Multithreaded optimizations: On
17:11:07:   Base resolution: 1280x720
17:11:07:   Output resolution: 1280x720
17:11:07: ------------------------------------------
17:11:07: Loading up D3D10 on Intel(R) HD Graphics 4600 (Adapter 1)...
17:11:07: ------------------------------------------
17:11:07: Audio Format: 48000 Hz
17:11:07: ------------------------------------------
17:11:07: Audio Channels: 2 Ch
17:11:07: Playback device Default
17:11:07: ------------------------------------------
17:11:07: Using desktop audio input: Altavoces (Plantronics GameCom 780)
17:11:07: Global Audio time adjust: 0
17:11:07: Using 7.1 surround speaker setup
17:11:07: ------------------------------------------
17:11:07: Using auxilary audio input: Micrófono (Plantronics GameCom 780)
17:11:07: Mic time offset: 0
17:11:07: ------------------------------------------
17:11:07: Audio Encoding: AAC
17:11:07:     bitrate: 128
17:11:07: Using Window Capture
17:11:07: Scene buffering time set to 700
17:11:07: ------------------------------------------
17:11:07: Video Encoding: x264
17:11:07:     fps: 30
17:11:07:     width: 1280, height: 720
17:11:07:     preset: medium
17:11:07:     profile: high
17:11:07:     keyint: 250
17:11:07:     CBR: yes
17:11:07:     CFR: yes
17:11:07:     max bitrate: 3000
17:11:07:     buffer size: 3000
17:11:07: ------------------------------------------
17:11:08: Audio timestamp for device 'Micrófono (Plantronics GameCom 780)' was behind target timestamp by 1175079848
17:11:19: Total frames encoded: 332, total frames duplicated: 2 (0.60%)
17:11:19: Total frames rendered: 357, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
17:11:20:
17:11:20: Profiler time results:
17:11:20:
17:11:20: ==============================================================
17:11:20: video thread frame - [100%] [avg time: 1.456 ms] [children: 28.8%] [unaccounted: 71.2%]
17:11:20: | scene->Preprocess - [19.8%] [avg time: 0.289 ms]
17:11:20: | GPU download and conversion - [8.93%] [avg time: 0.13 ms] [children: 7.35%] [unaccounted: 1.58%]
17:11:20: | | flush - [5.49%] [avg time: 0.08 ms]
17:11:20: | | CopyResource - [1.65%] [avg time: 0.024 ms]
17:11:20: | | conversion to 4:2:0 - [0.206%] [avg time: 0.003 ms]
17:11:20: Convert444Threads - [100%] [avg time: 0.947 ms] [children: 99.3%] [unaccounted: 0.739%]
17:11:20: | Convert444toNV12 - [99.3%] [avg time: 0.94 ms]
17:11:20: encoder thread frame - [100%] [avg time: 0.901 ms] [children: 1.22%] [unaccounted: 98.8%]
17:11:20: | sending stuff out - [1.22%] [avg time: 0.011 ms]
17:11:20: ==============================================================
17:11:20:
17:11:20:
17:11:20: Profiler CPU results:
17:11:20:
17:11:20: ==============================================================
17:11:20: video thread frame - [cpu time: avg 0.875 ms, total 312.5 ms] [avg calls per frame: 1]
17:11:20: | scene->Preprocess - [cpu time: avg 0.043 ms, total 15.625 ms] [avg calls per frame: 1]
17:11:20: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:11:20: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:11:20: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:11:20: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:11:20: Convert444Threads - [cpu time: avg 1.032 ms, total 687.5 ms] [avg calls per frame: 2]
17:11:20: | Convert444toNV12 - [cpu time: avg 1.032 ms, total 687.5 ms] [avg calls per frame: 2]
17:11:20: encoder thread frame - [cpu time: avg 0.188 ms, total 62.5 ms] [avg calls per frame: 1]
17:11:20: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:11:20: ==============================================================
17:11:20:
17:11:20: =====Stream End: 2014-07-26, 17:11:20=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Windows 8+ monitor capture is unstable on switchable graphics laptop drivers. It's not really anything that can be fixed on our end, it's mostly the lack of proper cooperation between companies where two different video devices are used for the same laptop (this is done for the sake of power saving, but causes a whole load of issues like this).

If window capture gets a black screen, it usually means that the OBS and the target of the capture are running on different adapters. A way around this issue is to use 'compatibility mode' in window capture, but it's generally recommended to make the adapters of the target and OBS match for better performance. Somewhat complex situation, but again one of those situations due to switchable graphics laptops.

Game capture will be supporting more games in the next OBS windows release, directx 8 (older) and directdraw (much older) games. So that may become an option again for you.
 

Miaur

New Member
The crashing in the capture monitor option it's not a problem for me, as it isn't my principal source of recording.

In other matters, I've just checked compatibility mode option in the window capture and it instantly started having image again. It's a bit weird, though, as i have set in my nvidia control pannel that both programs run with the gforce controller (not important anyway, as the compability mode just fixed it)
Thanks very much for such a quick reply resolving the problem, you really helped me out.
 
Top