Linux/Proton: runs with a DXC fallback for the runtime HLSL compiles; 6a2d9f9 stable on RTX 5070 Ti; speed switches under Wine #6

Open
opened 2026-11-26 03:34:28 +00:00 by github-bot · 28 comments
Owner

@⁠deadkid14 on GitHub · 2026-11-24 19:27 UTC · original

Thanks for the fork. It is the first build that shows a lit world on my machine. Below is a report from running it on Linux under Proton, which needed one change on your side. There are also some results that may help with the device loss in your newest commits.

Setup: RTX 5070 Ti, NVIDIA 620.73.04 (open kernel modules), CachyOS kernel 7.3, GE-Proton11-14's wine run directly, with its vkd3d-proton 3.2 and DXVK dxgi. VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains, Series X files, --features diagnostics, VICTORY_NO_WATCHDOG=1 (upstream #454 merged on top), VICTORY_SHADER_LOOP_LIMIT=32.

1. Under Wine, the runtime HLSL compiles fail, and card buffers silently switch off

Wine's d3dcompiler_47 (vkd3d-shader) rejects RWByteAddressBuffer methods (E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'), so every runtime D3DCompile in the fork fails under Wine:

  • indirect.rs make_for (the clamp): every indirect execution is dropped, and the world is mostly empty.
  • host.rs make_card_work (the card compare): logs no host copies in the card's memory: the compare could not be made, so card buffers are off on Linux without any other sign.
  • host.rs compile() (your own shaders, e.g. the depth-plane twins) and inplace.rs shade().

Falling back to DXC fixes all of them. I copied upstream #178's helpers (dxc_library, dxc_compile, sign_dxc_bytecode) into indirect.rs, gave them an entry point and target parameter (with *_5_1 mapped to *_6_0), and routed compile(), the card compare and the in-place probe through compile() with that fallback. dxcompiler.dll and dxil.dll (DXC 1.9.2609) come from VICTORY_DXC. Windows, where D3DCompile succeeds, is unchanged. @⁠ItsYusei99 found the same independently in upstream #1528, with the same approach. A fallback like this in the fork would make it work on Linux as it is.

2. Stability: 6a2d9f9 did not lose the device here

Your README says the commits after 578d459 lose the device. On this machine, 578d459 + 6a2d9f9 (plus the patch above and #454) ran four world sessions of about 8 minutes each with no device removal, no Xid in the kernel log and no exception. If the device loss on your side is NVIDIA-on-Windows specific, or came with d279e69 / 004bf69 (which I have not tried), this may help narrow it down.

3. Speed switches on NVIDIA under Wine

Each run measured 60 s after 6 min in the world, through the same scripted input. They are not the same view, because each run ends up at a different point of the prologue, so treat the fps as approximate:

Configuration fps (min–max) preparing / GPU / copying back (ms) avg draws/frame over the run
VICTORY_CARD_BUFFERS=0 1.85 (1.8–1.9) 156 / 286 / 91 2,239
default (card buffers on, now working) 1.95 (1.5–2.2) 99 / 190 / 58 2,395
VICTORY_RELAY=2 1.55 (0.8–1.9) 300 / 145 / 269 2,987
VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 1.97 (1.9–2.0) 98 / 80 / 48 3,903

Under Wine, RELAY=2 costs more CPU time than it saves. The late-wait combination is the steadiest, but frames stay around 500 ms.

4. Visual issues seen

  • The intro video flickers in every configuration above, with card buffers on and off. It does not flicker on upstream main with the same Proton setup.
  • Geometry drops out with VICTORY_RELAY=2: the buildings around the yard disappear for a while, leaving sky and floating window frames. With the late-wait combination it is milder: the roof of the yard's covered area was missing, so its ceiling lights hung in the sky. The default configuration did not show this.
  • Characters' skin draws as flat, blocky patches, with a bright rectangle over the head of the nearest character. This looks like the three untranslated pixel shaders #1528 lists. Hair draws as strands but smeared.

No images attached (asset policy).

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-24 19:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/6) Thanks for the fork. It is the first build that shows a lit world on my machine. Below is a report from running it on **Linux under Proton**, which needed one change on your side. There are also some results that may help with the device loss in your newest commits. **Setup:** RTX 5070 Ti, NVIDIA 620.73.04 (open kernel modules), CachyOS kernel 7.3, GE-Proton11-14's `wine` run directly, with its vkd3d-proton 3.2 and DXVK `dxgi`. `VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains`, Series X files, `--features diagnostics`, `VICTORY_NO_WATCHDOG=1` (upstream #454 merged on top), `VICTORY_SHADER_LOOP_LIMIT=32`. ## 1. Under Wine, the runtime HLSL compiles fail, and card buffers silently switch off Wine's `d3dcompiler_47` (vkd3d-shader) rejects `RWByteAddressBuffer` methods (`E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'`), so every runtime `D3DCompile` in the fork fails under Wine: - `indirect.rs` `make_for` (the clamp): every indirect execution is dropped, and the world is mostly empty. - `host.rs` `make_card_work` (the card compare): logs `no host copies in the card's memory: the compare could not be made`, so **card buffers are off** on Linux without any other sign. - `host.rs` `compile()` (your own shaders, e.g. the depth-plane twins) and `inplace.rs` `shade()`. Falling back to DXC fixes all of them. I copied upstream #178's helpers (`dxc_library`, `dxc_compile`, `sign_dxc_bytecode`) into `indirect.rs`, gave them an entry point and target parameter (with `*_5_1` mapped to `*_6_0`), and routed `compile()`, the card compare and the in-place probe through `compile()` with that fallback. `dxcompiler.dll` and `dxil.dll` (DXC 1.9.2609) come from `VICTORY_DXC`. Windows, where `D3DCompile` succeeds, is unchanged. @⁠ItsYusei99 found the same independently in upstream #1528, with the same approach. A fallback like this in the fork would make it work on Linux as it is. ## 2. Stability: `6a2d9f9` did not lose the device here Your README says the commits after `578d459` lose the device. On this machine, `578d459` + `6a2d9f9` (plus the patch above and #454) ran **four world sessions of about 8 minutes each with no device removal, no Xid in the kernel log and no exception**. If the device loss on your side is NVIDIA-on-Windows specific, or came with `d279e69` / `004bf69` (which I have not tried), this may help narrow it down. ## 3. Speed switches on NVIDIA under Wine Each run measured 60 s after 6 min in the world, through the same scripted input. They are not the same view, because each run ends up at a different point of the prologue, so treat the fps as approximate: | Configuration | fps (min–max) | preparing / GPU / copying back (ms) | avg draws/frame over the run | |---|---|---|---| | `VICTORY_CARD_BUFFERS=0` | 1.85 (1.8–1.9) | 156 / 286 / 91 | 2,239 | | default (card buffers on, now working) | 1.95 (1.5–2.2) | 99 / 190 / 58 | 2,395 | | `VICTORY_RELAY=2` | 1.55 (0.8–1.9) | 300 / 145 / 269 | 2,987 | | `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024` | 1.97 (1.9–2.0) | 98 / 80 / 48 | 3,903 | Under Wine, `RELAY=2` costs more CPU time than it saves. The late-wait combination is the steadiest, but frames stay around 500 ms. ## 4. Visual issues seen - **The intro video flickers** in every configuration above, with card buffers on and off. It does not flicker on upstream `main` with the same Proton setup. - **Geometry drops out** with `VICTORY_RELAY=2`: the buildings around the yard disappear for a while, leaving sky and floating window frames. With the late-wait combination it is milder: the roof of the yard's covered area was missing, so its ceiling lights hung in the sky. The default configuration did not show this. - **Characters' skin draws as flat, blocky patches**, with a bright rectangle over the head of the nearest character. This looks like the three untranslated pixel shaders #1528 lists. Hair draws as strands but smeared. No images attached (asset policy). *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:28 +00:00
Author
Owner

@⁠pablogonz12 on GitHub · 2026-11-24 19:44 UTC · original

Same finding on AMD under Linux, for the record.

Setup: RX 9070 XT (RDNA4), Mesa 26.3.1 RADV, Ryzen 9 9900X, 30 GB, GE-Proton11-14 wine run directly, vkd3d-proton master, fork at 578d459, --features diagnostics, VICTORY_NO_WATCHDOG=1, Series X files.

  • Wine's builtin d3dcompiler_47: same E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer', then no argument clamp: indirect execution dropped, no pipeline to draw a depth plane from its twin and no host copies in the card's memory (0x80004005). Black screen in the world, 750-1,100 draws/frame, 4.7-5.7 fps (most of the frame simply not drawn). Render-target dumps showed depth/normals/sky with content and the R11G11B10F scene-colour chain all zero.
  • Microsoft's d3dcompiler_47.dll next to the exe (WINEDLLOVERRIDES=d3dcompiler_47=n,b; a stop-gap, not something to ship): the three errors are gone, 4,900-6,400 draws/frame, and the opening scenes render lit and textured on screen; menus, pad and sound work. World fps in this run: median 1.1, up to 3.1 (first run after the change, textures still streaming in); pause menu 23 fps. No device removal so far (run still going, about 8 min in).

So the DXC fallback you describe looks like the right fix for Linux in general, AMD included. Not tested yet: the DXC fallback itself on AMD (building it now), and whether the AMD skips from #3 are needed under RADV (the 41 CS_RaytracingResolve ones crash amdxc64.dll, which RADV doesn't use).

**@⁠pablogonz12** on GitHub · 2026-11-24 19:44 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7142520390) Same finding on AMD under Linux, for the record. **Setup:** RX 9070 XT (RDNA4), Mesa 26.3.1 RADV, Ryzen 9 9900X, 30 GB, GE-Proton11-14 `wine` run directly, vkd3d-proton master, fork at `578d459`, `--features diagnostics`, `VICTORY_NO_WATCHDOG=1`, Series X files. - **Wine's builtin `d3dcompiler_47`:** same `E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'`, then `no argument clamp: indirect execution dropped`, `no pipeline to draw a depth plane from its twin` and `no host copies in the card's memory` (0x80004005). Black screen in the world, 750-1,100 draws/frame, 4.7-5.7 fps (most of the frame simply not drawn). Render-target dumps showed depth/normals/sky with content and the R11G11B10F scene-colour chain all zero. - **Microsoft's `d3dcompiler_47.dll` next to the exe** (`WINEDLLOVERRIDES=d3dcompiler_47=n,b`; a stop-gap, not something to ship): the three errors are gone, 4,900-6,400 draws/frame, and the opening scenes render **lit and textured on screen**; menus, pad and sound work. World fps in this run: median 1.1, up to 3.1 (first run after the change, textures still streaming in); pause menu 23 fps. No device removal so far (run still going, about 8 min in). So the DXC fallback you describe looks like the right fix for Linux in general, AMD included. Not tested yet: the DXC fallback itself on AMD (building it now), and whether the AMD skips from #3 are needed under RADV (the 41 `CS_RaytracingResolve` ones crash `amdxc64.dll`, which RADV doesn't use).
Author
Owner

@⁠deadkid14 on GitHub · 2026-11-24 19:49 UTC · original

Follow-up: e9765a7 (with 004bf69 and 7b0f736) on the same Linux/Proton setup (RTX 5070 Ti, 620.73.04), on top of d279e69 and the DXC fallback above: one run in the default configuration, measured after 6 min in the world. 1.99 fps (1.9–2.0), about 3,200 draws/frame, no Xid, no device removal, no exception. The card compare builds through the fallback. So the wave-wide default-off doesn't cost anything here compared with 6a2d9f9 (1.95 fps). In an earlier interactive session on d279e69, the player could walk with a controller and interact with cellmates.

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-24 19:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7142646911) Follow-up: `e9765a7` (with `004bf69` and `7b0f736`) on the same Linux/Proton setup (RTX 5070 Ti, 620.73.04), on top of `d279e69` and the DXC fallback above: one run in the default configuration, measured after 6 min in the world. **1.99 fps (1.9–2.0), about 3,200 draws/frame, no Xid, no device removal, no exception.** The card compare builds through the fallback. So the wave-wide default-off doesn't cost anything here compared with `6a2d9f9` (1.95 fps). In an earlier interactive session on `d279e69`, the player could walk with a controller and interact with cellmates. *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
Author
Owner

@⁠fxceless on GitHub · 2026-11-24 19:53 UTC · original

Thanks, useful on both counts. The device loss is fixed in e9765a7 (details in #5); it was specific to one wave64 form on 32-lane NVIDIA cards with the default loop limit, which fits your clean runs with VICTORY_SHADER_LOOP_LIMIT=32. A DXC fallback for the runtime HLSL compiles makes sense for Wine; a pull request with it is welcome, and otherwise it goes on the list here.

**@⁠fxceless** on GitHub · 2026-11-24 19:53 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7142726117) Thanks, useful on both counts. The device loss is fixed in `e9765a7` (details in #5); it was specific to one wave64 form on 32-lane NVIDIA cards with the default loop limit, which fits your clean runs with `VICTORY_SHADER_LOOP_LIMIT=32`. A DXC fallback for the runtime HLSL compiles makes sense for Wine; a pull request with it is welcome, and otherwise it goes on the list here.
Author
Owner

@⁠leonardo-silva-pinheiro on GitHub · 2026-11-24 20:21 UTC · original

Two pull requests now implement the DXC fallback suggested here, opened three minutes apart and both on 7b0f736: #20 (ErRusso) and #21 (oeirughrepuiohg). Both add a new crates/victory-gpu/src/dxc.rs, so whichever is merged first will make the other conflict. A short comparison to help pick one:

#20 #21
Call sites routed through the fallback clamp (indirect.rs), host.rs compile(), card compare, inplace.rs shade() clamp, host.rs compile(), card compare (inplace.rs not touched)
Wine drops [RootSignature] without an error (depth-plane twins) handled in its second commit (carries_root_signature: recompile with DXC when the container has no RTS0) not handled: a successful system compile is taken as final
Other changes README note on VICTORY_DXC / dxil.dll; host::compile now takes &str (test in resource.rs updated) adds compile_pcstr beside the &str form
Size +289 / −160 (removes the old per-file compile code) +195 / −22
Tested under Wine crate suite 111/112 under Wine 11.22 + vkd3d-proton (the one failure is pre-existing: no CreatePipelineLibrary); not run in the game in the game, RTX 4070 Ti / Fedora / Proton Experimental, but on d279e69, not the rebased commit

So #20 now covers more (all four call sites, plus the missing-root-signature case), and #21 is the one with an in-game run. An in-game run of #20 under Proton would settle it. @⁠deadkid14 and @⁠pablogonz12 already have the Linux setup for that.

AI-assisted: Claude Code compared the two diffs and drafted this comment; posted at my request.

**@⁠leonardo-silva-pinheiro** on GitHub · 2026-11-24 20:21 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7143412395) Two pull requests now implement the DXC fallback suggested here, opened three minutes apart and both on `7b0f736`: #20 (ErRusso) and #21 (oeirughrepuiohg). Both add a new `crates/victory-gpu/src/dxc.rs`, so whichever is merged first will make the other conflict. A short comparison to help pick one: | | #20 | #21 | |---|---|---| | Call sites routed through the fallback | clamp (`indirect.rs`), `host.rs` `compile()`, card compare, **`inplace.rs` `shade()`** | clamp, `host.rs` `compile()`, card compare (`inplace.rs` not touched) | | Wine drops `[RootSignature]` without an error (depth-plane twins) | handled in its second commit (`carries_root_signature`: recompile with DXC when the container has no `RTS0`) | not handled: a successful system compile is taken as final | | Other changes | README note on `VICTORY_DXC` / `dxil.dll`; `host::compile` now takes `&str` (test in `resource.rs` updated) | adds `compile_pcstr` beside the `&str` form | | Size | +289 / −160 (removes the old per-file compile code) | +195 / −22 | | Tested under Wine | crate suite 111/112 under Wine 11.22 + vkd3d-proton (the one failure is pre-existing: no `CreatePipelineLibrary`); not run in the game | in the game, RTX 4070 Ti / Fedora / Proton Experimental, but on `d279e69`, not the rebased commit | So #20 now covers more (all four call sites, plus the missing-root-signature case), and #21 is the one with an in-game run. An in-game run of #20 under Proton would settle it. @⁠deadkid14 and @⁠pablogonz12 already have the Linux setup for that. *AI-assisted: Claude Code compared the two diffs and drafted this comment; posted at my request.*
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-24 20:49 UTC · original · edited 2026-11-24 20:58 UTC

