protonscr

[d3d11] Wrong color of trees in World of Warships

dxvkclosed wine bug
doitsujin/dxvk#1668 · opened 2020-06-15 by ernstp · updated 2022-03-19 · 18 comments · github
Eernstp 2020-06-15 github

Many of the trees in WoWs have the wrong color. They are often much brighter or just a strange blue-teal color. I think these are billboard style 2d trees. See attached picture.
wows

Software information

World of Warships, all versions for the last months including the latest 0.9.5.
All Foliage quality settings and all other settings as far as I have found.

System information

  • GPU: AMD Fury (FIJI)
  • Driver: Tested RADV ACO, RADV LLVM, AMDVLK
  • Wine version: 5.7
  • DXVK version: 1.7

Apitrace file(s)

In progress...

Log files

In progress..

Eernstp 2020-06-15 github

Here's how they should look, from Windows:
wows2

Ddoitsujin maintainer 2020-06-15 github

I'm unable to download the trace file, because "You need access".

Eernstp 2020-06-15 github

Now!

Ddoitsujin maintainer 2020-06-15 github

Thanks; unfortunately it crashes on replay for some reason, and Renderdoc no longer works with DXVK so I currently have no way to debug this on the Linux side.

Eernstp 2020-06-15 github

I can try apitrace on Linux perhaps... ?

Ddoitsujin maintainer 2020-06-15 github

Well my main issue right now is getting renderdoc to work. For some stupid reason it just crashes everything i'm trying to use it with.

FWIW, I have the game installed anyway and can confirm the issue - it also happens with wined3d by the way - but thanks for providing the trace anyway, usually that makes things a lot easier.

Eernstp 2020-06-15 github

Right, so you can get it right in the port with the Fjords "port" for example. There are some color variations in various maps etc.

Ddoitsujin maintainer 2020-06-15 github

Works fine on Windows with DXVK (RX 480):
2020 06 16-00 40

Edit: It seems like there's a BC7 texture that somehow turns into a BGRA8 texture on Linux, which means that the color channels are flipped. Weird problem, but this smells like a wine problem somewhere.

Eernstp 2020-06-17 github

Do you have an idea for how to research this further?

Jjqadev 2020-06-18 github

@doitsujin isn't it related to https://github.com/ValveSoftware/wine/pull/84 ?

Ddoitsujin maintainer 2020-06-18 github

No, this has nothing to do with swap chain formats but texture formats.

@loathingKernel not really, first thought was that it might be a D3D helper library messing up but I don't see any of those being used here.

SSigtechnica 2020-06-29 github

maybe not related but I had crashes , games not starting with wine-staging 5.11 (64-bit). Full reinstall of wine , nvidia driver update, rolled back dxvk (1.6(.1) , 1.7 , recompiled, etc) versions ,no luck, at the end I rolled back to wine-staging 5.10 everything started to work again like a charm.

Ddoitsujin maintainer 2020-06-29 github

wine is known to have major stability issues lately, due to a massive ongoing ntdll refactor.

Eernstp 2020-07-09 github

Huh, this is solved for me now! I was running with foliage off for a few weeks so I'm not sure what fixed it really, but there was a big 0.9.6 update today. Anyone can confirm?

BBlisto91 2022-03-17 github

Yes this does not seem to be an issue anymore. I have at least not been able to reproduce with any in-game settings in the same scene and going as far back as proton 4.11 (R9 380 radv 21.3)

So i think this issue can also be closed.

BBlisto91 2022-03-19 github

@K0bin This one too

Proton versions

Upstream links