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

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

Closed
jrugia opened this issue Mar 1, 2023 · 3 comments · Fixed by #3272
Closed

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

jrugia opened this issue Mar 1, 2023 · 3 comments · Fixed by #3272
Labels

Comments

@jrugia
Copy link

jrugia commented Mar 1, 2023

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

@Blisto91
Copy link
Contributor

Blisto91 commented Mar 1, 2023

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

@K0bin K0bin added the d3d9 label Mar 1, 2023
@Blisto91
Copy link
Contributor

Blisto91 commented Mar 1, 2023

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

@K0bin
Copy link
Collaborator

K0bin commented Mar 1, 2023

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.

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

Successfully merging a pull request may close this issue.

3 participants