Question / Help Black screen @ preview stream

fragga

New Member
Hi everybody!

Just installed OBS and faced probled same as in XSplit at first run. Yep, it is black screen. But it was cured by adding "enablere2" to shortcut. So xsplit works ok for me with both functions: game and screen capture. In OBS window (screen) capture works fine (but choosing window is actually very mislealing because it doesn't matter what you choose it always shows whole your desktop and processes you run tee-hee-hee, and that is awful :/ ) and putting pictures is okay, but adding game capture to a new/old scene is not working for me, all I see is black screen with or without picture I place here.

I am using v0.51b, and tried 51.01 (that one viewtopic.php?f=20&t=3658) they are both not working for me but I found few probably interesting bugs.
-With 0.51b I can run xsplit only once with game capturing. Run order: game > xsplit > OBS. In that order I can have game captured once in xsplit. After I close both streaming progs or just xsplit next re-opening of xsplit gives me same black screen on game capturing and normal desktop capturing. Running obs first had no effect.
-With 51.01 I had black screens in both progs .. um lets say by default from the very first run :) But furthermore after checking my stream online with same pic as before and same quality options as before (mine are 720p, quality 8, bitrate 3000) both programs showed same quality drop on twitch.tv in my browser. Both of 'em had "best" instead of "720p" as before. And these were two separate tests, not two progs streaming at once.
-Last one occured when I tried to install 51.01 over 0.51b manually since it has no installer. Only two *.dll files were fighting back my overwriting process lol. These are GraphicsCaptureHook64.dll and GraphicsCaptureHook.dll , ofcourse at first I checked OBS to be closed, but it happened again, I closed everything that could possibly use that *.dll as I thought. Game was closed, all messengers got closed, browser closed but nothing helps. In my case to install 51.01 over 0.51b OR 0.51b over 51.01 I need to reboot my computer and be sure not to run OBS before installing that stuff.