Correction, same evening. The paragraph below says the run reaches the world. It does not: I saved the presented frames afterwards, and frames 512–2048 of a ten-minute run are the splash and the loading key art. Ten minutes gets boot, menus, splash and loading — not the cutscene. The 2 800–5 000 draws per frame are the loading screen streaming, not the world, so every number below describes the loading phase. The black frame I saw in window screenshots was most likely the window between two 5-second frames; the saved frames have content.

That makes the streaming rate the finding, and it is worse than the frame numbers suggest: on Windows the same title version loads the world in about half a minute, and ten minutes is not enough here.


Another AMD/Linux data point, and one finding that is not about the compiler.

Setup: RX 7900 XT (RDNA 3, native 64-lane waves), Mesa 26.3.1 RADV, Vulkan 1.4, CachyOS 7.3.5, KDE Plasma 6 on Wayland; Proton Experimental wine (experimental-11.0-20261112) run directly, its vkd3d-proton and DXVK dxgi; Series X files; title 1.0.2.1; release build from 1684989.

  1. HDR on the output breaks the run in a way that looks like a title crash. With HDR enabled on the display the window lands on, presentation blocks for about 400 ms per frame: 2.5 fps in the menus, then the 30 s watchdog ends the run with int3 at a frame-64 boundary. With HDR off the same build runs the menus at 15–30 fps and reaches the world. I lost a day to this — the merge, the shader cache, the prefix, ntsync, the CPU governor and window focus were all ruled out first. It is not fork-specific.

  2. Wine's builtin d3d12 has to be overridden off — WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n". With the stub in the chain, device creation returns E_INVALIDARG and every frame submits 0 draws. Sounds close to what @⁠pablogonz12 saw before adding Microsoft's d3dcompiler_47.dll.

  3. The E5005 failures do not reproduce on 1684989 with this Proton's d3dcompiler_47. Zero no argument clamp messages in a ten-minute run, and the card compare built (10 copies of 492 MB, 23–53 MB per frame sent up). So the DXC fallback in #20 / #21 is never taken here. Either the shader changed since 578d459, or the compiler version matters — worth separating before a fallback is merged as "the Linux fix".

  4. On AMD/Linux the frame is not GPU bound, it is host-copy bound. World frames (more than 800 draws) average 5–8 s, of which 134–163 ms is GPU time. Copies into title memory run at 60–100 MB/s and texture uploads at 13–41 MB/s, against roughly 1 GB/s in #10's Windows numbers. Whatever makes Linux slower there is worth more than any GPU-side work on this machine.

The presented frame is black at 2 800–4 800 draws per frame, matching @⁠pablogonz12's zero scene-colour chain; I have not dumped render targets yet. Everything above is in docs/linux-proton.md in #41, including what is still unseparated (whether the upload rate is RADV, vkd3d-proton or the page-fault path).

No images, no game data; numbers only.

**@⁠rostaddotcc** on GitHub · 2026-11-24 20:49 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144106684) · edited 2026-11-24 20:58 UTC **Correction, same evening.** The paragraph below says the run reaches the world. It does not: I saved the presented frames afterwards, and frames 512–2048 of a ten-minute run are the splash and the loading key art. Ten minutes gets boot, menus, splash and loading — not the cutscene. The 2 800–5 000 draws per frame are the loading screen streaming, not the world, so every number below describes the loading phase. The black frame I saw in window screenshots was most likely the window between two 5-second frames; the saved frames have content. That makes the streaming rate the finding, and it is worse than the frame numbers suggest: on Windows the same title version loads the world in about half a minute, and ten minutes is not enough here. --- Another AMD/Linux data point, and one finding that is not about the compiler. **Setup:** RX 7900 XT (RDNA 3, native 64-lane waves), Mesa 26.3.1 RADV, Vulkan 1.4, CachyOS 7.3.5, KDE Plasma 6 on Wayland; Proton Experimental `wine` (experimental-11.0-20261112) run directly, its vkd3d-proton and DXVK `dxgi`; Series X files; title 1.0.2.1; release build from `1684989`. 1. **HDR on the output breaks the run in a way that looks like a title crash.** With HDR enabled on the display the window lands on, presentation blocks for about 400 ms per frame: 2.5 fps in the menus, then the 30 s watchdog ends the run with `int3` at a frame-64 boundary. With HDR off the same build runs the menus at 15–30 fps and reaches the world. I lost a day to this — the merge, the shader cache, the prefix, ntsync, the CPU governor and window focus were all ruled out first. It is not fork-specific. 2. **Wine's builtin `d3d12` has to be overridden off** — `WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"`. With the stub in the chain, device creation returns `E_INVALIDARG` and every frame submits 0 draws. Sounds close to what @⁠pablogonz12 saw before adding Microsoft's `d3dcompiler_47.dll`. 3. **The `E5005` failures do not reproduce on `1684989` with this Proton's `d3dcompiler_47`.** Zero `no argument clamp` messages in a ten-minute run, and the card compare built (10 copies of 492 MB, 23–53 MB per frame sent up). So the DXC fallback in #20 / #21 is never taken here. Either the shader changed since `578d459`, or the compiler version matters — worth separating before a fallback is merged as "the Linux fix". 4. **On AMD/Linux the frame is not GPU bound, it is host-copy bound.** World frames (more than 800 draws) average 5–8 s, of which 134–163 ms is GPU time. Copies into title memory run at 60–100 MB/s and texture uploads at 13–41 MB/s, against roughly 1 GB/s in #10's Windows numbers. Whatever makes Linux slower there is worth more than any GPU-side work on this machine. The presented frame is black at 2 800–4 800 draws per frame, matching @⁠pablogonz12's zero scene-colour chain; I have not dumped render targets yet. Everything above is in `docs/linux-proton.md` in #41, including what is still unseparated (whether the upload rate is RADV, vkd3d-proton or the page-fault path). No images, no game data; numbers only.
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-24 21:01 UTC · original

One more measurement that changes what this looks like, and a correction to my comment above.

It is not vkd3d-proton or RADV. I wrote a 128 MiB probe that does only what the layer does per frame — write through an upload mapping, copy on the card, read back through a readback mapping — and ran it in the same prefix, same device, same Proton:

operation rate
writes into a mapped UPLOAD buffer 21.3 GB/s (6.0 ms per 128 MB)
card copy, upload buffer to a default-heap buffer 143–163 GB/s (0.9 ms per 128 MB)
card copy, default heap to a READBACK buffer 24.6–25.1 GB/s (5.2 ms per 128 MB)
reading a mapped READBACK buffer 12.6 GB/s (10.2 ms per 128 MB)

Two runs, same numbers. The frame shows ~60–100 MB/s for copies and 7–41 MB/s for textures, so the runtime underneath is two orders of magnitude faster than what a frame costs. The 2–4 s per frame of "copies" and "textures" is the layer's own per-frame work — the ranges it sends up, the pieces it hashes and compares on the card, and the waits for those — not the memory path. That rules out RADV and vkd3d-proton as the explanation, and it is where I would start on #10 for Linux.

Correction to my earlier comment: those runs do not reach the world. I saved the presented frames afterwards; frames 512–2048 of a ten-minute run are the splash and the loading key art, so ten minutes gets boot, menus, splash and loading, and the 2 800–5 000 draws/frame are the loading screen streaming. The world's own cost is still unmeasured here. On Windows the same title version loads the world in about half a minute; here ten minutes is not enough, which is the same copy path seen from the other end.

Still out of scope for this machine: the E5005 failures in #6 do not reproduce on 1684989 with Proton Experimental's d3dcompiler_47, so the DXC fallbacks are never taken.

Numbers only, no game data. Details in docs/linux-proton.md (#41).

**@⁠rostaddotcc** on GitHub · 2026-11-24 21:01 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144362885) One more measurement that changes what this looks like, and a correction to my comment above. **It is not vkd3d-proton or RADV.** I wrote a 128 MiB probe that does only what the layer does per frame — write through an upload mapping, copy on the card, read back through a readback mapping — and ran it in the same prefix, same device, same Proton: | operation | rate | |---|---:| | writes into a mapped UPLOAD buffer | 21.3 GB/s (6.0 ms per 128 MB) | | card copy, upload buffer to a default-heap buffer | 143–163 GB/s (0.9 ms per 128 MB) | | card copy, default heap to a READBACK buffer | 24.6–25.1 GB/s (5.2 ms per 128 MB) | | reading a mapped READBACK buffer | 12.6 GB/s (10.2 ms per 128 MB) | Two runs, same numbers. The frame shows ~60–100 MB/s for copies and 7–41 MB/s for textures, so the runtime underneath is two orders of magnitude faster than what a frame costs. The 2–4 s per frame of "copies" and "textures" is the layer's own per-frame work — the ranges it sends up, the pieces it hashes and compares on the card, and the waits for those — not the memory path. That rules out RADV and vkd3d-proton as the explanation, and it is where I would start on #10 for Linux. **Correction to my earlier comment:** those runs do not reach the world. I saved the presented frames afterwards; frames 512–2048 of a ten-minute run are the splash and the loading key art, so ten minutes gets boot, menus, splash and loading, and the 2 800–5 000 draws/frame are the loading screen streaming. The world's own cost is still unmeasured here. On Windows the same title version loads the world in about half a minute; here ten minutes is not enough, which is the same copy path seen from the other end. Still out of scope for this machine: the `E5005` failures in #6 do not reproduce on `1684989` with Proton Experimental's `d3dcompiler_47`, so the DXC fallbacks are never taken. Numbers only, no game data. Details in `docs/linux-proton.md` (#41).
Author
Owner

@⁠peeepy on GitHub · 2026-11-24 21:16 UTC · original · edited 2026-11-24 21:21 UTC

Hopefully this is commented in the right place, apologies if not. Here's my report:

RTX 3090 on Linux/Proton: the fork + Microsoft d3dcompiler_47 runs 11–14 min into the prologue; the stop is the pool int3 at +0x63966f, with or without the four culling programs skipped; 5 wave64 compute programs refused on 32-lane NVIDIA

Setup

  • CachyOS, kernel 7.3.4-1-cachyos, niri (Wayland, xwayland-satellite)
  • Ryzen 9 7950X (32 threads), 187 GB RAM
  • 2× RTX 3090 24 GB (NVIDIA 620.70.06). The device is pinned with VKD3D_FILTER_DEVICE_NAME="RTX 3090" because the CPU's Radeon 610M iGPU is also present.
  • Proton Experimental experimental-11.0-20261112 with its own wine, run directly; vkd3d-proton 3.2.0 (2576c0b4adfae4a); DXVK dxgi v3.1.1-209
  • Title 1.0.2.1 (b99f876b…), Series X profile, release build

Tree: fork 4e17478 (origin/main) plus:

  • From #994 (upstream proton-fixes): d469fe9 (HLE WSAConnectByList/GetAddrInfoExA), 45aceea (one returning block), e5a8c2f (null-blob empty pipeline library), 4782660 (test skip under Wine), b7cc788 (docs, proton-run.sh), 45e24f9 (debug pixel shader and VICTORY_PS_FALLBACK). 45e24f9 needed one conflict resolved in pipeline/host.rs (library::label moved into make()), and its debug_ps HostShader needed the fork's new root_uavs and root_indexed_views fields, both empty.
  • Upstream #454 (VICTORY_NO_WATCHDOG), applied cleanly.
  • Not applied: #994's indirect-clamp commit 4828716, which conflicts with the fork's rewritten clamp. Instead, Microsoft's d3dcompiler_47.dll is installed in the prefix (winetricks d3dcompiler_47). With it, indirect::tests::argument_clamp_builds and the card-compare test pass under Proton. This is the stop-gap from this thread, until #20/#21 land.
  • One local change: VICTORY_PIPELINE_WORKERS overrides the pipeline worker count. The default is (cores/2).clamp(2, 8), which is 8 here; I ran 16.
  • Under Proton on the 3090, victory-gpu passes 110/110 (1 ignored) and victory-shader passes 211/211 (2 ignored).

