protonscr

Dawn of Magic 2 - Crash upon starting a new game.

dxvkclosed d3d9
doitsujin/dxvk#3271 · opened 2023-03-01 by jrugia · updated 2023-03-02 · 3 comments · github
Jjrugia 2023-03-01 github

Attempting to launch Dawn of Magic 2 in dxvk causes it to crash upon attempting to start a new game (game loads fine up to the main menu and character creation). Being a 32bit game I suspected maybe it's running out of virtual memory but it doesn't appear to be the case. Tried various dxvk releases but still same error occurs. Game otherwise works fine in WineD3D.

Let me know if I missed anything in the report.

Software information

  • Name of the game: Dawn of Magic 2 (GOG release)
  • Settings used: Tried max settings and lowest, seems to be irrelevant what is set.

System information

  • GPU: AMD RX 6800
  • Driver: Mesa 22.3.6
  • Wine version: 8.2 Staging, 7.15 Staging
  • DXVK version: 2.1, 1.10.3, 1.9.4

Apitrace file(s)

Link - https://drive.google.com/file/d/1k4X_gRU-T8jrf3dubxDhYHSsS4hr5Tm-

Log files

##Additional:

The game crashes with the below error
1

BBlisto91 2023-03-01 github

Thank you for the issue. Trace replays fine but can confirm ingame.

BBlisto91 2023-03-01 github

I can get ingame if i turn off "Landscape bump-mapping"

KK0bin maintainer 2023-03-01 github

3618418 @0 IDirect3DDevice9::SetTextureStageState(this = 0x7cf04f0, Stage = 13, Type = D3DTSS_TEXTURETRANSFORMFLAGS, Value = D3DTTFF_DISABLE) = D3D_OK
3618418: warning: failed with 0x8876086c (D3DERR_INVALIDCALL): Invalid call

Stage identifier of the texture for which the state value is set. Stage identifiers are zero-based. Devices can have up to eight set textures, so the maximum value allowed for Stage is 7.

image

image

Guess we just need to return S_OK.

Error codes