protonscr

Deus Ex: Mankind Divided crashes - vkd3d failed to allocate device memory

vkd3dclosed
HansKristian-Work/vkd3d-proton#124 · opened 2020-05-25 by jqadev · updated 2020-06-10 · 5 comments · github
Jjqadev 2020-05-25 github

Software information

@doitsujin according to your answer https://github.com/HansKristian-Work/vkd3d/issues/122#issuecomment-630757866 I found here https://www.protondb.com/app/449610 that I can download d3dcompiler_47 library from here https://lutris.net/files/tools/dll/d3dcompiler_47.dll
so I put it to ~/.steam/debian-installation/steamapps/common/Deus Ex Mankind Divided/retail and the game started to work but it crashes when I press the space button to continue the story
Screenshot from 2020-05-25 18-18-02

System information (gist)

  • Distro: Ubuntu 20.04 LTS
  • GPU: GeForce 930MX
  • Driver: NVIDIA 440.64
  • Proton version: 5.0-7

Log files

Ddoitsujin maintainer 2020-05-25 github

warn:vkd3d_allocate_device_memory: Failed to allocate device memory, vr -2.
warn:hresult_from_vk_result: Out of device memory.

Your GPU doesn't have enough VRAM to run the game, and vkd3d currently does not handle this at all.

Jjqadev 2020-05-26 github

warn:vkd3d_allocate_device_memory: Failed to allocate device memory, vr -2.
warn:hresult_from_vk_result: Out of device memory.

Your GPU doesn't have enough VRAM to run the game, and vkd3d currently does not handle this at all.

@doitsujin DXVK handles that because I can run the game using it as I wrote here https://github.com/HansKristian-Work/vkd3d/issues/122#issue-620542247.
Are there any plans to handle that in vkd3d as well?
If no, please close this issue.

Ddoitsujin maintainer 2020-05-27 github

Are there any plans to handle that in vkd3d as well?

Yes, but it requires a rewrite of the memory allocation logic.

Jjqadev 2020-06-08 github

@doitsujin congrats on you great work here https://github.com/HansKristian-Work/vkd3d/pull/132 :+1:
Do you have some CI/CD like this https://git.froggi.es/joshua/dxvk/-/jobs?
I would like to test master containing recently merged commits.

Jjqadev 2020-06-10 github

@doitsujin I tested the game against https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.9-GE-2-MF containing https://github.com/HansKristian-Work/vkd3d/pull/132 and it doesn't crash anymore. Thanks :+1:

Launch options

DLLs