protonscr

Dead Cells bugged textures

dxvkclosed amd radv
doitsujin/dxvk#1818 · opened 2020-11-16 by QuImUfu · updated 2021-02-08 · 8 comments · github
QQuImUfu 2020-11-16 github

Dead Cells with DX11 renders bugged on DXVK, works fine with vanilla wine.
deadcells_bugged

Software information

Dead Cells (over Wine)

System information

  • GPU: AMD Radeon HD 7850
  • Driver: AMDVLK 2020.Q4.2 and Mesa 20.3.0-devel (git-fb1793b 2020-11-08 groovy-oibaf-ppa) (ACO)
  • Wine version: wine-5.20 (Staging)
  • DXVK version: v1.7.2

Apitrace file(s)

Log files

Ddoitsujin maintainer 2020-11-16 github

Seems like a driver bug with first-gen GCN? The trace replays fine on my Polaris card.

QQuImUfu 2020-11-16 github

Seems to happen with navi as well:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/3796

QQuImUfu 2020-11-17 github

On my Polaris card (RX460) the game/apitrace crashes (page fault).
backtrace:

=>0 0x00000000 (0x0031f3b8)
  1 0xf76a811b in dxgi (+0x6811a) (0x0031f3e8)
  2 0x012ff4d1 in d3d11 (+0x7f4d0) (0x0031f458)
  3 0x01328a52 in d3d11 (+0xa8a51) (0x0031f8e8)
  4 0x01329ab9 in d3d11 (+0xa9ab8) (0x0031fa58)
  5 0x012b903c D3D11CoreCreateDevice+0xa7b() in d3d11 (0x0031fc58)
  6 0x012b952d D3D11CoreCreateDevice+0xf6c() in d3d11 (0x0031fd20)
  7 0x012b9bc3 D3D11CoreCreateDevice+0x1602() in d3d11 (0x0031fdc8)
  8 0x004b7ea3 retrace::Retracer::retrace+0x1b2(call=0xd455f0) in d3dretrace (0x0031fdfc)
  9 0x004badca retrace::retraceCall+0x19(call=0xd455f0) in d3dretrace (0x0031fe0c)
  10 0x004baf57 retrace::RelayRunner::runRace+0x56() in d3dretrace (0x0031fe48)
  11 0xde5ccaad (0x0031fe48)
  12 0x004bc10c main+0xb6b(argc=0x2, argv=0xd17d18) in d3dretrace (0x0031fee0)
  13 0x005a08f6 __scrt_common_main_seh+0xf9() in d3dretrace (0x0031ff28)
  14 0x7b62ce9c EntryPoint+0xffffffff() in kernel32 (0x0031ff5c)
  15 0x7bc59c37 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
  16 0x7bc59e70 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
Ddoitsujin maintainer 2020-11-17 github

Stack trace is not very useful, please post DXVK logs instead. If you can't even create a device then chances are that Vulkan isn't working on your setup.

QQuImUfu 2020-11-17 github

It was a weird setup issue with leftover icd files containing old Vulkan version values, causing this issue on any dxvk version >1.5.1.
Sorry.
The apitace and the game work fine on a Polaris card.

Lliberodark 2020-12-28 github

Have same issue with mesa 20.3.1 only + DXVK 1.7.3 or DXVK 1.7.2
With GPU AMD Vega 7

Ppendingchaos 2021-02-05 github

It appears the very latest AMDVLK (2021.Q1.2 and newer, I think) has a "PadVertexBuffers" option to workaround this issue: https://github.com/GPUOpen-Drivers/xgl/blob/88a4f8c5657824f93790eefe3c9e078806c2a768/icd/settings/settings_xgl.json#L512-L523

Nothing extracted yet.