Run 1 (cold caches, 8 workers, no watchdog hook)

  • Menus 30 fps. The world ran at 0.1–0.5 fps with 2,000–3,000 draws/frame, of which 1,100–3,000 were dropped without a host pipeline, and 700–815 pipelines were still being made for the whole time.
  • The screen stayed black with sound. About 3 minutes after entering the world, the title stopped at +0x2215c35 (the watchdog self-kill, #630).

Run 2 (warm caches, 16 workers, VICTORY_NO_WATCHDOG=1): 11 min 20 s, ended by 0x80000003 at +0x63966f

  • Both watchdog hooks applied. Pipelines being made went from 1,362 to 7 within about 3 min and stayed at 7.
  • World steady state: 0.1–1.4 fps (mostly 0.2–0.6), 600–4,200 draws/frame, 90–1,100 dropped without a host pipeline, and 4–13 indirect dropped.
  • Frame time is CPU-side: 1.5–5.7 s "preparing" per frame (title-memory copies 2.7–3.5 s, texture refreshes 1.1–2.4 s, mostly "waiting for title memory to hold still"). The GPU was about 7–9 % busy by the frame line's count.
  • Picture: mostly black. Objects were often only half drawn.
  • Title crash report: frame 1685, Paused: Yes, SRL fbk_stry000_FBK_STRY000_INTRO / Prestream, INSTANCE_LIST 44292/45000, BUILDING 19887/22500, OBJECT 16478/27500, TileHeap 4101 of 6236 MB, Game Physical 2.18 of 2.31 GB. This is the same pool-allocator stop as upstream #698 (BitWuehler's RTX 5080 Linux report has the same site). The four instance-culling hashes from #698 (17af15c4015cb4b6, 55679a0547649d0b, fdd56d97a806bcca, 89d08e561897d4e5) all translated and ran in this run.

Run 3 (tree updated to fork 4e17478 + #994's 45e24f9, diag build, VICTORY_SKIP_PIPELINES = the four culling hashes): 13 min 43 s, same stop at +0x63966f

  • The skip was active ("skipped shader 17af15c4015cb4b6" / "fdd56d97a806bcca" in the drop lines), and the debug pixel shader fallback was used ("pixel shaders that do not translate are replaced by the debug one").
  • Skipping the culling programs did not keep the pool from filling here, unlike Asenje's RTX 3060 run on #698. Title crash report: frame 1514, Paused: Yes, SRL Prestream, INSTANCE_LIST 44140/45000, BUILDING 19285/22500, OBJECT 14168/27500, GRASS_INSTANCE_LIST 3836/9000, TileHeap 5249 of 6236 MB. The run lasted longer but stopped at an earlier title frame (1514 against 1685).
  • World averages: 0.38 fps against 0.40 in run 2, 2,098 draws/frame drawn against 1,967, and 24 % dropped without a host pipeline against 27 %.
  • Untranslated shaders went from 11 to 8 on the updated tree. 7f05ddab771799a9 (lane mask elsewhere, fixed by #11), a53a7977fe762268 and be14e72d86362031 (wave reductions) now translate. The other 8 are unchanged (table below), and so are the 5 wave64 refusals.
  • Picture: visibly better than run 2, which I'd put down to the PS fallback plus the shader fixes, not the skip.

Refused host pipelines (5, all compute): 02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764, 6b82bc7d22016cb5. Each is E_INVALIDARG, and vkd3d-proton logs the reason right before it:

err:vkd3d-proton:d3d12_device_validate_shader_meta: Required WaveSize range [64, 64], but supported range is [32, 32].

So under vkd3d-proton these show up as 0x80070057, where Windows NVIDIA reports have 0x8007000E. These are the programs the fork's 32-lane retries still leave at WaveSize(64).

Untranslated shaders: 8 unique in run 3 (current tree 4e17478), down from 11 in run 2 (7b0f736)

Still failing in run 3:

hash stage reason
2fd01fca16993001 pixel a descriptor read only as data
6b6db9f1a526daeb pixel a descriptor read only as data
38bf0814e721a1b3 pixel the first half of an interpolation
5dc3b25986622949 compute v_cvt_f32_f64
6f225b641c5b0708 compute v_cvt_f32_f64
f133e35efed2a48a compute a lane mask exchanged where not every lane runs
a929109552ce1e84 compute v_permlanex16_b32
ceb5eb68cd99cb07 compute a descriptor's address or format read as data

Failed in run 2, translate in run 3:

hash stage reason in run 2
7f05ddab771799a9 compute a lane mask holding lanes elsewhere read as data (likely #11, not bisected)
a53a7977fe762268 compute a wave reduction where not every lane runs
be14e72d86362031 compute a wave reduction where not every lane runs

With the PS fallback (45e24f9) on in run 3, depth-tested geometry draws whose pixel shader is one of the three pixel rows above use the debug pixel shader instead of being dropped (other draws with them still drop).

Other notes for Linux users

  • Wine's builtin d3dcompiler_47 and the fork's runtime HLSL: the clamp test fails without Microsoft's DLL and passes with it.
  • Host view heap: capped at 1000000 … count=1245184, as on Windows NVIDIA.
  • A tried merge of upstream #189 (wave64 emulation) into the fork conflicts in about 2,600 lines (emit/lower.rs 14 hunks, emit/mod.rs, wave64_tests.rs), since both rework the same 32-lane path. I didn't resolve it.
  • Input: with Steam running, Wine's only XInput device was Steam's virtual pad 28de:11ff, and the DualSense appeared only as hidraw. So the title saw a connected pad that never sent input, and the keyboard stand-in was off too. Launching the launcher script as a non-Steam game (no compatibility tool) fixed it.
**@⁠peeepy** on GitHub · 2026-11-24 21:16 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144718651) · edited 2026-11-24 21:21 UTC Hopefully this is commented in the right place, apologies if not. Here's my report: **RTX 3090 on Linux/Proton: the fork + Microsoft `d3dcompiler_47` runs 11–14 min into the prologue; the stop is the pool `int3` at `+0x63966f`, with or without the four culling programs skipped; 5 wave64 compute programs refused on 32-lane NVIDIA** **Setup** - CachyOS, kernel 7.3.4-1-cachyos, niri (Wayland, xwayland-satellite) - Ryzen 9 7950X (32 threads), 187 GB RAM - 2× RTX 3090 24 GB (NVIDIA 620.70.06). The device is pinned with `VKD3D_FILTER_DEVICE_NAME="RTX 3090"` because the CPU's Radeon 610M iGPU is also present. - Proton Experimental `experimental-11.0-20261112` with its own `wine`, run directly; vkd3d-proton 3.2.0 (`2576c0b4adfae4a`); DXVK `dxgi` v3.1.1-209 - Title 1.0.2.1 (`b99f876b…`), Series X profile, release build **Tree:** fork `4e17478` (origin/main) plus: - From #994 (upstream proton-fixes): `d469fe9` (HLE `WSAConnectByList`/`GetAddrInfoExA`), `45aceea` (one returning block), `e5a8c2f` (null-blob empty pipeline library), `4782660` (test skip under Wine), `b7cc788` (docs, `proton-run.sh`), `45e24f9` (debug pixel shader and `VICTORY_PS_FALLBACK`). `45e24f9` needed one conflict resolved in `pipeline/host.rs` (`library::label` moved into `make()`), and its `debug_ps` `HostShader` needed the fork's new `root_uavs` and `root_indexed_views` fields, both empty. - Upstream #454 (`VICTORY_NO_WATCHDOG`), applied cleanly. - Not applied: #994's indirect-clamp commit `4828716`, which conflicts with the fork's rewritten clamp. Instead, **Microsoft's `d3dcompiler_47.dll` is installed in the prefix** (`winetricks d3dcompiler_47`). With it, `indirect::tests::argument_clamp_builds` and the card-compare test pass under Proton. This is the stop-gap from this thread, until #20/#21 land. - One local change: `VICTORY_PIPELINE_WORKERS` overrides the pipeline worker count. The default is `(cores/2).clamp(2, 8)`, which is 8 here; I ran 16. - Under Proton on the 3090, `victory-gpu` passes 110/110 (1 ignored) and `victory-shader` passes 211/211 (2 ignored). **Run 1 (cold caches, 8 workers, no watchdog hook)** - Menus 30 fps. The world ran at 0.1–0.5 fps with 2,000–3,000 draws/frame, of which 1,100–3,000 were dropped without a host pipeline, and 700–815 pipelines were still being made for the whole time. - The screen stayed black with sound. About 3 minutes after entering the world, the title stopped at `+0x2215c35` (the watchdog self-kill, #630). **Run 2 (warm caches, 16 workers, `VICTORY_NO_WATCHDOG=1`): 11 min 20 s, ended by `0x80000003` at `+0x63966f`** - Both watchdog hooks applied. Pipelines being made went from 1,362 to 7 within about 3 min and stayed at 7. - World steady state: 0.1–1.4 fps (mostly 0.2–0.6), 600–4,200 draws/frame, 90–1,100 dropped without a host pipeline, and 4–13 indirect dropped. - Frame time is CPU-side: 1.5–5.7 s "preparing" per frame (title-memory copies 2.7–3.5 s, texture refreshes 1.1–2.4 s, mostly "waiting for title memory to hold still"). The GPU was about 7–9 % busy by the frame line's count. - Picture: mostly black. Objects were often only half drawn. - Title crash report: frame 1685, `Paused: Yes`, SRL `fbk_stry000_FBK_STRY000_INTRO` / `Prestream`, `INSTANCE_LIST 44292/45000`, `BUILDING 19887/22500`, `OBJECT 16478/27500`, TileHeap 4101 of 6236 MB, Game Physical 2.18 of 2.31 GB. This is the same pool-allocator stop as upstream #698 (BitWuehler's RTX 5080 Linux report has the same site). The four instance-culling hashes from #698 (`17af15c4015cb4b6`, `55679a0547649d0b`, `fdd56d97a806bcca`, `89d08e561897d4e5`) all translated and ran in this run. **Run 3 (tree updated to fork `4e17478` + #994's `45e24f9`, diag build, `VICTORY_SKIP_PIPELINES` = the four culling hashes): 13 min 43 s, same stop at `+0x63966f`** - The skip was active ("skipped shader `17af15c4015cb4b6`" / "`fdd56d97a806bcca`" in the drop lines), and the debug pixel shader fallback was used ("pixel shaders that do not translate are replaced by the debug one"). - **Skipping the culling programs did not keep the pool from filling here**, unlike Asenje's RTX 3060 run on #698. Title crash report: frame 1514, `Paused: Yes`, SRL `Prestream`, `INSTANCE_LIST 44140/45000`, `BUILDING 19285/22500`, `OBJECT 14168/27500`, `GRASS_INSTANCE_LIST 3836/9000`, TileHeap 5249 of 6236 MB. The run lasted longer but stopped at an earlier title frame (1514 against 1685). - World averages: 0.38 fps against 0.40 in run 2, 2,098 draws/frame drawn against 1,967, and 24 % dropped without a host pipeline against 27 %. - Untranslated shaders went from 11 to 8 on the updated tree. `7f05ddab771799a9` (lane mask elsewhere, fixed by #11), `a53a7977fe762268` and `be14e72d86362031` (wave reductions) now translate. The other 8 are unchanged (table below), and so are the 5 wave64 refusals. - Picture: visibly better than run 2, which I'd put down to the PS fallback plus the shader fixes, not the skip. **Refused host pipelines (5, all compute):** `02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`, `6b82bc7d22016cb5`. Each is `E_INVALIDARG`, and vkd3d-proton logs the reason right before it: ``` err:vkd3d-proton:d3d12_device_validate_shader_meta: Required WaveSize range [64, 64], but supported range is [32, 32]. ``` So under vkd3d-proton these show up as `0x80070057`, where Windows NVIDIA reports have `0x8007000E`. These are the programs the fork's 32-lane retries still leave at `WaveSize(64)`. **Untranslated shaders: 8 unique in run 3 (current tree `4e17478`), down from 11 in run 2 (`7b0f736`)** Still failing in run 3: | hash | stage | reason | |---|---|---| | `2fd01fca16993001` | pixel | a descriptor read only as data | | `6b6db9f1a526daeb` | pixel | a descriptor read only as data | | `38bf0814e721a1b3` | pixel | the first half of an interpolation | | `5dc3b25986622949` | compute | `v_cvt_f32_f64` | | `6f225b641c5b0708` | compute | `v_cvt_f32_f64` | | `f133e35efed2a48a` | compute | a lane mask exchanged where not every lane runs | | `a929109552ce1e84` | compute | `v_permlanex16_b32` | | `ceb5eb68cd99cb07` | compute | a descriptor's address or format read as data | Failed in run 2, translate in run 3: | hash | stage | reason in run 2 | |---|---|---| | `7f05ddab771799a9` | compute | a lane mask holding lanes elsewhere read as data (likely #11, not bisected) | | `a53a7977fe762268` | compute | a wave reduction where not every lane runs | | `be14e72d86362031` | compute | a wave reduction where not every lane runs | With the PS fallback (`45e24f9`) on in run 3, depth-tested geometry draws whose pixel shader is one of the three pixel rows above use the debug pixel shader instead of being dropped (other draws with them still drop). **Other notes for Linux users** - Wine's builtin `d3dcompiler_47` and the fork's runtime HLSL: the clamp test fails without Microsoft's DLL and passes with it. - Host view heap: `capped at 1000000 … count=1245184`, as on Windows NVIDIA. - A tried merge of upstream #189 (wave64 emulation) into the fork conflicts in about 2,600 lines (`emit/lower.rs` 14 hunks, `emit/mod.rs`, `wave64_tests.rs`), since both rework the same 32-lane path. I didn't resolve it. - Input: with Steam running, Wine's only XInput device was Steam's virtual pad `28de:11ff`, and the DualSense appeared only as hidraw. So the title saw a connected pad that never sent input, and the keyboard stand-in was off too. Launching the launcher script as a non-Steam game (no compatibility tool) fixed it.
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-24 21:27 UTC · original

Correction — my earlier comments in this thread were wrong, and the underlying answer is the opposite of what I said.

I claimed Proton Experimental's builtin d3dcompiler_47 compiles the clamp and the card compare, and that the difference between working and failing setups is "which compiler a build ships" rather than plain Wine vs Proton. That was wrong in both places. The measurement behind it was invalid: this prefix has winetricks' native d3dcompiler_47.dll in system32 (4.3 MB), and my probe run never forced the builtin, so it was Microsoft's fxc answering in every case. The victory-gpu test run that "passed" was worse than that — it passed vacuously:

fn argument_clamp_builds() {
    if super::host().is_none() { return; }   // no host GPU here → returns ok
    assert!(super::clamp().is_some());
}

With only d3dcompiler_47=b set, the d3d12 stub was still Wine's, no device could be created, host() was None, and the test returned green without compiling anything. 110 tests in 0.72 s is what that looks like.

The matrix, measured on this machine (CachyOS, RX 7900 XT, Proton Experimental experimental-11.0-20261112, vkd3d-proton 3.2.0), with vkd3d-proton actually serving d3d12 so the device exists:

d3dcompiler_47 argument_clamp_builds clamp-0.hlsl compiled from source
Wine/Proton builtin (=b) FAILED E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'
native Microsoft fxc (=n) ok (0.40 s) ok, 3 984 B, root signature kept
builtin, but d3d12 left to Wine's stub "ok" — vacuous, host() is None —

So @⁠peeepy is right and I was wrong: the fork's runtime HLSL needs Microsoft's d3dcompiler_47 as a native override on Proton, because the builtin compiler is Wine's vendored vkd3d-shader and it has no RWByteAddressBuffer.Interlocked*() or Load*() methods and drops [RootSignature]. That is also why the E5005 report in this thread is real, and why #20/#21 are not "inert on Proton" as I wrote earlier.

What the research on versions adds, since that was the original question in this thread: there is no release to pin. Wine has used vkd3d-shader for HLSL since Wine 7.5, and no vkd3d release through 2.2 implements those methods (uav_methods[] in vkd3d 2.2 holds only GetDimensions and Store/2/3/4; the miss produces exactly VKD3D_SHADER_ERROR_HLSL_NOT_DEFINED → "not defined on type"). RWByteAddressBuffer.Interlocked*() landed upstream on 2026-11-04 (032f5310) and is in no tag yet; Load* since 1.14, the Interlocked* intrinsics since 1.15. [RootSignature] is not implemented anywhere in vkd3d — RTS0 exists only as a standalone serializer. Wine 11.22 vendors vkd3d 2.1, whose hlsl.y matches 2.1 byte-for-byte.

Practical statement for the README, which is the only durable form of this: the run needs Microsoft's d3dcompiler_47 (10.0.17134.12 verified, RTS0 present) installed as a native override; Wine builtin 11.22 and Proton Experimental both fail; and a Proton version number cannot be compared with a Wine one (experimental-11.0-20261112 runs wine-11.0 underneath).

Two corrections follow in the PRs I touched: #41's docs/linux-proton.md said the compiler question was settled the other way, and my note in #64 about the test recipe needs "with vkd3d-proton serving d3d12" added, because that is the difference between a real pass and a vacuous one.

**@⁠rostaddotcc** on GitHub · 2026-11-24 21:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144945629) **Correction — my earlier comments in this thread were wrong, and the underlying answer is the opposite of what I said.** I claimed Proton Experimental's builtin `d3dcompiler_47` compiles the clamp and the card compare, and that the difference between working and failing setups is "which compiler a build ships" rather than plain Wine vs Proton. That was wrong in both places. The measurement behind it was invalid: this prefix has winetricks' native `d3dcompiler_47.dll` in `system32` (4.3 MB), and my probe run never forced the builtin, so it was Microsoft's `fxc` answering in every case. The `victory-gpu` test run that "passed" was worse than that — it passed vacuously: ```rust fn argument_clamp_builds() { if super::host().is_none() { return; } // no host GPU here → returns ok assert!(super::clamp().is_some()); } ``` With only `d3dcompiler_47=b` set, the `d3d12` stub was still Wine's, no device could be created, `host()` was `None`, and the test returned green without compiling anything. 110 tests in 0.72 s is what that looks like. **The matrix, measured on this machine** (CachyOS, RX 7900 XT, Proton Experimental `experimental-11.0-20261112`, vkd3d-proton 3.2.0), with vkd3d-proton actually serving `d3d12` so the device exists: | `d3dcompiler_47` | `argument_clamp_builds` | `clamp-0.hlsl` compiled from source | |---|---|---| | Wine/Proton builtin (`=b`) | **FAILED** | **E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'** | | native Microsoft `fxc` (`=n`) | ok (0.40 s) | ok, 3 984 B, root signature kept | | builtin, but `d3d12` left to Wine's stub | "ok" — vacuous, `host()` is `None` | — | So @⁠peeepy is right and I was wrong: the fork's runtime HLSL needs Microsoft's `d3dcompiler_47` as a native override on Proton, because the builtin compiler is Wine's vendored vkd3d-shader and it has no `RWByteAddressBuffer.Interlocked*()` or `Load*()` methods and drops `[RootSignature]`. That is also why the E5005 report in this thread is real, and why #20/#21 are not "inert on Proton" as I wrote earlier. What the research on versions adds, since that was the original question in this thread: there is no release to pin. Wine has used vkd3d-shader for HLSL since Wine 7.5, and no vkd3d release through 2.2 implements those methods (`uav_methods[]` in vkd3d 2.2 holds only `GetDimensions` and `Store/2/3/4`; the miss produces exactly `VKD3D_SHADER_ERROR_HLSL_NOT_DEFINED` → "not defined on type"). `RWByteAddressBuffer.Interlocked*()` landed upstream on 2026-11-04 (`032f5310`) and is in no tag yet; `Load*` since 1.14, the `Interlocked*` intrinsics since 1.15. `[RootSignature]` is not implemented anywhere in vkd3d — `RTS0` exists only as a standalone serializer. Wine 11.22 vendors vkd3d 2.1, whose `hlsl.y` matches 2.1 byte-for-byte. Practical statement for the README, which is the only durable form of this: the run needs Microsoft's `d3dcompiler_47` (10.0.17134.12 verified, `RTS0` present) installed as a native override; Wine builtin 11.22 and Proton Experimental both fail; and a Proton version number cannot be compared with a Wine one (`experimental-11.0-20261112` runs wine-11.0 underneath). Two corrections follow in the PRs I touched: #41's `docs/linux-proton.md` said the compiler question was settled the other way, and my note in #64 about the test recipe needs "with vkd3d-proton serving d3d12" added, because that is the difference between a real pass and a vacuous one.
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-24 21:06 UTC · original · edited 2026-11-24 21:27 UTC

⚠️ Superseded — the measurements in this comment are invalid. The prefix has a native Microsoft d3dcompiler_47.dll and none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: #6


Answering the pinning question from @⁠ErRusso with what this machine can settle, and one correction.

Method. A D3DCompile-only program (no device, no layer) compiling the fork's own source strings taken from 1684989: the clamp (indirect.rs SOURCE, cs_5_1, 3 841 bytes), the card compare (host.rs CARD_COMPARE, cs_5_1, 1 657 bytes), the in-place probe (inplace.rs, cs_5_1), and a ps_5_1 twin carrying [RootSignature(...)] in its source. Same entry, same target, same flags (0, 0) as the call sites. For each result I also checked the container for an RTS0 chunk.

Builds on this machine: Proton Experimental experimental-11.0-20261112 (vkd3d-proton 3.2.0), GE-Proton11-12, GE-Proton11-14, all with their own files/bin/wine.

build clamp compare in-place twin (ps_5_1)
Proton Experimental 11.0-20261112 ok, 3 984 B, RTS0 ok, 2 248 B, RTS0 ok, 648 B, RTS0 ok, RTS0
GE-Proton11-12 ok, 3 984 B, RTS0 ok, 2 248 B, RTS0 ok, 648 B, RTS0 ok, RTS0
GE-Proton11-14 ok, 3 984 B, RTS0 ok, 2 248 B, RTS0 ok, 648 B, RTS0 ok, RTS0

Byte-identical containers across the three, so they are the same compiler build for these shapes.

Correction to the README and to #6: GE-Proton11-12 and 11-14 are listed as refusing this source. On this machine they do not — all four shapes compile with the root signature retained, same as Proton Experimental. So the discriminator is not the Proton/Wine version number but which d3dcompiler_47 a build ships: these three bundle a compiler that accepts it, and your plain WineHQ 11.22 does not. I could not test WineHQ 11.22 here (not installed), so I cannot say where in Wine's own history the UAV methods and the RTS0 retention arrived — only that the Proton family is on the side that has them.

For the record, the fingerprints I could pin are build identities rather than source revisions: libvkd3d-shader-1.dll is 2 131 943 bytes / f0c09b5aaa in Experimental, 2 129 510 / 300dfda077 in 11-12, 2 131 943 / 9ee4679cfa in 11-14 — same size in two builds but different hashes, so they are not the same binary.

What this means for #20: nothing changes about the PR, but the claim "Wine 11.22 and GE-Proton 11-12/11-14 refuse it" is half wrong, and the case for the fallback rests on plain Wine, not on Proton.

The probe is 60 lines against d3dcompiler_47; I can put it in the repo under tests/ or attach it if you want the check rerun on any build.

**@⁠rostaddotcc** on GitHub · 2026-11-24 21:06 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144495574) · edited 2026-11-24 21:27 UTC **⚠️ Superseded — the measurements in this comment are invalid.** The prefix has a native Microsoft `d3dcompiler_47.dll` and none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: https://git.gtahub.st/github/fxceless--victory-fork/issues/6 --- Answering the pinning question from @⁠ErRusso with what this machine can settle, and one correction. **Method.** A D3DCompile-only program (no device, no layer) compiling the fork's own source strings taken from `1684989`: the clamp (`indirect.rs` `SOURCE`, `cs_5_1`, 3 841 bytes), the card compare (`host.rs` `CARD_COMPARE`, `cs_5_1`, 1 657 bytes), the in-place probe (`inplace.rs`, `cs_5_1`), and a `ps_5_1` twin carrying `[RootSignature(...)]` in its source. Same entry, same target, same flags (`0, 0`) as the call sites. For each result I also checked the container for an `RTS0` chunk. **Builds on this machine:** Proton Experimental `experimental-11.0-20261112` (vkd3d-proton 3.2.0), GE-Proton11-12, GE-Proton11-14, all with their own `files/bin/wine`. | build | clamp | compare | in-place | twin (`ps_5_1`) | |---|---|---|---|---| | Proton Experimental 11.0-20261112 | ok, 3 984 B, RTS0 | ok, 2 248 B, RTS0 | ok, 648 B, RTS0 | ok, RTS0 | | GE-Proton11-12 | ok, 3 984 B, RTS0 | ok, 2 248 B, RTS0 | ok, 648 B, RTS0 | ok, RTS0 | | GE-Proton11-14 | ok, 3 984 B, RTS0 | ok, 2 248 B, RTS0 | ok, 648 B, RTS0 | ok, RTS0 | Byte-identical containers across the three, so they are the same compiler build for these shapes. **Correction to the README and to #6:** GE-Proton11-12 and 11-14 are listed as refusing this source. On this machine they do not — all four shapes compile with the root signature retained, same as Proton Experimental. So the discriminator is not the Proton/Wine version number but which `d3dcompiler_47` a build ships: these three bundle a compiler that accepts it, and your plain WineHQ 11.22 does not. I could not test WineHQ 11.22 here (not installed), so I cannot say where in Wine's own history the UAV methods and the `RTS0` retention arrived — only that the Proton family is on the side that has them. For the record, the fingerprints I could pin are build identities rather than source revisions: `libvkd3d-shader-1.dll` is 2 131 943 bytes / `f0c09b5aaa` in Experimental, 2 129 510 / `300dfda077` in 11-12, 2 131 943 / `9ee4679cfa` in 11-14 — same size in two builds but different hashes, so they are not the same binary. What this means for #20: nothing changes about the PR, but the claim "Wine 11.22 and GE-Proton 11-12/11-14 refuse it" is half wrong, and the case for the fallback rests on plain Wine, not on Proton. The probe is 60 lines against `d3dcompiler_47`; I can put it in the repo under `tests/` or attach it if you want the check rerun on any build.
Author
Owner

@⁠rostaddotcc on GitHub · 2026-11-24 21:24 UTC · original · edited 2026-11-24 21:27 UTC

⚠️ Superseded — the measurements in this comment are invalid. The prefix has a native Microsoft d3dcompiler_47.dll and none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: #6


@⁠peeepy — your numbers and mine line up closely (RX 7900 XT/RDNA3, CachyOS 7.3.5, same Proton build, fork 4e17478): world frames 0.1–0.5 fps, 700–6 300 draws, GPU 1–4 % of the frame, copies 1.6–3.5 s and textures 1.1–2.7 s per frame, screen mostly black with lit patches. Two differences worth chasing, both about the compiler.

The clamp and the card compare do not need Microsoft's d3dcompiler_47 here. I built the victory-gpu test binary for the Windows target and ran it under this prefix with the builtin forced:

cargo xwin test --no-run -p victory-gpu --target x86_64-pc-windows-msvc
WINEDLLOVERRIDES="d3dcompiler_47=b" wine victory_gpu-….exe
  • indirect::tests::argument_clamp_builds — ok
  • indirect::tests::warp_card_compare_stores_the_hash_it_made_when_told — ok
  • whole suite: 110 passed, 0 failed, 1 ignored (0.7 s)

Same result without the override, and the same two tests also compile from source in a D3DCompile-only probe against Proton's builtin, with the root signature kept (RTS0) — as do GE-Proton11-12 and GE-Proton11-14. So on proton_experimental_11.0-20261112 with vkd3d-proton 3.2.0 the builtin compiler accepts these sources.

That makes your winetricks stop-gap look environmental rather than necessary. If you still have that prefix, could you re-run the two tests with WINEDLLOVERRIDES="d3dcompiler_47=b" and the Microsoft DLL present (builtin wins), and say whether argument_clamp_builds passes? If it fails there and passes here on the same Proton build, the difference is in the prefix, not in the compiler, and #20/#21 would be fixing a bug that only plain WineHQ builds have.

I am not going to guess at your +0x63966f stop from here — it is the same site as the upstream Linux report in #698, and nothing in the compiler question above explains it by itself.

**@⁠rostaddotcc** on GitHub · 2026-11-24 21:24 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7144898089) · edited 2026-11-24 21:27 UTC **⚠️ Superseded — the measurements in this comment are invalid.** The prefix has a native Microsoft `d3dcompiler_47.dll` and none of my runs forced the builtin, so it was fxc answering, not Proton's compiler. Full correction with the measured matrix: https://git.gtahub.st/github/fxceless--victory-fork/issues/6 --- @⁠peeepy — your numbers and mine line up closely (RX 7900 XT/RDNA3, CachyOS 7.3.5, same Proton build, fork `4e17478`): world frames 0.1–0.5 fps, 700–6 300 draws, GPU 1–4 % of the frame, `copies` 1.6–3.5 s and `textures` 1.1–2.7 s per frame, screen mostly black with lit patches. Two differences worth chasing, both about the compiler. **The clamp and the card compare do not need Microsoft's `d3dcompiler_47` here.** I built the `victory-gpu` test binary for the Windows target and ran it under this prefix with the builtin forced: ``` cargo xwin test --no-run -p victory-gpu --target x86_64-pc-windows-msvc WINEDLLOVERRIDES="d3dcompiler_47=b" wine victory_gpu-….exe ``` - `indirect::tests::argument_clamp_builds` — ok - `indirect::tests::warp_card_compare_stores_the_hash_it_made_when_told` — ok - whole suite: **110 passed, 0 failed, 1 ignored** (0.7 s) Same result without the override, and the same two tests also compile from source in a `D3DCompile`-only probe against Proton's builtin, with the root signature kept (`RTS0`) — as do GE-Proton11-12 and GE-Proton11-14. So on `proton_experimental_11.0-20261112` with vkd3d-proton 3.2.0 the builtin compiler accepts these sources. That makes your winetricks stop-gap look environmental rather than necessary. If you still have that prefix, could you re-run the two tests with `WINEDLLOVERRIDES="d3dcompiler_47=b"` *and* the Microsoft DLL present (builtin wins), and say whether `argument_clamp_builds` passes? If it fails there and passes here on the same Proton build, the difference is in the prefix, not in the compiler, and #20/#21 would be fixing a bug that only plain WineHQ builds have. I am not going to guess at your `+0x63966f` stop from here — it is the same site as the upstream Linux report in #698, and nothing in the compiler question above explains it by itself.
Author
Owner

