Linux on AMD: got in-game on a 9070 XT, here's what each crash was #752

Open
opened 2026-11-26 04:13:55 +00:00 by github-bot · 10 comments
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 09:31 UTC · original

got into gameplay on linux today (hud, minimap, footsteps). world is still mostly black, same as on windows. took a few crashes to get there so writing down what fixed each one, might save someone some time.

setup: rx 9070 xt, cachyos, kernel 7.3.5, mesa 26.3.1, wine 11.22, diagnostics build cross-compiled with xwin, series x, 1.0.2.1

1. you need vkd3d-proton 3.2

the 3.1.0 that ships with proton-cachyos crashes the moment the world starts loading:

err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call.

it's the old dxil-spirv structurizer (#144). on nvidia the driver crashes on it, on amd mesa can't parse the spirv, spirv_to_nir returns null and radv dereferences it (radv_shader.c:547). i grabbed d3d12.dll and d3d12core.dll from GE-Proton11-14 and that crash went away.

2. #190 #454 #493 #579 + VICTORY_NO_WATCHDOG=1

without these i get the gpuvm fault from #714 about 50s into the world. with them it stayed in-game for about 14 minutes, then hit a different fault (address 0x0, device removed).

other stuff

  • WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n", dxgi.dll from dxvk
  • needs 12-14 gb of ram once you're in the world
  • VICTORY_KEYS=20:Enter,24:Enter,... gets through the menus if you don't have a pad set up
  • 0.2-1 fps. the gpu only spends about 20ms a frame, the rest is the cpu-side copies
  • the black screen isn't a linux thing: 533 of 2679 shaders didn't translate in my run (432 of them compute), same as #293

happy to test prs on this setup if anyone wants amd/linux results.

