protonscr

NieR Automata: Lighting artifacts

dxvkclosed nvidia proprietary
doitsujin/dxvk#319 · opened 2018-04-23 by AniLeo · updated 2018-04-24 · 5 comments · github
AAniLeo 2018-04-23 github

Description: When Ingame looking at areas with direct lighting, artifacts appear all over the place. When looking at a shadow spot which doesn't have any direct lighting, the artifacts don't show (it happens with or without Fullscreen Mode, I just happened to be on Windowed mode when taking the second screenshot).

bug
no-bug

@kd-11 also managed to get this artifact output before when developing with Vulkan for RPCS3 and mentioned that it was a memory barrier issue, if that helps narrowing down the issue.

Software information

NieR Automata via Wine Steam
Tested several graphical settings combinations including minimal, none fix the issue

System information

  • GPU: GeForce 960M
  • Driver: Proprietary NVIDIA 387.34
  • Wine version: wine-3.6 Staging (also tested on wine-3.5 Staging)
  • DXVK version: 0.42 (also tested on 0.41, unfortunately I'm not able to build the project to check the latest git as well)

Apitrace file(s)

I will provide one as soon as I'm able to, need someone to indicate how to set Wine back to using the default D3D11 DLLs so I can capture it as I haven't found a way to do so

Log files

Ddoitsujin maintainer 2018-04-23 github

You might want to update your driver, that version is ancient and known to have issues with DXVK.

FWIW, there's a screenshot of someone running it on a 980 Ti with no artifacts, and I'm testing it regularly on RADV where it has been working more or less perfectly since v0.20 back in January.

AAniLeo 2018-04-23 github

Thanks for the heads up, nvidia-387 is actually the latest drivers Ubuntu 17.10 offers so I didn't even notice there were new ones.
I have now added the ppa:graphics-drivers/ppa and am installing nvidia-396, will report back as soon everything is updated.

?ghost 2018-04-23 github

If you get performance issues run the environment variable __GL_NextGenCompliler=0

Llibcg 2018-04-23 github

__GL_NextGenCompiler=0

AAniLeo 2018-04-24 github

Graphical Issues are fixed on nvidia-396
__GL_NextGenCompiler=0 also provides a speed boost over not using it, bringing performance to about the same as on Windows (suffering from the same slow motion issue you mentioned on the linked thread above becuase it's a 960M but that's the card being well below game requirements)

I suggest adding a note about 387 at https://github.com/doitsujin/dxvk/wiki/Driver-support

Anyways, DXVK looking really cool, hoping that Special K injection will eventually work under Wine for that sweet performance boost, already finished the game on my Windows Desktop once and it's truly deserving of the love it's receiving :smile:

Closing the issue as solved

Launch options