Batman™: Arkham Knight

Batman™: Arkham Knight

View Stats:
Kaldaien Sep 7, 2015 @ 7:33pm
Batman "Fix" - DXGI Memory Manager (v 0.15 - 10/19/15)
Batman "Fix" - Introduction
Corrects separate known issues with Hybrid GPUs and Windows 10 SLI memory
  • These issues are all newly created with the interim patch, so this is sort of an interim interim patch

Source code and complete version history
{ Mainstream } - †More Accurate than MSI Afterburner
DXGI.DLL (v 0.15)[github.com]
  • Lots of OpenGL and achievement-related changes...
    • Please See Release Notes Here[github.com]
†NOTE:
RivaTuner Statistics Server v. 6.4.0 or newer is required for the overlay features to work. This ships with certain overclocking software such as MSI Afterburner, or can be downloaded as a standalone package from Guru3D here.[www.guru3d.com]

See here[github.com] for suggested RTSS settings.
DXGI.DLL (v 0.14)[github.com]
  • Adds LUID to GPU info
  • Detects Software/Hardware and Remote renderers (Windows 8+)
  • Removes GetDesc{1|2} (...) detour on systems that are not (Windows 10 AND SLI)
  • No longer updates the OSD while the render window is in the background / minimized
  • Corrects COM threading race conditions during initialization

  • Adds D3D9 and 32-bit support
DXGI.DLL (v 0.13)[github.com]
  • Adds PCIe link speed detection
  • Trims GPUs with no shared memory utilization from DXGI 1.4 non-local view
  • Condenses stats and uses smallest units available whenever possible
  • Can print temperature in F or C, see [DXGI.System] in dxgi.ini for more details
  • Multi-GPU systems now correctly match up NvAPI GPUID with DXGI Adapter ID
  • Updates OSD text after swapchain presentation to reduce odds of missing VSYNC deadline
    • Text is one frame late as a consequence, but framerates are more consistent.
  • Adds AMD GPU monitoring capabilities
    • Has only been tested on Windows 10
DXGI.DLL (v 0.12)[github.com]
  • Adds a clock (Ctrl + Shift + T)
  • Adds GPU slowdown information for NVIDIA GPUs
    • This can be enabled by changing PrintSlowdown to true in Monitor.GPU in dxgi.ini
  • Cleans up formatting of GPU info, framerate counter, memory stats and disk I/O
  • Adds Memory Info (Working Set, Committed, Virtual Address Space)
DXGI.DLL (v 0.11)[github.com]
  • Added compatibility fallbacks for games that try to use DXGI 1.2 on Windows 7 or DXGI 1.1 on Vista
  • Added GPU voltage and fan tachometer (NVIDIA GPUs) to GPU Info
  • Optimized OSD initialization procedure and added extra RTSS logging to dxgi.log
  • Cleaned up OSD formatting for DXGI memory info
DXGI.DLL (v 0.10)[github.com] DXGI.DLL (v 0.09)[github.com]
  • Adds GPU (NVIDIA), CPU, Disk and Pagefile Monitoring
    • GPU: Ctrl + Shift + G
    • CPU: Ctrl + Shift + C
    • Disk: Ctrl + Shift + D
    • Pagefile: Ctrl + Shift + P
  • Adds OSD toggle (Ctrl + Shift + O)
  • Adds Framerate Counter (Ctrl + Shift + F)
  • Adds the ability to re-scale the RTSS overlay text (for vector fonts)
    • Expand: Ctrl + Shift + +
    • Shrink: Ctrl + Shift + -
  • Improved compatibility with D3D10 games and, hopefully, ReShade.
  • INI file is now written at start-up if one does not already exist
    • This allows you to adjust InitDelay in games that are crashing because it is set too low (or possibly too high).
DXGI.DLL (v 0.08)[github.com]
  • Adds File I/O Performance Counters (ON by default)
    • Press Ctrl + Shift + I to toggle on/off
  • Adds SLI GPU Affinity Monitoring (OFF by default)
    • Press Ctrl + Shift + S to toggle on/off
      • Uses the following symbols (when memory monitoring is enabled):
        (1) @: GPU scheduled for the Current Frame
        (2) #: GPU scheduled for the Next Frame
        (3) !: GPU scheduled for the Previous Frame
    • Currently, this only produces meaningful results for AFR; SFR-based SLI is unsupported.
  • Adds persistent storage of user preferences in dxgi.ini
  • Stat overlay is now refreshed every frame, but certain data views are only periodically updated.
  • Initialization Delay can be adjusted in [DXGI.System] - InitDelay=...
    • Adjust this if the game crashes at launch and you are using 3rd party overlay software
  • Log I/O can be completely disabled using [DXGI.System] - Silent=True
  • Disk I/O Status Update Interval is user-configurable
    • See [Monitor.IO] - Interval (default: 0.25 seconds)
  • Memory Reserve is user-configurable
    • See [Manage.Memory] - ReservePercent (default: 85.0)
    • Set this lower if you find multi-tasking performance suffers; accepted values are 0.0 to 100.0
{ Testing } - DXGI 1.4 Memory Budgets (Windows 10.0)
DXGI.DLL (v 0.05)[github.com]
  • Added the ability to toggle the memory stat overlay on/off
    • Press Ctrl + Shift + M
  • Added over-budget information to the end of the stat overlay
  • Reduced memory polling interval from 666 ms to 66 ms
  • Corrected potential deadlocks when overlay software loads d3d11.dll during initialization
  • Added checks for NVIDIA Optimus and AMD PowerXpress
  • Fixed compatibility issues with The Witcher 3
DXGI.DLL (v 0.02)[github.com]
  • Added DXGI 1.4 Memory Budget Tracking
    • On supported systems (Windows 10), this will write memory budget statistics to dxgi_budget.log at application exit.
    • Adjusts memory budget at launch to reduce hitching in the batmobile.

  • These new changes work whether you have SLI or not, as will future releases.
{ Stable }
DXGI.DLL (v 0.01)[github.com]
  • Initial check-in
    1. Prevents the game form using Intel graphics hardware on laptops
    2. Reports proper memory limits in Windows 10 with SLI

  • Has known compatibility issues when used with multiple overlays (the first one to hook DXGI wins).
    • This will be addressed in a future release, for now only 1 overlay at a time is supported

See the GitHub Releases[github.com] section for more information.

Installation
Place this (DXGI.DLL) in SteamApps\common\Batman Arkham Knight\Binaries\Win64 and then run the game. For people affected by Intel + NVIDIA/AMD GPU problems (flickering screens, 0.0 MiB of VRAM reported, wrong GPU name in graphics settings menu, etc.), it should disable the Intel GPU altogether (for this game) and cause the game to go straight to the AMD or NVIDIA GPU.

For people with SLI systems and Windows 10, this will correct the misreported VRAM numbers that are causing massive headaches and unplayability on some systems (my 3-way GTX 980 system included).

Other Benefits

http://steamcommunity.com/sharedfiles/filedetails/?id=518122451
http://steamcommunity.com/sharedfiles/filedetails/?id=519862149

Troubleshooting
The DLL spits out a debug log in the form of dxgi.log. This file is very thorough and intended to help me figure out what's going on with the game and my DLL itself. This debug log is written synchronously, so it may have a slight performance impact at application start. If you find the DLL stable, you can opt-out of debug logging by setting Silent=True in dxgi.ini.

If you paste your dxgi.log in this thread, please surround it with [code] ... [/code]. This will make it easier for me to read (yes, I can read that mess of numbers).

Troll / Humorless Troglodyte Disclaimer
Before an irritating troll latches onto the word "Fix," let me tell you it is intended ironically. This project has started going down the path of another tool that did something similar called DSFix
Last edited by Kaldaien; Oct 31, 2015 @ 10:20am
< >
Showing 1-15 of 1,103 comments
Kaldaien Sep 7, 2015 @ 7:34pm 
I will start the testing with my own results (3-way GTX 980 -- Memory correctly reported as 4 GiB instead of 12):

