Certain games not hooking any more

AluminumHaste

New Member
So yesterday I decided to stream some Thief Gold with New Dark. (Basically thief2.exe)
This was working as I have captured footage and already had a scene set up but all I got was a black screen.

I've since deleted all my scenes and capture sources and created just one.
It worked once in the last 2 days of trying.
When I try, the log file is spammed with :

13:48:23.562: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:23.582: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.
13:48:23.582:
13:48:23.592: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:23.612: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.
13:48:23.612:
13:48:23.623: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:23.643: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.
13:48:23.643:
13:48:23.653: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:23.694: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.
13:48:23.694:
13:48:23.705: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:23.737: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.

Sometimes I'll see:
 

AluminumHaste

New Member
Continued from first post:

13:48:04.338: [game-capture: 'Thief1'] ----------------- d3d9 capture freed -----------------
13:48:04.350: [game-capture: 'Thief1'] Hooked DXGI
13:48:04.357: [game-capture: 'Thief1'] d3d9_shtex_init_shtex: Failed to create D3D11 texture (0x80070057): The parameter is incorrect.

I'll also see:

13:47:06.370: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:06.387: [game-capture: 'Thief1'] capture stopped
13:47:06.787: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:06.803: [game-capture: 'Thief1'] capture stopped
13:47:07.204: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:07.220: [game-capture: 'Thief1'] capture stopped
13:47:07.620: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:07.637: [game-capture: 'Thief1'] capture stopped
13:47:08.037: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:08.054: [game-capture: 'Thief1'] capture stopped
13:47:08.454: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:08.470: [game-capture: 'Thief1'] capture stopped
13:47:08.870: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:08.887: [game-capture: 'Thief1'] capture stopped
13:47:09.287: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:09.303: [game-capture: 'Thief1'] capture stopped
13:47:09.704: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:09.720: [game-capture: 'Thief1'] capture stopped
13:47:10.120: [game-capture: 'Thief1'] attempting to hook process: THIEF.EXE
13:47:10.137: [game-capture: 'Thief1'] capture stopped

Playing with Hook rate, and compatibility or running OBS as Admin does not help.

Why it only sometimes works I'm not sure.

Other games work fine. Shadow Warrior 2, Vulkan Quake 1, Quake Live even the RPCS3 emulator is working.

Here's the logs from starting up, creating new Source and picking vkQuake.exe

