protonscr

Some textures flickering in "The Saboteur" game (d3d9)

dxvkclosed d3d9
doitsujin/dxvk#1560 · opened 2020-04-07 by rox4d · updated 2025-06-18 · 11 comments · github
Rrox4d 2020-04-07 github

There are some textures flickering in definite locations (in general game are playable).

Software information

Saboteur.exe (from GOG)

System information

  • GPU: ACO POLARIS11 (LLVM 10.0.0)

  • Driver: AMD RADV (mesa build from git)

  • Wine version: wine-5.5 (Staging)
    Снимок экрана в 2020-04-07 12-30-28

  • DXVK version: v1.6-28-g3f4ffdf

Apitrace file(s)

Log files

WWinterSnowfall 2020-06-02 github

It looks good to me on DXVK v1.7, so you may want to recheck.

The_Saboteur

It could also be an issue with RADV.

Rrox4d 2020-06-03 github

Looks so, just retested with dxvk v1.7-40-g5558460 - no changes here.

Rrox4d 2020-06-03 github

WinterSnowfall - trace replaying fine for you? (it may be different with game, i suppose).

WWinterSnowfall 2020-06-03 github

WinterSnowfall - trace replaying fine for you? (it may be different with game, i suppose).

Yes, your trace also looks good on my GTX 1080. I see no flickering.

CCME42 2020-06-03 github

It's a precision error that only happens on AMD, both radv and amdvlk, d3d9.invariantPosition = True doesn't help.

BBlisto91 2022-03-31 github

Just a quick update that this is still present on mesa git. Looking into making a mesa issue if that can help.

Edit: Upstream mesa issue

BBlisto91 2022-04-02 github

Comment from the mesa issue

"This isn't a RADV issue as far as I can tell. It's caused by DXVK's D24 emulation using D32. AMD doesn't support D24, nvidia does. If I force DXVK to always use D32 I can reproduce the issue on nvidia."

KK0bin maintainer 2022-06-11 github

This is probably caused by the depth bias.

First it draws this with a depth bias:
image

This this mesh without one:
image

KK0bin maintainer 2023-06-20 github

Fixed by #3501

Iivan89el 2025-06-18 github

The problem persists on Windows 11 AMD Adrenalin 25.6.1

BBlisto91 2025-06-18 github

Amd doesn't implemt VK_EXT_depth_bias_control which is needed to fix the issue.

Nothing extracted yet.