?9/?7/?2015 10:12 PM: dxgi.log created ----------------------------------------------------------------------------------- ?9/?7/?2015 10:12 PM: Windows Directory: C:\WINDOWS ?9/?7/?2015 10:12 PM: Loading default dxgi.dll: (C:\WINDOWS\System32\dxgi.dll) ----------------------------------------------------------------------------------- ?9/?7/?2015 10:12 PM: Initializing NvAPI: Success ?9/?7/?2015 10:12 PM: >> NVIDIA Driver Version: 355.82 ?9/?7/?2015 10:12 PM: * Number of Installed NVIDIA GPUs: 3 (3 are in SLI mode) ?9/?7/?2015 10:12 PM: + SLI GPU 0: GeForce GTX 980 ?9/?7/?2015 10:12 PM: + SLI GPU 1: GeForce GTX 980 ?9/?7/?2015 10:12 PM: + SLI GPU 2: GeForce GTX 980 ?9/?7/?2015 10:12 PM: Importing CreateDXGIFactory{1|2} ?9/?7/?2015 10:12 PM: ================================ ?9/?7/?2015 10:12 PM: CreateDXGIFactory: E6734318 ?9/?7/?2015 10:12 PM: CreateDXGIFactory1: E67347F5 ?9/?7/?2015 10:12 PM: CreateDXGIFactory2: E67347FF ?9/?7/?2015 10:12 PM: === Initialization Finished! === ?9/?7/?2015 10:12 PM: [!] CreateDXGIFactory (1339296, 0000000000147098) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=0) ?9/?7/?2015 10:12 PM: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFC030D09A0 (Memory Policy: Read-Only) ?9/?7/?2015 10:12 PM: + EnumAdapters_Original: 00007FFC030D09A0 ?9/?7/?2015 10:12 PM: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFBE6732FBD (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (00000000021856E0, 0, 00000000001470A0) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFC030CD560 (Memory Policy: Read-Only) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: # SLI Detected (Corrected Memory Total: 4096 MiB -- Original: 11879 MiB) ?9/?7/?2015 10:12 PM: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 980 ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: [!] CreateDXGIFactory (1344688, 00000000001485A8) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=0) ?9/?7/?2015 10:12 PM: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFBE6732FBD (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + EnumAdapters_Original: 00007FFC030D09A0 ?9/?7/?2015 10:12 PM: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFBE6732FBD (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (00000000021853A0, 0, 0000000000147E70) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: # SLI Detected (Corrected Memory Total: 4096 MiB -- Original: 11879 MiB) ?9/?7/?2015 10:12 PM: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 980 ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (0000000002184EC0, 0, 00000000001458B0) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: # SLI Detected (Corrected Memory Total: 4096 MiB -- Original: 11879 MiB) ?9/?7/?2015 10:12 PM: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 980 ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (0000000002184EC0, 1, 00000000001458B0) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for Microsoft Basic Render Driver...: Failure! (No Match Found) ?9/?7/?2015 10:12 PM: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 1 << ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (0000000002184EC0, 2, 00000000001455E8) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=DXGI_ERROR_NOT_FOUND) ?9/?7/?2015 10:12 PM: @ No More Adapters -- Returning DXGI_ERROR_NOT_FOUND ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (0000000002184EC0, 0, 00000000001479F8) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: # SLI Detected (Corrected Memory Total: 4096 MiB -- Original: 11879 MiB) ?9/?7/?2015 10:12 PM: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 980 ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: [!] IDXGIFactory::EnumAdapters (0000000002184EC0, 0, 0000000000146778) -- [Calling Thread: 1428] ?9/?7/?2015 10:12 PM: Calling original function: (ret=S_OK) ?9/?7/?2015 10:12 PM: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: + GetDesc_Original: 00007FFC030CD560 ?9/?7/?2015 10:12 PM: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFBE6732C25 (Memory Policy: Execute + Read/Write) ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: # SLI Detected (Corrected Memory Total: 4096 MiB -- Original: 11879 MiB) ?9/?7/?2015 10:12 PM: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 980 ?9/?7/?2015 10:12 PM: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 980...: Success! (GeForce GTX 980) ?9/?7/?2015 10:12 PM: Custom dxgi.dll Detached (pid=20a0)
Kaldaien Sep 7, 2015 @ 7:51pm 
Before (12 GiB of VRAM -- DEAD WRONG and slow as dirt):

http://steamcommunity.com/sharedfiles/filedetails/?id=511936360

After (4 GiB of VRAM -- Correct and performing nicely):

http://steamcommunity.com/sharedfiles/filedetails/?id=512667298
vmystikilv Sep 7, 2015 @ 8:00pm 
When i get a chance i will test this out
J3tAc3 Sep 7, 2015 @ 11:51pm 
Ay, this update made a bigger difference on my pc as well! It's not stuttering and bombarding me with single-digit fps like it used to when I actually played the game (instead of doing performance tests). Keep it up, you've got something here!
LelekPL Sep 8, 2015 @ 12:27am 
Sadly, it crashed my game again at start. This is what I got in the txt file:

Originally posted by LelekPL:
?2015-?09-?08 09:23: dxgi.log created
-----------------------------------------------------------------------------------
?2015-?09-?08 09:23: Windows Directory: C:\WINDOWS
?2015-?09-?08 09:23: Loading default dxgi.dll: (C:\WINDOWS\System32\dxgi.dll)
-----------------------------------------------------------------------------------
?2015-?09-?08 09:23: Initializing NvAPI: Success

?2015-?09-?08 09:23: >> NVIDIA Driver Version: 355.82
?2015-?09-?08 09:23: * Number of Installed NVIDIA GPUs: 1 (0 are in SLI mode)

?2015-?09-?08 09:23: Importing CreateDXGIFactory{1|2}
?2015-?09-?08 09:23: ================================
?2015-?09-?08 09:23: CreateDXGIFactory: 6D294318
?2015-?09-?08 09:23: CreateDXGIFactory1: 6D2947F5
?2015-?09-?08 09:23: CreateDXGIFactory2: 6D2947FF
?2015-?09-?08 09:23: === Initialization Finished! ===

?2015-?09-?08 09:23: [!] CreateDXGIFactory (1273760, 0000000000137098) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=0)
?2015-?09-?08 09:23: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFF90BD6DC4 (Memory Policy: Execute + Read-Only)
?2015-?09-?08 09:23: + EnumAdapters_Original: 00007FFF90BD6DC4
?2015-?09-?08 09:23: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFF6D292FBD (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005D80750, 0, 00000000001370A0) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF90BD2FE0 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for Intel(R) HD Graphics 4000...: Failure! (No Match Found)
?2015-?09-?08 09:23: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 <<

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005D80750, 1, 0000000000136DD8) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
?2015-?09-?08 09:23: # SLI Detected (Corrected Memory Total: 2048 MiB -- Original: 1986 MiB)
?2015-?09-?08 09:23: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005D80750, 1, 00000000001370A0) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
?2015-?09-?08 09:23: # SLI Detected (Corrected Memory Total: 2048 MiB -- Original: 1986 MiB)
?2015-?09-?08 09:23: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?08 09:23: @ Skipped Intel or Microsoft Adapter

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
?2015-?09-?08 09:23: [!] CreateDXGIFactory (1279152, 00000000001385A8) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=0)
?2015-?09-?08 09:23: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFF6D292FBD (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + EnumAdapters_Original: 00007FFF90BD6DC4
?2015-?09-?08 09:23: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFF6D292FBD (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005E92480, 0, 0000000000135E40) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for Intel(R) HD Graphics 4000...: Failure! (No Match Found)
?2015-?09-?08 09:23: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 <<

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005E92480, 1, 0000000000135B98) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
?2015-?09-?08 09:23: # SLI Detected (Corrected Memory Total: 2048 MiB -- Original: 1986 MiB)
?2015-?09-?08 09:23: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?08 09:23: [!] IDXGIFactory::EnumAdapters (0000000005E92480, 1, 0000000000135E40) -- [Calling Thread: 360]
?2015-?09-?08 09:23: Calling original function: (ret=S_OK)
?2015-?09-?08 09:23: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)
?2015-?09-?08 09:23: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?08 09:23: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF6D292C25 (Memory Policy: Execute + Read/Write)

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
?2015-?09-?08 09:23: # SLI Detected (Corrected Memory Total: 2048 MiB -- Original: 1986 MiB)
?2015-?09-?08 09:23: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?08 09:23: @ Skipped Intel or Microsoft Adapter

?2015-?09-?08 09:23: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 660M...: Success! (GeForce GTX 660M)
lgrzinc Sep 8, 2015 @ 3:01am 
With this dll file game now correctly recognise my vram, but devs still need alot of work on amd gpu support because graphic is total broken with 15.8 beta, but fps is better then with older drivers.
El Breado Sep 8, 2015 @ 4:07am 
Crashes at the launch
?08.?09.?2015 15:37: dxgi.log created
-----------------------------------------------------------------------------------
?08.?09.?2015 15:37: Windows Directory: C:\WINDOWS
?08.?09.?2015 15:37: Loading default dxgi.dll: (C:\WINDOWS\System32\dxgi.dll)
-----------------------------------------------------------------------------------
?08.?09.?2015 15:37: Initializing NvAPI: Success

?08.?09.?2015 15:37: >> NVIDIA Driver Version: 355.60
?08.?09.?2015 15:37: * Number of Installed NVIDIA GPUs: 1 (0 are in SLI mode)

?08.?09.?2015 15:37: Importing CreateDXGIFactory{1|2}
?08.?09.?2015 15:37: ================================
?08.?09.?2015 15:37: CreateDXGIFactory: C6D14318
?08.?09.?2015 15:37: CreateDXGIFactory1: C6D147F5
?08.?09.?2015 15:37: CreateDXGIFactory2: C6D147FF
?08.?09.?2015 15:37: === Initialization Finished! ===

?08.?09.?2015 15:37: [!] CreateDXGIFactory (1273760, 0000000000137098) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=0)
?08.?09.?2015 15:37: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFDE65A6E80 (Memory Policy: Execute + Read-Only)
?08.?09.?2015 15:37: + EnumAdapters_Original: 00007FFDE65A6E80
?08.?09.?2015 15:37: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFDC6D12FBD (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005E42550, 0, 00000000001370A0) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDE65A2F80 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for Intel(R) HD Graphics 4600...: Failure! (No Match Found)
?08.?09.?2015 15:37: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 <<

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005E42550, 1, 0000000000136DD8) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
?08.?09.?2015 15:37: # SLI Detected (Corrected Memory Total: 3072 MiB -- Original: 2977 MiB)
?08.?09.?2015 15:37: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 770M

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005E42550, 1, 00000000001370A0) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
?08.?09.?2015 15:37: # SLI Detected (Corrected Memory Total: 3072 MiB -- Original: 2977 MiB)
?08.?09.?2015 15:37: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 770M