@⁠EdouardSence on GitHub · 2026-11-24 21:38 UTC · original

Another RX 9070 XT / RADV data point, on the current tip, with two things not reported here yet: a winetricks-specific crash, and a GPU page fault that only the release build hits.

Setup: RX 9070 XT (RDNA4), Mesa 26.2.6 RADV, CachyOS (kernel 7.3.5), system Wine 11.22 (not Proton), prefix set up with winetricks vkd3d dxvk d3dcompiler_47. Fork at 4e17478, built on Linux with cargo xwin (x86_64-pc-windows-msvc), release and --profile diag --features diagnostics. Series X files, title 1.0.2.1.

1. vkd3d-proton 3.1 (what winetricks vkd3d installs) crashes RADV at the first mesh pipeline. Menus run at 30 fps; when the world starts loading, vkCreateGraphicsPipelines faults inside the driver (Exception 0xc0000005 in Unix call) on mesh d4111a6e6ea49d91 + pixel c0a7fe77b1862e10. Dumping with VKD3D_SHADER_DUMP_PATH: the mesh SPIR-V is valid, the pixel SPIR-V fails spirv-val (block … exits the loop headed by …, but not via a structured exit), so 3.1's dxil-spirv mis-structures that DXIL. dxil-spirv master (7c04863) turns the same dumped DXIL into valid SPIR-V, and vkd3d-proton master (which pins that commit) gets past it. After it, all 1,759 dumped modules pass spirv-val --scalar-block-layout. Those already on vkd3d-proton master won't see this; plain winetricks users will.