14:04:08.051: CoInitializeEx succeeded: 0x00000001
14:04:08.051: CPU Name: AMD Ryzen 9 3900X 12-Core Processor
14:04:08.051: CPU Speed: 3800MHz
14:04:08.051: Physical Cores: 12, Logical Cores: 24
14:04:08.051: Physical Memory: 16309MB Total, 11572MB Free
14:04:08.051: Windows Version: 10.0 Build 19041 (release: 2004; revision: 330; 64-bit)
14:04:08.051: Running as administrator: false
14:04:08.051: Aero is Enabled (Aero is always on for windows 8 and above)
14:04:08.051: Windows 10 Gaming Features:
14:04:08.051: Game Bar: Off
14:04:08.051: Game DVR: Off
14:04:08.052: Game DVR Background Recording: Off
14:04:08.052: Game Mode: Off
14:04:08.053: Sec. Software Status:
14:04:08.054: Microsoft Defender Antivirus: enabled (AV)
14:04:08.054: Windows Firewall: enabled (FW)
14:04:08.054: Current Date/Time: 2020-06-25, 14:04:08
14:04:08.054: Browser Hardware Acceleration: true
14:04:08.054: Portable mode: false
14:04:08.232: OBS 25.0.8 (64-bit, windows)
14:04:08.232: ---------------------------------
14:04:08.232: ---------------------------------
14:04:08.232: audio settings reset:
14:04:08.232: samples per sec: 48000
14:04:08.232: speakers: 2
14:04:08.233: ---------------------------------
14:04:08.233: Initializing D3D11...
14:04:08.233: Available Video Adapters:
14:04:08.235: Adapter 0: AMD Radeon RX 5700 XT
14:04:08.235: Dedicated VRAM: 4249100288
14:04:08.235: Shared VRAM: 4255653888
14:04:08.235: PCI ID: 1002:731f
14:04:08.235: Driver Version: 27.20.1017.1011
14:04:08.235: output 0: pos={0, 0}, size={1920, 1080}, attached=true, refresh=144, name=NX-VUE24
14:04:08.237: Loading up D3D11 on adapter AMD Radeon RX 5700 XT (0)
14:04:08.261: D3D11 loaded successfully, feature level used: b000
14:04:08.261: DXGI increase maximum frame latency success
14:04:08.261: D3D11 GPU priority setup failed (not admin?)
14:04:08.588: ---------------------------------
14:04:08.588: video settings reset:
14:04:08.588: base resolution: 1920x1080
14:04:08.588: output resolution: 1920x1080
14:04:08.588: downscale filter: Lanczos
14:04:08.588: fps: 60/1
14:04:08.588: format: RGBA
14:04:08.588: YUV mode: None
14:04:08.588: GPU conversion not available for format: 6
14:04:08.588: NV12 texture support not available
14:04:08.591: Audio monitoring device:
14:04:08.591: name: Default
14:04:08.591: id: default
14:04:08.591: ---------------------------------
14:04:08.594: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:04:08.594: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
14:04:08.788: [AMF] Version 2.7.0 loaded (Compiled: 1.4.14.0, Runtime: 1.4.17.0, Library: 1;4;17;0;20.10.17.01;202005251403;CL#2120623).
14:04:08.868: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon RX 5700 XT (VEN_1002/DEV_731f/SUB_23131458/REV_00c1)':
14:04:08.868: H264/AVC: Supported
14:04:08.868: H265/HEVC: Supported
14:04:08.868:
14:04:08.882: [obs-browser]: Version 2.8.6
14:04:08.885: [obs-ndi] hello ! (version 4.8.0)
14:04:08.885: [obs-ndi] Trying 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
14:04:08.886: [obs-ndi] Found NDI library at 'C:/Program Files/NewTek/NDI 4 Runtime/v4/Processing.NDI.Lib.x64.dll'
14:04:08.888: [obs-ndi] NDI runtime loaded successfully
14:04:08.890: [obs-ndi] NDI library initialized successfully (NDI SDK WIN64 06:20:19 Apr 1 2020 4.5.1.0)
14:04:09.037: VLC found, VLC video source enabled
14:04:09.041: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
14:04:09.042: No blackmagic support
14:04:09.045: ---------------------------------
14:04:09.045: Loaded Modules:
14:04:09.045: win-wasapi.dll
14:04:09.045: win-mf.dll
14:04:09.045: win-dshow.dll
14:04:09.045: win-decklink.dll
14:04:09.045: win-capture.dll
14:04:09.045: vlc-video.dll
14:04:09.045: text-freetype2.dll
14:04:09.045: rtmp-services.dll
14:04:09.045: obs-x264.dll
14:04:09.045: obs-vst.dll
14:04:09.045: obs-transitions.dll
14:04:09.045: obs-text.dll
14:04:09.045: obs-qsv11.dll
14:04:09.045: obs-outputs.dll
14:04:09.045: obs-ndi.dll
14:04:09.045: obs-filters.dll
14:04:09.045: obs-ffmpeg.dll
14:04:09.045: obs-browser.dll
14:04:09.045: image-source.dll
14:04:09.045: frontend-tools.dll
14:04:09.045: enc-amf.dll
14:04:09.045: decklink-ouput-ui.dll
14:04:09.045: coreaudio-encoder.dll
14:04:09.045: ---------------------------------
14:04:09.045: ==== Startup complete ===============================================
14:04:09.048: All scene data cleared
14:04:09.048: ------------------------------------------------
14:04:09.081: WASAPI: Device 'Speakers (Sound BlasterX AE-5)' [192000 Hz] initialized
14:04:09.081: [Loaded global audio device]: 'Desktop Audio'
14:04:09.106: WASAPI: Device 'Line-In (Sound BlasterX AE-5)' [48000 Hz] initialized
14:04:09.112: [Loaded global audio device]: 'Mic/Aux'
14:04:09.146: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
14:04:09.146:
14:04:09.396: Switched to scene 'Scene'
14:04:09.397: ------------------------------------------------
14:04:09.397: Loaded scenes:
14:04:09.397: - scene 'Scene':
14:04:09.397: - source: 'Thief1' (game_capture)
14:04:09.397: ------------------------------------------------
14:04:09.469: [obs-ndi] starting NDI main output with name 'OBS_BlackMonster'
14:04:09.471: [obs-ndi] 'OBS_BlackMonster': ndi output started
14:04:19.495: User added source 'vkQuake' (game_capture) to scene 'Scene'
14:04:22.408: [game-capture: 'vkQuake'] attempting to hook process: vkQuake.exe
14:04:22.419: [game-capture: 'vkQuake'] Hooked DXGI
14:04:22.441: [game-capture: 'vkQuake'] vk_shtex_init_d3d11_tex: OBS requesting VK_FORMAT_B8G8R8A8_UNORM texture format. capture dimensions: 1920x1080
14:04:22.445: [game-capture: 'vkQuake'] vulkan shared texture capture successful
14:04:22.458: [game-capture: 'vkQuake'] shared texture capture successful
14:06:54.690: ==== Shutting down ==================================================
14:06:54.700: [obs-ndi] stopping NDI main output
14:06:54.700: Output 'NDI Main Output': stopping
14:06:54.700: Output 'NDI Main Output': Total frames output: 9913
14:06:54.700: Output 'NDI Main Output': Total drawn frames: 9914
14:06:54.709: Switched to scene '(null)'
14:06:54.710: [game-capture: 'vkQuake'] capture stopped
14:06:54.710: WASAPI: Device 'Speakers (Sound BlasterX AE-5)' Terminated
14:06:54.714: WASAPI: Device 'Line-In (Sound BlasterX AE-5)' Terminated
14:06:54.723: All scene data cleared
14:06:54.723: ------------------------------------------------
14:06:54.784: Freeing OBS context data
14:06:54.805: [obs-ndi] goodbye !
14:06:54.816: [Scripting] Total detached callbacks: 0
14:06:54.870: == Profiler Results =============================

Works perfectly.
 
Top