Bug Report Streaming Arma 2

Zethrian

New Member
Hello everyone,

I'm having an issue with streaming games with the "Game Capture" tool in OBS. No matter what I do the game capture just shows up black on the stream. As of right now I can stream every game I have in fullscreen with just software capture except Arma 2, which is the one I want to stream. Any help or inquiry into what this means would be much appreciated.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you try to do it and then give me a log from the app, then also the log file from %appdata%\obs\pluginData\captureHookLog.txt? (copy and paste that into start/run or windowskey-r)
 

Zethrian

New Member
The file at %appdata%\Roaming\obs\pluginData\captureHookLog.txt? contained the following:

D3D9 Present
DoD3D9GPUHook: success
DoD3D9GPUHook: success


As for a log file from the application itself; I could not find one.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
the log files for the application can be accessed via the application itself or through %appdata%\obs\logs or via the "how to post a log" thread which was stickied on this very forum ^_^
 

Zethrian

New Member
Hello again,

For whatever reason I thought you meant a log file from the application I was attempting to run, Arma 2. Silly me.

The log file is as follows:

Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
CPU Speed: 2294MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 2186903552
  Video Adapter Shared System Memory: 3972298752
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G930 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    max bitrate: 2100
    buffer size: 2100
    quality: 5
------------------------------------------
bufferTime: 1668, outputRateWindowTime: 1000, dropThreshold: 2168
Total frames rendered: 1795, number of frames that lagged: 4 (0.22%) (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%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.274 ms] [avg calls per frame: 1] [children: 91.1%] [unaccounted: 8.88%]
| scene->Preprocess - [0.055%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [91.1%] [avg time: 6.624 ms] [avg calls per frame: 1] [children: 57.6%] [unaccounted: 33.5%]
| | CopyResource - [1.09%] [avg time: 0.079 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.234%] [avg time: 0.017 ms] [avg calls per frame: 0]
| | call to encoder - [56.2%] [avg time: 4.085 ms] [avg calls per frame: 0]
| | sending stuff out - [0.124%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you do me a favor and use the latest test version and get the logs from it instead? It logs a little more data that I can use to tell if things are actually working as intended or not. 0.463a test 5 is the latest
 

Zethrian

New Member
Thanks for taking some time to attempt to help me with my issue! I'm completely new to streaming and I'm just trying to figure stuff out at this point. :D

Log file:

Code:
Open Broadcaster Software v0.463a (capture card audio test 5) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
CPU Speed: 2294MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 2186903552
  Video Adapter Shared System Memory: 3972298752
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (3- Logitech G930 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 96
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    max bitrate: 2100
    buffer size: 2100
    quality: 5
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Microphone (3- Logitech G930 Headset)' just went 10906669 off, calculating timestamps from here out
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1883, outputRateWindowTime: 1000, dropThreshold: 2383
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Total frames rendered: 1976, number of frames that lagged: 14 (0.71%) (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%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 9.725 ms] [avg calls per frame: 1] [children: 91.8%] [unaccounted: 8.17%]
| scene->Preprocess - [38.6%] [avg time: 3.752 ms] [avg calls per frame: 1]
| video encoding and uploading - [53.2%] [avg time: 5.178 ms] [avg calls per frame: 1] [children: 26.8%] [unaccounted: 26.4%]
| | CopyResource - [0.36%] [avg time: 0.035 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0617%] [avg time: 0.006 ms] [avg calls per frame: 0]
| | call to encoder - [26.3%] [avg time: 2.558 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0823%] [avg time: 0.008 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well that's strange, it says it successfully made the connection to the game. Maybe there's something up with the game that's causing the app to get an unset backbuffer or something. Don't really know for sure.
 

NoSFeRaTU

New Member
Jim said:
Well that's strange, it says it successfully made the connection to the game. Maybe there's something up with the game that's causing the app to get an unset backbuffer or something. Don't really know for sure.
That's definitely not the game problem. I test specially and can game capture arma2 just fine:
Tested patch version is 1.62.97448
obs-dayz.jpg
 

Zethrian

New Member
I read all these posts on various threads for various different streaming softwares that say to always use game capture for full screen games but my game capture just does not work. It crashes most games I use it with and just stays black for all the other ones. I'm sure my laptop is just set up really odd and is causing all these issues. If that is the case though, I fear I don't have anyway of fixing that. At least I have no idea how to.
 

Krazy

Town drunk
Are you using any programs with an overlay like Teamspeak? Anything that monitor FPS like MSI Afterburner or EVGA Precision? Anything that hooks into the game will conflict with OBS.

Also, you said you are on a laptop, do you have both an integrated and a dedicated GPU? You need to make sure OBS is set to using the dedicated GPU and not the integrated one.
 

Zethrian

New Member
I was using Fraps but I stopped using it a couple days ago. Didn't make any difference whether OBS worked or not. And I have no other programs such as MSI Afterburner running in the background ever.

As for the Switchable graphics thing, it was set to use the integrated one and I switched it to the dedicated card and it did not make any difference. Most of my full screen games still run just fine on the Monitor Capture and not on the Game Capture and Arma 2 will still not stream with either of them.
 

Zethrian

New Member
And for what it's worth, all of these things are consistent across Xsplit and FFsplit. I can stream some games full screen with no issues just using monitor capture with both Xsplit and FFsplit. I tried Dxtory to no avail with OBS and Xsplit, and I have no idea if FFsplit has a game capture or not.
 

Krazy

Town drunk
I'm still betting it's some other program interfering somehow. Just go through and close out anything you can, one by one until you find the culprit.

Bit of a silly question, but your games are also set to use the dedicated GPU as well, right?
 

Zethrian

New Member
Yes, all the games I play are set to run on the dedicated GPU. Everytime I play a new name I change the video card to the dedicated card. It annoys me that it defaults to the integrated one everytime, and to my knowledge there is no way to change it with the setup I have.
 

kballero

New Member
Had the same problem over here.

My case is almost the same. The only difference is that my stream starts working well, but if I alt+tab the game comes to black. Aftar that, it doesn´t matter if I close the program, open it again, change scene, use monitor instead of custom... the game is always black, but the desktop is seen perfectly

A friend of mine has it working well streaming Arma 2 through game capture experimental, he told me his config to use the same as his, but nothing :(

Code:
Open Broadcaster Software v0.463a (capture card audio test 5) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
CPU Speed: 2400MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 670
  Video Adapter Dedicated Video Memory: 2091581440
  Video Adapter Shared System Memory: 2147479552
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Micrófono (SteelSeries Diablo III Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 800
    buffer size: 800
    quality: 8
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Micrófono (SteelSeries Diablo III Headset)' just went 495038440 off, calculating timestamps from here out
Total frames rendered: 1218, number of frames that lagged: 16 (1.31%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Micrófono (SteelSeries Diablo III Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 800
    buffer size: 800
    quality: 8
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Micrófono (SteelSeries Diablo III Headset)' just went 495084386 off, calculating timestamps from here out
Total frames rendered: 621, number of frames that lagged: 3 (0.48%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Micrófono (SteelSeries Diablo III Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 800
    buffer size: 800
    quality: 8
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Micrófono (SteelSeries Diablo III Headset)' just went 495253068 off, calculating timestamps from here out
Total frames rendered: 622, number of frames that lagged: 2 (0.32%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Micrófono (SteelSeries Diablo III Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 800
    buffer size: 800
    quality: 8
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Micrófono (SteelSeries Diablo III Headset)' just went 495287649 off, calculating timestamps from here out
Total frames rendered: 233, number of frames that lagged: 3 (1.29%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 6.842 ms] [avg calls per frame: 1] [children: 75.8%] [unaccounted: 24.2%]
| scene->Preprocess - [0.0877%] [avg time: 0.006 ms] [avg calls per frame: 1]
| video encoding and uploading - [75.7%] [avg time: 5.18 ms] [avg calls per frame: 1] [children: 52.9%] [unaccounted: 22.8%]
| | CopyResource - [0.57%] [avg time: 0.039 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.848%] [avg time: 0.058 ms] [avg calls per frame: 0]
| | call to encoder - [51.4%] [avg time: 3.519 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0731%] [avg time: 0.005 ms] [avg calls per frame: 0]
==============================================================
 
Top