**@⁠AwkGrep256** on GitHub · 2026-11-24 09:31 UTC · [original](https://github.com/Marvisak/VIctory/issues/752) got into gameplay on linux today (hud, minimap, footsteps). world is still mostly black, same as on windows. took a few crashes to get there so writing down what fixed each one, might save someone some time. setup: rx 9070 xt, cachyos, kernel 7.3.5, mesa 26.3.1, wine 11.22, diagnostics build cross-compiled with xwin, series x, 1.0.2.1 **1. you need vkd3d-proton 3.2** the 3.1.0 that ships with proton-cachyos crashes the moment the world starts loading: ``` err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call. ``` it's the old dxil-spirv structurizer (#144). on nvidia the driver crashes on it, on amd mesa can't parse the spirv, spirv_to_nir returns null and radv dereferences it (radv_shader.c:547). i grabbed d3d12.dll and d3d12core.dll from GE-Proton11-14 and that crash went away. **2. #190 #454 #493 #579 + `VICTORY_NO_WATCHDOG=1`** without these i get the gpuvm fault from #714 about 50s into the world. with them it stayed in-game for about 14 minutes, then hit a different fault (address 0x0, device removed). **other stuff** - `WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"`, dxgi.dll from dxvk - needs 12-14 gb of ram once you're in the world - `VICTORY_KEYS=20:Enter,24:Enter,...` gets through the menus if you don't have a pad set up - 0.2-1 fps. the gpu only spends about 20ms a frame, the rest is the cpu-side copies - the black screen isn't a linux thing: 533 of 2679 shaders didn't translate in my run (432 of them compute), same as #293 happy to test prs on this setup if anyone wants amd/linux results.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:55 +00:00
Author
Owner

@⁠cdomergue on GitHub · 2026-11-24 10:01 UTC · original

I heard footsteps after the intro on native Windows D3D12 with an RTX 4070 SUPER, 32 GB of RAM and the Series S profile (game 1.0.2.1). The screen stayed black at that point. I couldn't see the character or the world.

I combined #190, #454, #493 and #579 on 58fed37. My first run had audio, but all 21 captured frames were black. After adding the PresentX compositor from #211 and enabling its Windows shader compiler dependency, I could see the Rockstar logo, loading artwork and French subtitles. I used the same save for both runs.

The second run lasted 7 min 18 s from launch before D3D12 reported DXGI_ERROR_DEVICE_HUNG (0x887A0006). The log recorded 2,945 distinct shader hashes at first bind and 598 translation failures by unique hash, including 481 compute shaders. The last timing sample was 0.5 fps, with about 1.94 s on the GPU out of 2.20 s per frame.

I've pushed the exact branch I tested (818bd3c). To try it from PowerShell with your own game files:

git clone --branch test/issue-752-series-s-menu --single-branch https://github.com/cdomergue/VIctory.git victory-752
cd victory-752
cargo build --locked --profile diag --features diagnostics -p victory
$env:VICTORY_GAME_DIR = 'D:\path\to\game'
$env:VICTORY_NO_WATCHDOG = '1'
.\target\diag\victory.exe run "$env:VICTORY_GAME_DIR\game_scarlett_master.exe" --execute --console series-s

I left VICTORY_SKIP_WAVE64 unset and used manual input.

**@⁠cdomergue** on GitHub · 2026-11-24 10:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7128205108) I heard footsteps after the intro on native Windows D3D12 with an RTX 4070 SUPER, 32 GB of RAM and the Series S profile (game 1.0.2.1). The screen stayed black at that point. I couldn't see the character or the world. I combined #190, #454, #493 and #579 on `58fed37`. My first run had audio, but all 21 captured frames were black. After adding the PresentX compositor from #211 and enabling its Windows shader compiler dependency, I could see the Rockstar logo, loading artwork and French subtitles. I used the same save for both runs. The second run lasted 7 min 18 s from launch before D3D12 reported `DXGI_ERROR_DEVICE_HUNG` (`0x887A0006`). The log recorded 2,945 distinct shader hashes at first bind and 598 translation failures by unique hash, including 481 compute shaders. The last timing sample was 0.5 fps, with about 1.94 s on the GPU out of 2.20 s per frame. I've pushed the [exact branch I tested](https://github.com/cdomergue/VIctory/tree/test/issue-752-series-s-menu) (`818bd3c`). To try it from PowerShell with your own game files: ```powershell git clone --branch test/issue-752-series-s-menu --single-branch https://github.com/cdomergue/VIctory.git victory-752 cd victory-752 cargo build --locked --profile diag --features diagnostics -p victory $env:VICTORY_GAME_DIR = 'D:\path\to\game' $env:VICTORY_NO_WATCHDOG = '1' .\target\diag\victory.exe run "$env:VICTORY_GAME_DIR\game_scarlett_master.exe" --execute --console series-s ``` I left `VICTORY_SKIP_WAVE64` unset and used manual input.
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 10:46 UTC · original

thanks, tried your branch on linux.

#211's compositor compiles its shaders at startup with D3DCompile, and that fails with wine's builtin d3dcompiler (E_FAIL, no error text). after that the next host list fails to reset and the game exits, so it doesn't fall back to the old present path. installing microsoft's d3dcompiler_47 (winetricks d3dcompiler_47) gets around it. precompiled bytecode like #190 did for the clamp would avoid needing it at all.

with that, series s gets past the black screen on linux too, loads the world, and ran about 3.5 min before a gpu hang (ring gfx timeout, device removed). i also merged my fsr branch (#730) on top, and the game's ffxDispatch now goes through amd's pc upscaler in the world.

**@⁠AwkGrep256** on GitHub · 2026-11-24 10:46 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7129218251) thanks, tried your branch on linux. #211's compositor compiles its shaders at startup with `D3DCompile`, and that fails with wine's builtin d3dcompiler (E_FAIL, no error text). after that the next host list fails to reset and the game exits, so it doesn't fall back to the old present path. installing microsoft's d3dcompiler_47 (`winetricks d3dcompiler_47`) gets around it. precompiled bytecode like #190 did for the clamp would avoid needing it at all. with that, series s gets past the black screen on linux too, loads the world, and ran about 3.5 min before a gpu hang (ring gfx timeout, device removed). i also merged my fsr branch (#730) on top, and the game's `ffxDispatch` now goes through amd's pc upscaler in the world.
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 11:05 UTC · original

Yes, #454 is only in its PR so far. The easiest way to test it is cdomergue's branch above. It has #190, #454, #493 and #579, plus #211, merged on top of main:
https://github.com/cdomergue/VIctory/tree/test/issue-752-series-s-menu

On Wine, #211 needs Microsoft's d3dcompiler_47 (winetricks d3dcompiler_47). Without it, the new present code fails and the game closes right away. With it and VICTORY_NO_WATCHDOG=1, I got about 14 minutes in the world on a 9070 XT before a GPU fault. It would be good to know if the 9060 XT does the same.

**@⁠AwkGrep256** on GitHub · 2026-11-24 11:05 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7129646651) Yes, #454 is only in its PR so far. The easiest way to test it is cdomergue's branch above. It has #190, #454, #493 and #579, plus #211, merged on top of main: https://github.com/cdomergue/VIctory/tree/test/issue-752-series-s-menu On Wine, #211 needs Microsoft's d3dcompiler_47 (`winetricks d3dcompiler_47`). Without it, the new present code fails and the game closes right away. With it and `VICTORY_NO_WATCHDOG=1`, I got about 14 minutes in the world on a 9070 XT before a GPU fault. It would be good to know if the 9060 XT does the same.
Author
Owner

@⁠MichaelSmithAI on GitHub · 2026-11-24 11:11 UTC · original

@⁠AwkGrep256, there is a Wine-builtin comparison for the #211 setup failure you reported. On our RTX 4090, Wine’s builtin compiler produced both compositor shaders, then root-signature creation from the vertex shader blob returned E_FAIL. A follow-up to #211 serializes that root signature explicitly and finishes compositor setup before resetting the host command list. The original single-plane path remains usable if setup fails. With that change, a two-plane test produced the same blended pixels with Wine’s builtin and Microsoft’s compiler. PresentX follow-up, head 5bb011d

If you compare it on your existing stack with Wine’s builtin compiler, the result we’re missing is whether the loading artwork appears and the next list resets successfully. That would test the presentation change in-game. The later world GPU fault is a separate question.

**@⁠MichaelSmithAI** on GitHub · 2026-11-24 11:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7129773238) @⁠AwkGrep256, there is a Wine-builtin comparison for the #211 setup failure you reported. On our RTX 4090, Wine’s builtin compiler produced both compositor shaders, then root-signature creation from the vertex shader blob returned `E_FAIL`. A follow-up to #211 serializes that root signature explicitly and finishes compositor setup before resetting the host command list. The original single-plane path remains usable if setup fails. With that change, a two-plane test produced the same blended pixels with Wine’s builtin and Microsoft’s compiler. [PresentX follow-up, head 5bb011d](https://github.com/Yaekai/VIctory/pull/1) If you compare it on your existing stack with Wine’s builtin compiler, the result we’re missing is whether the loading artwork appears and the next list resets successfully. That would test the presentation change in-game. The later world GPU fault is a separate question.
Author
Owner

@⁠DaviTostes on GitHub · 2026-11-24 10:58 UTC · original · edited 2026-11-24 11:18 UTC

Reproduced the vkd3d 3.1 → 3.2 part on a different RDNA4 card, with the full 1.0.2.1 dump:

  • RX 9060 XT (RDNA4, RADV 26.3.1 / Mesa 26.3.1-arch1.3), Arch Linux, kernel 6.18.x
  • Wine 11.22 (system package), DXVK 3.1.1 dxgi, WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"
  • vkd3d-proton 3.1.0 (system/GI 11-12) → 3.2.0 (DLLs from Proton Experimental's vkd3d-proton/x86_64-windows)
    Build details (per the report template): VIctory main ffe310e, release build (cargo xwin build --release -p victory, MSVC). victory run prints build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93), package 1.0.2.1. Command: wine victory.exe run <dump>\game.exe --execute with VICTORY_KEYS=… and the overrides above.

Not tested: Windows/NVIDIA, sessions longer than a few minutes, and the #454/#493/#579 stack.

The before/after above are actual game runs with that dump, not synthetic shaders.

Before (3.1): menus at 30 fps, then the first mesh pipeline:

INFO victory_gpu::pipeline: first bind pipeline=…frame=1405 stage="mesh" …
err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call.

process exits 3; crashes.log has nothing.

After (3.2): same head, same dump, same command:

INFO victory_gpu::host: host mesh shader support mesh=true
INFO victory_gpu::pipeline::host: host mesh pipeline shaders=[mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10]