?08.?09.?2015 15:37: @ Skipped Intel or Microsoft Adapter

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
?08.?09.?2015 15:37: [!] CreateDXGIFactory (1279152, 00000000001385A8) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=0)
?08.?09.?2015 15:37: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFDC6D12FBD (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + EnumAdapters_Original: 00007FFDE65A6E80
?08.?09.?2015 15:37: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFDC6D12FBD (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005EBCD00, 0, 0000000000135E40) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for Intel(R) HD Graphics 4600...: Failure! (No Match Found)
?08.?09.?2015 15:37: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 <<

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005EBCD00, 1, 0000000000135B98) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
?08.?09.?2015 15:37: # SLI Detected (Corrected Memory Total: 3072 MiB -- Original: 2977 MiB)
?08.?09.?2015 15:37: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 770M

?08.?09.?2015 15:37: [!] IDXGIFactory::EnumAdapters (0000000005EBCD00, 1, 0000000000135E40) -- [Calling Thread: c80]
?08.?09.?2015 15:37: Calling original function: (ret=S_OK)
?08.?09.?2015 15:37: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)
?08.?09.?2015 15:37: + GetDesc_Original: 00007FFDE65A2F80
?08.?09.?2015 15:37: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFDC6D12C25 (Memory Policy: Execute + Read/Write)

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
?08.?09.?2015 15:37: # SLI Detected (Corrected Memory Total: 3072 MiB -- Original: 2977 MiB)
?08.?09.?2015 15:37: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 770M

?08.?09.?2015 15:37: @ Skipped Intel or Microsoft Adapter

?08.?09.?2015 15:37: <> GetDesc_Override: Looking for matching NVAPI GPU for NVIDIA GeForce GTX 770M...: Success! (GeForce GTX 770M)
Kaldaien Sep 8, 2015 @ 11:33am 
Thank you for the feedback. For the two of you who have crashes, if you download my BMT_x64.exe tool from here:

http://steamcommunity.com/sharedfiles/filedetails/?id=484128370

and drop the DXGI.DLL file into the same directory as it, does the crash still happen?

I'm trying to figure out if it's the game itself that's not happy with this or your system. If it's the system, I would expect BMT_x64.exe to crash as well.
Kaldaien Sep 8, 2015 @ 12:25pm 
Yikes, I need to trim the fat from the debug logs...

@LelekPL and @El Breado: Are you running your system with the Windows Data Execution Prevention feature (DEP) disabled?

The default permissions on your systems are Excute + Read-Only, on most systems I have tested this on the memory starts out Read-Only and does not have execute permissions. I don't know if it's related, but this is an interesting difference I noticed in your logs.

http://steamcommunity.com/sharedfiles/filedetails/?id=514940538
Last edited by Kaldaien; Sep 8, 2015 @ 12:32pm
Kaldaien Sep 8, 2015 @ 2:57pm 
I uploaded a new version with extra debug information and a few minor changes that might improve stability. I am starting to think DEP is to blame here; it might be why Reshade does not work either.
LelekPL Sep 8, 2015 @ 11:00pm 
Originally posted by Kaldaien:
I uploaded a new version with extra debug information and a few minor changes that might improve stability. I am starting to think DEP is to blame here; it might be why Reshade does not work either.

The new version still crashes the game. It does NOT crash your Tool. Here's the info from your Tool:
Originally posted by LelekPL:
?2015-?09-?09 07:55: dxgi.log created
-----------------------------------------------------------------------------------
?2015-?09-?09 07:55: System Directory: C:\WINDOWS\system32
?2015-?09-?09 07:55: Loading default dxgi.dll: (C:\WINDOWS\system32\dxgi.dll)
-----------------------------------------------------------------------------------
?2015-?09-?09 07:55: Initializing NvAPI: Success

?2015-?09-?09 07:55: >> NVIDIA Driver Version: 355.82
?2015-?09-?09 07:55: * Number of Installed NVIDIA GPUs: 1 (0 are in SLI mode)

?2015-?09-?09 07:55: Importing CreateDXGIFactory{1|2}
?2015-?09-?09 07:55: ================================
?2015-?09-?09 07:55: CreateDXGIFactory: 90BE4990
?2015-?09-?09 07:55: CreateDXGIFactory1: 90BD7A88
?2015-?09-?09 07:55: CreateDXGIFactory2: 90BD8590
?2015-?09-?09 07:55: === Initialization Finished! ===

?2015-?09-?09 07:55: [!] CreateDXGIFactory (1307104, 000000000013F300) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)
?2015-?09-?09 07:55: Original VFTable entry for DXGIFactory::EnumAdapters: 00007FFF90BD6DC4 (Memory Policy: Execute + Read-Only)
?2015-?09-?09 07:55: + EnumAdapters_Original: 00007FFF90BD6DC4
?2015-?09-?09 07:55: New VFTable entry for DXGIFactory::EnumAdapters: 00007FFF7CF4E1C0 (Memory Policy: Execute + Read/Write)