Here is my last log:
Open Broadcaster Software v0.51b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Memory: 6091MB Total, 2591MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1366, 768}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: Intel(R) HD Graphics Family
Video Adapter Dedicated Video Memory: 2194472960
Video Adapter Shared System Memory: 2925453312
=====Stream Start: 2013-05-04, 22:48:34===============================================
Multithreaded optimizations: On
Base resolution: 1366x768
Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Громкоговорители и головные телефоны (IDT High Definition Audio CODEC)
------------------------------------------
Using auxilary audio input: Массив встр. микрофона (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 160
Using bitmap image
------------------------------------------
Video Encoding: x264
fps: 30
width: 1364, height: 768
preset: veryfast
CBR: no
CFR: no
max bitrate: 2500
buffer size: 2500
quality: 8
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
Using bitmap image
Using graphics capture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 5233, number of frames that lagged: 3 (0.06%) (it's okay for some frames to lag)
=====Stream End: 2013-05-04, 22:51:29=================================================
=====Stream Start: 2013-05-04, 22:51:30===============================================
Multithreaded optimizations: On
Base resolution: 1366x768
Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Громкоговорители и головные телефоны (IDT High Definition Audio CODEC)
------------------------------------------
Using auxilary audio input: Массив встр. микрофона (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 160
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1364, height: 768
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 8
------------------------------------------
Total frames rendered: 1, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End: 2013-05-04, 22:51:31=================================================
=====Stream Start: 2013-05-04, 22:51:31===============================================
Multithreaded optimizations: On
Base resolution: 1366x768
Output resolution: 1364x768
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Громкоговорители и головные телефоны (IDT High Definition Audio CODEC)
------------------------------------------
Using auxilary audio input: Массив встр. микрофона (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 160
Using bitmap image
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 30
width: 1364, height: 768
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 8
------------------------------------------
Total frames rendered: 138, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End: 2013-05-04, 22:51:37=================================================
------------------------------------------

Profiler results:

==============================================================
frame - [100%] [avg time: 2.538 ms] [avg calls per frame: 1] [children: 82.2%] [unaccounted: 17.8%]
| scene->Preprocess - [0.0394%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [82.2%] [avg time: 2.086 ms] [avg calls per frame: 1] [children: 81.1%] [unaccounted: 1.06%]
| | CopyResource - [1.18%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [2.09%] [avg time: 0.053 ms] [avg calls per frame: 0]
| | call to encoder - [77.8%] [avg time: 1.974 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0788%] [avg time: 0.002 ms] [avg calls per frame: 0]
==============================================================

PS. I'm using notebook and I have 2 video cards, dunno why but in OBS I can not see second one. Videocard is AMD Radeon 6700M. Unforturantely I have no idea how to check which of cards is working right now and I can't switch between these cards as I wish. Apparently it switches automaticaly during gaming but I don't know that. Year ago tried to find any soft and I didn't made it. People say I can force my PC to run only on radeon in BIOS, but there must be as easier way. Thats all. Thanks.
 

dodgepong

Administrator
Forum Admin
What game are you capturing? Can you get the test version again and post your OBS log + capture hook log on the test thread?
 

fragga

New Member
dodgepong said:
What game are you capturing? Can you get the test version again and post your OBS log + capture hook log on the test thread?
Oh snap! That was fast. Thanks.

Heres log for 51.01
00:56:59: Open Broadcaster Software v0.51.01b (kamehameha test build) - 32bit (´・ω・`)
00:56:59: -------------------------------
00:56:59: CPU Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
00:56:59: CPU Speed: 2394MHz
00:56:59: Physical Memory: 4095MB Total, 4072MB Free
00:56:59: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
00:56:59: monitor 1: pos={0, 0}, size={1366, 768}
00:56:59: Windows Version: 6.1 Build 7601 S
00:56:59: Aero is Disabled
00:56:59: ------------------------------------------
00:56:59: Adapter 1
00:56:59: Video Adapter: Intel(R) HD Graphics Family
00:56:59: Video Adapter Dedicated Video Memory: 2194472960
00:56:59: Video Adapter Shared System Memory: 2100428800
00:56:59: =====Stream Start: 2013-05-05, 00:56:59===============================================
00:56:59: Multithreaded optimizations: On
00:56:59: Base resolution: 1366x768
00:56:59: Output resolution: 1364x768
00:56:59: ------------------------------------------
00:57:01: Loading up D3D10...
00:57:02: Playback device Default
00:57:02: ------------------------------------------
00:57:02: Using desktop audio input: Громкоговорители и головные телефоны (IDT High Definition Audio CODEC)
00:57:02: ------------------------------------------
00:57:02: Using auxilary audio input: Массив встр. микрофона (IDT High Definition Audio CODEC)
00:57:03: ------------------------------------------
00:57:03: Audio Encoding: AAC
00:57:03: bitrate: 160
00:57:03: Using bitmap image
00:57:03: ------------------------------------------
00:57:03: Video Encoding: x264
00:57:03: fps: 30
00:57:03: width: 1364, height: 768
00:57:03: preset: veryfast
00:57:03: CBR: no
00:57:03: CFR: no
00:57:03: max bitrate: 3000
00:57:03: buffer size: 3000
00:57:03: quality: 8
00:57:03: ------------------------------------------
00:57:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:57:04: New Scene
00:57:04: Using bitmap image
00:57:04: Using graphics capture
00:57:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:57:13: New Scene
00:57:54: Using graphics capture
00:57:54: SharedTexCapture hooked
00:58:07: Total frames rendered: 1900, number of frames that lagged: 3 (0.16%) (it's okay for some frames to lag)
00:58:07: =====Stream End: 2013-05-05, 00:58:07=================================================
00:58:08:
00:58:08: Profiler results:
00:58:08:
00:58:08: ==============================================================
00:58:08: frame - [100%] [avg time: 3.014 ms] [avg calls per frame: 1] [children: 72.6%] [unaccounted: 27.4%]
00:58:08: | scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
00:58:08: | video encoding and uploading - [72.6%] [avg time: 2.189 ms] [avg calls per frame: 1] [children: 70.9%] [unaccounted: 1.73%]
00:58:08: | | CopyResource - [1.23%] [avg time: 0.037 ms] [avg calls per frame: 0]
00:58:08: | | conversion to 4:2:0 - [1.69%] [avg time: 0.051 ms] [avg calls per frame: 0]
00:58:08: | | call to encoder - [67.9%] [avg time: 2.048 ms] [avg calls per frame: 0]
00:58:08: | | sending stuff out - [0.0332%] [avg time: 0.001 ms] [avg calls per frame: 0]
00:58:08: ==============================================================
00:58:08:
I was trying to stream WoW. This time I also tried Diablo 3.
 

fragga

New Member
I forgot to tell, in a few moments before I alt+tab to my windowed game I can see windows cursor and if I will move cursor over game window it changes to ingame one. Hope it helps.
 

fragga

New Member
dodgepong said:
Can you post your capture hook log too?

And can you post your logs to the Test build thread instead of here? viewtopic.php?f=20&t=3658

Here you are
2013-05-05, 00:57:54: we're booting up:
00:57:54: (half life scientist) everything.. seems to be in order
00:57:54: D3D9 Present
00:57:54: D3D9EndScene called
00:57:54: found d3d9 present params for window: Diablo III
00:57:54: D3DPRESENT_PARAMETERS {
00:57:54: BackBufferWidth: 1366
00:57:54: BackBufferHeight: 768
00:57:54: BackBufferFormat: D3DFMT_A8R8G8B8
00:57:54: BackBufferCount: 1
00:57:54: MultiSampleType: D3DMULTISAMPLE_NONE
00:57:54: MultiSampleQuality: 0
00:57:54: SwapEffect: D3DSWAPEFFECT_DISCARD
00:57:54: hDeviceWindow: 721870
00:57:54: Windowed: true
00:57:54: EnableAutoDepthStencil: false
00:57:54: AutoDepthStencilFormat: D3DFMT_UNKNOWN
00:57:54: Flags: None
00:57:54: FullScreen_RefreshRateInHz: 0
00:57:54: PresentationInterval: 2147483648
00:57:54: };
00:57:54: successfully set up d3d9 hooks
00:57:54: D3D9Present called
00:57:54: DXGI Present
00:57:54: DoD3D9GPUHook: success00:57:54:
00:57:54: D3DSURFACE_DESC {
00:57:54: Format: D3DFMT_A8R8G8B8
00:57:54: Type: D3DRTYPE_SURFACE
00:57:54: Usage: D3DUSAGE_RENDERTARGET
00:57:54: Pool: D3DPOOL_DEFAULT
00:57:54: MultiSampleType: D3DMULTISAMPLE_NONE
00:57:54: MultiSampleQuality: 0
00:57:54: Width: 1366
00:57:54: Height: 768
00:57:54: };
00:57:54: successfully capturing d3d9 frames via GPU
00:58:07: ---------------------- Cleared D3D9 Capture ----------------------
00:58:07: D3D9EndScene called
00:58:07: D3D9Present called

Where should I search for solution now? In that thread or on 51.01 thread? I use 0.51b. Because it is not causing xsplit to fail with same task.
 

dodgepong

Administrator
Forum Admin
Did you post in the test build thread? Because that is the best place to be getting help about game capture issues.
 
Top