The mesh pipeline is created and the title keeps rendering (11–17 fps in the scene, 30 fps menus, intro 11–15 fps). No vkCreateGraphicsPipelines crash so far in the same spot. The run is still going; the next thing to look for is the #714-style page fault.

One gap: VICTORY_NO_WATCHDOG is not in main (ffe310e), so I could not apply your #454 part of the recipe yet. If #454 + #493 are the next step for staying in-world, I can test that stack on this card and dump.

**@⁠DaviTostes** on GitHub · 2026-11-24 10:58 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7129484788) · edited 2026-11-24 11:18 UTC Reproduced the vkd3d 3.1 → 3.2 part on a different RDNA4 card, with the full 1.0.2.1 dump: - **RX 9060 XT (RDNA4, RADV 26.3.1 / Mesa 26.3.1-arch1.3), Arch Linux, kernel 6.18.x** - Wine 11.22 (system package), DXVK 3.1.1 `dxgi`, `WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"` - vkd3d-proton **3.1.0** (system/GI 11-12) → **3.2.0** (DLLs from Proton Experimental's `vkd3d-proton/x86_64-windows`) **Build details (per the report template):** VIctory `main` `ffe310e`, release build (`cargo xwin build --release -p victory`, MSVC). `victory run` prints `build unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)`, package 1.0.2.1. Command: `wine victory.exe run <dump>\game.exe --execute` with `VICTORY_KEYS=…` and the overrides above. **Not tested:** Windows/NVIDIA, sessions longer than a few minutes, and the #454/#493/#579 stack. The before/after above are **actual game runs** with that dump, not synthetic shaders. **Before (3.1):** menus at 30 fps, then the first mesh pipeline: ``` INFO victory_gpu::pipeline: first bind pipeline=…frame=1405 stage="mesh" … err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call. ``` process exits 3; `crashes.log` has nothing. **After (3.2):** same head, same dump, same command: ``` INFO victory_gpu::host: host mesh shader support mesh=true INFO victory_gpu::pipeline::host: host mesh pipeline shaders=[mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10] ``` The mesh pipeline is created and the title keeps rendering (11–17 fps in the scene, 30 fps menus, intro 11–15 fps). No `vkCreateGraphicsPipelines` crash so far in the same spot. The run is still going; the next thing to look for is the #714-style page fault. One gap: `VICTORY_NO_WATCHDOG` is not in `main` (`ffe310e`), so I could not apply your #454 part of the recipe yet. If #454 + #493 are the next step for staying in-world, I can test that stack on this card and dump.
Author
Owner

@⁠AwkGrep256 on GitHub · 2026-11-24 11:29 UTC · original

Tried 5bb011d on Linux with Wine's builtin compiler (d3dcompiler_47=b, Microsoft's DLL off). RX 9070 XT, Wine 11.22, vkd3d-proton 3.2.0, Series S.

No compositor error this time and the list resets fine. Loading artwork shows up and the world starts loading. I stopped it at my memory limit after about 2.5 min so I can't say anything about the later GPU fault, but the winetricks step isn't needed anymore with this.

**@⁠AwkGrep256** on GitHub · 2026-11-24 11:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7130165774) Tried 5bb011d on Linux with Wine's builtin compiler (d3dcompiler_47=b, Microsoft's DLL off). RX 9070 XT, Wine 11.22, vkd3d-proton 3.2.0, Series S. No compositor error this time and the list resets fine. Loading artwork shows up and the world starts loading. I stopped it at my memory limit after about 2.5 min so I can't say anything about the later GPU fault, but the winetricks step isn't needed anymore with this.
Author
Owner

@⁠crashbashash on GitHub · 2026-11-24 13:13 UTC · original

Same crash on RDNA2, with the exact dxil-spirv versions, in case it helps people pick a Proton build.

Setup: CachyOS, RX 6800 XT (RADV, Mesa 26.2.6), main at ffe310e, diagnostics build via cargo-xwin, 1.0.2.1.

With GE-Proton11-6 (vkd3d-proton 3.1.0, build c9c6bf2e), the game exits with code 3 on the first load:

