Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anno 1701 crashes in game with a DxvkMemoryAllocator error #1410

Closed
WinterSnowfall opened this issue Feb 6, 2020 · 2 comments
Closed

Anno 1701 crashes in game with a DxvkMemoryAllocator error #1410

WinterSnowfall opened this issue Feb 6, 2020 · 2 comments

Comments

@WinterSnowfall
Copy link
Contributor

Anno 1701/Anno 1701: The Sunken Dragon (all settings maxed out, 1080p) crashes almost immediately after starting a mission with the following error:

err:   DxvkMemoryAllocator: Memory allocation failed
err:     Size:      4102400
err:     Alignment: 256
err:     Mem flags: 0x6
err:     Mem types: 0x681
err:   Heap 0: 326 MB allocated, 229 MB used, 349 MB allocated (driver), 8001 MB budget (driver), 8192 MB total
err:   Heap 1: 472 MB allocated, 465 MB used, 476 MB allocated (driver), 24030 MB budget (driver), 24030 MB total
terminate called after throwing an instance of 'dxvk::DxvkError'

Software information

Anno 1701 + The Sunken Dragon Addon (GOG version).

System information

  • GPU: GeForce GTX 1070
  • Driver: 440.48.2
  • Wine version: 5.1 Staging
  • DXVK version: v1.5.3-4-g08fc534

Apitrace file(s)

Will provide one if needed.

Log files

@doitsujin
Copy link
Owner

doitsujin commented Feb 6, 2020

Setting WINE_LARGE_ADDRESS_AWARE=1 should fix this, see #1318.

@WinterSnowfall
Copy link
Contributor Author

WinterSnowfall commented Feb 6, 2020

Setting WINE_LARGE_ADDRESS_AWARE=1 should fix this, see #1318.

... silly me, it's probably the first thing I should have tried. You're right, it seems stable now. Granted this does not happen with WineD3D, but there's #1318 to find a potential solution for the larger issue at hand.

Now that it works for more than 5 seconds, I have more bugs to file :).

Edit: To clarify for anyone looking over this in the future: I did not use WINE_LARGE_ADDRESS_AWARE=1 to fix this, but rather my trusty too-lazy-to-use-CFF-Explorer equivalent: 4GB Patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants