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

[d3d9] TrackMania Forever games are crashing during startup #1278

Closed
NorbertHarangozo opened this issue Dec 16, 2019 · 7 comments
Closed

[d3d9] TrackMania Forever games are crashing during startup #1278

NorbertHarangozo opened this issue Dec 16, 2019 · 7 comments
Labels

Comments

@NorbertHarangozo
Copy link
Contributor

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)

Log files

@Joshua-Ashton
Copy link
Collaborator

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.

@NorbertHarangozo
Copy link
Contributor Author

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

@Joshua-Ashton
Copy link
Collaborator

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

@NorbertHarangozo
Copy link
Contributor Author

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

@Joshua-Ashton Joshua-Ashton reopened this Dec 17, 2019
Joshua-Ashton added a commit that referenced this issue Dec 18, 2019
If the app specifies w == 0 and/or h == 0 then this will be filled in by then in the presentation params.

Impacts #1278
@Joshua-Ashton
Copy link
Collaborator

Can you try now?

@Joshua-Ashton
Copy link
Collaborator

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...

@NorbertHarangozo
Copy link
Contributor Author

That did the trick. Works fine now.

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

No branches or pull requests

2 participants