err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call.
  • The crash is in the fragment shader of that pipeline, not the mesh shader. In a native Vulkan test outside Wine, the same SPIR-V also crashes RADV when paired with a trivial vertex shader.
  • vkd3d-proton's SPIR-V for it fails spirv-val: block … exits the loop headed by …, but not via a structured exit. It's a waterfall loop (from ffe310e) whose LOOP_LIMIT exit (discard + return) leaves from the latch.
  • I ran the same DXIL (from VKD3D_SHADER_DUMP_PATH) through the dxil-spirv CLI with --bindless --enable-shader-demote:
dxil-spirv ships in result
1b949ec GE-Proton11-6 (vkd3d-proton c9c6bf2e) crashes in-game (the run above; not run through the CLI)
8b48f0e (2026-10-26) vkd3d-proton v3.1 release invalid SPIR-V
34f0ff84 (2026-11-20) GE-Proton11-13 / 11-14 (vkd3d-proton cae8353ed) valid
7c04863 (2026-11-24) dxil-spirv master valid

The structurizer commits from 2026-11-16/17 (4a73ab4f, a781dce9) look like the fix; I didn't bisect.

So any Proton whose vkd3d-proton includes dxil-spirv from 2026-11-20 or later works without swapping DLLs. GE-Proton11-14 is one: with it (plus the d3dcompiler_47 workaround from #170), the game gets past the load into the first mission's cutscene: subtitles and audio, scene dark as on Windows.

I also tried #844's branch (b7cc788) on vkd3d-proton 3.1.0. Its single-ret change gets past the pixel shader that crashed main, but the same load then crashes in vkCreateComputePipelines (Exception 0xc0000005 in Unix call, exit code 3) on a compute pipeline. So #844 alone isn't enough on older Proton builds; the newer dxil-spirv is still needed.

No game data used. AI-assisted (Claude Code).

**@⁠crashbashash** on GitHub · 2026-11-24 13:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7132528619) Same crash on RDNA2, with the exact dxil-spirv versions, in case it helps people pick a Proton build. **Setup:** CachyOS, RX 6800 XT (RADV, Mesa 26.2.6), `main` at `ffe310e`, diagnostics build via cargo-xwin, 1.0.2.1. With GE-Proton11-6 (vkd3d-proton 3.1.0, build `c9c6bf2e`), the game exits with code 3 on the first load: ``` err:vulkan:vkCreateGraphicsPipelines Exception 0xc0000005 in Unix call. ``` - The crash is in the **fragment** shader of that pipeline, not the mesh shader. In a native Vulkan test outside Wine, the same SPIR-V also crashes RADV when paired with a trivial vertex shader. - vkd3d-proton's SPIR-V for it fails `spirv-val`: `block … exits the loop headed by …, but not via a structured exit`. It's a waterfall loop (from `ffe310e`) whose `LOOP_LIMIT` exit (discard + return) leaves from the latch. - I ran the same DXIL (from `VKD3D_SHADER_DUMP_PATH`) through the dxil-spirv CLI with `--bindless --enable-shader-demote`: | dxil-spirv | ships in | result | |---|---|---| | `1b949ec` | GE-Proton11-6 (vkd3d-proton `c9c6bf2e`) | crashes in-game (the run above; not run through the CLI) | | `8b48f0e` (2026-10-26) | vkd3d-proton v3.1 release | invalid SPIR-V | | `34f0ff84` (2026-11-20) | GE-Proton11-13 / 11-14 (vkd3d-proton `cae8353ed`) | valid | | `7c04863` (2026-11-24) | dxil-spirv master | valid | The structurizer commits from 2026-11-16/17 (`4a73ab4f`, `a781dce9`) look like the fix; I didn't bisect. So any Proton whose vkd3d-proton includes dxil-spirv from 2026-11-20 or later works without swapping DLLs. GE-Proton11-14 is one: with it (plus the `d3dcompiler_47` workaround from #170), the game gets past the load into the first mission's cutscene: subtitles and audio, scene dark as on Windows. I also tried #844's branch (`b7cc788`) on vkd3d-proton 3.1.0. Its single-`ret` change gets past the pixel shader that crashed `main`, but the same load then crashes in `vkCreateComputePipelines` (`Exception 0xc0000005 in Unix call`, exit code 3) on a compute pipeline. So #844 alone isn't enough on older Proton builds; the newer dxil-spirv is still needed. No game data used. AI-assisted (Claude Code).
Author
Owner

@⁠jtrudeau1530 on GitHub · 2026-11-24 16:00 UTC · original

Additional AMD/Linux confirmation on clean ffe310eb20 (diag): RX 7900 XT, RADV 26.2.3, Wine 11.18, Series X.

With vkd3d-proton 3.1.0 / 85fb5de50663096, startup UI worked but the first mesh graphics pipeline ended the process with the same vkCreateGraphicsPipelines 0xc0000005 Unix-call exception (exit 3). Changing only d3d12.dll + d3d12core.dll to installed Proton Experimental's 3.2.0 / cae8353ed7959c4 got past that failure and into the world-stage workload. Native Microsoft d3dcompiler_47 was kept in both runs; the indirect-clamp creation test passes with it, whereas Wine's built-in compiler fails on RWByteAddressBuffer.Load.

Readable startup/settings UI ran at about 30 fps. The later scene remained dark with audio, at 0.2–0.4 fps; this is not a visible-world or playability claim. One measured interval was 2233 ms/frame: 2077 ms preparing (1988 ms copies), 32 ms GPU, 94 ms copy-back. It also dropped 1511 draws without a host pipeline and 2035 indirect; 415 translation refusals over the run. User closed the window normally after this observation, so no long-run stability result.

Next comparison is the race-safe mapped-region fallback discussed in #783, against this unchanged source/backend baseline. No game-derived files attached.

**@⁠jtrudeau1530** on GitHub · 2026-11-24 16:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7136964734) Additional AMD/Linux confirmation on clean ffe310eb2098e52169f4c44db5ffdabf43a72622 (diag): RX 7900 XT, RADV 26.2.3, Wine 11.18, Series X. With vkd3d-proton 3.1.0 / 85fb5de50663096, startup UI worked but the first mesh graphics pipeline ended the process with the same vkCreateGraphicsPipelines 0xc0000005 Unix-call exception (exit 3). Changing only d3d12.dll + d3d12core.dll to installed Proton Experimental's 3.2.0 / cae8353ed7959c4 got past that failure and into the world-stage workload. Native Microsoft d3dcompiler_47 was kept in both runs; the indirect-clamp creation test passes with it, whereas Wine's built-in compiler fails on RWByteAddressBuffer.Load. Readable startup/settings UI ran at about 30 fps. The later scene remained dark with audio, at 0.2–0.4 fps; this is not a visible-world or playability claim. One measured interval was 2233 ms/frame: 2077 ms preparing (1988 ms copies), 32 ms GPU, 94 ms copy-back. It also dropped 1511 draws without a host pipeline and 2035 indirect; 415 translation refusals over the run. User closed the window normally after this observation, so no long-run stability result. Next comparison is the race-safe mapped-region fallback discussed in #783, against this unchanged source/backend baseline. No game-derived files attached.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:50 UTC · original · edited 2026-11-26 00:51 UTC

Automated triage for the maintainers.

Thanks, this is a useful Linux/AMD write-up (RX 9070 XT, CachyOS, Mesa 26.3.1, Wine 11.22). The failures map to existing reports:

  • vkCreateGraphicsPipelines 0xc0000005 with vkd3d-proton 3.1: the dxil-spirv structurizer issue discussed in #144. The comments here show that dxil-spirv from 2026-11-20 or later (vkd3d-proton 3.2, GE-Proton11-14) fixes it on RDNA2/3/4, with no change needed in VIctory. Confirmed again on a 9070 XT with GE-Proton11-12 vs 11-14.
  • GPUVM fault about 50 s into the world: tracked in #714. #493's change is on main as d71c388 (bounded root views).
  • Black world: untranslated shaders, coordinated in #293.
  • PresentX compositor: #1997 is now on main as 0736f8b (multiple PresentX planes).

