protonscr

[d3d9] Spintires crashes when loading map.

dxvkclosed wine bug
doitsujin/dxvk#5017 · opened 2025-06-16 by barthess · updated 2025-06-16 · 5 comments · github
Bbarthess 2025-06-16 github

Game successfully starts and shows menu with 3D background.
Game always crashes when I try to start any map.

Software information

I play Spintires v.1.5.1 (v.1.7.1 and v.03.03.16 crashes as the same way). Game settings doesn't matter.

System information

AMD Radeon RX 7600 (0x1002:0x7480:0xCF)
amdgpu + radv
mesa-25.1.3
wine-staging 10.10
DXVK: v2.6.2

Apitrace file(s)

https://disk.yandex.ru/d/d8Nwqsr_W5futw

Log files

spintires.log

BBlisto91 2025-06-16 github

Hi there and thank you for the report.
There is quite a lot of d3dx spam in your log. Does it work if you install d3dx9 via winetricks?

Bbarthess 2025-06-16 github

Does it work if you install d3dx9 via winetricks?

Yes. Installing both d3dx9 and dxvk in prefix solves the problem.

KK0bin maintainer 2025-06-16 github

In that case it's not a DXVK problem. D3DX9 is a helper library that works on top of D3D9. If you don't install the Microsoft version with Winetricks, it'll use the one implemented by Wine and that's what causes the problems here.

BBlisto91 2025-06-16 github

d3dx is a separate helper library in Wine unrelated to dxvk. If you want to then you can report to the wine devs at https://bugs.winehq.org/

Edit: Yes winetrick fetches Microsofts version of the files.

Bbarthess 2025-06-16 github

I've rechecked myself:

  1. Clean prefix + winetricks d3dx9 fixes crash on map loading but FPS in game is unplayable
  2. Clean prefix + winetricks dxvk causes game crash on map loading
  3. Clean prefix + winetricks d3dx9 dxvk fixes crash and boosts performace. FPS is lower than on Windows but it's playable now.

Nothing extracted yet.