dxvk: Batman Arkham Knight, game crash in detective mode

Batman Arkham Knight runs perfectly well with DXVK, no graphically issues and performance is really well. Thanks a lot for the hard work. Unfortunately the game crashes on my machine when entering detective mode i.c.w. certain objects. This was also mentioned here https://github.com/doitsujin/dxvk/issues/335. The game usually crashes with a message box from the game itself. screenshot from 2018-08-20 22-02-40 I have also seen unhandled page faults in wine with the same scene. Running in fullscreen mode shows identical behavior, though I guess the message box is just behind the window. That makes it appear like a system freeze.

Software information

Batman Arkham Knight Everything enabled or high, Max FPS: 60, Texture Filtering: 2x Anisotrpic. Nvidia Gameworks features disabled

System information

  • GPU: Nvidia GTX 1080
  • Driver: 396.51
  • Wine version: 3.13 (Staging) from official Fedora repositories
  • DXVK version: v0.70

Apitrace file(s)

Obtained on Windows 10 with the procedure described here https://github.com/doitsujin/dxvk/wiki/Common-issues#apitrace:

Log files

Save Game

Don’t know if this is relevant, but apitrace logging looks like

apitrace: loaded into C:\Program Files (x86)\Steam\steamapps\common\Batman Arkham Knight\Binaries\Win64\BatmanAK.exe
apitrace: warning: D3D11CreateDevice: unexpected IDXGIAdapter pointer 0000000007F67180
apitrace: tracing to C:\Program Files (x86)\Steam\steamapps\common\Batman Arkham Knight\Binaries\Win64\BatmanAK.trace
ERROR: Could Not Get Primary Adapter Handle
apitrace: warning: IDXGIDevice2::QueryInterface: unsupported IID uuid(3e1ff30b-c951-48c3-b010-0fb49f3dca71)
apitrace: warning: pVtbl = 00007FE73E10B880 (C:\windows\system32\dxgi.dll!+0x2b880)
apitrace: warning: WrapID3D11Device2::CreateRenderTargetView: unexpected ID3D11Resource pointer 00007FE6ABA41650
apitrace: flushing trace
apitrace: warning: WrapID3D11Device2::CreateUnorderedAccessView: unexpected ID3D11Resource pointer 00007FE6ABA41650
apitrace: warning: WrapID3D11DeviceContext1::CopySubresourceRegion: unexpected ID3D11Resource pointer 00007F26D94715B0

The last message get repeated over and over again. It took me quite some time to obtain the trace since the game with apitrace attached crashes 9 of 10 times with above message box and apitrace: warning: caught exception 0xc0000005 before I could enter the actual game scene. Is this normal?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 30 (22 by maintainers)

Commits related to this issue

Most upvoted comments

@jp7677 view and test game in wined3d and create api trace

I have added the console output with Vulkan validation layers enabled, eventually this is of any use.

I’m aware of that (it probably is not a driver bug), but this is the first time that someone actually managed to record an apitrace. I’ll take a look next week.