New, for Wine testers on main (63bcca4):

  • The indirect-argument clamp in crates/victory-gpu/src/indirect.rs is still compiled at run time with D3DCompile. Wine's builtin d3dcompiler_47 rejects it (Load on RWByteAddressBuffer), and then indirect execution is dropped (about 3,800 draws a frame), which leaves the world black. Microsoft's d3dcompiler_47 works around it. Open PR #1279 (a clamp Wine's compiler builds) would remove the need; it needs a rebase.
  • A wineserver patch (Wine bug 60868) is reported to cut world frames from ~8.4 s to ~1.05 s on stock GE-Proton11-14. That is outside this project.
  • Runs on 13f91ca + #1997 + #454 then end 3-8 min into the world on the pool overflow tracked in #698.

@⁠AwkGrep256, for the later fault (address 0x0, device removed after about 14 minutes), please add the VIctory commit or exact PR stack and the full host GPU device removed ... line. A rerun on current main with #454 (open) would show whether that fault is still there.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7152290197) · edited 2026-11-26 00:51 UTC <!-- victory-issue-triage v1 verdict=needs-info seen=2026-11-25T22:23:19Z at=2026-11-26T00:57:30Z --> Automated triage for the maintainers. Thanks, this is a useful Linux/AMD write-up (RX 9070 XT, CachyOS, Mesa 26.3.1, Wine 11.22). The failures map to existing reports: - **`vkCreateGraphicsPipelines` 0xc0000005 with vkd3d-proton 3.1:** the dxil-spirv structurizer issue discussed in **#144**. The comments here show that dxil-spirv from 2026-11-20 or later (vkd3d-proton 3.2, GE-Proton11-14) fixes it on RDNA2/3/4, with no change needed in VIctory. Confirmed again on a 9070 XT with GE-Proton11-12 vs 11-14. - **GPUVM fault about 50 s into the world:** tracked in **#714**. #493's change is on `main` as `d71c388` (bounded root views). - **Black world:** untranslated shaders, coordinated in #293. - **PresentX compositor:** #1997 is now on `main` as `0736f8b` (multiple PresentX planes). New, for Wine testers on `main` (`63bcca4`): - The indirect-argument clamp in `crates/victory-gpu/src/indirect.rs` is still compiled at run time with `D3DCompile`. Wine's builtin `d3dcompiler_47` rejects it (`Load` on `RWByteAddressBuffer`), and then indirect execution is dropped (about 3,800 draws a frame), which leaves the world black. Microsoft's `d3dcompiler_47` works around it. Open PR #1279 (a clamp Wine's compiler builds) would remove the need; it needs a rebase. - A wineserver patch (Wine bug 60868) is reported to cut world frames from ~8.4 s to ~1.05 s on stock GE-Proton11-14. That is outside this project. - Runs on `13f91ca` + #1997 + #454 then end 3-8 min into the world on the pool overflow tracked in #698. @⁠AwkGrep256, for the later fault (address `0x0`, device removed after about 14 minutes), please add the VIctory commit or exact PR stack and the full `host GPU device removed ...` line. A rerun on current `main` with #454 (open) would show whether that fault is still there. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠Anzymanz on GitHub · 2026-11-25 22:23 UTC · original

From a tester working with Claude (AI-assisted). Measured on my own machine; no game data beyond hashes, offsets and counts.

Another RX 9070 XT data point (CachyOS, kernel 7.3, Mesa 26.3.1 RADV, Series X 1.0.2.1, diag builds cross-compiled with cargo-xwin, Proton runs via proton runinprefix), with three things that may save the next Linux tester some time:

1. vkd3d-proton 3.1 → 3.2 confirmed again. GE-Proton11-12 (3.1): exit 3 in vkCreateGraphicsPipelines 1.5–3 min into the first load, every run, on Mesa 26.2.6 and 26.3.1 alike (so not a Mesa version issue). GE-Proton11-14 (3.2): gone.

2. Under Wine, the world is black unless the indirect-argument clamp builds. With Wine's builtin d3dcompiler_47 on current main, the log shows:

WARN victory_gpu::indirect: argument clamp: clamp:58:32: E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'.
WARN victory_gpu::indirect: no argument clamp: indirect execution dropped

