protonscr

FIFA 2003 crash on startup with DXVK

dxvkclosed
doitsujin/dxvk#5414 · opened 2025-12-30 by casasfernando · updated 2025-12-31 · 8 comments · github
1 matching comments, n / p to jump
Ccasasfernando 2025-12-30 github

Installed FIFA 2003 on a new Wine prefix (tried Wine 10.7 and Wine-GE 8-26). The game works fine with wined3d but it crashes on startup (very early, before any intro video) with DXVK. Partial details below:

Unhandled exception: page fault on read access to 0x0000001b in 32-bit code (0x62445a22).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:62445a22 ESP:0098f74c EBP:0098f790 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000002 EBX:0098f7d8 ECX:01208a78 EDX:0000007a
 ESI:00000041 EDI:012074b0
Stack dump:
0x0098f74c:  62480b9b 0098f75c 00000041 0000007a
0x0098f75c:  0000007a 00000000 00000001 00000003
0x0098f76c:  00000004 00000005 00000002 00000006
0x0098f77c:  0000005c 00000000 00000041 00000003
0x0098f78c:  00001002 0098f818 62444caf 012074b0
0x0098f79c:  00000041 00000010 01208988 00000000
Backtrace:
=>0 0x62445a22 in d3d9 (+0x5a22) (0x0098f790)
  1 0x62444caf in d3d9 (+0x4caf) (0x0098f818)
  2 0x62441b32 in d3d9 (+0x1b32) (0x01207928)
  3 0x00000002 (0x7077d4d4)
  4 0x7068b320 in d3d8 (+0x4b320) (0x7064f3b0)
  5 0xfff0e483 (0x04244c8d)
0x62445a22 d3d9+0x5a22: movzbl	0x19(%eax),%eax

Software information

FIFA 2003 retail version (no patches available)

System information

  • GPU: AMD Radeon RX 6700 XT
  • Driver: mesa 25.0.7
  • Wine version: tried Wine 10.7 and Wine-GE 8-26
  • DXVK version: 2.7.1
  • OS: Debian 13 (up to date)

Apitrace file(s)

Log files

fifa2003_wine.log.zip

WWinterSnowfall 2025-12-30 github

Works just fine here:

Image Image

Your apitrace also plays back just fine...

Looking at the logs, I see:

wine client error:158: write: Bad file descriptor

... which I don't get. Either way, doesn't look like an issue with dxvk at least. Try a more recent Wine, I guess?

P.S.: Probably also worthwhile to check dxvk master.

Ccasasfernando 2025-12-30 github

Tried master from https://github.com/doitsujin/dxvk/actions/runs/20370319301/artifacts/4924229901 but it fails to start as well (with a different error though, let me know if you would like a log for it as well).

Which Wine version/flavour did you use to repro? I will try to use the latest one from 10.x but I was able to repro with 10.7 which is only a few months old.
Regarding the apitrace, I copied the dlls to the game directory but I didn’t remove DXVK’s dlls from the prefix (e.g.: windows/system32). Was that a mistake?

WWinterSnowfall 2025-12-30 github

Which Wine version/flavour did you use to repro?

I'm on the latest Wine Staging - think it's 11.0-rc4 at this point.

Regarding the apitrace, I copied the dlls to the game directory but I didn’t remove DXVK’s dlls from the prefix (e.g.: windows/system32). Was that a mistake?

No, that's fine. But in this case it doesn't help reproduce the problem you're experiencing.

Ccasasfernando 2025-12-30 github

I managed to repro with Wine Staging 10.20 (latest one on 10.x branch) and dxvk 2.7.1.
Not sure what happened last time since I tried too many things on the previous prefix, but restarted from scratch and managed to repro consistently while also collecting an apitrace and logs.

Without dxvk (working):

With dxvk (crashing on start up. Apitrace files are very small so not sure if they are useful):

Next I will try with dxvk master and report back.

Thanks

Ccasasfernando 2025-12-30 github

Tried again dxvk master from https://github.com/doitsujin/dxvk/actions/runs/20370319301/artifacts/4924229901 with Wine Staging 10.20 and I can confirm it works, so whatever the cause of the problem is with dxvk 2.7.1 and FIFA 2003, it seems to be resolved in master.

Having said that, I also tested dxvk master with a Wine-GE 8-26 prefix and found that DXVK doesn't work there, but as mentioned before with a different error:

info:  Game: fifa2003.exe
info:  DXVK: v2.7.1-355-gb650faef
info:  Build: x86 gcc 15.2.0
info:  Found built-in config:
info:    d3d9.cachedWriteOnlyBuffers = True
info:  Effective configuration:
info:    d3d9.cachedWriteOnlyBuffers = True
0024:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winevulkan.dll" at 6FA80000: builtin
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa838c0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Found device: AMD Radeon RX 6700 XT (RADV NAVI22) (radv 25.0.7)
info:    Skipping: Device does not support required feature 'maintenance6' (extension: VK_KHR_maintenance6)
info:  Found device: llvmpipe (LLVM 19.1.7, 256 bits) (llvmpipe 0.0.1)
info:    Skipping: Device does not support required feature 'maintenance6' (extension: VK_KHR_maintenance6)
warn:  DXVK: No adapters found. Please check your device filter settings
warn:  and Vulkan drivers. A Vulkan 1.3 capable setup is required.
te
rmi
nate
 ca
lled
 afte
r th
rowi
ng a
n in
stan
ce o
f 'd
xvk:
:Dxv
kErr
or'

Does this mean that next version of DXVK will stop working with older Wine version (e.g.: Wine-GE 8-26)?

Edit: BTW @WinterSnowfall I noticed in your screenshots above that while testing you wasn't using dxvk 2.7.1 but dxvk master instead, hence why I believe you wasn't able to reproduce the issue 😏

WWinterSnowfall 2025-12-31 github

Interesting. Well yes, I always follow master for obvious reasons, but can't say I can think of a reason for any breakage with 2.7.1, since not much has changed in d3d8 since then.

But anyway, happy that you got it working too 😉.

Does this mean that next version of DXVK will stop working with older Wine version (e.g.: Wine-GE 8-26)?

It's possible older winevulkan is no longer compatible, I'm not entirely sure why that extension isn't picked up. Nobody's really testing ancient Wine versions with the latest dxvk.

Ccasasfernando 2025-12-31 github

It's possible older winevulkan is no longer compatible, I'm not entirely sure why that extension isn't picked up. Nobody's really testing ancient Wine versions with the latest dxvk.

Should I open a separate issue/question to get confirmation about this?
For my specific use case it’s very important to confirm this. I have too many games installed from retail media that will stop working once dxvk is updated from 2.7.1 to vNext so I would like to prepare in advance.

Ccasasfernando 2025-12-31 github

I went ahead and tested the game with DXVK 2.6.2 and 2.7. Works fine with both version.
The problem seems to be specific to DXVK 2.7.1 so I think we can close this.

Thanks

DLLs