dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Gujian 3 corrupted graphics on Nvdia

Open 3kinox opened this issue 4 years ago • 12 comments

As can be seen in attached images, in some areas, graphics get corrupted on my Nvidia card, In particular on characters (main or NPC). This also happens near water, not sure if it is lighting related or something. Also, it does not happen on my integrated intel card, only on Nvidia card. Does not happen on Geforce now either. I attached log, and ran with vk validation layers already, did not see any particularly meaningul errors.

API trace makes the game freeze at launch so can't provide one seems. If I can add anything to help don't hesitate.

  • Images of the issue: 20200927143649_1 20200927141700_1 20200927141655_1

Software information

Game: Gujian3 API: dx11 Settings: any (tried from lowest to highest)

System information

  • GPU: GTX 1070
  • Driver: 450.66
  • Wine version: proton 5.09
  • DXVK version: 1.7.8

Apitrace file(s)

Freeze game at launch

Log files

3kinox avatar Oct 01 '20 07:10 3kinox

Does this work with wined3d?

doitsujin avatar Oct 03 '20 12:10 doitsujin

20201003184026_1 20201003184017_1

I attached wined3d images, there are other bugs (like no hair and kinda broken clothes), but not this one indeed.

3kinox avatar Oct 03 '20 16:10 3kinox

How exactly do you reproduce this bug? The game seems to look fine on the latest Nvidia Vulkan beta driver:

Screenshot_20201003_214431

doitsujin avatar Oct 03 '20 19:10 doitsujin

Oh yeah sorry for not being precise enough: The bug only happens in some areas. The one I showed you is when going outside of the village later in the story - when switching protagonist - At that time, it happens at multiple times in the village too, notably during a fight included in the story, and almost directly after switching characted while teaching martial arts to children, and near the a river with a boat. Otherwise, it also happens near the fountain in the capital (nearer in the story for you). I can send more screenshots if it helps. In the very first parts I did not have any issues, need to at least go until the capital - is half an hour of playing I'd say to get there.

I will also try latest beta drivers just in case.

3kinox avatar Oct 03 '20 20:10 3kinox

Please provide a savegame if possible, I don't really have the time to play through the entire game to (maybe) find a spot where the bug appears.

doitsujin avatar Oct 03 '20 20:10 doitsujin

Okay, as @LordJBeckman said, no way to transfer saves ... But, I managed to get an apitrace, turns out, load time is tied to framerate .... So it was just excruciatingly slow. With DXVK_ASYNC=1 I ended up managing to get to a state where I could get it done. There goes the link: https://we.tl/t-Lif4srxNYK (on wetransfer since firefox send is dead and github won't take such large files...)

3kinox avatar Oct 04 '20 12:10 3kinox

@3kinox thanks, but the trace file is broken since it does not contain any DXGI calls, and I can therefore not replay it.

Did you copy both dxgi.dll and dxgitrace.dll from apitrace next to the game, and did you also set the DLL override for dxgi to native? (WINEDLLOVERRIDES=dxgi=n)

doitsujin avatar Oct 04 '20 22:10 doitsujin

@doitsujin I did copy both but indeed, I did not put the override. I'm on proton, and I've added the WINEDLLOVERRIDES=dxgi=n in launch option now. Here's the result: https://we.tl/t-HACeB5xUD8 I stayed at bug position at the end - you can ignore the few first tries, hard to control anything at sub 1 fps ;p

3kinox avatar Oct 05 '20 07:10 3kinox

Thanks, that one works. Seems like an Nvidia-only problem, it works fine on RADV but I can reproduce the bug on NV.

doitsujin avatar Oct 05 '20 08:10 doitsujin

Just chiming in to say the bug is still present with latest driver/dxvk (in proton ge). Any other thing I can do to help ?

3kinox avatar Jun 23 '21 08:06 3kinox

@3kinox Friendly ping. Could i get you to try this again with latest dxvk and drivers?

Blisto91 avatar Jul 26 '22 17:07 Blisto91

@Blisto91 I tried with latest dxvk git and nvidia 515.57, no luck bug is still there.

3kinox avatar Jul 26 '22 18:07 3kinox

Made a trace so just adding it to the issue here. https://mega.nz/file/MpYW2ByB#Eq4bO7kfyx5yPbn3luhKLFXDSNSZYBKJruTe07PtYb8

It is a bit cursed since it doesn't show the main menu or loading screen so you can see the world blinking and everything loading in. The actual ingame time is at the end when you see the main character.

Blisto91 avatar Dec 07 '22 09:12 Blisto91

Does the above PR fix the issue?

doitsujin avatar Dec 11 '22 18:12 doitsujin