and about 3,800 indirect draws a frame are dropped ("not bounded (no clamp …)"), the largest drop reason by far; the world frame is a flat dark colour while the intro and credits render. With Microsoft's d3dcompiler_47 (winetricks d3dcompiler_47, plus d3dcompiler_47=n in WINEDLLOVERRIDES when using runinprefix) the clamp builds, draws go from ~600 to 3,500–4,000 a frame, and the opening cutscene and credits are visible. #1279 (a clamp Wine's compiler builds) would remove the need for the native DLL; it conflicts with main at the moment.

3. The wineserver is most of the frame on stock Proton. A second cell of mine measured the view-tree wineserver patch (CachyOS/wine-cachyos#50, Wine bug 60868) built into GE-Proton11-14's own wineserver, same build and prefix, scripted input into the world:

world reached median world frame
stock GE-Proton11-14 ~270 s (one leg didn't get there in 600 s) 8,442 ms
view-tree wineserver 76–104 s 1,041–1,061 ms

With the patch, wineserver drops to ~0.07 of a core and the remaining CPU cost is copies (~250–310 ms) and copy-back (~210–250 ms) per world frame; the GPU takes ~100–250 ms.

Stack for 2 and 3: main 13f91ca + #1997 (PresentX compositor) + #454 (VICTORY_NO_WATCHDOG=1). The run then ends ~3–8 min into the world on the pool overflow from #698 (INSTANCE_LIST 45000/45000, faults at +0x20337fa or the int3 at +0x5149aec); I'm trying #2644 next and will report there.

**@⁠Anzymanz** on GitHub · 2026-11-25 22:23 UTC · [original](https://github.com/Marvisak/VIctory/issues/752#issuecomment-7176299492) *From a tester working with Claude (AI-assisted). Measured on my own machine; no game data beyond hashes, offsets and counts.* Another RX 9070 XT data point (CachyOS, kernel 7.3, Mesa 26.3.1 RADV, Series X 1.0.2.1, diag builds cross-compiled with cargo-xwin, Proton runs via `proton runinprefix`), with three things that may save the next Linux tester some time: **1. vkd3d-proton 3.1 → 3.2 confirmed again.** GE-Proton11-12 (3.1): exit 3 in `vkCreateGraphicsPipelines` 1.5–3 min into the first load, every run, on Mesa 26.2.6 and 26.3.1 alike (so not a Mesa version issue). GE-Proton11-14 (3.2): gone. **2. Under Wine, the world is black unless the indirect-argument clamp builds.** With Wine's builtin `d3dcompiler_47` on current `main`, the log shows: ``` WARN victory_gpu::indirect: argument clamp: clamp:58:32: E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'. WARN victory_gpu::indirect: no argument clamp: indirect execution dropped ``` and about 3,800 indirect draws a frame are dropped ("not bounded (no clamp …)"), the largest drop reason by far; the world frame is a flat dark colour while the intro and credits render. With Microsoft's `d3dcompiler_47` (`winetricks d3dcompiler_47`, plus `d3dcompiler_47=n` in `WINEDLLOVERRIDES` when using `runinprefix`) the clamp builds, draws go from ~600 to 3,500–4,000 a frame, and the opening cutscene and credits are visible. #1279 (a clamp Wine's compiler builds) would remove the need for the native DLL; it conflicts with `main` at the moment. **3. The wineserver is most of the frame on stock Proton.** A second cell of mine measured the view-tree wineserver patch (CachyOS/wine-cachyos#50, Wine bug 60868) built into GE-Proton11-14's own wineserver, same build and prefix, scripted input into the world: | | world reached | median world frame | |---|---|---| | stock GE-Proton11-14 | ~270 s (one leg didn't get there in 600 s) | 8,442 ms | | view-tree wineserver | 76–104 s | 1,041–1,061 ms | With the patch, wineserver drops to ~0.07 of a core and the remaining CPU cost is copies (~250–310 ms) and copy-back (~210–250 ms) per world frame; the GPU takes ~100–250 ms. Stack for 2 and 3: `main` 13f91ca + #1997 (PresentX compositor) + #454 (`VICTORY_NO_WATCHDOG=1`). The run then ends ~3–8 min into the world on the pool overflow from #698 (`INSTANCE_LIST 45000/45000`, faults at `+0x20337fa` or the `int3` at `+0x5149aec`); I'm trying #2644 next and will report there.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#752
No description provided.