doitsujin / dxvk

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

[Regression] World of Warcraft causes GPU hang #393

Closed Kerrung closed 6 years ago

Kerrung commented 6 years ago

[Regression] World of Warcraft totally hangs my system with latest DXVK or with 0.52, but works fine with 0.51. After this hang happens, the only thing I can do is a hard reboot.

Software information

World of Warcraft, highest graphics settings used.

System information

Apitrace file(s)

Log files

ghost commented 6 years ago

It must be an issue in the driver

Kerrung commented 6 years ago

@Yardanico

It must be an issue in the driver

I already checked this version. I also tried Mesa 18.0.4 and Mesa 18.1.0, but there's no difference. Hangs happen only if I use the latest DXVK, but do not happen if I use DXVK 0.51.

doitsujin commented 6 years ago

@Kerrung please bisect to figure out the exact commit that causes the issue. This is critical.

Kerrung commented 6 years ago

@doitsujin It seems that I should try to test each commit between 0.51 and 0.52

doitsujin commented 6 years ago

@Kerrung just use git bisect (see here). Please don't forget to recompile before testing each step though... we had that before.

TestMode1 commented 6 years ago

This could be due to game window settings. Can you try with windowed, fullscreen, etc?

Similar logs were with Frostpunk, but without a hang, except on first run. But after setting game window to windowed game worked on radv.

SveSop commented 6 years ago

AMD related i guess. Used nVidia 369.24.02 driver, and latest git and do not crash in World of Warcraft atm.

Did not do a lengthy run, so was just popping a few places with my mage.

Korvox commented 6 years ago

I can reproduce it with a 580, so its an AMD bug, and it does happen on both trunk and release Mesa.

Window settings don't matter, though I can get to see a few characters, but it will always hang on the loading screen.

doitsujin commented 6 years ago

@Korvox @Kerrung Please test again with latest master. a0e0ba1cc8f62ff2f9ea8cac4415ad268447e8c6 fixes a regression that was causing GPU hangs in Far Cry 3, this issue is probably the same.

Kerrung commented 6 years ago

@doitsujin, iI just tested a0e0ba1 and it fixed for me. Thank you very much! You are a real code wizard! Thank you for everything you do! Do you need any more help from me? Unfortunately, I did not have time to do what you asked for. Is this still relevant and should I still do this?

doitsujin commented 6 years ago

Thanks for reporting back. There's no need to bisect anymore since the issue was fixed.

Kerrung commented 6 years ago

@doitsujin, I apologize for this offtopic, but I assume that this information can be useful to you. Wine will soon receive the full support of Vulkan 1.1 and, as I suppose in the future Wine will continue to receive all updates of the latest versions of Vulkan. Can DXVK really benefit from the support of Vulkan 1.1+ in Wine? Thank you.