Question / Help Dota2@OpenGL crash when i try to stream

furman

New Member
Hey guys, i have pretty strange issue. I was streaming dota quite often few months back, had to drop it due to personal reasons. Now that i'm back and i have some spare time i figured out i'll give it a try. The problem is, anytime i try stream or preview, game is crashing. I did some tests, i guess OpenGL is the issue - when i turn it off i can gamecapture without any issues, the questions is: can I bypass it somehow?

I'll explain - dota2@opengl runs so much better, i can stream @30fps and still have stable 120fps ingame (if You're using high-hz monitor, You know how important this part is) and non-opengl version is going 60-100, jumping a lot. That's why i'd like to stick with it.
Game is loading, the moment logo is gone and OBS preview / stream is ON -> boom, game turns off, no error, no indication, nothing. I'm unable to use windows capture as well (cause opengl...)
The fun fact is, it was working ~3 months back without any issues. I tried to downgrade OBS to early 2015 version, mid 2015 as well, still crashing the game. Any idea what might be causing this?

PC: windows 10, i5 4460 @3.2ghz (stock, not OC'ed), AMD R9 270X (stock), 8gb ram, dual screen setup (1x120hz, 1x60hz - not sure if that matters, was working fine before)

Not sure if log gonna help You out with anything but here it is
Code:
07:19:29: CLR host plugin strings not found, dynamically loading 4 strings
07:19:29: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
07:19:29: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
07:19:29: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
07:19:29: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
07:19:30: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
07:19:30: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
07:19:31: CLRHost:: Could not find/load browser settings at location C:\Users\furma\AppData\Roaming\OBS\pluginData\browser.json
07:19:31: CLRHost:: Exception: System.IO.FileNotFoundException: Nie można odnaleźć pliku 'C:\Users\furma\AppData\Roaming\OBS\pluginData\browser.json'.
07:19:31: Nazwa pliku: 'C:\Users\furma\AppData\Roaming\OBS\pluginData\browser.json'
07:19:31:    w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
07:19:31:    w System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
07:19:31:    w System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
07:19:31:    w CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
07:19:31: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
07:20:04: Open Broadcaster Software v0.657b - 32bit (´・ω・`)
07:20:04: -------------------------------
07:20:04: CPU Name: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
07:20:04: CPU Speed: 3199MHz
07:20:04: Physical Memory:  4095MB Total, 4095MB Free
07:20:04: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
07:20:04: monitor 1: pos={0, 0}, size={1920, 1080}
07:20:04: monitor 2: pos={1920, 0}, size={1920, 1080}
07:20:04: Windows Version: 10.0 Build 10586 (revision 0)
07:20:04: Aero is Enabled
07:20:04: -------------------------------
07:20:04: OBS Modules:
07:20:04: Base Address     Module
07:20:04: 013D0000         OBS.exe
07:20:04: 6A890000         OBSApi.dll
07:20:04: 72C70000         CLRHostPlugin.dll
07:20:04: 6A0C0000         DShowPlugin.dll
07:20:04: 6A090000         GraphicsCapture.dll
07:20:04: 64AD0000         NoiseGate.dll
07:20:04: 64AB0000         PSVPlugin.dll
07:20:04: 64A90000         scenesw.dll
07:20:04: ------------------------------------------
07:20:04: Adapter 1
07:20:04:   Video Adapter: AMD Radeon R9 200 Series
07:20:04:   Video Adapter Dedicated Video Memory: 2128769024
07:20:04:   Video Adapter Shared System Memory: 2166132736
07:20:04:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
07:20:04:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
07:20:04: =====Stream Start: 2016-04-22, 07:20:04===============================================
07:20:04:   Multithreaded optimizations: On
07:20:04:   Base resolution: 1920x1080
07:20:04:   Output resolution: 1280x720
07:20:04: ------------------------------------------
07:20:04: Loading up D3D10 on AMD Radeon R9 200 Series (Adapter 1)...
07:20:04: ------------------------------------------
07:20:04: Audio Format: 48000 Hz
07:20:04: ------------------------------------------
07:20:04: Audio Channels: 2 Ch
07:20:04: Playback device Default
07:20:04: ------------------------------------------
07:20:04: Using desktop audio input: Głośniki (SB Audigy)
07:20:04: Global Audio time adjust: 0
07:20:04: ------------------------------------------
07:20:04: Using auxilary audio input: Microphone (SB Audigy)
07:20:04: Mic time offset: 0
07:20:04: ------------------------------------------
07:20:04: Audio Encoding: AAC
07:20:04:     bitrate: 128
07:20:04: Using graphics capture
07:20:04: Trying to hook process: dota2.exe
07:20:04: Scene buffering time set to 700
07:20:04: ------------------------------------------
07:20:04: Video Encoding: x264
07:20:04:     fps: 30
07:20:04:     width: 1280, height: 720
07:20:04:     preset: veryfast
07:20:04:     profile: main
07:20:04:     keyint: 60
07:20:04:     CBR: yes
07:20:04:     CFR: yes
07:20:04:     max bitrate: 2000
07:20:04:     buffer size: 2000
07:20:04: ------------------------------------------
07:20:04: SharedTexCapture hooked
07:20:05: Capture window 0x00490746 invalid or changing, terminating capture
07:20:11: Total frames encoded: 165, total frames duplicated: 5 (3.03%)
07:20:11: Total frames rendered: 179, number of late frames: 2 (1.12%) (it's okay for some frames to be late)
07:20:11:
07:20:11: Profiler time results:
07:20:11:
07:20:11: ==============================================================
07:20:11: video thread frame - [100%] [avg time: 4.212 ms] [children: 13.7%] [unaccounted: 86.3%]
07:20:11: | scene->Preprocess - [0.0712%] [avg time: 0.003 ms]
07:20:11: | GPU download and conversion - [13.7%] [avg time: 0.576 ms] [children: 12.9%] [unaccounted: 0.807%]
07:20:11: | | flush - [12.6%] [avg time: 0.53 ms]
07:20:11: | | CopyResource - [0.237%] [avg time: 0.01 ms]
07:20:11: | | conversion to 4:2:0 - [0.0475%] [avg time: 0.002 ms]
07:20:11: Convert444Threads - [100%] [avg time: 0.424 ms] [children: 98.8%] [unaccounted: 1.18%]
07:20:11: | Convert444toNV12 - [98.8%] [avg time: 0.419 ms]
07:20:11: encoder thread frame - [100%] [avg time: 0.825 ms] [children: 0.121%] [unaccounted: 99.9%]
07:20:11: | sending stuff out - [0.121%] [avg time: 0.001 ms]
07:20:11: ==============================================================
07:20:11:
07:20:11:
07:20:11: Profiler CPU results:
07:20:11:
07:20:11: ==============================================================
07:20:11: video thread frame - [cpu time: avg 0.523 ms, total 93.75 ms] [avg calls per frame: 1]
07:20:11: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:20:11: | GPU download and conversion - [cpu time: avg 0.261 ms, total 46.875 ms] [avg calls per frame: 1]
07:20:11: | | flush - [cpu time: avg 0.174 ms, total 31.25 ms] [avg calls per frame: 1]
07:20:11: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:20:11: | | conversion to 4:2:0 - [cpu time: avg 0.097 ms, total 15.625 ms] [avg calls per frame: 1]
07:20:11: Convert444Threads - [cpu time: avg 0.242 ms, total 78.125 ms] [avg calls per frame: 2]
07:20:11: | Convert444toNV12 - [cpu time: avg 0.242 ms, total 78.125 ms] [avg calls per frame: 2]
07:20:11: encoder thread frame - [cpu time: avg 0.662 ms, total 109.375 ms] [avg calls per frame: 1]
07:20:11: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
07:20:11: ==============================================================
07:20:11:
07:20:11: =====Stream End: 2016-04-22, 07:20:11=================================================
07:21:34: CLR host plugin instance deleted; removing dynamically loaded localization strings
07:21:34: Terminating 0x1de0


Last game capture log:
2016-04-22, 07:20:04: we're booting up:
07:20:04: CaptureThread: attached to process dota2.exe
07:20:04: GL Present
07:20:04: DirectDraw capture: Windows 8 not supported yet
07:20:04: (half life scientist) everything..  seems to be in order
07:20:04: SwapBuffers(3288404223) Called
07:20:04: NV Capture available
07:20:04: FBO available
07:20:04: setting up gl data
07:20:04: share device: 2216170728
07:20:04: share texture: 2214865456
07:20:04: share device handle: 2410093072
07:20:04: share texture handle: 2215736928
07:20:04: DoGLGPUHook: success
07:20:04: wglSwapBuffers(3288404223) Called

Any ideas bros? And i really need my 120fps ingame, even though it might sound silly for You. Thanks in advance, peace.

// edit
I just figured out something - i recently upgraded ATI drivers to latest version (dark souls 3 y'know) - could this be the issue?
 
Top