doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.44k stars 868 forks source link

Trackmania 2 GPU hang on loading screen #664

Closed BlazeKl closed 5 years ago

BlazeKl commented 6 years ago

The game started to hang on some maps since commit https://github.com/doitsujin/dxvk/commit/6579b2ad994f0ef43459f4dd2150ca1e8c886e13

recorded an apitrace with an older version of dxvk since both wined3d and newer dxvk have problems with the loading screen crashing or hanging, I can trace another one with latest dxvk if you need it

Software information

Trackmania 2 standalone non steam version max settings

System information

Apitrace file(s)

Log files

doitsujin commented 6 years ago

You mentioned that it works with "older" DXVK, can you pinpoint the version (or better, the exact commit) which introduces the issue?

BlazeKl commented 6 years ago

https://github.com/doitsujin/dxvk/commit/6579b2ad994f0ef43459f4dd2150ca1e8c886e13 introduced the bug

ZeroFault commented 6 years ago

I wonder if this is related to the freeze I get in Valley benchmark on WIndows w/ DXVK. It was also introduced by the 6579b2a commit

doitsujin commented 6 years ago

Sorry for the very late reply. Is this still an issue with current DXVK and driver versions? I can't reproduce the hang with your apitrace on my RX 480.

BlazeKl commented 6 years ago

tested the game again with recently (5 minutes ago) compiled mesa and dxvk and it seems the hang is fixed

EDIT: nvm, I was using older libraries on the game's folder the issue is still present

BlazeKl commented 6 years ago

the problem is that the game seems to hang when the game is running too fast because if I trace the game or do a hang report with latest dxvk the game doesn't hang at all

I may try doing a trace on windows and see if it hangs on dxvk on linux

EDIT: https://drive.google.com/open?id=1l4pKBtN4Yv46e5Qbq0hV8LhVSL-E-cVu I recorded this trace on windows, it replays fine on windows but for some reason it crashes for me on wine+dxvk

BlazeKl commented 5 years ago

can't replicate the issue anymore with my new RX 470, maybe this issue is releated to GCN 1.0 or it just got fixed some time ago. Anyways I'll close this unless someone get this problem again