protonscr

Some Unity games: Crash with generic crash dialog before creating rendering window

dxvkclosed
doitsujin/dxvk#87 · opened 2018-02-17 by roothorick · updated 2018-02-17 · 2 comments · github
Rroothorick 2018-02-17 github

Software information

A number of Unity games. Confirmed affected (will be editing as I find more):

  • Action Henk
  • Besiege
  • Beyond Eyes
  • Big Pharma
  • Blueprint Tycoon

Game crashes before creating its rendering window, with a generic "The game crashed." dialog. If you click "OK" on the dialog, the game process becomes an orphaned zombie and remains that way (which shouldn't be possible). This will make Steam think the game is still running. Killing the game from shell while the dialog is still onscreen will make it terminate normally.

Despite its initial appearance, this is definitely caused by either dxvk or something the setup_dxvk.sh script does, as setup_dxvk.sh reset fixes it.

System information

  • GPU: Radeon RX 480
  • Driver: Mesa 17.3.2
  • Wine version: 2.21 (staging)
  • DXVK version: git fd1fd40

Apitrace file(s)

For Action Henk, at least, it doesn't work: warning: C:\apitrace-mingw\x86\bin\..\lib\wrappers\dxgitrace.dll was never used: application probably does not use this API

Log files

varies, see comments

Rroothorick 2018-02-17 github

It appears the logs vary from game to game.

Action Henk, Big Pharma, Blueprint Tycoon:

  • d3d11.log is not created
  • dxgi.log:
err:   DxvkInstance::getExtensions: Extension VK_KHR_surface not supported

Besiege:

  • d3d11.log:
err:   D3D11CreateDevice: Failed to create a DXGI factory
  • dxgi.log:
err:   DxvkInstance::getExtensions: Extension VK_KHR_surface not supported
err:   DxvkInstance::getExtensions: Extension VK_KHR_surface not supported
err:   DxvkInstance::getExtensions: Extension VK_KHR_surface not supported

Beyond Eyes:

  • d3d11.log:
err:   D3D11CreateDevice: Failed to create a DXGI factory
  • dxgi.log:
err:   DxvkInstance::getExtensions: Extension VK_KHR_surface not supported
Rroothorick 2018-02-17 github

It was a problem with my environment the whole time.

Kids: if you're getting err: DxvkInstance::getExtensions: Extension VK_KHR_surface not supported, something's wrong with the Vulkan drivers/libs on your system. It's not dxvk's fault.

DLLs