Bug Report Game Capture sometimes black screen, sometimes not

mister49

New Member
I'm using OBS to capture World of Warcraft. I find I have to alt+tab out of WoW to get OBS to capture the game. When it captures, it runs great and I'm really happy with it but it gets annoying to have to keep alt+tabbing to get it to capture.
This happens when running Full Screen mode. I can never get it to work with Windowed (Full Screen) mode which is unfortunate because it would make it easier to work with multiple monitors. If I use the normal Window capture when it's in Windowed mode, it works fine but the performance is horrible.

EDIT: I'm using the latest Intel graphics driver and I updated the DX runtimes.

Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
CPU Speed: 2494MHz
Physical Memory:  4002MB Total, 1124MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={1920, 0}, size={1280, 800}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Using auxilary audio input: Microphone (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 203, number of frames that lagged: 10 (4.93%) (it's okay for some frames to lag)
x264: frame I:1     Avg QP:35.71  size: 52053
x264: frame P:41    Avg QP:22.63  size:  5937
x264: frame B:123   Avg QP:26.68  size:    69
x264: consecutive B-frames:  0.6%  0.0%  0.0% 99.4%
x264: mb I  I16..4: 40.9% 49.5%  9.6%
x264: mb P  I16..4:  0.2%  0.1%  0.0%  P16..4: 12.3%  0.7%  0.2%  0.0%  0.0%    skip:86.5%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%  L0: 2.8% L1:97.2% BI: 0.0%
x264: 8x8 transform intra:47.3% inter:32.5%
x264: coded y,uvDC,uvAC intra: 41.4% 31.5% 10.5% inter: 1.1% 1.0% 0.1%
x264: i16 v,h,dc,p: 29% 34% 25% 11%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 23% 36%  3%  8%  4%  6%  3%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 24% 17%  6%  6%  6%  5%  5%  5%
x264: i8c dc,h,v,p: 74% 17%  8%  1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:423.36
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Using auxilary audio input: Microphone (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#7&1bc2aa93&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'

Using directshow input
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 473, number of frames that lagged: 93 (19.66%) (it's okay for some frames to lag)
x264: frame I:2     Avg QP:33.77  size: 60356
x264: frame P:151   Avg QP:26.47  size:  7730
x264: frame B:283   Avg QP:27.94  size:   554
x264: consecutive B-frames: 12.1%  2.3%  2.7% 82.9%
x264: mb I  I16..4: 39.9% 48.0% 12.0%
x264: mb P  I16..4:  3.5%  1.8%  0.1%  P16..4: 11.3%  1.5%  0.5%  0.0%  0.0%    skip:81.2%
x264: mb B  I16..4:  0.2%  0.1%  0.0%  B16..8:  1.6%  0.2%  0.0%  direct: 0.8%  skip:97.2%  L0:46.4% L1:51.0% BI: 2.6%
x264: 8x8 transform intra:35.7% inter:32.9%
x264: coded y,uvDC,uvAC intra: 29.3% 56.1% 31.5% inter: 1.2% 2.9% 0.2%
x264: i16 v,h,dc,p: 45% 23% 24%  8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 14% 48%  3%  6%  4%  5%  3%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 26% 16%  5%  6%  5%  6%  5%  5%
x264: i8c dc,h,v,p: 66% 16% 15%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:656.46
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Using auxilary audio input: Microphone (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#7&1bc2aa93&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'

Using directshow input
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using text output
Total frames rendered: 775, number of frames that lagged: 35 (4.52%) (it's okay for some frames to lag)
x264: frame I:3     Avg QP:32.55  size: 69877
x264: frame P:186   Avg QP:23.96  size:  4147
x264: frame B:549   Avg QP:26.71  size:   157
x264: consecutive B-frames:  0.7%  0.0%  0.0% 99.3%
x264: mb I  I16..4: 30.8% 55.5% 13.7%
x264: mb P  I16..4:  0.3%  0.2%  0.0%  P16..4:  8.2%  0.8%  0.3%  0.0%  0.0%    skip:90.3%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.2%  skip:99.6%  L0:40.2% L1:53.3% BI: 6.5%
x264: 8x8 transform intra:50.2% inter:32.4%
x264: coded y,uvDC,uvAC intra: 55.6% 44.3% 20.6% inter: 0.7% 0.9% 0.1%
x264: i16 v,h,dc,p: 28% 27% 32% 13%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 33%  3%  9%  4%  7%  3%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 25% 15%  6%  7%  6%  6%  5%  5%
x264: i8c dc,h,v,p: 65% 20% 13%  2%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:337.95
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Using auxilary audio input: Microphone (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#7&1bc2aa93&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'

Using directshow input
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 8
------------------------------------------
SharedTexCapture hooked
SharedTexCapture hooked
Total frames rendered: 4820, number of frames that lagged: 336 (6.97%) (it's okay for some frames to lag)
x264: frame I:20    Avg QP:30.94  size: 84844
x264: frame P:1220  Avg QP:24.07  size:  4133
x264: frame B:3543  Avg QP:26.85  size:   168
x264: consecutive B-frames:  1.1%  0.2%  0.2% 98.5%
x264: mb I  I16..4: 24.9% 56.9% 18.1%
x264: mb P  I16..4:  0.4%  0.2%  0.0%  P16..4:  8.0%  0.8%  0.3%  0.0%  0.0%    skip:90.4%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.2%  skip:99.6%  L0:41.3% L1:52.7% BI: 6.0%
x264: 8x8 transform intra:48.4% inter:31.7%
x264: coded y,uvDC,uvAC intra: 60.1% 45.9% 21.6% inter: 0.7% 0.9% 0.1%
x264: i16 v,h,dc,p: 36% 23% 29% 12%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 30%  3% 10%  5%  7%  4%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 25% 15%  6%  7%  6%  6%  5%  6%
x264: i8c dc,h,v,p: 63% 21% 14%  3%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:349.27
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Headphones (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Using auxilary audio input: Microphone (Cirrus Logic CS4206B (AB 82))
------------------------------------------
Audio Encoding: AAC
    bitrate: 64
Using text output
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#7&1bc2aa93&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'

Using directshow input
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2000
    buffer size: 2000
    quality: 5
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lax.justin.tv/app
bufferTime: 1401, outputRateWindowTime: 1000, dropThreshold: 1901
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Using graphics capture
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Using graphics capture
Using Window Capture
Using graphics capture
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
SharedTexCapture hooked
Total frames rendered: 262500, number of frames that lagged: 19341 (7.37%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:1090  Avg QP:22.86  size: 68076
x264: frame P:94631 Avg QP:27.61  size:  6685
x264: frame B:166742 Avg QP:30.71  size:   883
x264: consecutive B-frames: 11.2%  9.1%  9.7% 70.0%
x264: mb I  I16..4: 27.3% 32.0% 40.7%
x264: mb P  I16..4:  3.0%  3.3%  0.6%  P16..4: 14.6%  5.9%  2.1%  0.0%  0.0%    skip:70.4%
x264: mb B  I16..4:  0.2%  0.1%  0.0%  B16..8:  3.9%  1.1%  0.1%  direct: 0.7%  skip:93.8%  L0:40.6% L1:52.3% BI: 7.1%
x264: 8x8 transform intra:44.9% inter:29.6%
x264: coded y,uvDC,uvAC intra: 44.2% 44.1% 17.9% inter: 2.6% 2.9% 0.4%
x264: i16 v,h,dc,p: 33% 40% 20%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 27% 33%  3%  6%  4%  6%  3%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 26% 18%  6%  6%  6%  7%  5%  7%
x264: i8c dc,h,v,p: 53% 28% 14%  4%
x264: Weighted P-Frames: Y:0.3% UV:0.2%
x264: kb/s:721.79
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 17.673 ms] [avg calls per frame: 1] [children: 57.3%] [unaccounted: 42.7%]
| scene->Preprocess - [11.4%] [avg time: 2.011 ms] [avg calls per frame: 1]
| video encoding and uploading - [45.9%] [avg time: 8.112 ms] [avg calls per frame: 1] [children: 24.5%] [unaccounted: 21.4%]
| | CopyResource - [1.95%] [avg time: 0.344 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.515%] [avg time: 0.091 ms] [avg calls per frame: 0]
| | call to encoder - [21.9%] [avg time: 3.864 ms] [avg calls per frame: 0]
| | sending stuff out - [0.221%] [avg time: 0.039 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
There's a slight bug with game capture reacquiring at the moment, and WoW 64bit also seems to have some issues.
 

mister49

New Member
Jim said:
There's a slight bug with game capture reacquiring at the moment, and WoW 64bit also seems to have some issues.

thanks for the response. at least it's known to happen.

btw, i eventually got Windowed (Full Screen) to work at times. Just have to keep switching and/or opening/closing OBS.

Hope it gets fixed soon. When it works it runs beautifully!
 
Top