Bug Report Black screen with Arma 2

nxnja

New Member
I'm trying to stream DayZ (arma 2 mod) with the game capture option, but I'm getting a black screen when I do preview stream. I used game capture on another fullscreen game (Counter-strike Global Offensive) and it worked fine. I'm using version 0.472b. The game shows in the game capture options. Anyone know how to fix this?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
First of all I'm just checking to make sure this isn't the case: if the game is minimized, you will have a black screen. The capturing can only happen when the game is open.

If that's not the case, then I would probably have to see more details, such as a log file, and a capture hook log file from %appdata%\obs\pluginData\captureHookLog.txt where arma 2 was last run.
 

nxnja

New Member
I loaded the stream on another computer and had the game loaded on mine, but still got the black screen. Here's the log.

Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
Physical Memory:  4095MB Total, 3736MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 Ti
  Video Adapter Dedicated Video Memory: 1293352960
  Video Adapter Shared System Memory: 2952343552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
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
------------------------------------------
timestamps for 'Microphone (High Definition Audio Device)' just decided to go wacky.  reverting to desktop time.  PRAISE WONDERFUL DEVICE DRIVERS
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
Total frames rendered: 194, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:2     Avg QP:15.89  size: 31238
x264: frame P:41    Avg QP:16.38  size:  2229
x264: frame B:113   Avg QP:18.65  size:   121
x264: consecutive B-frames:  2.5%  1.3%  0.0% 96.2%
x264: mb I  I16..4: 81.6% 16.2%  2.1%
x264: mb P  I16..4:  0.2%  0.2%  0.0%  P16..4:  6.3%  0.5%  0.1%  0.0%  0.0%    skip:92.6%
x264: mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.1%  skip:99.8%  L0:78.1% L1:13.9% BI: 8.0%
x264: 8x8 transform intra:21.9% inter:54.3%
x264: coded y,uvDC,uvAC intra: 37.6% 11.7% 0.1% inter: 0.4% 1.0% 0.0%
x264: i16 v,h,dc,p: 71% 10% 14%  4%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 13% 51%  2%  5%  3%  4%  3%  4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 42%  7%  8%  5%  5%  3%  3%
x264: i8c dc,h,v,p: 84%  8%  7%  0%
x264: Weighted P-Frames: Y:12.2% UV:9.8%
x264: kb/s:257.59
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
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
------------------------------------------
timestamps for 'Microphone (High Definition Audio Device)' just decided to go wacky.  reverting to desktop time.  PRAISE WONDERFUL DEVICE DRIVERS
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-jfk.justin.tv/app
bufferTime: 2202, outputRateWindowTime: 1000, dropThreshold: 2702
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
Total frames rendered: 2813, number of frames that lagged: 5 (0.18%) (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:12    Avg QP:13.97  size: 18273
x264: frame P:699   Avg QP:15.41  size:  1472
x264: frame B:2064  Avg QP:18.67  size:    70
x264: consecutive B-frames:  0.6%  0.4%  0.5% 98.5%
x264: mb I  I16..4: 87.9% 11.1%  1.0%
x264: mb P  I16..4:  0.1%  0.1%  0.0%  P16..4:  3.0%  0.1%  0.0%  0.0%  0.0%    skip:96.8%
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:60.4% L1:34.8% BI: 4.8%
x264: 8x8 transform intra:13.6% inter:55.9%
x264: coded y,uvDC,uvAC intra: 24.5% 7.1% 0.1% inter: 0.3% 0.3% 0.0%
x264: i16 v,h,dc,p: 82%  6%  9%  3%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 12% 52%  2%  5%  3%  4%  3%  4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 13% 43%  6%  7%  5%  5%  3%  3%
x264: i8c dc,h,v,p: 90%  5%  4%  0%
x264: Weighted P-Frames: Y:1.9% UV:1.4%
x264: kb/s:120.07
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.813 ms] [avg calls per frame: 1] [children: 92.8%] [unaccounted: 7.19%]
| scene->Preprocess - [0.0128%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [92.8%] [avg time: 7.25 ms] [avg calls per frame: 1] [children: 30.7%] [unaccounted: 62.1%]
| | CopyResource - [0.205%] [avg time: 0.016 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.832%] [avg time: 0.065 ms] [avg calls per frame: 0]
| | call to encoder - [29.6%] [avg time: 2.309 ms] [avg calls per frame: 0]
| | sending stuff out - [0.115%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================

edit: I just remembered I'm using SweetFX, I read in another post that things that hook into the game can cause the black screen. I'll try disabling that and post the results.

edit2: Disabled SweetFX and exited out of MSI afterburner, still get that black screen though.
 

belboz

Member
For me Arma2 (DayZ in my case) works fine when I run OBS as admin.

If I run OBS normally game capture doesn't even show Arma2. Even software capture methods only get a black screen.

Soon as I run OBS as admin though the game shows up in game capture plugin, and software captures work too.
 

Fero

New Member
I think SweetFX graphics injector is a culprit here.
I can record the DayZ game-play fine without running SweetFX, yet as soon as I drop DLL/FX/INI files back to enable it my recording loses picture. Sound from all the sources is present, picture is black.

Here are the logs for both instances, in each a "Preview Stream" + Alt-Tab to game were done to confirm the presence/absence of the picture.

Log with SweetFX enabled - black screen with the sound.
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory: 4095MB Total, 1212MB Free
stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 560 Ti
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221372928
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
Total frames rendered: 672, number of frames that lagged: 2 (0.30%) (it's okay for some frames to lag)
x264: frame I:3 Avg QP:10.00 size: 485
x264: frame P:158 Avg QP:12.03 size: 37
x264: frame B:466 Avg QP:15.64 size: 34
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
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%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:7.26
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
Total frames rendered: 15341, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:62 Avg QP: 9.05 size: 248
x264: frame P:3855 Avg QP:12.06 size: 37
x264: frame B:11379 Avg QP:15.67 size: 34
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
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%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:7.04
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 6.575 ms] [avg calls per frame: 1] [children: 96.3%] [unaccounted: 3.71%]
| scene->Preprocess - [0.106%] [avg time: 0.007 ms] [avg calls per frame: 1]
| video encoding and uploading - [96.2%] [avg time: 6.324 ms] [avg calls per frame: 1] [children: 64%] [unaccounted: 32.2%]
| | CopyResource - [0.7%] [avg time: 0.046 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.94%] [avg time: 0.259 ms] [avg calls per frame: 0]
| | call to encoder - [59.1%] [avg time: 3.884 ms] [avg calls per frame: 0]
| | sending stuff out - [0.243%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================

Log with SweetFX disabled (renamed file extensions, so injector does not initiate) - both picture and sound are present.
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory: 4095MB Total, 2139MB Free
stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 560 Ti
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221372928
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 321, number of frames that lagged: 3 (0.93%) (it's okay for some frames to lag)
x264: frame I:2 Avg QP:15.18 size: 34311
x264: frame P:69 Avg QP:17.94 size: 362
x264: frame B:204 Avg QP:27.49 size: 80
x264: consecutive B-frames: 0.7% 0.0% 0.0% 99.3%
x264: mb I I16..4: 70.5% 9.7% 19.9%
x264: mb P I16..4: 1.1% 0.0% 0.0% P16..4: 1.8% 0.4% 0.1% 0.0% 0.0% skip:96.7%
x264: mb B I16..4: 0.6% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct: 0.1% skip:99.2% L0:53.9% L1:46.1% BI: 0.0%
x264: 8x8 transform intra:5.1% inter:35.3%
x264: coded y,uvDC,uvAC intra: 13.8% 13.6% 4.0% inter: 0.1% 0.4% 0.0%
x264: i16 v,h,dc,p: 35% 62% 2% 1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 38% 32% 2% 5% 3% 6% 1% 8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 32% 16% 4% 6% 3% 9% 2% 9%
x264: i8c dc,h,v,p: 37% 59% 4% 1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: ref P L0: 95.4% 4.6%
x264: ref B L0: 68.9% 31.1%
x264: ref B L1: 85.8% 14.2%
x264: kb/s:78.53
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 7564, number of frames that lagged: 659 (8.71%) (it's okay for some frames to lag)
x264: frame I:271 Avg QP:29.02 size: 82429
x264: frame P:4817 Avg QP:30.87 size: 23012
x264: frame B:2431 Avg QP:33.38 size: 5786
x264: consecutive B-frames: 41.1% 46.2% 3.2% 9.5%
x264: mb I I16..4: 12.7% 36.1% 51.2%
x264: mb P I16..4: 5.2% 10.6% 4.2% P16..4: 26.1% 17.3% 7.5% 0.0% 0.0% skip:29.1%
x264: mb B I16..4: 0.9% 1.3% 0.3% B16..8: 22.9% 7.2% 0.6% direct: 6.0% skip:60.9% L0:31.2% L1:51.0% BI:17.8%
x264: 8x8 transform intra:49.5% inter:24.0%
x264: coded y,uvDC,uvAC intra: 83.7% 39.3% 9.3% inter: 22.2% 4.9% 0.1%
x264: i16 v,h,dc,p: 16% 17% 51% 16%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 18% 31% 4% 8% 5% 7% 6% 9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 16% 20% 9% 8% 7% 9% 7% 9%
x264: i8c dc,h,v,p: 72% 15% 11% 2%
x264: Weighted P-Frames: Y:26.9% UV:12.1%
x264: ref P L0: 88.2% 11.8%
x264: ref B L0: 87.3% 12.7%
x264: ref B L1: 99.8% 0.2%
x264: kb/s:3537.29
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 14.016 ms] [avg calls per frame: 1] [children: 93.9%] [unaccounted: 6.14%]
| scene->Preprocess - [0.0928%] [avg time: 0.013 ms] [avg calls per frame: 1]
| video encoding and uploading - [93.8%] [avg time: 13.143 ms] [avg calls per frame: 1] [children: 82.9%] [unaccounted: 10.9%]
| | CopyResource - [0.642%] [avg time: 0.09 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.521%] [avg time: 0.073 ms] [avg calls per frame: 0]
| | call to encoder - [81.3%] [avg time: 11.4 ms] [avg calls per frame: 0]
| | sending stuff out - [0.371%] [avg time: 0.052 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.

No OBS options were changed, just the SweetFX being used or not.

Is it possible to address this incompatibility with SweetFX? It does so much for vanilla graphics, I hardly want to run the game without it. Capping the window option (with SweetFX running) degrades frame-rate so much on my hardware that the game becomes unplayable.

Thx for any info and help.
 

nxnja

New Member
belboz said:
For me Arma2 (DayZ in my case) works fine when I run OBS as admin.

If I run OBS normally game capture doesn't even show Arma2. Even software capture methods only get a black screen.

Soon as I run OBS as admin though the game shows up in game capture plugin, and software captures work too.

I have UAC disabled so running it as admin wouldn't change anything.

Fero said:
I think SweetFX graphics injector is a culprit here.
I can record the DayZ game-play fine without running SweetFX, yet as soon as I drop DLL/FX/INI files back to enable it my recording loses picture. Sound from all the sources is present, picture is black.

Here are the logs for both instances, in each a "Preview Stream" + Alt-Tab to game were done to confirm the presence/absence of the picture.

Log with SweetFX enabled - black screen with the sound.
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory: 4095MB Total, 1212MB Free
stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 560 Ti
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221372928
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
Total frames rendered: 672, number of frames that lagged: 2 (0.30%) (it's okay for some frames to lag)
x264: frame I:3 Avg QP:10.00 size: 485
x264: frame P:158 Avg QP:12.03 size: 37
x264: frame B:466 Avg QP:15.64 size: 34
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
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%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:7.26
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
Total frames rendered: 15341, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:62 Avg QP: 9.05 size: 248
x264: frame P:3855 Avg QP:12.06 size: 37
x264: frame B:11379 Avg QP:15.67 size: 34
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
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%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:7.04
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 6.575 ms] [avg calls per frame: 1] [children: 96.3%] [unaccounted: 3.71%]
| scene->Preprocess - [0.106%] [avg time: 0.007 ms] [avg calls per frame: 1]
| video encoding and uploading - [96.2%] [avg time: 6.324 ms] [avg calls per frame: 1] [children: 64%] [unaccounted: 32.2%]
| | CopyResource - [0.7%] [avg time: 0.046 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [3.94%] [avg time: 0.259 ms] [avg calls per frame: 0]
| | call to encoder - [59.1%] [avg time: 3.884 ms] [avg calls per frame: 0]
| | sending stuff out - [0.243%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================

Log with SweetFX disabled - both picture and sound are present.
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory: 4095MB Total, 2139MB Free
stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 560 Ti
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221372928
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 321, number of frames that lagged: 3 (0.93%) (it's okay for some frames to lag)
x264: frame I:2 Avg QP:15.18 size: 34311
x264: frame P:69 Avg QP:17.94 size: 362
x264: frame B:204 Avg QP:27.49 size: 80
x264: consecutive B-frames: 0.7% 0.0% 0.0% 99.3%
x264: mb I I16..4: 70.5% 9.7% 19.9%
x264: mb P I16..4: 1.1% 0.0% 0.0% P16..4: 1.8% 0.4% 0.1% 0.0% 0.0% skip:96.7%
x264: mb B I16..4: 0.6% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct: 0.1% skip:99.2% L0:53.9% L1:46.1% BI: 0.0%
x264: 8x8 transform intra:5.1% inter:35.3%
x264: coded y,uvDC,uvAC intra: 13.8% 13.6% 4.0% inter: 0.1% 0.4% 0.0%
x264: i16 v,h,dc,p: 35% 62% 2% 1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 38% 32% 2% 5% 3% 6% 1% 8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 32% 16% 4% 6% 3% 9% 2% 9%
x264: i8c dc,h,v,p: 37% 59% 4% 1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: ref P L0: 95.4% 4.6%
x264: ref B L0: 68.9% 31.1%
x264: ref B L1: 85.8% 14.2%
x264: kb/s:78.53
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1680x1050
Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{217c8213-e692-4667-827f-9a84e16d8db5}
------------------------------------------
Using desktop audio input: Speakers (ASUS Xonar DX Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DX Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 25
width: 1120, height: 700
preset: faster
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 6
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 7564, number of frames that lagged: 659 (8.71%) (it's okay for some frames to lag)
x264: frame I:271 Avg QP:29.02 size: 82429
x264: frame P:4817 Avg QP:30.87 size: 23012
x264: frame B:2431 Avg QP:33.38 size: 5786
x264: consecutive B-frames: 41.1% 46.2% 3.2% 9.5%
x264: mb I I16..4: 12.7% 36.1% 51.2%
x264: mb P I16..4: 5.2% 10.6% 4.2% P16..4: 26.1% 17.3% 7.5% 0.0% 0.0% skip:29.1%
x264: mb B I16..4: 0.9% 1.3% 0.3% B16..8: 22.9% 7.2% 0.6% direct: 6.0% skip:60.9% L0:31.2% L1:51.0% BI:17.8%
x264: 8x8 transform intra:49.5% inter:24.0%
x264: coded y,uvDC,uvAC intra: 83.7% 39.3% 9.3% inter: 22.2% 4.9% 0.1%
x264: i16 v,h,dc,p: 16% 17% 51% 16%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 18% 31% 4% 8% 5% 7% 6% 9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 16% 20% 9% 8% 7% 9% 7% 9%
x264: i8c dc,h,v,p: 72% 15% 11% 2%
x264: Weighted P-Frames: Y:26.9% UV:12.1%
x264: ref P L0: 88.2% 11.8%
x264: ref B L0: 87.3% 12.7%
x264: ref B L1: 99.8% 0.2%
x264: kb/s:3537.29
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 14.016 ms] [avg calls per frame: 1] [children: 93.9%] [unaccounted: 6.14%]
| scene->Preprocess - [0.0928%] [avg time: 0.013 ms] [avg calls per frame: 1]
| video encoding and uploading - [93.8%] [avg time: 13.143 ms] [avg calls per frame: 1] [children: 82.9%] [unaccounted: 10.9%]
| | CopyResource - [0.642%] [avg time: 0.09 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.521%] [avg time: 0.073 ms] [avg calls per frame: 0]
| | call to encoder - [81.3%] [avg time: 11.4 ms] [avg calls per frame: 0]
| | sending stuff out - [0.371%] [avg time: 0.052 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.

No OBS options were changed, just the SweetFX being used or not.

Is it possible to address this incompatibility with SweetFX? It does so much for vanilla graphics, I hardly want to run the game without it. Capping the window option (with SweetFX running) degrades frame-rate so much on my hardware that the game becomes unplayable.

Thx for any info and help.

Disabling SweetFX (I deleted all the files, instead of just turning it off) still didn't fix it for me. I have no idea what it could be, since I closed MSI afterburner also.

I don't think they can fix the SweetFX compatibility though because SweetFX and game capture both have to hook into the game and only one is able to, that's why the display from MSI afterburner doesn't work with SweetFX.
 

Fero

New Member
nxnja said:
Disabling SweetFX (I deleted all the files, instead of just turning it off) still didn't fix it for me. I have no idea what it could be, since I closed MSI afterburner also.

I don't think they can fix the SweetFX compatibility though because SweetFX and game capture both have to hook into the game and only one is able to, that's why the display from MSI afterburner doesn't work with SweetFX.

I renamed the files to disable, added '_' in the extensions.

MSI afterburner OSD does work with SweetFX, you need to enable compatibility mode in On Screen Display server properties - click on a big wrench > General tab > Enable ".... modified Direct3D runtime libraries".
 

nxnja

New Member
Fero said:
nxnja said:
Disabling SweetFX (I deleted all the files, instead of just turning it off) still didn't fix it for me. I have no idea what it could be, since I closed MSI afterburner also.

I don't think they can fix the SweetFX compatibility though because SweetFX and game capture both have to hook into the game and only one is able to, that's why the display from MSI afterburner doesn't work with SweetFX.

I renamed the files to disable, added '_' in the extensions.

MSI afterburner OSD does work with SweetFX, you need to enable compatibility mode in On Screen Display server properties - click on a big wrench > General tab > Enable ".... modified Direct3D runtime libraries".

Ah I didn't know, thanks. Yeah renaming them seems much more convenient.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
"error code = 5" as reported in the log file means access denied, for whatever reason. That was reported in your first log, usually means lack of permissions or something, maybe not running in administrative mode, I don't quite know for sure what exactly would be causing it in this case. The other two logs simply seem to indicate that it was completely unable to initiate a capture, which may or may not be due to the graphics app thing you're using. If you disable it, you must make sure it's fully disabled and probably have to restart to ensure it doesn't hook into games further or something, not -entirely- sure.

Those are just my theories, if possible if you get a log that does not have any warning and does not say "SharedTexCapture hooked", then if possible include the file %appdata%\obs\pluginData\captureHookLog.txt along with it.
 

nxnja

New Member
Jim said:
"error code = 5" as reported in the log file means access denied, for whatever reason. That was reported in your first log, usually means lack of permissions or something, maybe not running in administrative mode, I don't quite know for sure what exactly would be causing it in this case. The other two logs simply seem to indicate that it was completely unable to initiate a capture, which may or may not be due to the graphics app thing you're using. If you disable it, you must make sure it's fully disabled and probably have to restart to ensure it doesn't hook into games further or something, not -entirely- sure.

Those are just my theories, if possible if you get a log that does not have any warning and does not say "SharedTexCapture hooked", then if possible include the file %appdata%\obs\pluginData\captureHookLog.txt along with it.

I closed MSI afterburner, deleted all SweetFX files, restarted, disabled steam overlay, ran OBS as admin, and still nothing :\

Here's the log from after I tried all that

Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 560 Ti
Video Adapter Dedicated Video Memory: 1293352960
Video Adapter Shared System Memory: 2952343552
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (High Definition Audio Device)
------------------------------------------
Using auxilary audio input: Microphone (High Definition Audio Device)
------------------------------------------
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
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-jfk.justin.tv/app
bufferTime: 1974, outputRateWindowTime: 1000, dropThreshold: 2474
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
Total frames rendered: 2145, number of frames that lagged: 4 (0.19%) (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:9 Avg QP:10.03 size: 4864
x264: frame P:530 Avg QP:11.81 size: 141
x264: frame B:1568 Avg QP:14.78 size: 72
x264: consecutive B-frames: 0.7% 0.1% 0.1% 99.1%
x264: mb I I16..4: 96.7% 3.1% 0.2%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0.0% skip:99.7%
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:80.6% L1:14.2% BI: 5.2%
x264: 8x8 transform intra:4.9% inter:32.8%
x264: coded y,uvDC,uvAC intra: 8.0% 2.4% 0.0% inter: 0.0% 0.1% 0.0%
x264: i16 v,h,dc,p: 93% 3% 4% 1%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 13% 55% 2% 4% 3% 3% 3% 3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 49% 5% 6% 4% 4% 3% 3%
x264: i8c dc,h,v,p: 96% 2% 2% 0%
x264: Weighted P-Frames: Y:0.9% UV:0.8%
x264: kb/s:26.25
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 5.786 ms] [avg calls per frame: 1] [children: 88.9%] [unaccounted: 11.1%]
| scene->Preprocess - [0.0173%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [88.8%] [avg time: 5.14 ms] [avg calls per frame: 1] [children: 40.3%] [unaccounted: 48.6%]
| | CopyResource - [0.277%] [avg time: 0.016 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.518%] [avg time: 0.03 ms] [avg calls per frame: 0]
| | call to encoder - [39.3%] [avg time: 2.273 ms] [avg calls per frame: 0]
| | sending stuff out - [0.19%] [avg time: 0.011 ms] [avg calls per frame: 0]
==============================================================

And capturehooklog

D3D9 Present
GL Present
DoD3D9GPUHook: success
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It seems like you had it working at some point with some game if you had that in the capture hook log, but I don't know if that was specifically with arma 2. I don't quite know for sure. Is arma a game you can run in a windowed mode? If it can run in a borderless windowed mode perhaps you can use window capture for the time being, I'm not entirely sure why but something is preventing you from being able to get the game hooked.
 

nxnja

New Member
Jim said:
It seems like you had it working at some point with some game if you had that in the capture hook log, but I don't know if that was specifically with arma 2. I don't quite know for sure. Is arma a game you can run in a windowed mode? If it can run in a borderless windowed mode perhaps you can use window capture for the time being, I'm not entirely sure why but something is preventing you from being able to get the game hooked.

Yeah I have no idea what could be causing it, besides the things suggested. It's all good though, I can run it in windowed mode. Thanks for trying to help.
 
Top