protonscr

Strange colors of mud covered walls in Shadow of the Tomb Raider

dxvkclosed help wantedwine bug
doitsujin/dxvk#1152 · opened 2019-08-04 by AlexeyProkhin · updated 2021-06-21 · 7 comments · github
AAlexeyProkhin 2019-08-04 github

This happens only for a brief moment when the survival instincts are about to run out. The bug reproducible for me on any graphic settings.
20190804195837_1

System information

  • GPU: GeForce GTX 1070
  • Driver: 430.40
  • Wine version: Proton 4.11-1
  • DXVK version: 1.3 and 6b2f4f93cc51c7c75dbf4cc067c0b924052d6d35

Apitrace file(s)

Log files

AAlexeyProkhin 2019-08-04 github

Unfortunately, the trace does not show the issue, at least for me. I have recorded it in win10. Should I rerecord it with dxvk?
Also, in case you have the game, here is my save file:
save4.dat.zip

Ddoitsujin maintainer 2019-08-04 github

I'm aware of this problem but don't know what's going on there. Tried to debug it several months ago already with no success, and it doesn't help that it only occurs in certain regions.

Might be undefined behaviour within the game itself which requires a workaround.

AAlexeyProkhin 2019-08-04 github

Well, it occurs in any region with the mud covered walls, nowhere else. And, for what it is worth, disabling nviapi hack seems to make the bug less annoying, the walls stop blinking.

Ddoitsujin maintainer 2019-08-07 github

Small update:

  • Your apitrace renders fine
  • I can definitely reproduce the bug with your savegame (haven't really seen the issue in later parts of the game so I had hoped it would have been resolved)
  • Neither your trace nor the game itself work with RenderDoc on Windows, so I cannot really check what native D3D11 is doing.

In short, I have absolutely no clue how to debug this besides guessing and trying a few things.

Kkakra 2019-09-07 github

I've lately found that the behavior of some rendering bugs in SOTTR changes depending on the rendering resolution, i.e. I switched to QHD resolution and now I got the black pixel bleeding bug back. Switching back to a lower resolution and it's gone.

Regarding your pink mud walls: I'm seeing this, too. But not in every region. This shows only up when the survival instinct runs out, then there's this pink flickering while the white overlay effect fades out.

Ddoitsujin maintainer 2019-09-10 github

Small update: This bug occurs with

  • vkd3d on Linux
  • DXVK on Linux
  • wined3d on Linux (apparently)

but not with DXVK on Windows.

I'm really not sure what's going on at this point, we might be looking at a weird wine bug. I'll look into this a bit more.

Kkakra 2019-09-10 github

Maybe it's one of those strange bugs where the game accesses freed memory or uses some uninitialized values, and that just happens to be pink in Wine, and white in Windows...

Proton versions