?2015-?09-?09 07:55: [!] IDXGIFactory::EnumAdapters (0000000003BE63D0, 0, 000000000013F310) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)
?2015-?09-?09 07:55: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF90BD2FE0 (Memory Policy: Execute + Read-Only)
?2015-?09-?09 07:55: + GetDesc_Original: 00007FFF90BD2FE0
?2015-?09-?09 07:55: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF7CF4E030 (Memory Policy: Execute + Read/Write)

?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (0000000004B61BE0, 000000000013EF70) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 <<

?2015-?09-?09 07:55: [!] IDXGIFactory::EnumAdapters (0000000003BE63D0, 1, 000000000013F310) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)
?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (000000000206E710, 000000000013ECA0) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?09 07:55: @ Skipped Intel or Microsoft Adapter

?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (000000000206E710, 000000000013F3D0) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: [!] IDXGIFactory::EnumAdapters (0000000003BE63D0, 1, 000000000013F310) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)
?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (000000000206E710, 000000000013EF70) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M

?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (000000000206E710, 000000000013F3D0) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: [!] IDXGIFactory::EnumAdapters (0000000003BE63D0, 2, 000000000013F310) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)
?2015-?09-?09 07:55: [!] IDXGIAdapter::GetDesc (000000000206E710, 000000000013EF70) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=S_OK)

?2015-?09-?09 07:55: >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 2 <<

?2015-?09-?09 07:55: [!] IDXGIFactory::EnumAdapters (0000000003BE63D0, 3, 000000000013F310) -- [Calling Thread: 13e8]
?2015-?09-?09 07:55: Calling original function: (ret=DXGI_ERROR_NOT_FOUND)
?2015-?09-?09 07:55: @ No More Adapters -- Returning DXGI_ERROR_NOT_FOUND

?2015-?09-?09 07:55: Custom dxgi.dll Detached (pid=80c)

I tried to disable DEP for Arkham Knight but windows says I cannot turn off DEP for x64 files
Kaldaien Sep 8, 2015 @ 11:30pm 
Thanks very much, it's working as intended in the tool... so it's definitely something to do with the game. Probably the same problem Reshade is running into.

I added more debug info that will tell me exactly what it was doing at the time of crash, so if you could include the results from another test run of BatmanAK.exe, it'd be a big help. Re-download the DLL, the new version may sort out DEP-related issues.

Using [ code ] ... [ /code ] instead of [ quote ] ... [ /quote ] will produce a more readble ouput, by the way (all without the spaces, of course).
Last edited by Kaldaien; Sep 9, 2015 @ 3:16am
Dr4Wm4N Sep 9, 2015 @ 6:12am 
Originally posted by Kaldaien:
I would like to see Reshade's debug log for people who are not able to use it if anyone can provide it in my other thread.

Here's a log made by ReShade 0.19.2.905:

