protonscr

[d3d9] TrackMania Forever games are crashing during startup

dxvkclosed d3d9
doitsujin/dxvk#1278 · opened 2019-12-16 by NorbertHarangozo · updated 2019-12-18 · 7 comments · github
NNorbertHarangozo 2019-12-16 github

As of 2f2342e, both TrackMania Forever games are crashing when I try to start them.
The game displays this message right before crashing:
Screenshot_20191216_181945

Replaying the trace seems to work fine on Windows, but it crashes when I try to replay it with Wine during the level loading screen.
The game itself crashes even on Windows when I use DXVK/D9VK's d3d9.dll.

Software information

TrackMania Nations Forever and TrackMania United Forever

The former is the free version of the game. This workaround might be necessary when using Windows 8 or 10 to get the game running.

System information

  • GPU: RX 580 4GB
  • Driver: RADV ACO
  • Wine version: TkG 5.0-rc1
  • DXVK version: 3cdae3a

Apitrace file(s)

  • Same trace that can be found in Joshua-Ashton/d9vk#285.

Log files

Mmisyltoad 2019-12-16 github

Before that we would return INVALIDCALL instead of NOTSUPPORTED there, I will double check my tests I did to see if there was some edge case I missed here.

NNorbertHarangozo 2019-12-17 github

Unfortunately, that didn't fix the problem. I'm getting the exact same message before crashing.

Mmisyltoad 2019-12-17 github

You're testing with 3b119c0b (https://git.froggi.es/doitsujin/dxvk/-/jobs/1047) correct?

NNorbertHarangozo 2019-12-17 github

Yes, I tested that and I'm still getting the same error message.

Mmisyltoad 2019-12-18 github

Can you try now?

Mmisyltoad 2019-12-18 github

The game still doesn't work for me... I just get a white screen and some fairly broken text occasionaly, but D9VK renders the exact same as native D3D9 does for me on AMD and Nvidia...

NNorbertHarangozo 2019-12-18 github

That did the trick. Works fine now.

DLLs