2. Wine's builtin dxgi crashes at the first present (wined3d.dll+0x165f50 from dxgi.dll, read of an unmapped address) when only vkd3d-proton's d3d12 is installed. winetricks dxvk (DXVK's dxgi) fixes it, the same thing as the dxgi=n override mentioned above.

3. Wine's builtin d3dcompiler_47: same E5005 InterlockedMax failure as above; Microsoft's DLL (winetricks d3dcompiler_47) fixes it here too.

4. Release build: GPU page fault at address 0 when entering the world; the diag build doesn't hit it. With everything above in place:

build runs into the world device lost
release 2 1
diag (with or without VICTORY_CAPTURE) 3 0

The release run that failed: a wait for a memory value was not met at a present and a queue still held a submission at a present, then radv: GPUVM fault detected at address 0x00000000, GCVM_L2_PROTECTION_FAULT_STATUS: 0x701431, CLIENT_ID: SQC (data), PERMISSION_FAULTS: 3. The kernel logs the gfxhub page fault and resets the ring; VIctory reports device removed 0x887A0005. SQC data means a scalar load from address 0 by a shader. I checked whether the diag-only code differs at present: it adds a 16-pixel readback probe, and turning that off (a local switch) still gives a picture, so the probe is not what avoids the fault. I haven't found a diag-only block that changes shader code or addresses, so my guess is a timing race that the diag build's extra host work hides. Only 2 release runs, so I can't say whether it's deterministic yet.

5. Where the frame goes (diag, world, warm caches): 0.4–0.8 fps, 1,100–4,200 draws/frame, 40–180 ms on the GPU. Most of the 0.6–2.4 s of host preparation per frame is texture refreshes: 190–1,980 ms, of which "waiting for title memory to hold still (the runtime remapping it)" is usually the largest part (160–1,590 ms), with 7–460 ms "asking the write watch and the guards". That matches @⁠rostaddotcc's finding that it's not vkd3d-proton or RADV throughput.

Not tested: vkd3d-proton releases between 3.1 and master, Proton instead of system Wine, Mesa 26.3.x, the DXC fallback PRs (#20 / #21).

No game data: hashes, counts and messages from VIctory's, vkd3d-proton's and the kernel's logs only.

AI-assisted (Claude Code): builds, runs and log analysis done by the model on my machine, with my own copy of the title.

**@⁠EdouardSence** on GitHub · 2026-11-24 21:38 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7145204341) Another RX 9070 XT / RADV data point, on the current tip, with two things not reported here yet: a winetricks-specific crash, and a GPU page fault that only the release build hits. **Setup:** RX 9070 XT (RDNA4), Mesa 26.2.6 RADV, CachyOS (kernel 7.3.5), system Wine 11.22 (not Proton), prefix set up with `winetricks vkd3d dxvk d3dcompiler_47`. Fork at `4e17478`, built on Linux with `cargo xwin` (`x86_64-pc-windows-msvc`), release and `--profile diag --features diagnostics`. Series X files, title 1.0.2.1. **1. vkd3d-proton 3.1 (what `winetricks vkd3d` installs) crashes RADV at the first mesh pipeline.** Menus run at 30 fps; when the world starts loading, `vkCreateGraphicsPipelines` faults inside the driver (`Exception 0xc0000005 in Unix call`) on mesh `d4111a6e6ea49d91` + pixel `c0a7fe77b1862e10`. Dumping with `VKD3D_SHADER_DUMP_PATH`: the mesh SPIR-V is valid, the pixel SPIR-V fails `spirv-val` (`block … exits the loop headed by …, but not via a structured exit`), so 3.1's dxil-spirv mis-structures that DXIL. dxil-spirv master (`7c04863`) turns the same dumped DXIL into valid SPIR-V, and vkd3d-proton master (which pins that commit) gets past it. After it, all 1,759 dumped modules pass `spirv-val --scalar-block-layout`. Those already on vkd3d-proton master won't see this; plain winetricks users will. **2. Wine's builtin `dxgi` crashes at the first present** (`wined3d.dll+0x165f50` from `dxgi.dll`, read of an unmapped address) when only vkd3d-proton's `d3d12` is installed. `winetricks dxvk` (DXVK's `dxgi`) fixes it, the same thing as the `dxgi=n` override mentioned above. **3. Wine's builtin `d3dcompiler_47`:** same `E5005 InterlockedMax` failure as above; Microsoft's DLL (`winetricks d3dcompiler_47`) fixes it here too. **4. Release build: GPU page fault at address 0 when entering the world; the diag build doesn't hit it.** With everything above in place: | build | runs into the world | device lost | |---|---|---| | release | 2 | 1 | | diag (with or without `VICTORY_CAPTURE`) | 3 | 0 | The release run that failed: `a wait for a memory value was not met at a present` and `a queue still held a submission at a present`, then `radv: GPUVM fault detected at address 0x00000000`, `GCVM_L2_PROTECTION_FAULT_STATUS: 0x701431`, `CLIENT_ID: SQC (data)`, `PERMISSION_FAULTS: 3`. The kernel logs the gfxhub page fault and resets the ring; VIctory reports `device removed 0x887A0005`. SQC data means a scalar load from address 0 by a shader. I checked whether the diag-only code differs at present: it adds a 16-pixel readback probe, and turning that off (a local switch) still gives a picture, so the probe is not what avoids the fault. I haven't found a diag-only block that changes shader code or addresses, so my guess is a timing race that the diag build's extra host work hides. Only 2 release runs, so I can't say whether it's deterministic yet. **5. Where the frame goes (diag, world, warm caches):** 0.4–0.8 fps, 1,100–4,200 draws/frame, 40–180 ms on the GPU. Most of the 0.6–2.4 s of host preparation per frame is texture refreshes: 190–1,980 ms, of which "waiting for title memory to hold still (the runtime remapping it)" is usually the largest part (160–1,590 ms), with 7–460 ms "asking the write watch and the guards". That matches @⁠rostaddotcc's finding that it's not vkd3d-proton or RADV throughput. Not tested: vkd3d-proton releases between 3.1 and master, Proton instead of system Wine, Mesa 26.3.x, the DXC fallback PRs (#20 / #21). No game data: hashes, counts and messages from VIctory's, vkd3d-proton's and the kernel's logs only. _AI-assisted (Claude Code): builds, runs and log analysis done by the model on my machine, with my own copy of the title._
Author
Owner

@⁠BitWuehler on GitHub · 2026-11-24 21:43 UTC · original

Tested fxceless/victory-fork (4e17478) on another CachyOS + NVIDIA RTX 5080 Linux/Proton machine and opened PR #127 with a Wine-native fix for the runtime HLSL issue discussed here (without requiring external dxcompiler.dll / dxil.dll).

Setup

  • CPU / GPU: Ryzen 7 9800X3D, NVIDIA GeForce RTX 5080, driver 620.73.04
  • OS / Runner: CachyOS Linux, GE-Proton11-14 (vkd3d-proton, DXVK dxgi)
  • Env: WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n", VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains, VICTORY_NO_WATCHDOG=1 (upstream #454), VICTORY_RELAY=2, VICTORY_LATE_WAIT=3, VICTORY_WIDE_BACK=1, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_CARD_REHASH_RUNS=1, release profile, Series X files.

1. Native d3dcompiler_47 (vkd3d-shader) fix without DXC fallback (PR #127)

  • Switching CARD_COMPARE (host.rs), the indirect-argument clamp (indirect.rs), and test WORKER_CS from ByteAddressBuffer/RWByteAddressBuffer to 32-bit word-indexed StructuredBuffer<uint>/RWStructuredBuffer<uint>, removing [allow_uav_condition], and serializing root signatures in Rust (D3D12SerializeRootSignature) across CARD_COMPARE, PlanePass (PLANE_STEPS / PLANE_FLOATS), indirect.rs, and resource.rs makes Wine's built-in d3dcompiler_47 compile all internal HLSL natively with zero external DLLs.
  • On victory-gpu under GE-Proton11-14: 110 passed, 1 ignored, 1 failed (the 1 failure is the known pipeline::library::tests::a_rejected_blob_gives_an_empty_library unimplemented stub in vkd3d-proton noted in #20; indirect::tests::system_d3dcompile_builds_internal_hlsl, warp_card_compare_stores_the_hash_it_made_when_told, and resource::tests::a_depth_planes_twin_is_drawn_into_the_plane all pass).

2. World run on 4e17478 (VICTORY_RELAY=2 + CARD_COMPARE/indirect fix, 464 s / 3,815 frames)

  • Reached the lit playable opening world and walked around cleanly; 0 device losses (0x887A0006), 0 kernel Xids/OOMs, 0 no argument clamp, 0 no host copies in the card's memory (note: the depth-plane PlanePass fix in PR #127 was added right after this run after observing two no pipeline to draw a depth plane from its twin (0x80004005) warnings).
  • World intervals (draws >= 100, n = 50): 1.30 fps median (2.0 fps peak at 506.7 ms/frame with 3,115 draws; up to 7,644 draws/frame), prep 391.15 ms med (copies 102.35 ms / 132.40 MB, textures 166.55 ms / 34.80 MB), gpu 121.55 ms med, copying back 185.50 ms med (61.70 MB), 234 hash / 80 compare passes/frame.
  • Matches the RELAY=2 observation above: the relay spent 101.5–103.1 ms waiting for piece fetches and 135.8–141.5 ms landing per frame (26.0 flights, 128 lists in the air settling 2.0x/frame for ~67–70 ms), keeping copying back elevated vs plain LATE_WAIT=3.

(Written and verified with AI assistance; numbers taken directly from the session log and test output.)

**@⁠BitWuehler** on GitHub · 2026-11-24 21:43 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7145312922) Tested `fxceless/victory-fork` (`4e17478`) on another CachyOS + NVIDIA RTX 5080 Linux/Proton machine and opened PR #127 with a Wine-native fix for the runtime HLSL issue discussed here (without requiring external `dxcompiler.dll` / `dxil.dll`). ### Setup - **CPU / GPU:** Ryzen 7 9800X3D, NVIDIA GeForce RTX 5080, driver `620.73.04` - **OS / Runner:** CachyOS Linux, `GE-Proton11-14` (`vkd3d-proton`, DXVK `dxgi`) - **Env:** `WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"`, `VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains`, `VICTORY_NO_WATCHDOG=1` (upstream `#454`), `VICTORY_RELAY=2`, `VICTORY_LATE_WAIT=3`, `VICTORY_WIDE_BACK=1`, `VICTORY_CARD_BUFFERS_MIN_MB=1`, `VICTORY_CARD_BUFFERS_MB=1024`, `VICTORY_CARD_REHASH_RUNS=1`, release profile, Series X files. ### 1. Native `d3dcompiler_47` (`vkd3d-shader`) fix without DXC fallback (PR #127) - Switching `CARD_COMPARE` (`host.rs`), the indirect-argument clamp (`indirect.rs`), and test `WORKER_CS` from `ByteAddressBuffer`/`RWByteAddressBuffer` to 32-bit word-indexed `StructuredBuffer<uint>`/`RWStructuredBuffer<uint>`, removing `[allow_uav_condition]`, and serializing root signatures in Rust (`D3D12SerializeRootSignature`) across `CARD_COMPARE`, `PlanePass` (`PLANE_STEPS` / `PLANE_FLOATS`), `indirect.rs`, and `resource.rs` makes Wine's built-in `d3dcompiler_47` compile all internal HLSL natively with **zero external DLLs**. - On `victory-gpu` under `GE-Proton11-14`: **110 passed, 1 ignored, 1 failed** (the 1 failure is the known `pipeline::library::tests::a_rejected_blob_gives_an_empty_library` unimplemented stub in vkd3d-proton noted in #20; `indirect::tests::system_d3dcompile_builds_internal_hlsl`, `warp_card_compare_stores_the_hash_it_made_when_told`, and `resource::tests::a_depth_planes_twin_is_drawn_into_the_plane` all pass). ### 2. World run on `4e17478` (`VICTORY_RELAY=2` + `CARD_COMPARE`/`indirect` fix, 464 s / 3,815 frames) - Reached the lit playable opening world and walked around cleanly; **0 device losses (`0x887A0006`)**, **0 kernel Xids/OOMs**, **0 `no argument clamp`**, **0 `no host copies in the card's memory`** (note: the depth-plane `PlanePass` fix in PR #127 was added right after this run after observing two `no pipeline to draw a depth plane from its twin (0x80004005)` warnings). - World intervals (`draws >= 100`, `n = 50`): **1.30 fps median** (2.0 fps peak at 506.7 ms/frame with 3,115 draws; up to 7,644 draws/frame), `prep 391.15 ms` med (`copies 102.35 ms / 132.40 MB`, `textures 166.55 ms / 34.80 MB`), `gpu 121.55 ms` med, `copying back 185.50 ms` med (`61.70 MB`), `234` hash / `80` compare passes/frame. - Matches the `RELAY=2` observation above: `the relay` spent `101.5–103.1 ms` waiting for piece fetches and `135.8–141.5 ms` landing per frame (`26.0 flights`, `128 lists in the air` settling `2.0x/frame` for `~67–70 ms`), keeping `copying back` elevated vs plain `LATE_WAIT=3`. *(Written and verified with AI assistance; numbers taken directly from the session log and test output.)*
Author
Owner

@⁠pablogonz12 on GitHub · 2026-11-24 21:50 UTC · original

@⁠rostaddotcc Two data points from our side (RX 9070 XT, RADV, Wine; not fxceless main, our fork line):

  1. HDR: same conclusion here. Every run we do passes HDR off, and the Linux run recipe we use is WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n" with HDR off. We never separated the presentation stall from a title crash, so your 400 ms per frame is a better measurement than anything we have.

  2. Copies: our notes have ~2.0 GB/s for steady copies out of title memory (155 MB in 75 ms) once page-run reads are taken, and 100-200 MB/s (about 2 ms per VirtualQuery) only on the sparse fallback that walks the pages when they are gone. So 60-100 MB/s looks like the sparse path dominating, not a RADV limit — worth checking whether the page-fault/watch path is being taken at all in your runs before attributing it to the driver.

On the in-game run of #20: I can't promise one from here. It needs the branch built and a run slot; if we get it, the numbers will be posted on #20 itself.

**@⁠pablogonz12** on GitHub · 2026-11-24 21:50 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7145452212) @⁠rostaddotcc Two data points from our side (RX 9070 XT, RADV, Wine; not fxceless main, our fork line): 1. HDR: same conclusion here. Every run we do passes HDR off, and the Linux run recipe we use is `WINEDLLOVERRIDES="d3d12=n;d3d12core=n;dxgi=n"` with HDR off. We never separated the presentation stall from a title crash, so your 400 ms per frame is a better measurement than anything we have. 2. Copies: our notes have ~2.0 GB/s for steady copies out of title memory (155 MB in 75 ms) once page-run reads are taken, and 100-200 MB/s (about 2 ms per `VirtualQuery`) only on the sparse fallback that walks the pages when they are gone. So 60-100 MB/s looks like the sparse path dominating, not a RADV limit — worth checking whether the page-fault/watch path is being taken at all in your runs before attributing it to the driver. On the in-game run of #20: I can't promise one from here. It needs the branch built and a run slot; if we get it, the numbers will be posted on #20 itself.
Author
Owner

@⁠deadkid14 on GitHub · 2026-11-25 01:10 UTC · original

Status on this Linux setup after a803c87 (texture re-check), merged with the DXC fallback above. One run, stable (no Xid), ~2 fps after shader translation; the story reaches "Go with the prison guard".

The characters' skin still draws as flat, skin-coloured rectangular blocks. Lit skin now shows a smooth tone, but untextured. In this run only three programs fail to translate, and the character one is:

  • pixel 6b6db9f1a526daeb: GFX10 code at 0x49dc: a descriptor read only as data is not supported (dropped about 2 draws/frame from when the player character appears)

5ad3a82b1c3cc63a, which #1528 listed as skipped for a driver crash, builds host pipelines here without trouble. Upstream has two open PRs for the same class of refusal, #1597 (descriptor words joined with data, stacked on #1402) and #1847 (image dword 0 as a heap-slot proxy). #1847's own commit conflicts with the fork's emit/lower.rs, so I haven't tried it.

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-25 01:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7149281272) Status on this Linux setup after `a803c87` (texture re-check), merged with the DXC fallback above. One run, stable (no Xid), ~2 fps after shader translation; the story reaches "Go with the prison guard". The characters' skin still draws as flat, skin-coloured rectangular blocks. Lit skin now shows a smooth tone, but untextured. In this run only three programs fail to translate, and the character one is: - pixel `6b6db9f1a526daeb`: `GFX10 code at 0x49dc: a descriptor read only as data is not supported` (dropped about 2 draws/frame from when the player character appears) `5ad3a82b1c3cc63a`, which #1528 listed as skipped for a driver crash, builds host pipelines here without trouble. Upstream has two open PRs for the same class of refusal, #1597 (descriptor words joined with data, stacked on #1402) and #1847 (image dword 0 as a heap-slot proxy). #1847's own commit conflicts with the fork's `emit/lower.rs`, so I haven't tried it. *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
Author
Owner

@⁠deadkid14 on GitHub · 2026-11-25 06:46 UTC · original

Follow-up on the character blocks, after c96b4f2 on the same Linux setup.

I applied undeadhuman37's two commits from trexies/victory-fork VIwork (c62ce6f "a descriptor only read as data of eight dwords is a measured image" and 5b18c7e "take a measured image only for programs refused otherwise"). They conflict with the fork's descriptor_data, so I adapted them by hand: the let Some((at, first)) = use_at else became an if let … else that returns (first, src, props, image, uav, used) from both branches. The fallback runs only on the second pass, behind with_measured_descriptors. victory-shader tests: 213 pass, 1 fails (stub_pipeline_is_created, the known Wine digest difference).

Result in the world:

  • pixel 6b6db9f1a526daeb now translates, and its pipeline is made (host mesh pipeline shaders=[mesh 4f23fd8d99482703, pixel 6b6db9f1a526daeb]). No "read only as data" refusal is left in the run.
  • The skin-coloured blocks are unchanged. The character's top and hair look sharper, but the rectangles on the grid are still there. So that program isn't the cause of the blocks, or not the only one.

The only work still dropped in the world in this run is five compute programs, 1 dispatch/frame each:

  • f133e35efed2a48a, not translated: "a lane mask exchanged where not every lane runs is not supported"
  • 02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764: host pipeline refused, Invalid parameter (on this NVIDIA card, likely a wave size of 64 against the host's 32)

The blocks sit on a regular grid of equal rectangles, which suggests a per-tile compute pass. If one of these five is the skin or hair resolve, it would explain them.

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-25 06:46 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7155150988) Follow-up on the character blocks, after c96b4f2 on the same Linux setup. I applied undeadhuman37's two commits from trexies/victory-fork `VIwork` (`c62ce6f` "a descriptor only read as data of eight dwords is a measured image" and `5b18c7e` "take a measured image only for programs refused otherwise"). They conflict with the fork's `descriptor_data`, so I adapted them by hand: the `let Some((at, first)) = use_at else` became an `if let … else` that returns `(first, src, props, image, uav, used)` from both branches. The fallback runs only on the second pass, behind `with_measured_descriptors`. `victory-shader` tests: 213 pass, 1 fails (`stub_pipeline_is_created`, the known Wine digest difference). Result in the world: - `pixel 6b6db9f1a526daeb` now translates, and its pipeline is made (`host mesh pipeline shaders=[mesh 4f23fd8d99482703, pixel 6b6db9f1a526daeb]`). No "read only as data" refusal is left in the run. - **The skin-coloured blocks are unchanged.** The character's top and hair look sharper, but the rectangles on the grid are still there. So that program isn't the cause of the blocks, or not the only one. The only work still dropped in the world in this run is five compute programs, 1 dispatch/frame each: - `f133e35efed2a48a`, not translated: "a lane mask exchanged where not every lane runs is not supported" - `02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`: host pipeline refused, `Invalid parameter` (on this NVIDIA card, likely a wave size of 64 against the host's 32) The blocks sit on a regular grid of equal rectangles, which suggests a per-tile compute pass. If one of these five is the skin or hair resolve, it would explain them. *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
Author
Owner

@⁠deadkid14 on GitHub · 2026-11-25 08:09 UTC · original

Linux follow-up on a26859f (GE-Proton11-14, RTX 5070 Ti, with our two Linux patches on top: the DXC fallback from #20 and the watchdog switch from upstream #454).

a26859f with default switches: stable, no device loss, about 2 fps at 5,000 to 7,000 draws a frame. The skin pixel shader 6b6db9f1a526daeb now translates with your unused_descriptor_kind change, so we dropped our local port of undeadhuman37's patch. The skin-coloured blocks on characters are unchanged.

Still dropped, once a frame each:

  • f133e35efed2a48a: does not translate ("a lane mask exchanged where not every lane runs is not supported")
  • 02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764: host pipeline refused, Invalid parameter. (0x80070057)

Same build with VICTORY_WAVE_WIDE=1 (shader loop limit 32, as our launcher sets it): no Xid over a 15-minute run, and the same frame rate (1.95 fps average once settled). 2cc4c197ee29e291 and 369cbe906ea72764 now build. 02384a60fda6f2d0 and 2da4beb386509b77 are still refused with the same error. The blocks look the same, so if they come from a dropped program, it is f133e35efed2a48a, 02384a60fda6f2d0 or 2da4beb386509b77.

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-25 08:09 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7156679076) Linux follow-up on a26859f (GE-Proton11-14, RTX 5070 Ti, with our two Linux patches on top: the DXC fallback from #20 and the watchdog switch from upstream #454). **a26859f with default switches:** stable, no device loss, about 2 fps at 5,000 to 7,000 draws a frame. The skin pixel shader `6b6db9f1a526daeb` now translates with your `unused_descriptor_kind` change, so we dropped our local port of undeadhuman37's patch. The skin-coloured blocks on characters are unchanged. Still dropped, once a frame each: - `f133e35efed2a48a`: does not translate ("a lane mask exchanged where not every lane runs is not supported") - `02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`: host pipeline refused, `Invalid parameter. (0x80070057)` **Same build with `VICTORY_WAVE_WIDE=1`** (shader loop limit 32, as our launcher sets it): no Xid over a 15-minute run, and the same frame rate (1.95 fps average once settled). `2cc4c197ee29e291` and `369cbe906ea72764` now build. `02384a60fda6f2d0` and `2da4beb386509b77` are still refused with the same error. The blocks look the same, so if they come from a dropped program, it is `f133e35efed2a48a`, `02384a60fda6f2d0` or `2da4beb386509b77`. *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
Author
Owner

@⁠ErRusso on GitHub · 2026-11-25 11:15 UTC · original

Thanks — the corrected matrix settles the pinning question: there is no vkd3d release to pin. The discriminator is the built-in vkd3d-shader, not the Wine/Proton version number, so the practical statement is the one you wrote: a native d3dcompiler_47 (or the DXC fallback) is required, and a Proton version cannot be compared with a Wine version.

#20's README already names Wine 11.22 and Proton Experimental's builtin as the rejecting compilers and documents the fallback; I have rebased #20 onto current main and fixed the test-only compile callers. Nothing in the README needs to change for the corrected account.

On the probe: not in the tree for now. It needs Wine plus a native Microsoft DLL, so it cannot run in CI, and with #20 the compiler version no longer changes the result. Attaching it to this issue is fine if someone wants it rerun on a specific build.

**@⁠ErRusso** on GitHub · 2026-11-25 11:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7160807867) Thanks — the corrected matrix settles the pinning question: there is no vkd3d release to pin. The discriminator is the built-in vkd3d-shader, not the Wine/Proton version number, so the practical statement is the one you wrote: a native `d3dcompiler_47` (or the DXC fallback) is required, and a Proton version cannot be compared with a Wine version. #20's README already names Wine 11.22 and Proton Experimental's builtin as the rejecting compilers and documents the fallback; I have rebased #20 onto current `main` and fixed the test-only `compile` callers. Nothing in the README needs to change for the corrected account. On the probe: not in the tree for now. It needs Wine plus a native Microsoft DLL, so it cannot run in CI, and with #20 the compiler version no longer changes the result. Attaching it to this issue is fine if someone wants it rerun on a specific build.
Author
Owner

@⁠ThomasHFWright on GitHub · 2026-11-25 11:17 UTC · original

RTX 5090 / CachyOS reproduction of the a26859f recipe: both the default and WAVE_WIDE=1 attempts hit Xid 13 / Graphics SM Warp Exception / MMU Fault at world entry. No visible world geometry confirmed; the second attempt reached the prologue title card.

Setup: Ryzen 9800X3D, RTX 5090, ~30 GiB RAM, CachyOS 7.3.6, NVIDIA 620.73.04; GE-Proton11-14 Wine directly, its bundled vkd3d-proton and DXVK dxgi. Diagnostics build of a26859f plus #20's three production-code commits and upstream Marvisak/VIctory#454's two commits. DXC 1.9.2609 fallback, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_NO_WATCHDOG=1, VK_NV_raw_access_chains disabled. Other rendering switches default. Separate prefix and initially empty caches, offline runs, own read-only title input.

An initial account-picker failure was traced to an incompletely initialized Wine prefix (no saved registry, missing MMDeviceEnumerator registration). After wineboot -u and waiting for wineserver to exit, the intro/audio/loading worked. That setup failure is excluded from the two comparisons below.

  • Default: GPU fault about 117 s after launch. Stopped our test scope after the fault, at 145 s. Sampled process-group resident peak 8.47 GiB, swap peak 8.70 GiB.
  • WAVE_WIDE=1 only: GPU fault about 113 s after launch; stopped scope at 149 s. Resident peak 9.35 GiB, swap peak 8.69 GiB.
  • No cgroup OOM or kill in either. Host available memory fell to roughly 1.1–1.4 GiB; memory pressure is a significant confounder. These were not controlled performance comparisons.
  • Each run logged a Wine worker stack overflow before the GPU fault. The recursion described in #698 is a possible follow-up, not yet confirmed as the same cause or linked to the GPU fault.

Build and native asset-policy checks passed. Shader/GPU/loader unit suites through the same Wine/vkd3d stack: 383 passed, 4 failed, 6 ignored. Failures: stub_pipeline_is_created (digest acceptance), a_mesh_pipeline_loads_from_the_library, depth_bounds_pipeline_loads_and_filters_draws, a_rejected_blob_gives_an_empty_library. Five test call sites needed the string-argument adaptation for #20; production code unchanged. Integration fixture executables were built but not run.

This does not invalidate the 5070 Ti result; it records a different outcome on the 5090. No game assets, captures, shader binaries or raw logs attached.

AI-assisted: Codex built and ran these checks locally and prepared this aggregate report under the user's instruction to post test results.

**@⁠ThomasHFWright** on GitHub · 2026-11-25 11:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7160845226) RTX 5090 / CachyOS reproduction of the a26859f recipe: both the default and WAVE_WIDE=1 attempts hit Xid 13 / Graphics SM Warp Exception / MMU Fault at world entry. No visible world geometry confirmed; the second attempt reached the prologue title card. Setup: Ryzen 9800X3D, RTX 5090, ~30 GiB RAM, CachyOS 7.3.6, NVIDIA 620.73.04; GE-Proton11-14 Wine directly, its bundled vkd3d-proton and DXVK dxgi. Diagnostics build of a26859f plus #20's three production-code commits and upstream Marvisak/VIctory#454's two commits. DXC 1.9.2609 fallback, VICTORY_SHADER_LOOP_LIMIT=32, VICTORY_NO_WATCHDOG=1, VK_NV_raw_access_chains disabled. Other rendering switches default. Separate prefix and initially empty caches, offline runs, own read-only title input. An initial account-picker failure was traced to an incompletely initialized Wine prefix (no saved registry, missing MMDeviceEnumerator registration). After wineboot -u and waiting for wineserver to exit, the intro/audio/loading worked. That setup failure is excluded from the two comparisons below. - Default: GPU fault about 117 s after launch. Stopped our test scope after the fault, at 145 s. Sampled process-group resident peak 8.47 GiB, swap peak 8.70 GiB. - WAVE_WIDE=1 only: GPU fault about 113 s after launch; stopped scope at 149 s. Resident peak 9.35 GiB, swap peak 8.69 GiB. - No cgroup OOM or kill in either. Host available memory fell to roughly 1.1–1.4 GiB; memory pressure is a significant confounder. These were not controlled performance comparisons. - Each run logged a Wine worker stack overflow before the GPU fault. The recursion described in #698 is a possible follow-up, not yet confirmed as the same cause or linked to the GPU fault. Build and native asset-policy checks passed. Shader/GPU/loader unit suites through the same Wine/vkd3d stack: 383 passed, 4 failed, 6 ignored. Failures: stub_pipeline_is_created (digest acceptance), a_mesh_pipeline_loads_from_the_library, depth_bounds_pipeline_loads_and_filters_draws, a_rejected_blob_gives_an_empty_library. Five test call sites needed the string-argument adaptation for #20; production code unchanged. Integration fixture executables were built but not run. This does not invalidate the 5070 Ti result; it records a different outcome on the 5090. No game assets, captures, shader binaries or raw logs attached. AI-assisted: Codex built and ran these checks locally and prepared this aggregate report under the user's instruction to post test results.
Author
Owner

@⁠mehmetarslanca on GitHub · 2026-11-25 13:13 UTC · original

Linux/NVIDIA integration report — RTX 3060, 16 GB RAM

Thanks for the work on Wine/Proton support. I finally obtained visible in-world rendering on a relatively small Linux machine after several earlier black-screen runs.

Environment: CachyOS, Ryzen 5 5500 (6C/12T), RTX 3060 12 GB, 16 GB physical RAM, Proton / VKD3D-Proton 3.2, direct XWayland.

Local integration provenance: d318b079f857f28be053482d97ac92a7339bc9f6 (not published). Based on vongikkingen/victory-gikkingen@c0487ce, with fxceless/victory-fork@a253706 integrated. Preserved #257 and #259; integrated/reconciled #20, #777, #783, #786 and selected changes from #770 (#510, #644, #715, #764, #765, #795, #812). The existing staging pool was retained rather than duplicating #781. The integration agent reported #747 functionality already present. This is a local integration of community contributions, not a claim of original fixes.

Observed results:

  • Visible opening cutscenes and in-world geometry, including character faces, hair, vehicles, vegetation, HUD and minimap.
  • Skin/arm artifacts, occasional misplaced geometry and dark shadowed areas remain.
  • 20 targeted regression tests passed.
  • Shader warm-up translated 2,165 of 2,166 found shaders in 42.1 s. Host pipeline creation is separate: 127 pipelines were still pending at termination.
  • Last logged sample: 3,627 draws/frame, 195 dropped without a host pipeline, 3 dropped indirect calls.
  • Roughly 23 minutes without a reported device removal or kernel Xid/NVRM error; the kernel instead recorded a global OOM kill at the end.

One unresolved Linux-specific observation: despite the runtime DXC fallback being integrated, the integration report records zero card-side buffer copies in this run. This may be worth investigating separately; I have not established why the path was inactive.

Performance is still poor (median logged frame time 3,786 ms, peak reported 1.2 FPS), so this is a rendering milestone, not playable-speed acceptance. Severe paging is documented in #109 and CPU/copy timing in #612.

AI-assisted integration, testing and reporting. The observations are from my machine; I rechecked the local logs and kernel OOM record. No game assets or screenshots attached.

**@⁠mehmetarslanca** on GitHub · 2026-11-25 13:13 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7163461567) ### Linux/NVIDIA integration report — RTX 3060, 16 GB RAM Thanks for the work on Wine/Proton support. I finally obtained visible in-world rendering on a relatively small Linux machine after several earlier black-screen runs. **Environment:** CachyOS, Ryzen 5 5500 (6C/12T), RTX 3060 12 GB, 16 GB physical RAM, Proton / VKD3D-Proton 3.2, direct XWayland. **Local integration provenance:** `d318b079f857f28be053482d97ac92a7339bc9f6` (not published). Based on `vongikkingen/victory-gikkingen@c0487ce`, with `fxceless/victory-fork@a253706` integrated. Preserved #257 and #259; integrated/reconciled #20, #777, #783, #786 and selected changes from #770 (#510, #644, #715, #764, #765, #795, #812). The existing staging pool was retained rather than duplicating #781. The integration agent reported #747 functionality already present. This is a local integration of community contributions, not a claim of original fixes. **Observed results:** - Visible opening cutscenes and in-world geometry, including character faces, hair, vehicles, vegetation, HUD and minimap. - Skin/arm artifacts, occasional misplaced geometry and dark shadowed areas remain. - 20 targeted regression tests passed. - Shader warm-up translated 2,165 of 2,166 found shaders in 42.1 s. Host pipeline creation is separate: 127 pipelines were still pending at termination. - Last logged sample: 3,627 draws/frame, 195 dropped without a host pipeline, 3 dropped indirect calls. - Roughly 23 minutes without a reported device removal or kernel Xid/NVRM error; the kernel instead recorded a global OOM kill at the end. One unresolved Linux-specific observation: despite the runtime DXC fallback being integrated, the integration report records zero card-side buffer copies in this run. This may be worth investigating separately; I have not established why the path was inactive. Performance is still poor (median logged frame time 3,786 ms, peak reported 1.2 FPS), so this is a rendering milestone, not playable-speed acceptance. Severe paging is documented in #109 and CPU/copy timing in #612. AI-assisted integration, testing and reporting. The observations are from my machine; I rechecked the local logs and kernel OOM record. No game assets or screenshots attached.
Author
Owner

@⁠ErRusso on GitHub · 2026-11-25 13:29 UTC · original

Linux/Proton + RTX 4060 8 GB: the Lucia opening scene runs; the picture is still black

GTA VI opening scene under VIctory on Linux/Proton, RTX 4060

The screenshot is the game window at 370 s into a 420 s run: the title bar reads Americas | VIctory 1 fps 737.2 ms/frame 2200 draws/frame, and the subtitles read Lu, you staring at that window again? / Mmm-hmm. — the opening Lucia scene. The frame is black apart from the subtitles: draws are submitted (2,200–5,012 a frame) but the scene still produces no visible geometry or lighting.

What ran

  • Branch feat/linux-nvidia-8gb-integration on my fork, rebased onto 0b0074e; consolidated PR: https://github.com/ErRusso/victory-gta6/pull/1
  • Integrated: #830, #813, #815, #814, #823, #824, #827, #818, #822, plus the DXC fallback of #20
  • Proton Experimental experimental-11.0-20261112 + vkd3d-proton, WINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n
  • Series S (--console series-s), 1 GiB card buffers, 82% texture room, VICTORY_TEXTURE_DROP_MIPS=1, 250 ms bake cap, physical pages file-backed, DXC/validator from the installed Social Club DLLs
  • Only the RTX 4060 is visible to Vulkan (nvidia_icd.json, VKD3D/DXVK device filters, PRIME offload)

Run

  • Max 5,012 draws/frame; 1.8–2.6 fps, 386–619 ms/frame (the captured frame: 737 ms)
  • Peak VRAM 7,149 / 8,188 MiB (87%); system RAM 18.0 GiB used
  • Zero device removal, Xid, NVRM assertions and E_INVALIDARG
  • At the 5,012-draw line 583 draws/frame were dropped waiting for 5 host pipelines being made; earlier in the scene hundreds were in flight at once
  • Run-time HLSL: this prefix's d3dcompiler_47 accepted everything. With Wine's builtin forced (WINEDLLOVERRIDES=d3dcompiler_47=b) and VICTORY_DXC set, dxc::tests::a_shader_the_system_compiler_refuses_is_compiled_by_dxc and indirect::tests::argument_clamp_builds pass

Reproduce

scripts/test-linux-nvidia.sh in the branch defaults to 420 s and, in a diagnostics build, presses Enter at 45/60/75/100/130 s to start the story. The same script sets the 8 GB/Series S switches and the NVIDIA-only Vulkan selection.

**@⁠ErRusso** on GitHub · 2026-11-25 13:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7163863294) ## Linux/Proton + RTX 4060 8 GB: the Lucia opening scene runs; the picture is still black ![GTA VI opening scene under VIctory on Linux/Proton, RTX 4060](https://files.catbox.moe/l732qh.png) The screenshot is the game window at 370 s into a 420 s run: the title bar reads `Americas | VIctory 1 fps 737.2 ms/frame 2200 draws/frame`, and the subtitles read `Lu, you staring at that window again?` / `Mmm-hmm.` — the opening Lucia scene. The frame is black apart from the subtitles: draws are submitted (2,200–5,012 a frame) but the scene still produces no visible geometry or lighting. ### What ran - Branch `feat/linux-nvidia-8gb-integration` on my fork, rebased onto `0b0074e`; consolidated PR: https://github.com/ErRusso/victory-gta6/pull/1 - Integrated: #830, #813, #815, #814, #823, #824, #827, #818, #822, plus the DXC fallback of #20 - Proton Experimental `experimental-11.0-20261112` + vkd3d-proton, `WINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n` - Series S (`--console series-s`), 1 GiB card buffers, 82% texture room, `VICTORY_TEXTURE_DROP_MIPS=1`, 250 ms bake cap, physical pages file-backed, DXC/validator from the installed Social Club DLLs - Only the RTX 4060 is visible to Vulkan (`nvidia_icd.json`, VKD3D/DXVK device filters, PRIME offload) ### Run - Max **5,012 draws/frame**; **1.8–2.6 fps, 386–619 ms/frame** (the captured frame: 737 ms) - Peak VRAM **7,149 / 8,188 MiB (87%)**; system RAM 18.0 GiB used - Zero device removal, Xid, NVRM assertions and `E_INVALIDARG` - At the 5,012-draw line 583 draws/frame were dropped waiting for 5 host pipelines being made; earlier in the scene hundreds were in flight at once - Run-time HLSL: this prefix's `d3dcompiler_47` accepted everything. With Wine's builtin forced (`WINEDLLOVERRIDES=d3dcompiler_47=b`) and `VICTORY_DXC` set, `dxc::tests::a_shader_the_system_compiler_refuses_is_compiled_by_dxc` and `indirect::tests::argument_clamp_builds` pass ### Reproduce `scripts/test-linux-nvidia.sh` in the branch defaults to 420 s and, in a diagnostics build, presses Enter at 45/60/75/100/130 s to start the story. The same script sets the 8 GB/Series S switches and the NVIDIA-only Vulkan selection.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 14:00 UTC · original

