[GH #23] Linux/Wine data point (RTX 4070 Ti): crash in vkCreateComputePipelines, same shader as upstream VIctory #23

Open
opened 2026-11-25 04:11:28 +00:00 by andyeox-systemd · 1 comment
andyeox-systemd commented 2026-11-25 04:11:28 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by andyeox-systemd on 2026-11-25T03:29:37Z.


Hi, I'm new to the project and want to help. I'm an RTX 4070 Ti user on Arch Linux, and I've been testing upstream VIctory under Wine, so I tried ztrx as well. This is a Linux report from an NVIDIA user. I know the project targets Windows, so please tell me if Linux reports aren't wanted here and I'll stop.

Setup: RTX 4070 Ti, Arch Linux, nvidia-open-dkms 615.78.08, Wine 11.21, DXVK 3.1.1, vkd3d-proton 3.1.0 (from Proton Experimental). I built commit 90b529f on Linux with cargo xwin build --release -p victory --target x86_64-pc-windows-msvc, and ran it under Wine with native d3d12, d3d12core and dxgi.

Result:

  • The title starts and the intro appears, but it flickers.
  • It runs at about 3 fps before it dies. Most of each frame is spent preparing copies and textures.
  • It then crashes in vkCreateComputePipelines Exception 0xc000001d in Unix call (illegal instruction), at frame 817, right after compute shader 4e296b1885c37b29 is translated.
  • The kernel log shows no Xid or segfault entries.

Tried: VICTORY_PIPELINE_WAIT_MS=24 gives the same crash (frame 944) and the same flicker.

This is the same crash and the same shader hash that I get with upstream VIctory on this machine, so ztrx doesn't change it on my setup. The upstream reports are in Marvisak/VIctory#144.

I can share a trimmed log (no paths or game data) if that would help, and I'm happy to test patches on NVIDIA under Wine.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6596531448 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/23). Originally posted by [andyeox-systemd](https://github.com/andyeox-systemd) on 2026-11-25T03:29:37Z. --- Hi, I'm new to the project and want to help. I'm an RTX 4070 Ti user on Arch Linux, and I've been testing upstream VIctory under Wine, so I tried ztrx as well. This is a Linux report from an NVIDIA user. I know the project targets Windows, so please tell me if Linux reports aren't wanted here and I'll stop. **Setup:** RTX 4070 Ti, Arch Linux, `nvidia-open-dkms` 615.78.08, Wine 11.21, DXVK 3.1.1, vkd3d-proton 3.1.0 (from Proton Experimental). I built commit `90b529f` on Linux with `cargo xwin build --release -p victory --target x86_64-pc-windows-msvc`, and ran it under Wine with native `d3d12`, `d3d12core` and `dxgi`. **Result:** - The title starts and the intro appears, but it flickers. - It runs at about 3 fps before it dies. Most of each frame is spent preparing copies and textures. - It then crashes in `vkCreateComputePipelines Exception 0xc000001d in Unix call` (illegal instruction), at frame 817, right after compute shader `4e296b1885c37b29` is translated. - The kernel log shows no Xid or segfault entries. **Tried:** `VICTORY_PIPELINE_WAIT_MS=24` gives the same crash (frame 944) and the same flicker. This is the same crash and the same shader hash that I get with upstream VIctory on this machine, so ztrx doesn't change it on my setup. The upstream reports are in Marvisak/VIctory#144. I can share a trimmed log (no paths or game data) if that would help, and I'm happy to test patches on NVIDIA under Wine.
sil-kong commented 2026-11-25 11:10:49 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by sil-kong on 2026-11-25T10:20:14Z.


Same failure on AMD under Wine, for what it's worth: RX 7900 XT, RADV (Mesa 26.2.7), GE-Proton10-34 with its own vkd3d-proton (March 2026). The Wine assertion in vkCreateGraphicsPipelines / vkCreateComputePipelines came at the end of loading, first on mesh d4111a6e6ea49d91. Swapping in d3d12.dll / d3d12core.dll from Proton Experimental 11.0-20261112 (same build as in #62) fixed it here too. So it looks like the old dxil-spirv rather than anything NVIDIA-specific.

Two more things were needed after that under Wine, both also described in #62 and fxceless/victory-fork#184:

  • Microsoft's d3dcompiler_47 (winetricks d3dcompiler_47). With Wine's builtin, the runtime D3DCompile fails, indirect execution is dropped, and the world stays black.
  • A wineserver that looks up mapped views in a tree instead of walking a list (the patch in fxceless/victory-fork#184, built from the same Wine as the client). Without it, most of each frame went to waiting for title memory remaps: 3.4 s of it, against 0 ms with the patch.
<!-- greyfinch-sync:Zettrox/ztrx:comment:7159555566 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/23#issuecomment-7159555566). Originally posted by [sil-kong](https://github.com/sil-kong) on 2026-11-25T10:20:14Z. --- Same failure on AMD under Wine, for what it's worth: RX 7900 XT, RADV (Mesa 26.2.7), GE-Proton10-34 with its own vkd3d-proton (March 2026). The Wine assertion in `vkCreateGraphicsPipelines` / `vkCreateComputePipelines` came at the end of loading, first on mesh `d4111a6e6ea49d91`. Swapping in `d3d12.dll` / `d3d12core.dll` from Proton Experimental `11.0-20261112` (same build as in #62) fixed it here too. So it looks like the old dxil-spirv rather than anything NVIDIA-specific. Two more things were needed after that under Wine, both also described in #62 and fxceless/victory-fork#184: - Microsoft's `d3dcompiler_47` (`winetricks d3dcompiler_47`). With Wine's builtin, the runtime `D3DCompile` fails, indirect execution is dropped, and the world stays black. - A wineserver that looks up mapped views in a tree instead of walking a list (the patch in fxceless/victory-fork#184, built from the same Wine as the client). Without it, most of each frame went to waiting for title memory remaps: 3.4 s of it, against 0 ms with the patch.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Zettrox/ztrx#23
No description provided.