Bug Report OBS Multi, Guild Wars 2, and Steam

Tarun

Member
Hello,

I've encountered a rather interesting issue here that causes Guild Wars 2 to crash.

If I start Guild Wars 2 through Steam (to use Steam's Overlay for browser, chatting to friends, etc) Guild Wars 2 will immediately crash.

A part of the Guild Wars 2 crash reads:
Code:
*--> Crash <--*
Exception: c0000005  
Memory at address 4d497535 could not be written
App: Gw2.exe
Pid: 6932
Cmdline: 
BaseAddr: 013C0000
ProgramId: 101
Build: 50837
Module: d3d9.dll
When: 2015-07-27T05:46:43Z 2015-07-27T01:46:43-04:00
Uptime:  0 days  0:00:10
Flags: 0


The OBS log reads:
Code:
01:46:13: OBS 0.11.1 (64bit, windows)
01:46:13: ---------------------------------
01:46:13: CPU Name: Intel(R) Core(TM) i7 CPU  X 980  @ 3.33GHz
01:46:13: CPU Speed: 3333MHz
01:46:13: Physical Cores: 6, Logical Cores: 12
01:46:13: Physical Memory: 12278MB Total, 5489MB Free
01:46:13: Windows Version: 6.1 Build 7601 Service Pack 1
01:46:13: Aero is Enabled (Aero is always on for windows 8 and above)
01:46:13: ---------------------------------
01:46:13: audio settings reset:
01:46:13:    samples per sec: 44100
01:46:13:    speakers:  2
01:46:13:    buffering (ms):  1000
01:46:13: ---------------------------------
01:46:13: Initializing D3D11..
01:46:13: Available Video Adapters:
01:46:13:    Adapter 0: NVIDIA GeForce GTX 760
01:46:13: Loading up D3D11 on adapter NVIDIA GeForce GTX 760 (0)
01:46:13: D3D11 loaded sucessfully, feature level used: 45056
01:46:14: ---------------------------------
01:46:14: video settings reset:
01:46:14:    base resolution:  1920x1080
01:46:14:    output resolution: 1280x720
01:46:14:    fps:  30/1
01:46:14:    format:  NV12
01:46:14: ---------------------------------
01:46:14: Loading module: coreaudio-encoder.dll
01:46:14: [CoreAudio encoder]: Failed loading library 'CoreAudioToolbox.dll'
01:46:14: [CoreAudio encoder]: Couldn't load CoreAudio AAC encoder
01:46:14: ---------------------------------
01:46:14: Loading module: image-source.dll
01:46:14: ---------------------------------
01:46:14: Loading module: obs-ffmpeg.dll
01:46:14: ---------------------------------
01:46:14: Loading module: obs-filters.dll
01:46:14: ---------------------------------
01:46:14: Loading module: obs-outputs.dll
01:46:14: ---------------------------------
01:46:14: Loading module: obs-x264.dll
01:46:14: ---------------------------------
01:46:14: Loading module: rtmp-services.dll
01:46:14: ---------------------------------
01:46:14: Loading module: text-freetype2.dll
01:46:14: ---------------------------------
01:46:14: Loading module: win-capture.dll
01:46:14: ---------------------------------
01:46:14: Loading module: win-decklink.dll
01:46:14: No blackmagic support
01:46:14: Failed to start search for DeckLink devices
01:46:14: ---------------------------------
01:46:14: Loading module: win-dshow.dll
01:46:14: ---------------------------------
01:46:14: Loading module: win-mf.dll
01:46:14: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions less than 8
01:46:14: ---------------------------------
01:46:14: Loading module: win-wasapi.dll
01:46:14: =====================================================================
01:46:14: output 'adv_stream' (rtmp_output) created
01:46:14: output 'adv_file_output' (ffmpeg_muxer) created
01:46:14: encoder 'streaming_h264' (obs_x264) created
01:46:14: AAC encoder bitrate mapping:
01:46:14:     32 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:     64 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:     96 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    128 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    160 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    192 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    224 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    256 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14:    320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:46:14: encoder 'adv_aac0' (ffmpeg_aac) created
01:46:14: encoder 'adv_aac1' (ffmpeg_aac) created
01:46:14: encoder 'adv_aac2' (ffmpeg_aac) created
01:46:14: encoder 'adv_aac3' (ffmpeg_aac) created
01:46:14: service 'default_service' (rtmp_common) created
01:46:14: All scene data cleared
01:46:14: ------------------------------------------------
01:46:14: WASAPI: Device 'Speakers (Creative SB X-Fi)' initialized
01:46:14: source 'Desktop Audio' (wasapi_output_capture) created
01:46:15: WASAPI: Device 'Microphone (Creative SB X-Fi)' initialized
01:46:15: source 'Mic/Aux' (wasapi_input_capture) created
01:46:15: source 'Noise Gate' (noise_gate_filter) created
01:46:15: source 'Guild Wars 2' (scene) created
01:46:15: source 'GW2' (game_capture) created
01:46:15: source 'Gaming' (scene) created
01:46:15: source 'Slideshow' (image_source) created
01:46:15: source 'Payday 2' (game_capture) created
01:46:15: Update check: last known remote version is 0.11.1
01:46:35: [game-capture: 'GW2'] attempting to hook process: Gw2.exe
01:46:35: [game-capture: 'GW2'] using helper (direct hook)
01:46:35: [game-capture: 'GW2'] Hooked to process: Gw2.exe
01:46:35: [game-capture: 'GW2'] (half life scientist) everything..  seems to be in order
01:46:35: [game-capture: 'GW2'] Hooked D3D9
01:46:39: [game-capture: 'GW2'] attempting to hook process: Gw2.exe
01:46:43: [game-capture: 'GW2'] capture window no longer exists, terminating capture
01:46:43: [game-capture: 'GW2'] attempting to hook process: Gw2.exe
01:46:56: [game-capture: 'GW2'] capture window no longer exists, terminating capture

It will work fine if loaded without Steam. However, OBS (non-multi) has always worked fine when loading GW2 through Steam.

Another issue is that OBS Multiplatform does not capture Guild Wars 2 properly. I suspect this may be because of their launcher. If I go to the Sources (to the right of Scenes) Properties it will preview just fine, outside of that it will not display Guild Wars 2.

If any additional information is needed please let me know and I'll do my best to provide it.
 

Tarun

Member
Is anyone else experiencing this issue?

Edit: This is still occurring with 0.11.4.
 
Last edited:

prodyn

New Member
Yes, I can confirm it's an issue still. However thanks to your mention of launching through Steam as the potential source, I'm able to launch GW2 with OBS MP and not experience the crash. It's a minor inconvenience at this point and might impact other Steam gamers and/or games that rely on Steam.
 

dodgepong

Administrator
Community Helper
Have you tried with/without the feature of Game capture that captures overlays?
 

prodyn

New Member
I just attempted to induce the error again for testing, launching through Steam, and Arenanet pushed an update for their HOT beta weekend. It's no longer crashing now, with and without the overlay capture.
 

Tarun

Member
I can confirm that what prodyn says is accurate. A recent change (assuming on Anet's side) has fixed this issue.

To get it working for me though, I had to remove my previous scene and source setup and create them again.

Once slideshow and minimizing the icon into the systray is added I believe I can permanently switch to OBS Multistream. :)

I will continue to monitor this to see if the issue is indeed resolved.
 
Last edited:

Tarun

Member
Now I see why OBS Multi is working with GW2 launching through Steam... OBS is blocking the Steam Overlay from working. Whether capture overlays is checked or not makes no difference.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
OBS shouldn't be blocking steam overlay. It preserves any new/existing hooks. That being said, I will investigate. It might be loading the hook too quickly after it finds a target program.
 

Tarun

Member
I tested it last night by doing a reboot of my computer and then starting just OBS x64 Multi and Guild Wars 2 through Steam.

Doing some tests now. Steam games seem to work fine (Payday 2 for example). However, non-Steam games are where the issue seems to be.

I'm able to use the current OBS x64 (0.655) and the Steam overlay will work fine there, too.

OBS Multi x64 log:

Code:
17:27:35.583: CPU Name: Intel(R) Core(TM) i7 CPU       X 980  @ 3.33GHz
17:27:35.583: CPU Speed: 3333MHz
17:27:35.583: Physical Cores: 6, Logical Cores: 12
17:27:35.583: Physical Memory: 12278MB Total, 8231MB Free
17:27:35.583: Windows Version: 6.1 Build 7601 (revision: 18939)
17:27:35.583: Aero is Enabled
17:27:35.589: OBS 0.11.4 (64bit, windows)
17:27:35.589: ---------------------------------
17:27:35.590: ---------------------------------
17:27:35.590: audio settings reset:
17:27:35.590:     samples per sec: 44100
17:27:35.590:     speakers:        2
17:27:35.590:     buffering (ms):  1000
17:27:35.592: ---------------------------------
17:27:35.592: Initializing D3D11..
17:27:35.592: Available Video Adapters:
17:27:35.595:     Adapter 0: NVIDIA GeForce GTX 760
17:27:35.599: Loading up D3D11 on adapter NVIDIA GeForce GTX 760 (0)
17:27:35.617: D3D11 loaded sucessfully, feature level used: 45056
17:27:36.604: ---------------------------------
17:27:36.605: video settings reset:
17:27:36.605:     base resolution:   1920x1080
17:27:36.605:     output resolution: 1280x720
17:27:36.605:     fps:               30/1
17:27:36.605:     format:            NV12
17:27:36.608: ---------------------------------
17:27:36.608: Loading module: coreaudio-encoder.dll
17:27:36.609: [CoreAudio encoder]: Failed loading library 'CoreAudioToolbox.dll'
17:27:36.609: [CoreAudio encoder]: Couldn't load CoreAudio AAC encoder
17:27:36.610: ---------------------------------
17:27:36.610: Loading module: image-source.dll
17:27:36.610: ---------------------------------
17:27:36.610: Loading module: obs-ffmpeg.dll
17:27:36.611: ---------------------------------
17:27:36.611: Loading module: obs-filters.dll
17:27:36.612: ---------------------------------
17:27:36.612: Loading module: obs-outputs.dll
17:27:36.613: ---------------------------------
17:27:36.613: Loading module: obs-x264.dll
17:27:36.614: ---------------------------------
17:27:36.614: Loading module: rtmp-services.dll
17:27:36.615: ---------------------------------
17:27:36.615: Loading module: text-freetype2.dll
17:27:36.898: ---------------------------------
17:27:36.898: Loading module: win-capture.dll
17:27:37.352: ---------------------------------
17:27:37.352: Loading module: win-decklink.dll
17:27:37.359: No blackmagic support
17:27:37.359: Failed to start search for DeckLink devices
17:27:37.359: ---------------------------------
17:27:37.359: Loading module: win-dshow.dll
17:27:37.363: ---------------------------------
17:27:37.363: Loading module: win-mf.dll
17:27:37.364: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions less than 8
17:27:37.364: ---------------------------------
17:27:37.364: Loading module: win-wasapi.dll
17:27:37.365: =====================================================================
17:27:37.365: output 'adv_stream' (rtmp_output) created
17:27:37.365: output 'adv_file_output' (ffmpeg_muxer) created
17:27:37.365: encoder 'streaming_h264' (obs_x264) created
17:27:37.365: AAC encoder bitrate mapping:
17:27:37.365:      32 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:      64 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:      96 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     128 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     160 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     192 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     224 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     256 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365:     320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:27:37.365: encoder 'adv_aac0' (ffmpeg_aac) created
17:27:37.365: encoder 'adv_aac1' (ffmpeg_aac) created
17:27:37.365: encoder 'adv_aac2' (ffmpeg_aac) created
17:27:37.365: encoder 'adv_aac3' (ffmpeg_aac) created
17:27:37.366: service 'default_service' (rtmp_common) created
17:27:37.366: All scene data cleared
17:27:37.366: ------------------------------------------------
17:27:37.388: WASAPI: Device 'Speakers (Creative SB X-Fi)' initialized
17:27:37.388: source 'Desktop Audio' (wasapi_output_capture) created
17:27:37.428: WASAPI: Device 'Microphone (Creative SB X-Fi)' initialized
17:27:37.428: source 'Mic/Aux' (wasapi_input_capture) created
17:27:37.428: source 'Noise Gate' (noise_gate_filter) created
17:27:37.428: source 'Gaming' (scene) created
17:27:37.429: source 'Payday 2' (game_capture) created
17:27:37.429: source 'Guild Wars 2' (scene) created
17:27:37.429: source 'GW2' (game_capture) created
17:27:37.429: source 'Slideshow' (image_source) created
17:27:37.447: == Profiler Results =============================
17:27:37.447: run_program_init: 1890.89 ms
17:27:37.447:  ┣OBSApp::AppInit: 2.659 ms
17:27:37.447:  ┃ ┗OBSApp::InitLocale: 1.164 ms
17:27:37.447:  ┗OBSApp::OBSInit: 1869.6 ms
17:27:37.447:    ┣obs_startup: 0.655 ms
17:27:37.447:    ┗OBSBasic::OBSInit: 1857.13 ms
17:27:37.447:      ┣OBSBasic::InitBasicConfig: 0.566 ms
17:27:37.447:      ┣OBSBasic::ResetAudio: 0.259 ms
17:27:37.447:      ┣OBSBasic::ResetVideo: 1016.8 ms
17:27:37.447:      ┣OBSBasic::InitOBSCallbacks: 0.021 ms
17:27:37.447:      ┣OBSBasic::InitHotkeys: 0.04 ms
17:27:37.447:      ┣obs_load_all_modules: 757.648 ms
17:27:37.447:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.574 ms
17:27:37.447:      ┃ ┣obs_init_module(image-source.dll): 0.002 ms
17:27:37.447:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.008 ms
17:27:37.447:      ┃ ┣obs_init_module(obs-filters.dll): 0.005 ms
17:27:37.447:      ┃ ┣obs_init_module(obs-outputs.dll): 0.002 ms
17:27:37.447:      ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
17:27:37.447:      ┃ ┣obs_init_module(rtmp-services.dll): 0.004 ms
17:27:37.447:      ┃ ┣obs_init_module(text-freetype2.dll): 281.687 ms
17:27:37.447:      ┃ ┣obs_init_module(win-capture.dll): 453.015 ms
17:27:37.447:      ┃ ┣obs_init_module(win-decklink.dll): 6.759 ms
17:27:37.447:      ┃ ┣obs_init_module(win-dshow.dll): 2.581 ms
17:27:37.447:      ┃ ┣obs_init_module(win-mf.dll): 0.03 ms
17:27:37.447:      ┃ ┗obs_init_module(win-wasapi.dll): 0.006 ms
17:27:37.447:      ┣OBSBasic::ResetOutputs: 0.576 ms
17:27:37.447:      ┣OBSBasic::CreateHotkeys: 0.166 ms
17:27:37.447:      ┣OBSBasic::InitService: 0.244 ms
17:27:37.447:      ┣OBSBasic::InitPrimitives: 0.183 ms
17:27:37.447:      ┗OBSBasic::Load: 65.461 ms
17:27:37.447: =================================================
17:27:37.628: Update check: last known remote version is 0.11.4
17:27:41.474: [game-capture: 'GW2'] attempting to hook process: Gw2.exe
17:27:41.474: [game-capture: 'GW2'] using helper (direct hook)
17:27:41.502: [game-capture: 'GW2'] Hooked to process: Gw2.exe
17:27:41.502: [game-capture: 'GW2'] (half life scientist) everything..  seems to be in order
17:27:41.502: [game-capture: 'GW2'] Hooked D3D9
17:27:45.518: [game-capture: 'GW2'] attempting to hook process: Gw2.exe
17:27:59.040: [game-capture: 'GW2'] capture window no longer exists, terminating capture


Hope this helps, Jim.
 
Top