protonscr

Missing textures in Far Cry 5

dxvkclosed bug
doitsujin/dxvk#344 · opened 2018-05-05 by AccountOneOff · updated 2018-11-08 · 23 comments · github
AAccountOneOff 2018-05-05 github

Some of the ground textures are missing and show up as black. Water is bugged as well.

Software information

Far Cry 5
High preset

System information

  • GPU: GTX 960
  • Driver: 396.24
  • Wine version: 3.5 Staging
  • DXVK version: 94b7466

Apitrace file(s)

Log files

Ddoitsujin maintainer 2018-05-05 github

Missing terrain should be fixed as of 5a639797d24db85aaf3da9ab2d98ac5848687736.

AAccountOneOff 2018-05-06 github

Ground textures now work. Not exactly sure how to describe this problem but it's been present for a while now. Objects get distorted getting near them and go back to normal a second later. Recored a trace of the problem:

System information

  • GPU: GTX 960
  • Driver: 396.24
  • Wine version: 3.7 Staging
  • DXVK version: 757be61

Apitrace:

https://drive.google.com/open?id=1H7bpOTGNijex4hMKCERgKe_UebYjtHYm

Logs:

I'll try to get a trace of the water sometime soon.

Ddoitsujin maintainer 2018-05-07 github

@AccountOneOff I cannot make out what the issue is because the trace is just as broken as the old one. If anyone can record a trace on Windows and see if that improves things, that would be appreciated.

AAccountOneOff 2018-05-07 github

Placing this here in case you didn't see it on Discord. Here's the issue shown in the second trace when zooming into the tree. https://www.youtube.com/watch?v=NIyoJNjFzFA

AAccountOneOff 2018-05-07 github

Here's lighting issue I mentioned on Discord: https://www.youtube.com/watch?v=OZWjekCsIhc

DXVK version: cd92d0b

https://drive.google.com/open?id=1dZuI7hUsbJjg74CpvYF4aQ-A-h6JjAFE

Lighting issue isn't present when I replay the trace but maybe it's different on AMD?

Jjarrard 2018-05-08 github

Can't seem to find any DXVK info on howto obtain version information on a built DXVK. Is there a obvious trick I'm missing? or should I just take note at the walloftext on build time?

EDIT: I did not realize you could do apitrace under windows for a proper log. So obvious now, sometimes I can be really retarded!

Ssaboya 2018-05-08 github

@jarrard It's the commit hash of the version you are building.

AAccountOneOff 2018-05-11 github

Muzzle flash, explosions, and fire don't render. I also traced some lighting and shadow issues that might be related to the water issue.

DXVK version: c7d2957

https://drive.google.com/open?id=1bNIovT4AL3gahV9p4ENozZzYBRC9vUxH

Mmozo78 2018-05-20 github

With latest DXVK builds graphics are messed severely. All is in red.

AAccountOneOff 2018-05-20 github

@mozo78 did you use the nightlies by chance? Those create problems with Far Cry 5. Can you please test with my build?

dxvk-master.zip

Mmozo78 2018-05-21 github

Yes with your build there aren't any graphical problems :) I always use latest builds. Where did you get it from?

AAccountOneOff 2018-05-21 github

I compiled it myself.

Mmozo78 2018-05-21 github

Understood thank you :)

AAccountOneOff 2018-05-25 github

Explosions, muzzle flash, fire, and particles now render. The only problem present now is the LOD issue mention in https://github.com/doitsujin/dxvk/issues/344#issuecomment-387183881

AAccountOneOff 2018-05-26 github

Rendering issues now fixed with the dxbc-correct-derivs branch.

Ddoitsujin maintainer 2018-05-26 github

Should work on master as well now.

Mmozo78 2018-05-26 github

Great news, thank you \m/

Mmozo78 2018-11-08 github

@doitsujin, version 0.91 again introduces sеvere graphics issues and heavy flickering with this game. I tried 0.90 and 0.91 where the problem exists. With 0.81 there aren't any problems with the graphics. I tried the latest Nvidia drivers and the beta 396.54.09 also to no avail. I can record a clip if you wish.

1
2
d3d11.log:
https://pastebin.com/im97UAUb
dxgi.log:
https://pastebin.com/78X2wkZ6

Ddoitsujin maintainer 2018-11-08 github

@mozo78 I'm aware of that, and I won't fix it. Some users have reported that building DXVK with an older GCC version fixes the issue.

Mmozo78 2018-11-08 github

No problem I can play it with older DXVK version but what is the reason you don't want to fix it?

Ddoitsujin maintainer 2018-11-08 github

Two reasons:

  • It is still impossible to run legal versions of this game on wine.
  • I have absolutely no clue what the hell is going on. This is probably the same issue that caused Far Cry 5 to be all red in the past, it only happened when building DXVK with some specific tool chains. In other words, I cannot fix it.
Ppchome 2018-11-08 github

@doitsujin

I'm aware of that, and I won't fix it. Some users have reported that building DXVK with an older GCC version fixes the issue.

Good candidate for "Known issues" wiki page. Issue description and current status will inform people that you aware.

I'm wondering is this a regression in GCC or an flag, and is this issue affects both MinGW and winelib builds.

Mmozo78 2018-11-08 github

Two reasons:

* It is still impossible to run legal versions of this game on wine.

* I have absolutely no clue what the hell is going on. This is probably the same issue that caused Far Cry 5 to be all red in the past, it only happened when building DXVK with some specific tool chains. In other words, I **cannot** fix it.

I see. Thank you :)

Upstream links