Question / Help Game capture permanently freezing after alt+tabing

Tforbesgaming

New Member
I've only just, like within the past 24 hours, started using OBS but i've run into a problem I dont know how to deal with.

i now how to set up a game capture source (opening a game window, alt tab out to OBS, add the source, close the game window, the next time i open it up OBS will connect to it right away) but I dont know how to deal with the fact that if i ever alt tab out of the window again the game capture freezes while i'm alt tabbed out (which i understand is a product the game no longer rendering while not open) but it does not resume when i return to the game and remains frozen on the last frame before I alt tabbed.

am I missing something or can i never exit the game once it's started?

Code:
11:58:35.993: CPU Name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
11:58:35.993: CPU Speed: 3600MHz
11:58:35.993: Physical Cores: 4, Logical Cores: 8
11:58:35.993: Physical Memory: 16242MB Total, 10313MB Free
11:58:35.993: Windows Version: 10.0 Build 14393 (revision: 1066; 64-bit)
11:58:35.994: Running as administrator: false
11:58:35.994: Aero is Enabled (Aero is always on for windows 8 and above)
11:58:35.994: Portable mode: false
11:58:36.008: OBS 18.0.1 (64bit, windows)
11:58:36.008: ---------------------------------
11:58:36.009: ---------------------------------
11:58:36.009: audio settings reset:
11:58:36.009:     samples per sec: 44100
11:58:36.009:     speakers:        2
11:58:36.011: ---------------------------------
11:58:36.011: Initializing D3D11..
11:58:36.011: Available Video Adapters: 
11:58:36.012:     Adapter 1: Intel(R) HD Graphics 630
11:58:36.012:      Dedicated VRAM: 134217728
11:58:36.012:      Shared VRAM:    4220780544
11:58:36.012:      output 1: pos={0, 0}, size={1920, 1080}, attached=true
11:58:36.012:      output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
11:58:36.012:     Adapter 2: NVIDIA GeForce GTX 1070
11:58:36.012:      Dedicated VRAM: 4219535360
11:58:36.012:      Shared VRAM:    4220780544
11:58:36.014: Loading up D3D11 on adapter Intel(R) HD Graphics 630 (0)
11:58:36.020: D3D11 loaded sucessfully, feature level used: 45056
11:58:36.551: ---------------------------------
11:58:36.551: video settings reset:
11:58:36.551:     base resolution:   1920x1080
11:58:36.551:     output resolution: 1280x720
11:58:36.551:     downscale filter:  Bicubic
11:58:36.551:     fps:               30/1
11:58:36.551:     format:            NV12
11:58:36.551: Audio monitoring device:
11:58:36.551:     name: Default
11:58:36.551:     id: default
11:58:36.551: ---------------------------------
11:58:36.553: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
11:58:36.554: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
11:58:36.555: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
11:58:36.562: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
11:58:36.563: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
11:58:36.563: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
11:58:36.564: Failed to load 'en-US' text for module: 'obs-browser.dll'
11:58:36.564: [browser_source: 'Version: 1.29.0']
11:58:36.565: NVENC supported
11:58:36.586: Couldn't find VLC installation, VLC video source disabled
11:58:36.608: No blackmagic support
11:58:36.767: ---------------------------------
11:58:36.767:   Loaded Modules:
11:58:36.767:     win-wasapi.dll
11:58:36.767:     win-mf.dll
11:58:36.767:     win-dshow.dll
11:58:36.767:     win-decklink.dll
11:58:36.767:     win-capture.dll
11:58:36.767:     vlc-video.dll
11:58:36.767:     text-freetype2.dll
11:58:36.767:     rtmp-services.dll
11:58:36.767:     obs-x264.dll
11:58:36.767:     obs-vst.dll
11:58:36.767:     obs-transitions.dll
11:58:36.767:     obs-text.dll
11:58:36.767:     obs-qsv11.dll
11:58:36.767:     obs-outputs.dll
11:58:36.767:     obs-filters.dll
11:58:36.767:     obs-ffmpeg.dll
11:58:36.767:     obs-browser.dll
11:58:36.767:     image-source.dll
11:58:36.767:     frontend-tools.dll
11:58:36.767:     enc-amf.dll
11:58:36.767:     coreaudio-encoder.dll
11:58:36.767: ==== Startup complete ===============================================
11:58:36.768: All scene data cleared
11:58:36.768: ------------------------------------------------
11:58:36.788: WASAPI: Device 'Speakers (ASUS Xonar DGX Audio Device)' initialized
11:58:36.804: WASAPI: Device 'Microphone (Blue Snowball)' initialized
11:58:36.808: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
11:58:37.214: Switched to scene 'Starting soon'
11:58:37.216: ------------------------------------------------
11:58:37.216: Loaded scenes:
11:58:37.216: - scene 'Starting soon':
11:58:37.216:     - source: 'Text (GDI+)' (text_gdiplus)
11:58:37.216:     - source: 'Game Capture' (game_capture)
11:58:37.216: ------------------------------------------------
11:58:43.983: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
11:58:46.335: [game-capture: 'Game Capture'] attempting to hook process: AlanWake.exe
11:58:46.337: [game-capture: 'Game Capture'] using helper (compatibility hook)
11:58:46.339: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
11:58:49.362: [game-capture: 'Game Capture'] attempting to hook process: AlanWake.exe
11:58:49.372: [game-capture: 'Game Capture'] Hooked DXGI
11:58:49.377: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
11:58:49.385: [game-capture: 'Game Capture'] shared texture capture successful
11:58:51.324: [game-capture: 'Game Capture'] ----------------- d3d9 capture freed -----------------
11:58:51.570: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
11:58:51.588: [game-capture: 'Game Capture'] shared texture capture successful
11:59:02.390: [game-capture: 'Game Capture'] ----------------- d3d9 capture freed -----------------
11:59:13.118: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
11:59:13.118: [game-capture: 'Game Capture'] capture stopped
11:59:23.620: ==== Shutting down ==================================================
11:59:23.623: Switched to scene '(null)'
11:59:23.624: WASAPI: Device 'Speakers (ASUS Xonar DGX Audio Device)' Terminated
11:59:23.627: WASAPI: Device 'Microphone (Blue Snowball)' Terminated
11:59:23.629: All scene data cleared
11:59:23.629: ------------------------------------------------
11:59:23.878: Freeing OBS context data
11:59:23.970: == Profiler Results =============================
11:59:23.970: run_program_init: 1697.64 ms
11:59:23.970:  ┣OBSApp::AppInit: 1.231 ms
11:59:23.970:  ┃ ┗OBSApp::InitLocale: 0.745 ms
11:59:23.970:  ┗OBSApp::OBSInit: 1677.43 ms
11:59:23.970:    ┣obs_startup: 0.743 ms
11:59:23.970:    ┗OBSBasic::OBSInit: 1651.45 ms
11:59:23.970:      ┣OBSBasic::InitBasicConfig: 0.276 ms
11:59:23.970:      ┣OBSBasic::ResetAudio: 0.319 ms
11:59:23.970:      ┣OBSBasic::ResetVideo: 541.836 ms
11:59:23.970:      ┣OBSBasic::InitOBSCallbacks: 0.003 ms
11:59:23.970:      ┣OBSBasic::InitHotkeys: 0.029 ms
11:59:23.970:      ┣obs_load_all_modules: 215.26 ms
11:59:23.970:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.332 ms
11:59:23.970:      ┃ ┣obs_init_module(enc-amf.dll): 0.237 ms
11:59:23.970:      ┃ ┣obs_init_module(frontend-tools.dll): 1.018 ms
11:59:23.970:      ┃ ┣obs_init_module(image-source.dll): 0.063 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-browser.dll): 0.037 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.725 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-filters.dll): 0.012 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-outputs.dll): 0.003 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-qsv11.dll): 8.044 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-text.dll): 4.215 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-transitions.dll): 0.003 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
11:59:23.970:      ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
11:59:23.970:      ┃ ┣obs_init_module(rtmp-services.dll): 0.216 ms
11:59:23.970:      ┃ ┣obs_init_module(text-freetype2.dll): 0.031 ms
11:59:23.970:      ┃ ┣obs_init_module(vlc-video.dll): 0.036 ms
11:59:23.970:      ┃ ┣obs_init_module(win-capture.dll): 0.042 ms
11:59:23.970:      ┃ ┣obs_init_module(win-decklink.dll): 19.892 ms
11:59:23.970:      ┃ ┣obs_init_module(win-dshow.dll): 9.311 ms
11:59:23.970:      ┃ ┣obs_init_module(win-mf.dll): 144.815 ms
11:59:23.971:      ┃ ┣obs_init_module(win-wasapi.dll): 0.003 ms
11:59:23.971:      ┃ ┗reset_win32_symbol_paths: 0.054 ms
11:59:23.971:      ┣OBSBasic::ResetOutputs: 0.177 ms
11:59:23.971:      ┣OBSBasic::CreateHotkeys: 0.023 ms
11:59:23.971:      ┣OBSBasic::InitService: 0.067 ms
11:59:23.971:      ┣OBSBasic::InitPrimitives: 0.312 ms
11:59:23.971:      ┗OBSBasic::Load: 449.215 ms
11:59:23.971: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.01 ms, max=46.142 ms, 99th percentile=9.581 ms, 99.5597% below 25 ms
11:59:23.971: audio_thread(Audio): min=0 ms, median=0.036 ms, max=34.465 ms, 99th percentile=0.149 ms
11:59:23.971: obs_video_thread(33.3333 ms): min=0.232 ms, median=0.814 ms, max=394.59 ms, 99th percentile=38.265 ms, 98.5694% below 33.333 ms
11:59:23.971:  ┣tick_sources: min=0.001 ms, median=0.01 ms, max=393.911 ms, 99th percentile=9.638 ms
11:59:23.971:  ┣render_displays: min=0 ms, median=0.381 ms, max=70.974 ms, 99th percentile=20.382 ms
11:59:23.971:  ┗output_frame: min=0.169 ms, median=0.258 ms, max=36.662 ms, 99th percentile=11.607 ms
11:59:23.971:    ┣gs_context(video->graphics): min=0.062 ms, median=0.108 ms, max=36.523 ms, 99th percentile=11.467 ms
11:59:23.971:    ┃ ┣render_video: min=0.044 ms, median=0.08 ms, max=24.466 ms, 99th percentile=3.332 ms
11:59:23.971:    ┃ ┃ ┣render_main_texture: min=0.005 ms, median=0.042 ms, max=13.809 ms, 99th percentile=3.272 ms
11:59:23.971:    ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.013 ms, max=15.803 ms, 99th percentile=0.085 ms
11:59:23.971:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.011 ms, max=0.892 ms, 99th percentile=0.055 ms
11:59:23.971:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.008 ms, max=0.102 ms, 99th percentile=0.044 ms
11:59:23.971:    ┃ ┣download_frame: min=0 ms, median=0.004 ms, max=36.265 ms, 99th percentile=4.859 ms
11:59:23.971:    ┃ ┗gs_flush: min=0.012 ms, median=0.018 ms, max=2.076 ms, 99th percentile=0.096 ms
11:59:23.971:    ┗output_video_data: min=0.076 ms, median=0.146 ms, max=10.195 ms, 99th percentile=0.583 ms
11:59:23.971: video_thread(video): min=0 ms, median=0.001 ms, max=0.114 ms, 99th percentile=0.006 ms
11:59:23.971: =================================================
11:59:23.971: == Profiler Time Between Calls ==================
11:59:23.971: obs_hotkey_thread(25 ms): min=24.62 ms, median=25.458 ms, max=136.757 ms, 54.13% within ±2% of 25 ms (0% lower, 45.87% higher)
11:59:23.971: obs_video_thread(33.3333 ms): min=2.603 ms, median=33.333 ms, max=394.596 ms, 94.9177% within ±2% of 33.333 ms (2.50537% lower, 2.57695% higher)
11:59:23.971: =================================================
11:59:23.992: Number of memory leaks: 1

[code]
 

Attachments

  • 2017-04-15 11-58-35.txt
    10.8 KB · Views: 1
Top