I performed some more tests and found that I made a mistake: the upstream package that works fine is wine-staging, not wine itself:
So the working binary is the "staging" one https://dl.winehq.org/wine-builds/debian/pool/main/wine-staging-amd64_4.0~rc2~sid_amd64.deb and not working is debians wine and wine-devel upstream: https://dl.winehq.org/wine-builds/debian/pool/main/wine-devel-amd64_4.0~rc2~sid_amd64.deb It looks that there is no anything debian-specific in the bug, so it may be closed. Sorry for confusion. So the "err:seh:setup_exception stack overflow" message may be caused by https://bugs.winehq.org/show_bug.cgi?id=45349 (64-bit syscall thunks) that is fixed only in staging. Also, I do NOT think it is related vkd3d https://bugs.winehq.org/show_bug.cgi?id=46291 I took wine-staging, rebuild vkd3d with patch, copy debians *d3d12* and *dxgi* over files in /opt/wine-staging (required since wine-staging was built without it as far as I understand) - and got a working dx12 via vkd3d. -- Vasily