protonscr

Several Unity games have rendering issues in Mesa 18.2

dxvkclosed bug
doitsujin/dxvk#461 · opened 2018-06-28 by aladar42 · updated 2018-07-06 · 9 comments · github
Aaladar42 2018-06-28 github

I'm honestly not sure if this is a Mesa bug or DXVK bug, so I'm sorry in advance if I'm opening an useless issue...
After upgrading to LLVM 7 and Mesa 18.2 (from AUR thru mesa-git, built yesterday), several Unity games (So far I tried with Honey Select and Koikatsu!) no longer work with DXVK. Honey Select locks up the whole screen permanently right after starting (before it can even generate any kind of DXVK log), while Koikatsu shows garbage/artefacts once it gets in-game (see https://imgur.com/YBQ7PJ5). I haven't been able to find any list of other Unity games that use DirectX 11, if you know of any I would be happy to test if this applies to more games. I tried it with Cuphead, but for some reason when using DXVK, Wine automatically defaults the game to use DirectX 9, even if DX11 is forced (is this perhaps another bug?).
This happens in both latest release and master, compiled today.
Warning, both games are NSFW, which is why I would like to look for other games that may have the same problem.

Software information

Koikatsu, Honey Select

System information

  • GPU: RX 560
  • Driver: Mesa 18.2
  • Wine version: 3.11
  • DXVK version: 0.60/master compiled 28.6.

Apitrace file(s)

Koikatsu apitrace
Honey Select apitrace
(please note that Honey Select loads to a black screen when the "gameplay" portion happens, thsi is probably a Wine bug as this is what happens when running the game in DX11 mode without DXVK. The game however loads gameplay models even before the portion that doesn't work, so it should still be helpful.)

Log files

Koikatsu d3d11.log
Koikatsu dxgi.log
Honey Select does not generate log file

VVadikLeshy 2018-06-28 github

Bio Inc Redemption is probably affected too (https://imgur.com/TAaLe8y).
GPU: AMD Iceland.
Driver: AMD RADV 18.2 on LLVM 7.0.
Wine: 3.11-staging
DXVK: From GitHub, this commit last.
BioIncRedemption_d3d11.log
BioIncRedemption_dxgi.log

Ddoitsujin maintainer 2018-06-28 github

4520b1ca8fc6cf089da354df8ab7f6e058eefa4e should fix Koikatsu, and probably Bio Inc Redemption as well.

The GPU hang in the other game is unrelated, see #252.

Aaladar42 2018-06-28 github

Can confirm Koikatsu is now fixed, thank you!
As for Honey Select, it worked fine with DXVK before Mesa 18.2, does that mean the bug is on the driver side, then?

VVadikLeshy 2018-06-29 github

Bio Inc Redemption is now works fine, thanks!

TTrafen 2018-07-02 github

For Koikatsu with DXVK 0.60 on Mesa 18.1.3 i had this issues too (ver. 0.54 worked ok). Version 0.61 crash my game on start.

abnormal program termination

System information

  • GPU: Radeon r9 270x
  • Driver: Mesa 18.1.3
  • Wine version: staging-nine 3.11 (also tested on clear wine 3.11)
  • DXVK version: 0.61

Log files

logs

Ddoitsujin maintainer 2018-07-02 github

Replaying the apitrace works fine with 0.61, the crash must be caused by something else.

Aaladar42 2018-07-02 github

Works fine here even on 18.1.3.

TTrafen 2018-07-04 github

My fault, i experimented with DXUP before and i had bad files in the game folder.
Version 0.61 works well.
I'm sorry for useless comment:(

Ddoitsujin maintainer 2018-07-06 github

The Honey Select GPU hang is fixed using latest dxvk, mesa-git and llvm-svn, but like many other Unity Engine games it requires Stream Output for vertex skinning, see #135.

Nothing extracted yet.