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

Several Unity games have rendering issues in Mesa 18.2 #461

Closed
aladar42 opened this issue Jun 28, 2018 · 9 comments
Closed

Several Unity games have rendering issues in Mesa 18.2 #461

aladar42 opened this issue Jun 28, 2018 · 9 comments
Labels

Comments

@aladar42
Copy link

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

@VadikLeshy
Copy link

VadikLeshy commented Jun 28, 2018

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

@doitsujin
Copy link
Owner

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

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

@doitsujin doitsujin added the bug label Jun 28, 2018
@aladar42
Copy link
Author

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?

@VadikLeshy
Copy link

Bio Inc Redemption is now works fine, thanks!

@Trafen
Copy link

Trafen commented Jul 2, 2018

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

@doitsujin
Copy link
Owner

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

@aladar42
Copy link
Author

aladar42 commented Jul 2, 2018

Works fine here even on 18.1.3.

@Trafen
Copy link

Trafen commented Jul 4, 2018

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:(

@doitsujin
Copy link
Owner

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.

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

4 participants