Linux/Proton on an RTX 3080 Ti (Proton Experimental, vkd3d-proton master): what it took, in the order it failed — and where it stops. Numbers and log lines only, no game data.

Setup: Arch, RTX 3080 Ti 12 GB, driver 595.112.07, 31 GB RAM, 16 threads. Proton Experimental experimental-11.0-20261112 (Wine 11.0), its files/bin/wine run directly on a prefix made by proton run cmd /c ver; vkd3d-proton master@ec20719 (the "Artifacts (Package)" workflow) put into the prefix; DXVK dxgi. Line: this fork's main 9376fd6 with uiliannn/VItoriaBr's commits on top (2b3c339e) and the picks listed at the end. Built with cargo-xwin for x86_64-pc-windows-msvc, release.

The failures, each with the line that names it

  1. no host D3D12 device … (0x80070057): Wine's own D3D12. The prefix holds vkd3d-proton and DXVK as files; they are chosen per launch with WINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n. (proton run outside Steam starts everything through steam.exe and exits 0.)
  2. No display of the run's own. With WAYLAND_DISPLAY set and no X display, Wine takes its Wayland driver, which is the user's real desktop. And a tool run (victory warm) with no display at all gets no Vulkan surface extension: DxvkInstance::createInstance: Failed to create Vulkan instance, Failed to create DXGI factory, no device. warm then files its entries under a key made without the device's facts (wave size, view limit), and a run never finds them. Tools need the display too.
  3. The start screen waits for ever without a pad (the "Known Wine gap" in #179): XInput has a pad here that never presses, the keyboard interface of a Logitech G502 (BTN_GAMEPAD on an HID interface, /dev/input/js0). The runtime offers its keyboard stand-in only while XInput has no pad at all. The log tells them apart: input device device=0 connected=true is the phantom pad, device=4 the stand-in. SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT=0000/0000 keeps every pad from Wine's side, and the stand-in is back.
  4. vkd3d-proton before ec20719 crashes the driver at the first world compute pipelines (#210). Proton Experimental of 2026-11-12 bundles 2576c0b4a, 39 commits behind.
  5. E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer', then no argument clamp: indirect execution dropped and no host copies in the card's memory (as in the report above): #20's DXC fallback, VICTORY_DXC with Microsoft's DXC v1.9.2609.
  6. no host pipeline library: pipelines are not kept: the empty library is asked for with a dangling pointer (VIctory#1722, #885). Now host pipeline library loaded … mapped=true and saved … made=1547.
  7. The second run. With the library there, the runtime started 1,657 pipelines early at launch. The title presented no frame after frame 32, and its watchdog ended the run (0xc0000005 at title+0x2215c35, a write to 0; exit 5; 45 s). The same binary with the library's folder moved away: 30 fps on the title screen. VICTORY_EARLY_PIPELINES=0 (#845) has pipelines requested on first use, which loads them from the library all the same. What blocks the thread is not known.
  8. The frame: the view list of wineserver (#184). Machine to itself, median over all world frames:
Proton's wineserver tree-indexed
frames compared 26 55
frame 5,398 ms 624 ms
preparing 2,315 ms 109 ms
└ copies 1,149 ms 70 ms
└ textures 385 ms 14 ms
copying back 2,080 ms 120 ms

The intro then runs at 1.3–2.5 fps. For Proton Experimental: its Wine is ValveSoftware/wine, branch experimental_11.0, at 5b557605b4e5 (the tip of 2026-11-11, the last commit before the build): autogen.sh, configure --enable-win64, make server/wineserver. The server is started for the prefix, because WINESERVER is ignored (UwUCammie's note in #184). wineserver then sits at 2.8 % of a core.
9. VKD3D_SHADER_CACHE_PATH is a folder. Given the path of a file, vkd3d-proton logs Failed to map read-only cache and compiles every pipeline again on every run: 88 made in the six minutes of one run here, 833 waited for.

Where it stops

Every run, at 6:00–6:07 of game time in the intro (FBK_STRY000_INTRO, state Prestream): 0x80000003 at title+0x5149aec, INSTANCE_LIST 45000/45000 — the stop of VIctory#698 and #378. Skipping the four programs of the lead in VIctory#698 did not prevent it here (the data is in a comment there).

Switches

VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_PAGE_WRITES=1 VICTORY_SHADER_LOOP_LIMIT=32 VICTORY_EARLY_PIPELINES=0, and VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains.

Picks that matter under Wine, on this line

#20, VIctory#1722 with #259, #845, #823 (xmem maps runs of pages as one view), #256, #91; 16 MiB stacks on the pipeline workers and as the image's reserve (VIctory#1528).

**@⁠slauko** on GitHub · 2026-11-25 14:00 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7164605481) **Linux/Proton on an RTX 3080 Ti (Proton Experimental, vkd3d-proton master): what it took, in the order it failed — and where it stops.** Numbers and log lines only, no game data. **Setup:** Arch, RTX 3080 Ti 12 GB, driver 595.112.07, 31 GB RAM, 16 threads. Proton Experimental `experimental-11.0-20261112` (Wine 11.0), its `files/bin/wine` run directly on a prefix made by `proton run cmd /c ver`; vkd3d-proton `master@ec20719` (the "Artifacts (Package)" workflow) put into the prefix; DXVK `dxgi`. Line: this fork's main `9376fd6` with uiliannn/VItoriaBr's commits on top (`2b3c339e`) and the picks listed at the end. Built with cargo-xwin for `x86_64-pc-windows-msvc`, release. ## The failures, each with the line that names it 1. `no host D3D12 device … (0x80070057)`: Wine's own D3D12. The prefix holds vkd3d-proton and DXVK as files; they are chosen per launch with `WINEDLLOVERRIDES=d3d12=n;d3d12core=n;dxgi=n`. (`proton run` outside Steam starts everything through `steam.exe` and exits 0.) 2. **No display of the run's own.** With `WAYLAND_DISPLAY` set and no X display, Wine takes its Wayland driver, which is the user's real desktop. And a tool run (`victory warm`) with no display at all gets no Vulkan surface extension: `DxvkInstance::createInstance: Failed to create Vulkan instance`, `Failed to create DXGI factory`, no device. `warm` then files its entries under a key made without the device's facts (wave size, view limit), and a run never finds them. Tools need the display too. 3. **The start screen waits for ever without a pad** (the "Known Wine gap" in #179): XInput has a pad here that never presses, the keyboard interface of a Logitech G502 (`BTN_GAMEPAD` on an HID interface, `/dev/input/js0`). The runtime offers its keyboard stand-in only while XInput has no pad at all. The log tells them apart: `input device device=0 connected=true` is the phantom pad, `device=4` the stand-in. `SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT=0000/0000` keeps every pad from Wine's side, and the stand-in is back. 4. vkd3d-proton before `ec20719` crashes the driver at the first world compute pipelines (#210). Proton Experimental of 2026-11-12 bundles `2576c0b4a`, 39 commits behind. 5. `E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'`, then `no argument clamp: indirect execution dropped` and `no host copies in the card's memory` (as in the report above): #20's DXC fallback, `VICTORY_DXC` with Microsoft's DXC v1.9.2609. 6. `no host pipeline library: pipelines are not kept`: the empty library is asked for with a dangling pointer (VIctory#1722, #885). Now `host pipeline library loaded … mapped=true` and `saved … made=1547`. 7. **The second run.** With the library there, the runtime started 1,657 pipelines early at launch. The title presented no frame after frame 32, and its watchdog ended the run (`0xc0000005` at `title+0x2215c35`, a write to 0; exit 5; 45 s). The same binary with the library's folder moved away: 30 fps on the title screen. `VICTORY_EARLY_PIPELINES=0` (#845) has pipelines requested on first use, which loads them from the library all the same. What blocks the thread is not known. 8. **The frame: the view list of wineserver** (#184). Machine to itself, median over all world frames: | | Proton's wineserver | tree-indexed | |---|---:|---:| | frames compared | 26 | 55 | | frame | 5,398 ms | **624 ms** | | preparing | 2,315 ms | 109 ms | | └ copies | 1,149 ms | 70 ms | | └ textures | 385 ms | 14 ms | | copying back | 2,080 ms | 120 ms | The intro then runs at 1.3–2.5 fps. For Proton Experimental: its Wine is `ValveSoftware/wine`, branch `experimental_11.0`, at `5b557605b4e5` (the tip of 2026-11-11, the last commit before the build): `autogen.sh`, `configure --enable-win64`, `make server/wineserver`. The server is started for the prefix, because `WINESERVER` is ignored (UwUCammie's note in #184). wineserver then sits at 2.8 % of a core. 9. `VKD3D_SHADER_CACHE_PATH` is a folder. Given the path of a file, vkd3d-proton logs `Failed to map read-only cache` and compiles every pipeline again on every run: 88 made in the six minutes of one run here, 833 waited for. ## Where it stops Every run, at 6:00–6:07 of game time in the intro (`FBK_STRY000_INTRO`, state `Prestream`): `0x80000003` at `title+0x5149aec`, `INSTANCE_LIST 45000/45000` — the stop of VIctory#698 and #378. Skipping the four programs of the lead in VIctory#698 did not prevent it here (the data is in a comment there). ## Switches `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_PAGE_WRITES=1 VICTORY_SHADER_LOOP_LIMIT=32 VICTORY_EARLY_PIPELINES=0`, and `VKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chains`. ## Picks that matter under Wine, on this line #20, VIctory#1722 with #259, #845, #823 (xmem maps runs of pages as one view), #256, #91; 16 MiB stacks on the pipeline workers and as the image's reserve (VIctory#1528).
Author
Owner

@⁠ArturoWolff on GitHub · 2026-11-25 14:05 UTC · original

On our desktop RTX 4060 (8 GiB VRAM), 16 GB system RAM, GE-Proton11-14 / vkd3d-proton, both builds showed the intro movie, but neither showed recognizable 3D world geometry to the operator. This is not an in-world FPS measurement. We compared a victory-fork #20 merge build (0e507b4) and a local ztrx diagnostics build based on 90b529f, not the current tips. Series X profile; VICTORY_TEXTURE_GUARD=0 and VICTORY_TEXTURE_NO_WAIT=1 set inside the sandbox.

Intro playback: In one saved replay per build we counted changes in a sampled screen crop over matched six-second windows. In the first window: victory-fork 173 changes (longest hold 183 ms), ztrx 175 (151 ms). In the next window: 180 changes each. Both produced nonzero samples on the isolated game-audio stream. These are movie-picture changes, not GPU frame times, and do not establish a faster build or uninterrupted audio.

Separate story-load attempts, ztrx only. Same executable (SHA-256 111f84661b2f9bb8213bfb357f59356f81aa514161308e088234b1a0111538e4). Our launcher sent SIGTERM when Linux host MemAvailable crossed its floor:

Configured floor Available at stop Service runtime Service memory / swap peaks
2 GiB 1,990 MiB 1m47s 6.4 / 3.0 GiB
1 GiB, one-off trial 737 MiB 2m12s 6.6 / 6.1 GiB

Shader translation and host pipeline creation were still logged near both stops. Neither stop was a kernel OOM kill. More time and more swap did not yield visible gameplay here. That identifies the stop condition, not the cause of the black picture; we don't recommend lowering the guard on this evidence.

Earlier victory-fork intro tests and launcher details: guard-off stopped visible backward jumps on the fork; adding no-wait improved early pacing there. Binding only the real Xbox evdev node let physical A advance profile selection; correcting the nested display size and removing a forced Pulse latency addressed separate launcher issues. These are not engine fixes or a one-switch-at-a-time reproduction on ztrx.

Related upstream checks from this machine (separate tests, not explanations for the black world): rejected pipeline-library blob fallback confirmed; Wine event subscription unavailable, so watcher silence cannot prove driver stability; ten synthetic shader-classification cases; potential redundant 4 MiB shadow lookup in a CPU fixture, not measured gameplay savings.

Same-machine report on ztrx #24. AI-assisted summary of existing runs; no game assets attached.

**@⁠ArturoWolff** on GitHub · 2026-11-25 14:05 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7164748010) On our desktop RTX 4060 (8 GiB VRAM), 16 GB system RAM, GE-Proton11-14 / vkd3d-proton, **both builds showed the intro movie, but neither showed recognizable 3D world geometry to the operator**. This is not an in-world FPS measurement. We compared a victory-fork #20 merge build (`0e507b4`) and a local ztrx diagnostics build based on `90b529f`, not the current tips. Series X profile; `VICTORY_TEXTURE_GUARD=0` and `VICTORY_TEXTURE_NO_WAIT=1` set inside the sandbox. **Intro playback:** In one saved replay per build we counted changes in a sampled screen crop over matched six-second windows. In the first window: victory-fork 173 changes (longest hold 183 ms), ztrx 175 (151 ms). In the next window: 180 changes each. Both produced nonzero samples on the isolated game-audio stream. These are movie-picture changes, not GPU frame times, and do not establish a faster build or uninterrupted audio. **Separate story-load attempts, ztrx only.** Same executable (SHA-256 `111f84661b2f9bb8213bfb357f59356f81aa514161308e088234b1a0111538e4`). Our launcher sent SIGTERM when Linux host `MemAvailable` crossed its floor: | Configured floor | Available at stop | Service runtime | Service memory / swap peaks | |---|---:|---:|---:| | 2 GiB | 1,990 MiB | 1m47s | 6.4 / 3.0 GiB | | 1 GiB, one-off trial | 737 MiB | 2m12s | 6.6 / 6.1 GiB | Shader translation and host pipeline creation were still logged near both stops. Neither stop was a kernel OOM kill. More time and more swap did not yield visible gameplay here. That identifies the stop condition, **not the cause of the black picture**; we don't recommend lowering the guard on this evidence. Earlier [victory-fork intro tests and launcher details](https://git.gtahub.st/github/fxceless--victory-fork/issues/39): guard-off stopped visible backward jumps on the fork; adding no-wait improved early pacing there. Binding only the real Xbox evdev node let physical A advance profile selection; correcting the nested display size and removing a forced Pulse latency addressed separate launcher issues. These are not engine fixes or a one-switch-at-a-time reproduction on ztrx. Related upstream checks from this machine (separate tests, **not** explanations for the black world): [rejected pipeline-library blob fallback confirmed](https://git.gtahub.st/github/fxceless--victory-fork/pulls/885); [Wine event subscription unavailable, so watcher silence cannot prove driver stability](https://git.gtahub.st/github/fxceless--victory-fork/pulls/897); [ten synthetic shader-classification cases](https://git.gtahub.st/github/fxceless--victory-fork/pulls/916); [potential redundant 4 MiB shadow lookup in a CPU fixture, not measured gameplay savings](https://git.gtahub.st/github/fxceless--victory-fork/pulls/911). [Same-machine report on ztrx #24](https://github.com/Zettrox/ztrx/issues/24#issuecomment-7164746992). AI-assisted summary of existing runs; no game assets attached.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 14:54 UTC · original

Gameplay under Wine, on the line and the switches of the checklist above (uiliannn/VItoriaBr 2b3c339e with the picks listed there, RTX 3080 Ti, Proton Experimental, vkd3d-proton master@ec20719):

  • The stop at 6:00 (title+0x5149aec, INSTANCE_LIST 45000/45000) is passed with VICTORY_STEP_OVER=5149aec: the loader's vectored handler continues a breakpoint at a named offset of the title's image. Details in Marvisak/VIctory#698.
  • 30 minutes in the opening of the prologue (ended by my time limit), no fault, no device loss. The title's prompts to move and to turn the camera come up; W/A/S/D and I/J/K/L answer.
  • 317 world frames, median 521 ms (331 to 1,102), 3,516 draws a frame; 1.4–2.0 fps.
  • Memory is the limit on a 31 GB machine: 27.5 GB resident and 4.3 GB in swap at the most, 11.9 of 12 GB on the card.

For the sync with fxceless 0b0074e: under Wine the new driver watch cannot subscribe — no subscription to the system's event log: the graphics driver's errors are not seen as they happen, here with os error 203 — so its messages are not to be expected there.

**@⁠slauko** on GitHub · 2026-11-25 14:54 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7165995258) **Gameplay under Wine**, on the line and the switches of the checklist above (`uiliannn/VItoriaBr 2b3c339e` with the picks listed there, RTX 3080 Ti, Proton Experimental, vkd3d-proton `master@ec20719`): - The stop at 6:00 (`title+0x5149aec`, `INSTANCE_LIST 45000/45000`) is passed with `VICTORY_STEP_OVER=5149aec`: the loader's vectored handler continues a breakpoint at a named offset of the title's image. Details in Marvisak/VIctory#698. - **30 minutes in the opening of the prologue** (ended by my time limit), no fault, no device loss. The title's prompts to move and to turn the camera come up; W/A/S/D and I/J/K/L answer. - 317 world frames, median **521 ms** (331 to 1,102), 3,516 draws a frame; 1.4–2.0 fps. - **Memory is the limit on a 31 GB machine**: 27.5 GB resident and 4.3 GB in swap at the most, 11.9 of 12 GB on the card. For the sync with fxceless `0b0074e`: under Wine the new driver watch cannot subscribe — `no subscription to the system's event log: the graphics driver's errors are not seen as they happen`, here with `os error 203` — so its messages are not to be expected there.
Author
Owner

@⁠ArturoWolff on GitHub · 2026-11-25 17:00 UTC · original

Follow-up on the desktop RTX 4060 (8 GB VRAM, 16 GB system RAM) under Proton: both builds reached the account picker and received the same input sequence. On victory-fork 0b0074e, the furthest thing we captured was loading art. On ztrx 90b529f, we captured prologue dialogue, opening credits, and a small visible section of the 3D backdrop. We did not verify player movement or camera control on either build.

Our launcher stopped both runs when available host RAM fell below 512 MiB; neither recorded a host OOM kill. These are the furthest frames we observed, not proof that victory-fork can’t progress or that a particular ztrx change explains the difference. AI-assisted summary of local test logs and captures.

**@⁠ArturoWolff** on GitHub · 2026-11-25 17:00 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7168853205) Follow-up on the desktop RTX 4060 (8 GB VRAM, 16 GB system RAM) under Proton: both builds reached the account picker and received the same input sequence. On victory-fork `0b0074e`, the furthest thing we captured was loading art. On ztrx `90b529f`, we captured prologue dialogue, opening credits, and a small visible section of the 3D backdrop. We did **not** verify player movement or camera control on either build. Our launcher stopped both runs when available host RAM fell below 512 MiB; neither recorded a host OOM kill. These are the furthest frames we observed, not proof that victory-fork can’t progress or that a particular ztrx change explains the difference. AI-assisted summary of local test logs and captures.
Author
Owner

@⁠slauko on GitHub · 2026-11-25 17:08 UTC · original

And what comes after the first save: under Wine here, the runs after world07 do not reach the trap at +0x5149aec any more. world07 wrote a save under seven minutes in (right behind the trap); every run since starts from it — no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10, and 24 minutes without the trap (the step counter at 0, in four runs).

So VICTORY_STEP_OVER is needed by the first start only, and runs that come from a save are not to be compared with runs from a fresh profile. More in Marvisak/VIctory#698.

For the merge with fxceless 0b0074e / uiliannn 1d84afd8: with the save moved aside the merged build plays the intro and reaches the trap as the build before it did (draws 252 to 4,055 a frame, the artwork's flashes; the trap stepped over at 366 s).

**@⁠slauko** on GitHub · 2026-11-25 17:08 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7169078286) **And what comes after the first save:** under Wine here, the runs after `world07` do not reach the trap at `+0x5149aec` any more. `world07` wrote a save under seven minutes in (right behind the trap); every run since starts from it — no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10, and 24 minutes without the trap (the step counter at 0, in four runs). So `VICTORY_STEP_OVER` is needed by the first start only, and runs that come from a save are not to be compared with runs from a fresh profile. More in Marvisak/VIctory#698. For the merge with fxceless `0b0074e` / uiliannn `1d84afd8`: with the save moved aside the merged build plays the intro and reaches the trap as the build before it did (draws 252 to 4,055 a frame, the artwork's flashes; the trap stepped over at 366 s).
Author
Owner

@⁠deadkid14 on GitHub · 2026-11-25 18:47 UTC · original

Linux tip from d510ee4: set VICTORY_PIPELINE_WAIT_MS=24. Under Wine, the default 500 ms budget was the main thing holding the frame rate down here.

Setup: RTX 5070 Ti, driver 620.73.04, Ryzen 7 9800X3D, GE-Proton11-14, d510ee4 plus our two Linux patches (DXC fallback from #20, watchdog switch from upstream #454).

What the frame log showed with the default wait: almost every long frame said pipelines: 0 made, 0 loaded, 500.1 ms waited, with the card idle for about 95 % of the frame. A few pipelines stay "being made" for the whole run (dropped ~5/frame without a host pipeline: being made). Each long frame waits the full budget for them, and the draws are dropped anyway.

Same scene (the first rooms), same build:

Settings Settled frame rate Long frames
Fork defaults 1.7 fps –
INDIRECT_WINDOW, INDIRECT_GATHER, CARD_REHASH_RUNS, JOIN_PARTS, BACK_OWN_VIEW = 1 2.1 fps 1.0 to 1.6 s
The same + VICTORY_PIPELINE_WAIT_MS=24 4.9 to 5.7 fps (3.4 in a character close-up) 0.3 to 1.0 s

No Xid and no device loss in any of the three runs, including with draw windows on. The shader cache does carry over between runs. The slow first minutes are host pipeline creation, not translation.

Also on Linux: the intro video no longer flickers on d510ee4. It did on every earlier fork build here.

AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.

**@⁠deadkid14** on GitHub · 2026-11-25 18:47 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7171395608) Linux tip from d510ee4: **set `VICTORY_PIPELINE_WAIT_MS=24`**. Under Wine, the default 500 ms budget was the main thing holding the frame rate down here. Setup: RTX 5070 Ti, driver 620.73.04, Ryzen 7 9800X3D, GE-Proton11-14, d510ee4 plus our two Linux patches (DXC fallback from #20, watchdog switch from upstream #454). What the frame log showed with the default wait: almost every long frame said `pipelines: 0 made, 0 loaded, 500.1 ms waited`, with the card idle for about 95 % of the frame. A few pipelines stay "being made" for the whole run (`dropped ~5/frame without a host pipeline: being made`). Each long frame waits the full budget for them, and the draws are dropped anyway. Same scene (the first rooms), same build: | Settings | Settled frame rate | Long frames | |---|---|---| | Fork defaults | 1.7 fps | – | | `INDIRECT_WINDOW`, `INDIRECT_GATHER`, `CARD_REHASH_RUNS`, `JOIN_PARTS`, `BACK_OWN_VIEW` = 1 | 2.1 fps | 1.0 to 1.6 s | | The same + `VICTORY_PIPELINE_WAIT_MS=24` | 4.9 to 5.7 fps (3.4 in a character close-up) | 0.3 to 1.0 s | No Xid and no device loss in any of the three runs, including with draw windows on. The shader cache does carry over between runs. The slow first minutes are host pipeline creation, not translation. Also on Linux: the intro video no longer flickers on d510ee4. It did on every earlier fork build here. *AI-assisted: Claude Code ran the builds and tests on my machine, read the logs and wrote this comment; posted at my request.*
Author
Owner

@⁠OctoAlgo on GitHub · 2026-11-25 20:39 UTC · original

@⁠ThomasHFWright thanks for confirming the code-table fix (#1006) on your 5090. Our setup is almost the same as yours (RTX 5090 + RTX 5070 Ti, CachyOS, NVIDIA 620.73.04, Proton 11 / GE-Proton 11-14, fork main + Linux bits), so here is what made the biggest difference for us since then, in case some of it is new to you or other Linux users here. All measured on the 5090, diagnostics builds unless noted; your mileage may vary.

  • VICTORY_PIPELINE_WAIT_MS=0: about 2× frame rate (1.87 → 3.54 fps in the first room, same picture). Four compute pipelines never finished on our machine, so every frame waited the full 500 ms budget for them. (Those four are fixed by #938, where vkd3d's conversion looped forever on loops with several back edges, but WAIT 0 still helps against slow first builds.)
  • Hair spasming = the diagnostics loop limit. VICTORY_SHADER_LOOP_LIMIT=32 cuts the strand-simulation compute loops off. #683 adds VICTORY_SHADER_LOOP_LIMIT_CS; with =128 the ponytail is calm. Release builds have no limit. The same limit also kept the sun's cascade-shadow computes from finishing.
  • #1002 (tiled cascade shadow programs exact on 32-lane hosts): removed blocky stair-step light/shadow edges on characters (e.g. Lucia's shoulder at the cell window).
  • #854 + #993 (wave64 programs paired onto 32-lane GPUs): the four compute pipelines vkd3d refuses with "Required WaveSize range [64, 64], but supported range is [32, 32]" (02384a60fda6f2d0, 2cc4c197ee29e291, 2da4beb386509b77, 369cbe906ea72764) get made; hair crown without blocky squares. Merging them onto #995 needed conflict resolution in 12 files.
  • #995 (indirect clamps in runs etc.): a large speed PR. Two entries of its own settings list (VICTORY_VIEW_GUARD=0, VICTORY_COMMIT_FLOOR_MB=6144) made the cell's left wall and the window's wire mesh disappear for us, so leave those two out.
  • Ambient stand-in (#917, a port of Belobug's work, plus Belobug's later SHADE/TINT commits): with the wave64 programs running, VICTORY_AMBIENT=0.3, VICTORY_AMBIENT_TINT=1,0.7,0.5, VICTORY_AMBIENT_SHADE=1.5,0.8,0.1,0.45 came closest to reference footage of the cell (warm, left wall visible); 0.6 washed it out.

And thanks for your guarded-copy measurement in LinVictory: the Proton cost of NtWriteVirtualMemory is exactly what we're looking at next.

(Investigated with an AI coding assistant; all numbers are from runs on our PC.)

**@⁠OctoAlgo** on GitHub · 2026-11-25 20:39 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7173985299) @⁠ThomasHFWright thanks for confirming the code-table fix (#1006) on your 5090. Our setup is almost the same as yours (RTX 5090 + RTX 5070 Ti, CachyOS, NVIDIA 620.73.04, Proton 11 / GE-Proton 11-14, fork main + Linux bits), so here is what made the biggest difference for us since then, in case some of it is new to you or other Linux users here. All measured on the 5090, diagnostics builds unless noted; your mileage may vary. - **`VICTORY_PIPELINE_WAIT_MS=0`: about 2× frame rate (1.87 → 3.54 fps in the first room, same picture).** Four compute pipelines never finished on our machine, so every frame waited the full 500 ms budget for them. (Those four are fixed by #938, where vkd3d's conversion looped forever on loops with several back edges, but WAIT 0 still helps against slow first builds.) - **Hair spasming = the diagnostics loop limit.** `VICTORY_SHADER_LOOP_LIMIT=32` cuts the strand-simulation compute loops off. #683 adds `VICTORY_SHADER_LOOP_LIMIT_CS`; with `=128` the ponytail is calm. Release builds have no limit. The same limit also kept the sun's cascade-shadow computes from finishing. - **#1002 (tiled cascade shadow programs exact on 32-lane hosts):** removed blocky stair-step light/shadow edges on characters (e.g. Lucia's shoulder at the cell window). - **#854 + #993 (wave64 programs paired onto 32-lane GPUs):** the four compute pipelines vkd3d refuses with "Required WaveSize range [64, 64], but supported range is [32, 32]" (`02384a60fda6f2d0`, `2cc4c197ee29e291`, `2da4beb386509b77`, `369cbe906ea72764`) get made; hair crown without blocky squares. Merging them onto #995 needed conflict resolution in 12 files. - **#995 (indirect clamps in runs etc.):** a large speed PR. Two entries of its own settings list (`VICTORY_VIEW_GUARD=0`, `VICTORY_COMMIT_FLOOR_MB=6144`) made the cell's left wall and the window's wire mesh disappear for us, so leave those two out. - **Ambient stand-in (#917, a port of Belobug's work, plus Belobug's later SHADE/TINT commits):** with the wave64 programs running, `VICTORY_AMBIENT=0.3`, `VICTORY_AMBIENT_TINT=1,0.7,0.5`, `VICTORY_AMBIENT_SHADE=1.5,0.8,0.1,0.45` came closest to reference footage of the cell (warm, left wall visible); 0.6 washed it out. And thanks for your guarded-copy measurement in LinVictory: the Proton cost of `NtWriteVirtualMemory` is exactly what we're looking at next. *(Investigated with an AI coding assistant; all numbers are from runs on our PC.)*
Author
Owner

@⁠gmankab on GitHub · 2026-11-26 11:10 UTC · original · edited 2026-11-26 11:31 UTC

I reproduced a setup-time title breakpoint on Fedora 45 under Wine with an RX 6800 and a Xeon E5-2670 v3. The same idle harness hit it after 23 seconds on our published integration and 24 seconds on unmodified Fxceless main.

On stock main it also reproduced with Relay disabled, frame captures disabled, intro skipping disabled, and the existing prologue checkpoint in both console profiles. A DRI-hidden run hit the same breakpoint after 23 seconds. That run found llvmpipe and failed to create a D3D12 host device, so it executed no host draws or dispatches.

The Windows exception context and the instruction at the stop show a stream writer on the title's main thread requesting 1,728 bytes with 80 remaining. The source of that payload is still unknown. The test matrix records the individual runs.

Follow-up with a PulseAudio control. A read-only probe on current main measured a 98,304-byte stream at position 98,224. Its tail already contained 41 consecutive byte-identical copies of the rejected 1,728-byte write. Series S and Series X reproduced in 24 and 26 seconds. The earlier harness denied the PulseAudio socket. With that socket available, Wine opened a playback stream and two DRI-hidden Series S runs reached their 60 and 70 second caps without this breakpoint. The 60-second run changed only the socket permission from the failing Series S configuration.

Tested-on: RX 6800, Fedora Linux 45, Wine and RADV
Assisted-by: gpt-6.2 sol xhigh

**@⁠gmankab** on GitHub · 2026-11-26 11:10 UTC · [original](https://github.com/fxceless/victory-fork/issues/6#issuecomment-7190373306) · edited 2026-11-26 11:31 UTC I reproduced a setup-time title breakpoint on Fedora 45 under Wine with an RX 6800 and a Xeon E5-2670 v3. The same idle harness hit it after 23 seconds on [our published integration](https://github.com/gmankab/victory/commit/d56316bb283495181651a7528b6f0d9c625f32e2) and 24 seconds on [unmodified Fxceless main](https://github.com/fxceless/victory-fork/commit/06702fe86b91bacbf4a0a27662ae443435bf732e). On stock main it also reproduced with Relay disabled, frame captures disabled, intro skipping disabled, and the existing prologue checkpoint in both console profiles. A DRI-hidden run hit the same breakpoint after 23 seconds. That run found llvmpipe and failed to create a D3D12 host device, so it executed no host draws or dispatches. The Windows exception context and the instruction at the stop show a stream writer on the title's main thread requesting 1,728 bytes with 80 remaining. The source of that payload is still unknown. The [test matrix](https://github.com/gmankab/gta6-wiki/blob/main/docs/benchmarks.md#fxceless-startup-controls) records the individual runs. Follow-up with a PulseAudio control. A read-only probe on [current main](https://github.com/fxceless/victory-fork/commit/ceb9e1f7a0180e61961bfde85d69d24e2dd84b39) measured a 98,304-byte stream at position 98,224. Its tail already contained 41 consecutive byte-identical copies of the rejected 1,728-byte write. Series S and Series X reproduced in 24 and 26 seconds. The earlier harness denied the PulseAudio socket. With that socket available, Wine opened a playback stream and two DRI-hidden Series S runs reached their 60 and 70 second caps without this breakpoint. The 60-second run changed only the socket permission from the failing Series S configuration. Tested-on: RX 6800, Fedora Linux 45, Wine and RADV Assisted-by: gpt-6.2 sol xhigh
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/fxceless--victory-fork#6
No description provided.