09/09/2015 15:21:34:457 [04608] | INFO | Initializing Crosire's ReShade version '0.19.2.905' built on '2015-07-04 14:33:40' loaded from "C:\Program Files (x86)\Steam\steamapps\common\Batman Arkham Knight\Binaries\Win64\dxgi.dll" to "C:\Program Files (x86)\Steam\steamapps\common\Batman Arkham Knight\Binaries\Win64\BatmanAK.exe" ... 09/09/2015 15:21:34:489 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ... 09/09/2015 15:21:34:489 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:489 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ... 09/09/2015 15:21:34:489 [04608] | INFO | > Libraries loaded. 09/09/2015 15:21:34:489 [04608] | INFO | > Found 9 match(es). Installing ... 09/09/2015 15:21:34:552 [04608] | INFO | > Installed 9 hook(s). 09/09/2015 15:21:34:552 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ... 09/09/2015 15:21:34:552 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:552 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ... 09/09/2015 15:21:34:552 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:552 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ... 09/09/2015 15:21:34:553 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:553 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ... 09/09/2015 15:21:34:553 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:553 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ... 09/09/2015 15:21:34:553 [04608] | INFO | > Delayed. 09/09/2015 15:21:34:553 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\user32.dll" ... 09/09/2015 15:21:34:553 [04608] | INFO | > Libraries loaded. 09/09/2015 15:21:34:560 [04608] | INFO | > Found 5 match(es). Installing ... 09/09/2015 15:21:34:596 [04608] | INFO | > Installed 5 hook(s). 09/09/2015 15:21:34:596 [04608] | INFO | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ... 09/09/2015 15:21:34:596 [04608] | INFO | > Libraries loaded. 09/09/2015 15:21:34:597 [04608] | INFO | > Found 8 match(es). Installing ... 09/09/2015 15:21:34:655 [04608] | INFO | > Installed 8 hook(s). 09/09/2015 15:21:34:655 [04608] | INFO | Initialized. 09/09/2015 15:21:34:655 [04608] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0000000000147098)' ... 09/09/2015 15:21:34:656 [04608] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\dxgi.dll" ... 09/09/2015 15:21:34:656 [04608] | INFO | > Found 7 match(es). Installing ... 09/09/2015 15:21:34:656 [04608] | INFO | > Installed 7 hook(s). 09/09/2015 15:21:35:017 [04608] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00000000001485A8)' ... 09/09/2015 15:21:35:279 [04608] | INFO | Redirecting 'RegisterClassExW(00000000001483B0)' ... 09/09/2015 15:21:35:372 [05060] | INFO | Redirecting 'RegisterClassW(00000000176DFE10)' ... 09/09/2015 15:21:35:372 [05060] | INFO | > Adding 'CS_OWNDC' window class style flag to 'SplashScreenClass'. 09/09/2015 15:21:40:909 [04608] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d11.dll" (Just loaded via 'LoadLibraryA("d3d11.dll")') ... 09/09/2015 15:21:40:909 [04608] | INFO | > Found 2 match(es). Installing ... 09/09/2015 15:21:40:925 [04608] | INFO | > Installed 2 hook(s). 09/09/2015 15:21:40:925 [04608] | INFO | Redirecting 'D3D11CreateDevice(0000000005E43AA0, 0, 0000000000000000, 0, 0000000008589DDC, 1, 7, 0000000008589D1C, 00000000001458CC, 0000000061FC78B0)' ... 09/09/2015 15:21:40:925 [04608] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain': 09/09/2015 15:21:40:925 [04608] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000005E43AA0, 0, 0000000000000000, 0, 0000000008589DDC, 1, 7, 0000000000000000, 0000000000000000, 0000000008589D1C, 00000000001458CC, 0000000061FC78B0)' ... 09/09/2015 15:21:42:132 [04608] | INFO | Redirecting 'IDXGIFactory::CreateSwapChain(00000000021CD7D0, 0000000014E1D3A0, 0000000000145D30, 0000000061FC7868)' ... 09/09/2015 15:21:42:133 [04608] | INFO | Recreated effect environment on runtime 00000000BAC5D410. 09/09/2015 15:21:43:570 [05384] | INFO | Redirecting 'ID3D11Device::CreateDeferredContext(0000000014E51350, 0, 0000000061FC5B70)' ... 09/09/2015 15:21:43:581 [08492] | INFO | Redirecting 'ID3D11Device::CreateDeferredContext(0000000014E51350, 0, 0000000061FC57B0)' ... 09/09/2015 15:21:43:592 [04920] | INFO | Redirecting 'ID3D11Device::CreateDeferredContext(0000000014E51350, 0, 0000000061FC53F0)' ... 09/09/2015 15:21:43:603 [01300] | INFO | Redirecting 'ID3D11Device::CreateDeferredContext(0000000014E51350, 0, 0000000061FC4C70)' ... 09/09/2015 15:21:43:614 [01064] | INFO | Redirecting 'ID3D11Device::CreateDeferredContext(0000000014E51350, 0, 0000000061FC46B0)' ... 09/09/2015 15:21:44:806 [04608] | INFO | Redirecting 'RegisterRawInputDevices(00007FFC5CE11B30, 1, 16)' ... 09/09/2015 15:21:45:047 [05068] | INFO | Loading effect from "C:\Program Files (x86)\Steam\steamapps\common\Batman Arkham Knight\Binaries\Win64\ReShade.fx" ... 09/09/2015 15:21:45:186 [05068] | INFO | > Successfully compiled effect.

EDIT: if you have read my message before I edit it, sorry, I posted a wrong dxgi.log (one from Metal Gear Solid V: The Phantom Pain)... :/
Last edited by Dr4Wm4N; Sep 9, 2015 @ 6:26am
LelekPL Sep 9, 2015 @ 6:15am 
Originally posted by Kaldaien:
Thanks very much, it's working as intended in the tool... so it's definitely something to do with the game. Probably the same problem Reshade is running into.

I added more debug info that will tell me exactly what it was doing at the time of crash, so if you could include the results from another test run of BatmanAK.exe, it'd be a big help. Re-download the DLL, the new version may sort out DEP-related issues.

Using [ code ] ... [ /code ] instead of [ quote ] ... [ /quote ] will produce a more readble ouput, by the way (all without the spaces, of course).

