Question / Help Capture Game Black Screen when trying to stream via Twitch

Byron

New Member
I'm having issues capturing my game (DayZ) when using OBS on my PC. I watched a few youtube videos which stated that i needed to access my NVIDIA control panel and add the obs.exe, but I do not know which settings I must change. I have an NVIDIA GeForce GTX 560 Ti. Everything else works fine, you can even hear the in-game sound but there is just a plain black screen with my cursor. Any suggestions would be great! The log is below.
Thanks.

Code:
22:26:42: Open Broadcaster Software v0.622b - 64bit ( ^ω^)
22:26:42: -------------------------------
22:26:42: CPU Name: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
22:26:42: CPU Speed: 2673MHz
22:26:42: Physical Memory:  12278MB Total, 6413MB Free
22:26:42: stepping id: 4, model 26, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
22:26:42: monitor 1: pos={0, 0}, size={1680, 1050}
22:26:42: Windows Version: 6.0 Build 6002 S
22:26:42: Aero is Enabled
22:26:42: -------------------------------
22:26:42: OBS Modules:
22:26:42: Base Address     Module
22:26:42: 000000003F9A0000 OBS.exe
22:26:42: 00000000EEDD0000 OBSApi.dll
22:26:42: 00000000F59C0000 DShowPlugin.dll
22:26:42: 00000000F5300000 GraphicsCapture.dll
22:26:42: 00000000F5B20000 NoiseGate.dll
22:26:42: 00000000F43E0000 PSVPlugin.dll
22:26:42: ------------------------------------------
22:26:42: Adapter 1
22:26:42:   Video Adapter: NVIDIA GeForce GTX 560 Ti
22:26:42:   Video Adapter Dedicated Video Memory: 1293352960
22:26:42:   Video Adapter Shared System Memory: 2952671232
22:26:42:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
22:26:42: =====Stream Start: 2014-05-02, 22:26:42===============================================
22:26:42:   Multithreaded optimizations: On
22:26:42:   Base resolution: 1680x1050
22:26:42:   Output resolution: 1120x700
22:26:42: ------------------------------------------
22:26:42: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
22:26:43: ------------------------------------------
22:26:43: Audio Format: 48000 Hz
22:26:43: ------------------------------------------
22:26:43: Audio Channels: 2 Ch
22:26:43: Playback device {0.0.0.00000000}.{936842b7-d16b-4940-be54-02be00cdaff4}
22:26:43: ------------------------------------------
22:26:43: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:26:43: Global Audio time adjust: 0
22:26:43: Using 5.1 speaker setup
22:26:43: ------------------------------------------
22:26:43: Using auxilary audio input: Microphone (Realtek High Definition Audio)
22:26:43: Mic time offset: 0
22:26:43: ------------------------------------------
22:26:43: Audio Encoding: AAC
22:26:43:     bitrate: 128
22:26:43: Using Monitor Capture
22:26:43: Scene buffering time set to 700
22:26:43: ------------------------------------------
22:26:43: Video Encoding: x264
22:26:43:     fps: 30
22:26:43:     width: 1120, height: 700
22:26:43:     preset: veryfast
22:26:43:     profile: main
22:26:43:     keyint: 60
22:26:43:     CBR: yes
22:26:43:     CFR: yes
22:26:43:     max bitrate: 2000
22:26:43:     buffer size: 2000
22:26:43: ------------------------------------------
22:26:45: Using RTMP service: Twitch / Justin.tv
22:26:45:   Server selection: rtmp://live-jfk.justin.tv/app
22:26:45:   Interface: Linksys Wireless-N PCI Adapter WMP300N (802.11, 130 mbps)
22:26:45: Completed handshake with rtmp://live-jfk.justin.tv/app in 305 ms.
22:26:46: SO_SNDBUF was at 8192
22:26:46: SO_SNDBUF is now 65536
22:26:56: Total frames encoded: 374, total frames duplicated: 51 (13.64%)
22:26:56: Total frames rendered: 332, number of late frames: 46 (13.86%) (it's okay for some frames to be late)
22:26:56: RTMPPublisher::SocketLoop: Graceful loop exit
22:26:56: Average send payload: 12292 bytes, average send interval: 45 ms
22:26:56: Number of times waited to send: 0, Waited for a total of 0 bytes
22:26:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
22:26:56: Number of bytes sent: 2409370
22:26:56:
22:26:56: Profiler time results:
22:26:56:
22:26:56: ==============================================================
22:26:56: video thread frame - [100%] [avg time: 38.001 ms] [children: 96.8%] [unaccounted: 3.17%]
22:26:56: | scene->Preprocess - [96.5%] [avg time: 36.67 ms]
22:26:56: | GPU download and conversion - [0.329%] [avg time: 0.125 ms] [children: 0.284%] [unaccounted: 0.0447%]
22:26:56: | | flush - [0.211%] [avg time: 0.08 ms]
22:26:56: | | CopyResource - [0.0368%] [avg time: 0.014 ms]
22:26:56: | | conversion to 4:2:0 - [0.0368%] [avg time: 0.014 ms]
22:26:56: Convert444Threads - [100%] [avg time: 0.691 ms] [children: 99.1%] [unaccounted: 0.868%]
22:26:56: | Convert444toNV12 - [99.1%] [avg time: 0.685 ms]
22:26:56: encoder thread frame - [100%] [avg time: 1.105 ms] [children: 2.17%] [unaccounted: 97.8%]
22:26:56: | sending stuff out - [2.17%] [avg time: 0.024 ms]
22:26:56: ==============================================================
22:26:56:
22:26:56:
22:26:56: Profiler CPU results:
22:26:56:
22:26:56: ==============================================================
22:26:56: video thread frame - [cpu time: avg 7.001 ms, total 2324.41 ms] [avg calls per frame: 1]
22:26:56: | scene->Preprocess - [cpu time: avg 5.732 ms, total 1903.21 ms] [avg calls per frame: 1]
22:26:56: | GPU download and conversion - [cpu time: avg 0.187 ms, total 62.4 ms] [avg calls per frame: 1]
22:26:56: | | flush - [cpu time: avg 0.14 ms, total 46.8 ms] [avg calls per frame: 1]
22:26:56: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:26:56: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:26:56: Convert444Threads - [cpu time: avg 0.575 ms, total 358.802 ms] [avg calls per frame: 2]
22:26:56: | Convert444toNV12 - [cpu time: avg 0.575 ms, total 358.802 ms] [avg calls per frame: 2]
22:26:56: encoder thread frame - [cpu time: avg 1.104 ms, total 390.002 ms] [avg calls per frame: 1]
22:26:56: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:26:56: ==============================================================
22:26:56:
22:26:56: =====Stream End: 2014-05-02, 22:26:56=================================================
22:30:20: =====Stream Start: 2014-05-02, 22:30:20===============================================
22:30:20:   Multithreaded optimizations: On
22:30:20:   Base resolution: 1680x1050
22:30:20:   Output resolution: 1120x700
22:30:20: ------------------------------------------
22:30:20: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
22:30:20: ------------------------------------------
22:30:20: Audio Format: 48000 Hz
22:30:20: ------------------------------------------
22:30:20: Audio Channels: 2 Ch
22:30:20: Playback device {0.0.0.00000000}.{936842b7-d16b-4940-be54-02be00cdaff4}
22:30:20: ------------------------------------------
22:30:20: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:30:20: Global Audio time adjust: 0
22:30:20: Using 5.1 speaker setup
22:30:20: ------------------------------------------
22:30:20: Using auxilary audio input: Microphone (Realtek High Definition Audio)
22:30:20: Mic time offset: 0
22:30:20: ------------------------------------------
22:30:20: Audio Encoding: AAC
22:30:20:     bitrate: 128
22:30:20: Using Monitor Capture
22:30:20: Scene buffering time set to 700
22:30:20: ------------------------------------------
22:30:20: Video Encoding: x264
22:30:20:     fps: 30
22:30:20:     width: 1120, height: 700
22:30:20:     preset: veryfast
22:30:20:     profile: main
22:30:20:     keyint: 60
22:30:20:     CBR: yes
22:30:20:     CFR: yes
22:30:20:     max bitrate: 2000
22:30:20:     buffer size: 2000
22:30:20: ------------------------------------------
22:30:21: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:30:21:   New Scene
22:30:21: Using graphics capture
22:30:21: Trying to hook process: DayZ.exe
22:30:30: Total frames encoded: 279, total frames duplicated: 27 (9.68%)
22:30:30: Total frames rendered: 263, number of late frames: 9 (3.42%) (it's okay for some frames to be late)
 
You were using monitor capture, monitor/window captures cannot capture fullscreen games, only game capture can.

It seems like you had game capture running, but it potentially failed, make sure that you are running OBS as admin before you try again.
 
Thanks Jim, I tried running obs as admin but I still get the same black screen when I use game capture, this time with an error in the log "DoD3D9GPUHook: opening intermediary texture failed, result = 2147942487"
 

Attachments

That error means that there could be something interfering, perhaps a game mod, sweetfx, things like that? Very unusual to see that on a desktop.
 
That's strange because I have no game mods or anything else running really. I even disabled every possible program running that didn't need to be running and reinstalled obs and tried again, and yet still no luck. Would it have anything to do with my graphics card?
 

Attachments

Possibly. Maybe try doing a clean reinstall of your GPU drivers. Avoid the latest beta drivers from NVIDIA, though.
 
I just uninstalled my NVIDIA drivers entirely and then reinstalled them from the website and tried game capture again. Ended up with the exact same result of a black screen, audio is still perfectly fine. I'm beyond stumped now.
 

Attachments

Ah, this error. I recognize this, it means that there's a conflict that's preventing capture, such as another capture program's hook being active, or graphics mods, or programs that draw custom overlays in to the game. On laptops it can mean that the wrong graphics adapter is in use but you're not on a laptop, so definitely seems like some sort of interference.
 
I have the same problem running with the following setup :

Operating System : Windows 8.1 Pro 64-bit
CPU : Intel Core i7 4770K @ 3.50GHz
RAM : 16.0GB Dual-Channel DDR3 @ 1202MHz
Motherboard : ASUSTeK Z87-PRO (SOCKET 1150)
Graphics : EVGA GeForce GTX 980 Superclocked
Display : Asus PB287Q 28" 4k (2560x1440@60Hz)
ISP : 32mbps down / 14mbps up / 8ms

I just reinstalled Windows. I'm not using the beta drivers for my graphic card. I don't have anything else running at the same time. I have NVidia experience but Shadowplay is not running. I tried disabling my secondary monitor but it doesn't change anything. I still get a blackscreen with sounds. It works with any other game.

I did follow several guides about OBS on youtube for DayZ but it's not helping.

PS : I'm not posting about the Arma mod. I play DayZ the original game (early access alpha).

I used to be able to get it working before the last DayZ patch. But the thing is, I also upgraded my monitor from a Samsung LED HD definition to an Asus LED 4k UHD definition and from a GTX 670 FTW to GTX 980 superclocked at the same time the patch occured. I'm not sure which factor made it stop working but good chances it has something to do with it.

Thank you.

17:19:34: =====Stream Start: 2015-02-07, 17:19:34===============================================
17:19:34: Multithreaded optimizations: On
17:19:34: Base resolution: 2560x1440
17:19:34: Output resolution: 2560x1440
17:19:34: ------------------------------------------
17:19:34: Loading up D3D10 on NVIDIA GeForce GTX 980 (Adapter 1)...
17:19:34: ------------------------------------------
17:19:34: Audio Format: 48000 Hz
17:19:34: ------------------------------------------
17:19:34: Audio Channels: 2 Ch
17:19:34: Playback device {0.0.0.00000000}.{435e7bfc-5131-41b3-86f2-83157e8cc760}
17:19:34: ------------------------------------------
17:19:34: Using desktop audio input: Speakers (SteelSeries H Wireless)
17:19:34: Global Audio time adjust: 0
17:19:34: ------------------------------------------
17:19:34: Audio Encoding: AAC
17:19:34: bitrate: 128
17:19:34: Using graphics capture
17:19:34: Trying to hook process: DayZ.exe
Warning -- GraphicsCaptureSource::AttemptCapture: Failed to inject library, GetLastError = 5
17:19:34: Scene buffering time set to 700
17:19:34: x264: frame MB size (160x90) > level limit (8192)
17:19:34: x264: DPB size (4 frames, 57600 mbs) > level limit (2 frames, 32768 mbs)
17:19:34: x264: MB rate (432000) > level limit (245760)
17:19:34: ------------------------------------------
17:19:34: Video Encoding: x264
17:19:34: fps: 30
17:19:34: width: 2560, height: 1440
17:19:34: preset: veryfast
17:19:34: profile: main
17:19:34: keyint: 60
17:19:34: CBR: yes
17:19:34: CFR: yes
17:19:34: max bitrate: 4000
17:19:34: buffer size: 4000
17:19:34: ------------------------------------------
17:19:36: Using RTMP service: Twitch
17:19:36: Server selection: rtmp://live-jfk.twitch.tv/app
17:19:36: Interface: Intel(R) Ethernet Connection I217-V (ethernet, 1000 mbps)
17:19:36: Completed handshake with rtmp://live-jfk.twitch.tv/app in 298 ms.
17:19:37: SO_SNDBUF was at 65536
17:19:39: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 528384)
17:20:01: FlushBufferedVideo: Flushing 6 packets over 167 ms
17:20:01: Total frames encoded: 782, total frames duplicated: 27 (3.45%)
17:20:01: Total frames rendered: 781, number of late frames: 6 (0.77%) (it's okay for some frames to be late)
17:20:01:
17:20:01: Profiler time results:
17:20:01:
17:20:01: ==============================================================
17:20:01: video thread frame - [100%] [avg time: 2.029 ms] [children: 15.1%] [unaccounted: 84.9%]
17:20:01: | scene->Preprocess - [0.0493%] [avg time: 0.001 ms]
17:20:01: | GPU download and conversion - [15%] [avg time: 0.305 ms] [children: 9.31%] [unaccounted: 5.72%]
17:20:01: | | flush - [8.58%] [avg time: 0.174 ms]
17:20:01: | | CopyResource - [0.591%] [avg time: 0.012 ms]
17:20:01: | | conversion to 4:2:0 - [0.148%] [avg time: 0.003 ms]
17:20:01: Convert444Threads - [100%] [avg time: 3.842 ms] [children: 99.7%] [unaccounted: 0.26%]
17:20:01: | Convert444toNV12 - [99.7%] [avg time: 3.832 ms]
17:20:01: encoder thread frame - [100%] [avg time: 3.659 ms] [children: 1.23%] [unaccounted: 98.8%]
17:20:01: | sending stuff out - [1.23%] [avg time: 0.045 ms]
17:20:01: ==============================================================
17:20:01:
17:20:01:
17:20:01: Profiler CPU results:
17:20:01:
17:20:01: ==============================================================
17:20:01: video thread frame - [cpu time: avg 0.14 ms, total 109.375 ms] [avg calls per frame: 1]
17:20:01: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:20:01: | GPU download and conversion - [cpu time: avg 0.02 ms, total 15.625 ms] [avg calls per frame: 1]
17:20:01: | | flush - [cpu time: avg 0.02 ms, total 15.625 ms] [avg calls per frame: 1]
17:20:01: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:20:01: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:20:01: Convert444Threads - [cpu time: avg 3.813 ms, total 5765.63 ms] [avg calls per frame: 2]
17:20:01: | Convert444toNV12 - [cpu time: avg 3.813 ms, total 5765.63 ms] [avg calls per frame: 2]
17:20:01: encoder thread frame - [cpu time: avg 2.959 ms, total 2296.88 ms] [avg calls per frame: 1]
17:20:01: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:20:01: ==============================================================
17:20:01:
17:20:01: =====Stream End: 2015-02-07, 17:20:01=================================================
17:20:01: ~RTMPPublisher: Packet flush completed in 108 ms
17:20:01: ~RTMPPublisher: Send thread terminated in 1 ms
17:20:01: RTMPPublisher::SocketLoop: Graceful loop exit
17:20:01: ~RTMPPublisher: Socket thread terminated in 0 ms
17:20:20: ~RTMPPublisher: Final socket shutdown completed in 18601 ms
17:20:20: Average send payload: 14240 bytes, average send interval: 27 ms
17:20:20: Number of times waited to send: 0, Waited for a total of 0 bytes
17:20:20: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:20:20: Number of bytes sent: 11933657

Highlight :

17:19:34: Trying to hook process: DayZ.exe
Warning -- GraphicsCaptureSource::AttemptCapture: Failed to inject library, GetLastError = 5
 
Last edited:
Back
Top