Question / Help Black screen on game capture

Kreizo

New Member
Game capture black screen
Window capture work
15:06:59: Open Broadcaster Software v0.552b - 64bit ( ^ω^)
15:06:59: -------------------------------
15:06:59: CPU Name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
15:06:59: CPU Speed: 2394MHz
15:06:59: Physical Memory: 8052MB Total, 2535MB Free
15:06:59: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:06:59: monitor 1: pos={0, 0}, size={1920, 1080}
15:06:59: Windows Version: 6.1 Build 7600
15:06:59: Aero is Disabled
15:06:59: -------------------------------
15:06:59: OBS Modules:
15:06:59: Base Address Module
15:06:59: 000000003FD60000 OBS.exe
15:06:59: 00000000E8CC0000 OBSApi.dll
15:06:59: 00000000F71B0000 DShowPlugin.dll
15:06:59: 00000000F73C0000 GraphicsCapture.dll
15:06:59: 00000000F72D0000 NoiseGate.dll
15:06:59: 00000000F72B0000 PSVPlugin.dll
15:06:59: ------------------------------------------
15:06:59: Adapter 1
15:06:59: Video Adapter: Intel(R) HD Graphics 4000
15:06:59: Video Adapter Dedicated Video Memory: 67108864
15:06:59: Video Adapter Shared System Memory: 1711276032
15:06:59: ------------------------------------------
15:06:59: Adapter 2
15:06:59: Video Adapter: NVIDIA GeForce GT 650M
15:06:59: Video Adapter Dedicated Video Memory: 2091712512
15:06:59: Video Adapter Shared System Memory: 2147479552
15:06:59: =====Stream Start: 2013-08-26, 15:06:59===============================================
15:06:59: Multithreaded optimizations: On
15:06:59: Base resolution: 1920x1080
15:06:59: Output resolution: 1920x1080
15:06:59: ------------------------------------------
15:06:59: Loading up D3D10 on NVIDIA GeForce GT 650M...
15:06:59: Playback device Default
15:06:59: ------------------------------------------
15:06:59: Using desktop audio input: Громкоговорители / Наушники (IDT High Definition Audio CODEC)
15:06:59: ------------------------------------------
15:06:59: Using auxilary audio input: Встроенный микрофон (IDT High Definition Audio CODEC)
15:06:59: ------------------------------------------
15:06:59: Audio Encoding: MP3
15:06:59: bitrate: 160
15:06:59: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
15:06:59: Found QSV hardware support
15:06:59: ------------------------------------------
15:06:59: QSV version 1.4 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_ANY (actual: MFX_IMPL_HARDWARE | MFX_IMPL_VIA_D3D9)
15:06:59: Using 13 encode tasks
15:06:59: ------------------------------------------
15:06:59: Video Encoding: QSV
15:06:59: fps: 30
15:06:59: width: 1920, height: 1080
15:06:59: target-usage: MFX_TARGETUSAGE_BEST_QUALITY
15:06:59: CBR: yes
15:06:59: CFR: no
15:06:59: max bitrate: 2000
15:06:59: ------------------------------------------
15:06:59: MMDeviceAudioSource: Frequency for device 'Громкоговорители / Наушники (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
15:06:59: MMDeviceAudioSource: Frequency for device 'Встроенный микрофон (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
15:07:09: Total frames rendered: 272, number of late frames: 4 (1.47%) (it's okay for some frames to be late)
15:07:10:
15:07:10: Profiler results:
15:07:10:
15:07:10: ==============================================================
15:07:10: frame - [100%] [avg time: 6.317 ms (cpu time: avg 1.548 ms, total 421.202 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.0792%]
15:07:10: | frame preprocessing and rendering - [92%] [avg time: 5.814 ms (cpu time: avg 1.319 ms, total 358.801 ms)] [avg calls per frame: 1] [children: 0.0317%] [unaccounted: 92%]
15:07:10: | | scene->Preprocess - [0.0317%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
15:07:10: | video encoding and uploading - [7.88%] [avg time: 0.498 ms (cpu time: avg 0.229 ms, total 62.401 ms)] [avg calls per frame: 1] [children: 7.63%] [unaccounted: 0.253%]
15:07:10: | | flush - [2.85%] [avg time: 0.18 ms (cpu time: avg 0.057 ms, total 15.6 ms)] [avg calls per frame: 1]
15:07:10: | | CopyResource - [1.06%] [avg time: 0.067 ms (cpu time: avg 0.057 ms, total 15.6 ms)] [avg calls per frame: 0]
15:07:10: | | conversion to 4:2:0 - [0.443%] [avg time: 0.028 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
15:07:10: | | call to encoder - [3.25%] [avg time: 0.205 ms (cpu time: avg 0.114 ms, total 31.201 ms)] [avg calls per frame: 0] [children: 3.09%] [unaccounted: 0.158%]
15:07:10: | | | ProcessEncodedFrame - [0.76%] [avg time: 0.048 ms (cpu time: avg 0.114 ms, total 31.201 ms)] [avg calls per frame: 0]
15:07:10: | | | EncodeFrameAsync - [2.33%] [avg time: 0.147 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
15:07:10: | | sending stuff out - [0.0317%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
15:07:10: | Convert444Threads - [1.1e+003%] [avg time: 69.602 ms (cpu time: avg 5.104 ms, total 1388.41 ms)] [avg calls per frame: 1]
15:07:10: ==============================================================
15:07:10:
15:07:10: =====Stream End: 2013-08-26, 15:07:10=================================================
 

Kreizo

New Member
Use the nvidia/AMD control panel in windows, and set OBS to use the nvidia/AMD GPU ("performance"), rather than intel ("power saving"). If you're on an optimus you must do this.
On some laptops (I believe the optimus systems) there may be an option when right-clicking the OBS icon to select the adapter.

OBS freezes and crash
 

dodgepong

Administrator
Community Helper
What game are you trying to capture? There might be something preventing game capture from hooking, like a hackshield or something.
 

dodgepong

Administrator
Community Helper
Dota 2 and Guild Wars 2 don't have hack shields, I don't think, but it's possible Aion does. Do you know what game you were trying to capture with that log?
 

Kreizo

New Member
dodgepong said:
Dota 2 and Guild Wars 2 don't have hack shields, I don't think, but it's possible Aion does. Do you know what game you were trying to capture with that log?
09:45:50: Open Broadcaster Software v0.552b - 64bit ( ^ω^)
09:45:50: -------------------------------
09:45:50: CPU Name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
09:45:50: CPU Speed: 2394MHz
09:45:50: Physical Memory: 8052MB Total, 5018MB Free
09:45:50: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
09:45:50: monitor 1: pos={0, 0}, size={1920, 1080}
09:45:50: Windows Version: 6.1 Build 7600
09:45:50: Aero is Disabled
09:45:50: -------------------------------
09:45:50: OBS Modules:
09:45:50: Base Address Module
09:45:50: 000000003F280000 OBS.exe
09:45:50: 00000000F07A0000 OBSApi.dll
09:45:50: 00000000F0470000 DShowPlugin.dll
09:45:50: 00000000F0440000 GraphicsCapture.dll
09:45:50: 00000000F0420000 NoiseGate.dll
09:45:50: 00000000F0400000 PSVPlugin.dll
09:45:50: ------------------------------------------
09:45:50: Adapter 1
09:45:50: Video Adapter: NVIDIA GeForce GT 650M
09:45:50: Video Adapter Dedicated Video Memory: 2091712512
09:45:50: Video Adapter Shared System Memory: 2147676160
09:45:50: ------------------------------------------
09:45:50: Adapter 2
09:45:50: Video Adapter: NVIDIA GeForce GT 650M
09:45:50: Video Adapter Dedicated Video Memory: 2091712512
09:45:50: Video Adapter Shared System Memory: 2147676160
09:45:50: =====Stream Start: 2013-08-28, 09:45:50===============================================
09:45:50: Multithreaded optimizations: On
09:45:50: Base resolution: 1920x1080
09:45:50: Output resolution: 1920x1080
09:45:50: ------------------------------------------
09:45:50: Loading up D3D10 on NVIDIA GeForce GT 650M...
09:45:50: Playback device Default
09:45:50: ------------------------------------------
09:45:50: Using desktop audio input: Громкоговорители / Наушники (IDT High Definition Audio CODEC)
09:45:50: ------------------------------------------
09:45:50: Using auxilary audio input: Встроенный микрофон (IDT High Definition Audio CODEC)
09:45:50: ------------------------------------------
09:45:50: Audio Encoding: MP3
09:45:50: bitrate: 160
09:45:50: Using graphics capture
09:45:50: Found QSV hardware support
09:45:50: ------------------------------------------
09:45:51:
09:45:51: ===================================================================================
09:45:51: Error: QSV hardware acceleration unavailable due to a driver bug. Reduce the number
09:45:51: of monitors connected to you graphics card or configure your Intel graphics
09:45:51: card to be the primary device.
09:45:51: Refer to http://software.intel.com/en-us/forums/ ... nt-1722674
09:45:51: for more information.
09:45:51: ===================================================================================
09:45:51:
09:45:51: Continuing with decreased performance
09:45:51: Using 8 encode tasks
09:45:51: ------------------------------------------
09:45:51: Video Encoding: QSV
09:45:51: fps: 30
09:45:51: width: 1920, height: 1080
09:45:51: target-usage: MFX_TARGETUSAGE_BEST_QUALITY
09:45:51: CBR: yes
09:45:51: CFR: no
09:45:51: max bitrate: 2000
09:45:51: ------------------------------------------
09:45:51: MMDeviceAudioSource: Frequency for device 'Громкоговорители / Наушники (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
09:45:51: MMDeviceAudioSource: Frequency for device 'Встроенный микрофон (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
09:45:52: Error: all encode tasks in use, stalling pipeline
09:45:52: Error: encoder is taking too long, consider decreasing your FPS/increasing your bitrate

game dota2
new log - panel nvidia -> high-performance processor Nvidia -> obs admin -> game capture - obs frozen and i kill process
 

dodgepong

Administrator
Community Helper
That is failing because you are trying to use QSV and it's not configured properly. Does it work without trying to use QSV?
 

Kreizo

New Member
dodgepong said:
That is failing because you are trying to use QSV and it's not configured properly. Does it work without trying to use QSV?
Without QSV obs not crash but still black screen

log crash with QSV

OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
http://www.obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\windows\system32\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: 80000003
Fault address: 000007FEFD553C72 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.552b
Windows version: 6.1 (Build 7600)
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
00000000001AECE8 000007FEFD553C72 000007FEE86C5860 000000000000EA60 00000000001AEC48 00000000001AF330 kernelbase.dll!0x7fefd553c72
00000000001AECF0 000007FEE853D073 0000000000000001 0000000A0000008F 0000A43C2D85A0E5 0000000000000000 obsapi.dll!OSTerminateThread+0x33
00000000001AED20 000000013F29D399 0000000000000001 00000000001AF330 0000000000000000 0000000000000000 obs.exe!OBS::Stop+0x59
00000000001AEDA0 000000013F2987AF 000000013F270000 0000000000000001 00000000001AF330 0000000000000000 obs.exe!OBS::~OBS+0x3f
00000000001AF200 000000013F298744 0000000002AB0B0B 0000000002AB0B0B 000007FEFE432164 0000000000000000 obs.exe!OBS::`vector deleting destructor'+0x14
00000000001AF230 000000013F2917DB 0000000000000000 0000000000000000 000000013F270000 0000000000000000 obs.exe!WinMain+0x93b
00000000001AF780 000000013F306700 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!strstr+0x1ac
00000000001AF830 00000000772A652D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x772a652d
00000000001AF860 00000000774DC521 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x774dc521

A minidump was saved to C:\Users\CrAzY\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-08-28_1.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module
 

Kreizo

New Member
dodgepong said:
Can you post an OBS log where you aren't trying to use QSV?

log without qsv guikd wars2 windowed screen

game capture black screen
desctop capture works
web camera works

19:42:50: Open Broadcaster Software v0.552b - 64bit ( ^ω^)
19:42:50: -------------------------------
19:42:50: CPU Name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
19:42:50: CPU Speed: 2394MHz
19:42:50: Physical Memory: 8052MB Total, 4642MB Free
19:42:50: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:42:50: monitor 1: pos={0, 0}, size={1920, 1080}
19:42:50: Windows Version: 6.1 Build 7600
19:42:50: Aero is Disabled
19:42:50: -------------------------------
19:42:50: OBS Modules:
19:42:50: Base Address Module
19:42:50: 000000003FC70000 OBS.exe
19:42:50: 00000000F6380000 OBSApi.dll
19:42:50: 00000000F5E10000 DShowPlugin.dll
19:42:50: 00000000F5DB0000 GraphicsCapture.dll
19:42:50: 00000000F5DF0000 NoiseGate.dll
19:42:50: 00000000F5D90000 PSVPlugin.dll
19:42:50: ------------------------------------------
19:42:50: Adapter 1
19:42:50: Video Adapter: Intel(R) HD Graphics 4000
19:42:50: Video Adapter Dedicated Video Memory: 67108864
19:42:50: Video Adapter Shared System Memory: 1711276032
19:42:50: ------------------------------------------
19:42:50: Adapter 2
19:42:50: Video Adapter: NVIDIA GeForce GT 650M
19:42:50: Video Adapter Dedicated Video Memory: 2091712512
19:42:50: Video Adapter Shared System Memory: 2147676160
19:42:50: =====Stream Start: 2013-08-29, 19:42:50===============================================
19:42:50: Multithreaded optimizations: On
19:42:50: Base resolution: 1920x1080
19:42:50: Output resolution: 1920x1080
19:42:50: ------------------------------------------
19:42:50: Loading up D3D10 on NVIDIA GeForce GT 650M...
19:42:50: Playback device Default
19:42:50: ------------------------------------------
19:42:50: Using desktop audio input: Громкоговорители / Наушники (IDT High Definition Audio CODEC)
19:42:50: ------------------------------------------
19:42:50: Using auxilary audio input: Встроенный микрофон (IDT High Definition Audio CODEC)
19:42:50: ------------------------------------------
19:42:50: Audio Encoding: MP3
19:42:50: bitrate: 160
19:42:50: ------------------------------------------
19:42:50: device: Integrated Webcam,
19:42:50: device id \\?\usb#vid_0bda&pid_58bf&mi_00#7&347536c3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:42:50: chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 1428571-2000000, fourCC: 'YUY2'
19:42:50: audio device: Отключено,
19:42:50: audio device id Disabled,
19:42:50:
19:42:50: Using directshow input
19:42:50: ------------------------------------------
19:42:50: Video Encoding: x264
19:42:50: fps: 30
19:42:50: width: 1920, height: 1080
19:42:50: preset: fast
19:42:50: CBR: yes
19:42:50: CFR: no
19:42:50: max bitrate: 2000
19:42:50: ------------------------------------------
19:42:50: MMDeviceAudioSource: Frequency for device 'Громкоговорители / Наушники (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
19:42:50: MMDeviceAudioSource: Frequency for device 'Встроенный микрофон (IDT High Definition Audio CODEC)' is 384000, samples per sec is 48000
19:42:52: Using graphics capture
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
19:42:58: Using Monitor Capture
19:43:00: ------------------------------------------
19:43:00: device: Integrated Webcam,
19:43:00: device id \\?\usb#vid_0bda&pid_58bf&mi_00#7&347536c3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:43:00: chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 1428571-2000000, fourCC: 'YUY2'
19:43:00: audio device: Отключено,
19:43:00: audio device id Disabled,
19:43:00:
19:43:00: Using directshow input
19:43:01: Using Monitor Capture
19:43:02: Using graphics capture
19:43:25: Total frames rendered: 1001, number of late frames: 11 (1.10%) (it's okay for some frames to be late)
19:43:25:
19:43:25: Profiler results:
19:43:25:
19:43:25: ==============================================================
19:43:25: frame - [100%] [avg time: 13.043 ms (cpu time: avg 5.703 ms, total 5709.64 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.0383%]
19:43:25: | frame preprocessing and rendering - [76%] [avg time: 9.915 ms (cpu time: avg 2.696 ms, total 2698.82 ms)] [avg calls per frame: 1] [children: 30.9%] [unaccounted: 45.1%]
19:43:25: | | scene->Preprocess - [30.9%] [avg time: 4.029 ms (cpu time: avg 1.838 ms, total 1840.81 ms)] [avg calls per frame: 1]
19:43:25: | video encoding and uploading - [23.9%] [avg time: 3.123 ms (cpu time: avg 3.007 ms, total 3010.82 ms)] [avg calls per frame: 1] [children: 23.8%] [unaccounted: 0.169%]
19:43:25: | | flush - [0.675%] [avg time: 0.088 ms (cpu time: avg 0.062 ms, total 62.4 ms)] [avg calls per frame: 1]
19:43:25: | | CopyResource - [0.337%] [avg time: 0.044 ms (cpu time: avg 0.046 ms, total 46.801 ms)] [avg calls per frame: 0]
19:43:25: | | conversion to 4:2:0 - [0.0997%] [avg time: 0.013 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
19:43:25: | | call to encoder - [22.6%] [avg time: 2.954 ms (cpu time: avg 2.898 ms, total 2901.62 ms)] [avg calls per frame: 0]
19:43:25: | | sending stuff out - [0.0153%] [avg time: 0.002 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
19:43:25: | Convert444Threads - [525%] [avg time: 68.458 ms (cpu time: avg 2.929 ms, total 2932.82 ms)] [avg calls per frame: 1]
19:43:25: ==============================================================
19:43:25:
19:43:25: =====Stream End: 2013-08-29, 19:43:25=================================================
 
Top