Here are the results from the next test run of Arkham Knight. I hope this helps:
09/09/2015 15:12:41: dxgi.log created ----------------------------------------------------------------------------------- 09/09/2015 15:12:41: System Directory: C:\WINDOWS\system32 09/09/2015 15:12:41: Loading default dxgi.dll: (C:\WINDOWS\system32\dxgi.dll) ----------------------------------------------------------------------------------- 09/09/2015 15:12:41: Initializing NvAPI: Success 09/09/2015 15:12:41: >> NVIDIA Driver Version: 355.82 09/09/2015 15:12:41: * Number of Installed NVIDIA GPUs: 1 (0 are in SLI mode) 09/09/2015 15:12:41: Importing CreateDXGIFactory{1|2} 09/09/2015 15:12:41: ================================ 09/09/2015 15:12:41: CreateDXGIFactory: 90BE4990 09/09/2015 15:12:41: CreateDXGIFactory1: 90BD7A88 09/09/2015 15:12:41: CreateDXGIFactory2: 90BD8590 09/09/2015 15:12:41: === Initialization Finished! === 09/09/2015 15:12:41: [!] CreateDXGIFactory (1273792, 0000000000137098) -- [Calling Thread : 1074] 09/09/2015 15:12:41: Calling original function: (ret=S_OK) 09/09/2015 15:12:41: Original VFTable entry for IDXGIFactory::EnumAdapters: 00007FFF90BD6DC4 (Memory Policy: Execute + Read-Only) 09/09/2015 15:12:41: + EnumAdapters_Original: 00007FFF90BD6DC4 09/09/2015 15:12:41: New VFTable entry for IDXGIFactory::EnumAdapters: 00007FFF8F7DE510 (Memory Policy: Execute + Read/Write) 09/09/2015 15:12:41: [!] IDXGIFactory::EnumAdapters (0000000005E09880, 0, 00000000001370A0) -- [Calling Thread : 1074] 09/09/2015 15:12:41: Calling original function: (ret=S_OK) 09/09/2015 15:12:41: Original VFTable entry for (*ppAdapter)->GetDesc: 00007FFF90BD2FE0 (Memory Policy: Execute + Read-Only) 09/09/2015 15:12:41: + GetDesc_Original: 00007FFF90BD2FE0 09/09/2015 15:12:41: New VFTable entry for (*ppAdapter)->GetDesc: 00007FFF8F7DDFF0 (Memory Policy: Execute + Read/Write) >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 << 09/09/2015 15:12:41: [!] IDXGIFactory::EnumAdapters (0000000005E09880, 1, 00000000001370A0) -- [Calling Thread : 1074] 09/09/2015 15:12:41: Calling original function: (ret=S_OK) 09/09/2015 15:12:41: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M 09/09/2015 15:12:41: [!] IDXGIAdapter::GetDesc (0000000005E08440, 000000000013714C) -- [Calling Thread : 1074] 09/09/2015 15:12:41: Calling original function: (ret=S_OK) 09/09/2015 15:12:43: [!] CreateDXGIFactory (1279184, 00000000001385A8) -- [Calling Thread : 1074] 09/09/2015 15:12:43: Calling original function: (ret=S_OK) 09/09/2015 15:13:04: [!] IDXGIFactory::EnumAdapters (0000000014481BC0, 0, 0000000000135E40) -- [Calling Thread : 1074] 09/09/2015 15:13:04: Calling original function: (ret=S_OK) >> (Host Application Tried To Enum Intel or Microsoft Adapter) -- Skipping Adapter 0 << 09/09/2015 15:13:04: [!] IDXGIFactory::EnumAdapters (0000000014481BC0, 1, 0000000000135E40) -- [Calling Thread : 1074] 09/09/2015 15:13:04: Calling original function: (ret=S_OK) 09/09/2015 15:13:04: @ Returning Adapter w/ Name: NVIDIA GeForce GTX 660M 09/09/2015 15:13:04: [!] IDXGIAdapter::GetDesc (00000000144E5BD0, 0000000000135E80) -- [Calling Thread : 1074] 09/09/2015 15:13:04: Calling original function: (ret=S_OK)
Kaldaien Sep 9, 2015 @ 6:32am 
@LelekPL: I take it, it's crashing still? Kind of a weird place for that to happen, to be honest. Almost nothing special happens there.

By the way, do you have any special overlay software running? The Steam Overlay seems to work fine with this DLL, but I don't know about anything else. It's kind of a race between overlays to get their hooks in-place first :P I'm not doing it cooperatively right now, so it's almost a miracle that the Steam overlay works.

If we can narrow this down to some 3rd party overlay, that would give me some direction. Because I've personally tested this DLL in no fewer than 10 games and it works quite well in all of them (on my machines).
Last edited by Kaldaien; Sep 9, 2015 @ 6:41am
< >
Showing 1-15 of 1,103 comments
Per page: 15 30 50

Date Posted: Sep 7, 2015 @ 7:33pm
Posts: 1,103