[GH #132] RTX 4070 SUPER (12 GB) / Ryzen 7 9800X3D / Win11 22631: prologue cell stable (~2.5 fps default vs 3.2-4.1 fps with VICTORY_RELAY=2), cold-run missing face & wall color banding #132

Open
opened 2026-11-25 14:11:01 +00:00 by q780337185 · 2 comments
q780337185 commented 2026-11-25 14:11:01 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by q780337185 on 2026-11-25T13:24:46Z.


Summary

Built and tested 90b529f on an NVIDIA GeForce RTX 4070 SUPER (12 GB) + Ryzen 7 9800X3D:

  • Stability: Reaches the opening prison cell and progresses through the cell dialogue with no crashes.log and no device removal across multiple runs (latest accelerated run lasted ~5m12s until manual close).
  • Default vs. Accelerated (VICTORY_RELAY=2):
    • Default settings: ~2.0–2.5 fps (400.3–440.7 ms/frame), GPU ~64% busy.
    • With VICTORY_RELAY=2 (exact=true): world median 3.20 fps (314.2 ms/frame), steady tail 3.3–3.7 fps (272.3–305.9 ms/frame), peak 4.1 fps (243.0 ms/frame), GPU ~79% busy (remaining bottleneck shifted to 128 lists in the air settles: 163.6 ms of 185.9 ms wait).
  • Visual observations:
    • Cold vs. Warm run (related to #73): Initial cold run (2 fps, 440.2 ms/frame, 6743 draws/frame) dropped Lucia's face/head mesh (leaving only eyeballs, hair, and shirt outline). Subsequent runs recovered Lucia's face, cell walls/ceiling, bunk beds, other inmates, and the exterior watchtower.
    • Remaining visual artifacts: Noticeable stepped orange/brown color banding (posterization) on the cell back wall, shadowed character faces / bright overexposure (matching README RT lighting note), minor checkerboard artifacts on the lower window frame, and a floating head/hair piece near the upper-left bunk.

Hardware & Environment

  • GPU: NVIDIA GeForce RTX 4070 SUPER (12282 MiB, Driver 616.64)
  • CPU: AMD Ryzen 7 9800X3D (8C / 16T)
  • RAM / Pagefile: 32 GB (32908660 KB), C:\pagefile.sys 17408 MB allocated (peak 4784 MB)
  • OS: Windows 11 Pro (10.0.22631, Build 22631)
  • Commit: 90b529f

Build, Tests & Census

  • cargo build --release -p victory: succeeded in 24.61s
  • cargo test --workspace: 210 passed; 0 failed; 2 ignored (+ xtask: 4 passed; 0 failed)
  • victory.exe census <GAME_DIR>: 995 total imports (130 HLE, 791 host, 74 title DLLs, 0 missing)
  • Launcher note: Running powershell -ExecutionPolicy Bypass -File scripts\play.ps1 -Game ... on Windows PowerShell 5.1 failed to locate \..\target\release\victory.exe and exited 0 (matching PR #17 / #33 and #3); passing -Exe ".\target\release\victory.exe" explicitly worked.

Accelerated Run Metrics (VICTORY_D3D12_DRED=1, VICTORY_RELAY=2 (exact=true), 12:56:14Z–13:01:26Z)

  • Menu (8 x 5s summaries): 24.8–30.5 fps (32.8–40.3 ms/frame, 6–24 draws/frame)
  • In-world (46 x 5s summaries):
    • Overall: min 0.4 fps, median 3.20 fps (314.2 ms/frame), mean 2.60 fps (529.3 ms/frame), max 4.1 fps (243.0 ms/frame)
    • Warmed steady state (13:00:41Z–13:01:22Z): 2.5–3.7 fps (272.3–394.0 ms/frame, 5685–6701 draws/frame), screenshot at 4 fps, 269.1 ms/frame, 6634 draws/frame
    • Tail summary (13:01:26Z): 45.8 relay flights landed in 10.0 landings (237.3 ms), 185.9 ms waiting for card (163.6 ms on 128 lists in the air), 368.1 MB/frame CPU shadow-write checks (341.1 MB in >=1 MiB copies), card ~79% busy
  • No crashes.log / no device removal. (Only a local low-disk warning on exit: host pipeline library not serialised error=There is not enough space on the disk. (os error 112) due to low free space on C:.)

Notable Warnings, Refused Pipelines & Untranslatable Shaders

  • Host view heap cap:
    WARN victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot error=Not enough memory resources are available to complete this operation. (0x8007000E) count=1245184
  • Host pipelines refused (0x80070057 / E_INVALIDARG, 6 distinct):
    • compute 2da4beb386509b77
    • compute 369cbe906ea72764
    • compute 2cc4c197ee29e291
    • compute 02384a60fda6f2d0
    • compute 6b82bc7d22016cb5
    • mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35
  • Shaders that do not translate (9 distinct):
    • compute a929109552ce1e84: v_permlanex16_b32 is not supported
    • compute ceb5eb68cd99cb07: a descriptor's address or format read as data is not supported
    • compute f133e35efed2a48a: a lane mask exchanged where not every lane runs is not supported
    • compute 5dc3b25986622949, compute 6f225b641c5b0708: v_cvt_f32_f64 is not supported
    • pixel 7d0f14ce44746d7e, pixel 2fd01fca16993001, pixel 6b6db9f1a526daeb: a descriptor read only as data is not supported
    • pixel 38bf0814e721a1b3: the first half of an interpolation is not supported

Attachments

  • Screenshot 1: Cold run (missing face mesh, 2 fps, 440.2 ms/frame, 6743 draws/frame)
  • Screenshot 2: Warm default run (face mesh & window fence recovered, 2 fps, 400.3 ms/frame, 5044 draws/frame)
  • Screenshot 3: Accelerated run (4 fps, 269.1 ms/frame, 6634 draws/frame, cell inmates/exterior rendered, wall banding visible)
  • Sanitized runtime log (ztrx_rtx4070super_sanitized.log)

(Report metrics and log sanitization assisted by AI.)

<!-- greyfinch-sync:Zettrox/ztrx:issue:6605505470 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/132). Originally posted by [q780337185](https://github.com/q780337185) on 2026-11-25T13:24:46Z. --- ### Summary Built and tested `90b529f` on an **NVIDIA GeForce RTX 4070 SUPER (12 GB)** + **Ryzen 7 9800X3D**: - **Stability:** Reaches the opening prison cell and progresses through the cell dialogue with **no `crashes.log` and no device removal** across multiple runs (latest accelerated run lasted ~5m12s until manual close). - **Default vs. Accelerated (`VICTORY_RELAY=2`):** - Default settings: `~2.0–2.5 fps` (`400.3–440.7 ms/frame`), GPU `~64%` busy. - With `VICTORY_RELAY=2` (`exact=true`): world median **`3.20 fps`** (`314.2 ms/frame`), steady tail **`3.3–3.7 fps`** (`272.3–305.9 ms/frame`), peak **`4.1 fps`** (`243.0 ms/frame`), GPU **`~79%` busy** (remaining bottleneck shifted to `128 lists in the air` settles: `163.6 ms` of `185.9 ms` wait). - **Visual observations:** - **Cold vs. Warm run (related to #73):** Initial cold run (`2 fps, 440.2 ms/frame, 6743 draws/frame`) dropped Lucia's face/head mesh (leaving only eyeballs, hair, and shirt outline). Subsequent runs recovered Lucia's face, cell walls/ceiling, bunk beds, other inmates, and the exterior watchtower. - **Remaining visual artifacts:** Noticeable stepped orange/brown color banding (posterization) on the cell back wall, shadowed character faces / bright overexposure (matching README RT lighting note), minor checkerboard artifacts on the lower window frame, and a floating head/hair piece near the upper-left bunk. ### Hardware & Environment - **GPU:** NVIDIA GeForce RTX 4070 SUPER (12282 MiB, Driver `616.64`) - **CPU:** AMD Ryzen 7 9800X3D (8C / 16T) - **RAM / Pagefile:** 32 GB (`32908660 KB`), `C:\pagefile.sys` `17408 MB` allocated (peak `4784 MB`) - **OS:** Windows 11 Pro (`10.0.22631`, Build `22631`) - **Commit:** `90b529f` ### Build, Tests & Census - `cargo build --release -p victory`: succeeded in `24.61s` - `cargo test --workspace`: `210 passed; 0 failed; 2 ignored` (+ `xtask`: `4 passed; 0 failed`) - `victory.exe census <GAME_DIR>`: `995` total imports (`130` HLE, `791` host, `74` title DLLs, `0` missing) - **Launcher note:** Running `powershell -ExecutionPolicy Bypass -File scripts\play.ps1 -Game ...` on Windows PowerShell 5.1 failed to locate `\..\target\release\victory.exe` and exited `0` (matching PR #17 / #33 and #3); passing `-Exe ".\target\release\victory.exe"` explicitly worked. ### Accelerated Run Metrics (`VICTORY_D3D12_DRED=1`, `VICTORY_RELAY=2` (`exact=true`), `12:56:14Z–13:01:26Z`) - **Menu (8 x 5s summaries):** `24.8–30.5 fps` (`32.8–40.3 ms/frame`, `6–24 draws/frame`) - **In-world (46 x 5s summaries):** - Overall: min `0.4 fps`, **median `3.20 fps` (`314.2 ms/frame`)**, mean `2.60 fps` (`529.3 ms/frame`), **max `4.1 fps` (`243.0 ms/frame`)** - Warmed steady state (`13:00:41Z–13:01:22Z`): `2.5–3.7 fps` (`272.3–394.0 ms/frame`, `5685–6701 draws/frame`), screenshot at `4 fps, 269.1 ms/frame, 6634 draws/frame` - Tail summary (`13:01:26Z`): `45.8` relay flights landed in `10.0` landings (`237.3 ms`), `185.9 ms` waiting for card (`163.6 ms` on `128 lists in the air`), `368.1 MB/frame` CPU shadow-write checks (`341.1 MB` in >=1 MiB copies), card `~79%` busy - **No `crashes.log` / no device removal.** (Only a local low-disk warning on exit: `host pipeline library not serialised error=There is not enough space on the disk. (os error 112)` due to low free space on `C:`.) ### Notable Warnings, Refused Pipelines & Untranslatable Shaders - **Host view heap cap:** `WARN victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot error=Not enough memory resources are available to complete this operation. (0x8007000E) count=1245184` - **Host pipelines refused (`0x80070057` / `E_INVALIDARG`, 6 distinct):** - `compute 2da4beb386509b77` - `compute 369cbe906ea72764` - `compute 2cc4c197ee29e291` - `compute 02384a60fda6f2d0` - `compute 6b82bc7d22016cb5` - `mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35` - **Shaders that do not translate (9 distinct):** - `compute a929109552ce1e84`: `v_permlanex16_b32 is not supported` - `compute ceb5eb68cd99cb07`: `a descriptor's address or format read as data is not supported` - `compute f133e35efed2a48a`: `a lane mask exchanged where not every lane runs is not supported` - `compute 5dc3b25986622949`, `compute 6f225b641c5b0708`: `v_cvt_f32_f64 is not supported` - `pixel 7d0f14ce44746d7e`, `pixel 2fd01fca16993001`, `pixel 6b6db9f1a526daeb`: `a descriptor read only as data is not supported` - `pixel 38bf0814e721a1b3`: `the first half of an interpolation is not supported` ### Attachments - Screenshot 1: Cold run (missing face mesh, `2 fps, 440.2 ms/frame, 6743 draws/frame`) - Screenshot 2: Warm default run (face mesh & window fence recovered, `2 fps, 400.3 ms/frame, 5044 draws/frame`) - Screenshot 3: Accelerated run (`4 fps, 269.1 ms/frame, 6634 draws/frame`, cell inmates/exterior rendered, wall banding visible) - Sanitized runtime log (`ztrx_rtx4070super_sanitized.log`) *(Report metrics and log sanitization assisted by AI.)*
q780337185 commented 2026-11-25 14:11:05 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by q780337185 on 2026-11-25T13:25:01Z.


Fresh-Cache Cold-to-Warm Progression (D:\ztrx, VICTORY_RELAY=2, 13:16:23Z–13:21:30Z)

Running with a completely empty -Cache / -Data folder on D: eliminated the earlier os error 112 disk-space warning and clearly reproduced the pipeline-compilation drop behavior (#73):

  • Early in-world phase (first 5 world samples, 692–784 pipelines being made):
    • 0.4–0.5 fps (2123.7–2626.5 ms/frame, screenshot at 1 fps, 951.9 ms/frame, 8452 draws/frame)
    • 1,106–3,921 draws/frame dropped without a host pipeline -> Lucia's face/head mesh, cell walls, and ceiling vanished.
  • Same session ~3 minutes later (last 5 world samples, 0 being made):
    • 3.4–3.5 fps (284.2–297.4 ms/frame, peak 4.2 fps / 236.5 ms/frame, ~7000 draws/frame)
    • Drops fell to 318–328 draws/frame.
  • Exit (13:21:30Z): host pipeline library saved bytes=231425252 early=2280 made=2084 loaded=185 started_early=0 (clean exit, 0 os error 112, no crashes.log).
<!-- greyfinch-sync:Zettrox/ztrx:comment:7163745360 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/132#issuecomment-7163745360). Originally posted by [q780337185](https://github.com/q780337185) on 2026-11-25T13:25:01Z. --- ### Fresh-Cache Cold-to-Warm Progression (`D:\ztrx`, `VICTORY_RELAY=2`, `13:16:23Z–13:21:30Z`) Running with a completely empty `-Cache` / `-Data` folder on `D:` eliminated the earlier `os error 112` disk-space warning and clearly reproduced the pipeline-compilation drop behavior (`#73`): - **Early in-world phase (first 5 world samples, `692–784` pipelines `being made`):** - `0.4–0.5 fps` (`2123.7–2626.5 ms/frame`, screenshot at `1 fps, 951.9 ms/frame, 8452 draws/frame`) - `1,106–3,921` draws/frame `dropped without a host pipeline` -> Lucia's face/head mesh, cell walls, and ceiling vanished. - **Same session ~3 minutes later (last 5 world samples, `0` `being made`):** - `3.4–3.5 fps` (`284.2–297.4 ms/frame`, peak `4.2 fps` / `236.5 ms/frame`, `~7000 draws/frame`) - Drops fell to `318–328` draws/frame. - **Exit (`13:21:30Z`):** `host pipeline library saved bytes=231425252 early=2280 made=2084 loaded=185 started_early=0` (clean exit, `0` `os error 112`, no `crashes.log`).
xiaotu030202 commented 2026-11-25 14:11:05 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by xiaotu030202 on 2026-11-25T13:31:47Z.


Thanks for the detailed report — the per-shader hashes are what make it useful. I went through the two lists against the open PRs so nobody has to do it twice.

The nine untranslatable shaders

shader reason covered by
a929109552ce1e84 v_permlanex16_b32 is not supported #124 (open)
5dc3b25986622949, 6f225b641c5b0708 v_cvt_f32_f64 is not supported no open PR found — may be merged since 90b529f
f133e35efed2a48a a lane mask exchanged where not every lane runs no open PR found
2fd01fca16993001, 6b6db9f1a526daeb, 7d0f14ce44746d7e a descriptor read only as data #118 (open)
ceb5eb68cd99cb07 a descriptor's address or format read as data no open PR found — different code path from the three above
38bf0814e721a1b3 the first half of an interpolation is not supported #68 (open)

Two things worth separating that the log makes look like one:

a descriptor read only as data and a descriptor's address or format read as data come from different places. The first is a load refused outright (emit/lower.rs, return Err); the second is the constant OTHER in descriptor_data, raised when a dword the host has no value for is used. #118 only changes the first, so ceb5eb68cd99cb07 is a separate question — what the host should answer for a format dword — and is not fixed by it.

The six refused pipelines

All six are E_INVALIDARG from CreateComputePipelineState / the mesh path. On NVIDIA that is the wave-64 case: emit::set_host_max_wave(32) narrows what it can, and a program whose cross-lane code does not stay inside 32-lane halves is refused rather than translated wrong.

To see which six, and whether a change moves them, without starting the game:

$env:VICTORY_HOST_MAX_WAVE = "32"
$env:VICTORY_TRANSLATE_ONLY = "2da4beb386509b77,369cbe906ea72764,2cc4c197ee29e291,02384a60fda6f2d0,6b82bc7d22016cb5"
$env:VICTORY_WAVE_WHY = "1"
target\diag\victory.exe translate --pipelines --list --jobs 1 "<game folder>\shaders.rpf"

VICTORY_WAVE_WHY=1 prints why each program keeps 64 lanes (v_mbcnt, v_readlane, ds_bpermute, "mask as data"), which is the thing that would have to change for any of them to translate. #120 (mine, open) makes that switch exist under one name — it was read as both VICTORY_HOST_MAX_WAVE and VICTORY_HOST_WAVE in two places — and puts it in the README, which listed neither.

On the launcher exit code

-Exe working and the default failing while exiting 0 is #17's problem, and it is the one thing here I would call actively harmful: a launcher that cannot find the binary and reports success will make every future report look like a run that produced no output.

The view heap line

host view heap capped at 1000000; views past it read a null slot error=0x8007000E count=1245184

That is the deliberate clamp: count is what you asked for and PORTABLE_VIEWS is 1_000_000, the largest shader-visible view heap that works on resource-binding tiers 1 and 2. #50 and #20 both change how the null slot is reserved and how the shader cache is keyed by the cap, so that warning should get rarer or at least stop costing a shader rebuild — worth checking against whichever lands.

Not something I can test

I have no game files, so everything above is read from the source and from your hashes — I cannot run the census myself to confirm which of these move. If you run the translate --pipelines block on a branch with #118 and #124 applied, the refusal list either shortens or the remaining lines name the next thing.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7163908332 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/132#issuecomment-7163908332). Originally posted by [xiaotu030202](https://github.com/xiaotu030202) on 2026-11-25T13:31:47Z. --- Thanks for the detailed report — the per-shader hashes are what make it useful. I went through the two lists against the open PRs so nobody has to do it twice. ## The nine untranslatable shaders | shader | reason | covered by | |---|---|---| | `a929109552ce1e84` | `v_permlanex16_b32 is not supported` | **#124** (open) | | `5dc3b25986622949`, `6f225b641c5b0708` | `v_cvt_f32_f64 is not supported` | no open PR found — may be merged since `90b529f` | | `f133e35efed2a48a` | `a lane mask exchanged where not every lane runs` | no open PR found | | `2fd01fca16993001`, `6b6db9f1a526daeb`, `7d0f14ce44746d7e` | `a descriptor read only as data` | **#118** (open) | | `ceb5eb68cd99cb07` | `a descriptor's address or format read as data` | no open PR found — different code path from the three above | | `38bf0814e721a1b3` | `the first half of an interpolation is not supported` | **#68** (open) | Two things worth separating that the log makes look like one: **`a descriptor read only as data` and `a descriptor's address or format read as data` come from different places.** The first is a load refused outright (`emit/lower.rs`, `return Err`); the second is the constant `OTHER` in `descriptor_data`, raised when a dword the host has no value for is *used*. #118 only changes the first, so `ceb5eb68cd99cb07` is a separate question — what the host should answer for a format dword — and is not fixed by it. ## The six refused pipelines All six are `E_INVALIDARG` from `CreateComputePipelineState` / the mesh path. On NVIDIA that is the wave-64 case: `emit::set_host_max_wave(32)` narrows what it can, and a program whose cross-lane code does not stay inside 32-lane halves is refused rather than translated wrong. To see which six, and whether a change moves them, without starting the game: ```powershell $env:VICTORY_HOST_MAX_WAVE = "32" $env:VICTORY_TRANSLATE_ONLY = "2da4beb386509b77,369cbe906ea72764,2cc4c197ee29e291,02384a60fda6f2d0,6b82bc7d22016cb5" $env:VICTORY_WAVE_WHY = "1" target\diag\victory.exe translate --pipelines --list --jobs 1 "<game folder>\shaders.rpf" ``` `VICTORY_WAVE_WHY=1` prints why each program keeps 64 lanes (`v_mbcnt`, `v_readlane`, `ds_bpermute`, "mask as data"), which is the thing that would have to change for any of them to translate. **#120** (mine, open) makes that switch exist under one name — it was read as both `VICTORY_HOST_MAX_WAVE` and `VICTORY_HOST_WAVE` in two places — and puts it in the README, which listed neither. ## On the launcher exit code `-Exe` working and the default failing while exiting **0** is #17's problem, and it is the one thing here I would call actively harmful: a launcher that cannot find the binary and reports success will make every future report look like a run that produced no output. ## The view heap line `host view heap capped at 1000000; views past it read a null slot error=0x8007000E count=1245184` That is the deliberate clamp: `count` is what you asked for and `PORTABLE_VIEWS` is `1_000_000`, the largest shader-visible view heap that works on resource-binding tiers 1 and 2. **#50** and **#20** both change how the null slot is reserved and how the shader cache is keyed by the cap, so that warning should get rarer or at least stop costing a shader rebuild — worth checking against whichever lands. ## Not something I can test I have no game files, so everything above is read from the source and from your hashes — I cannot run the census myself to confirm which of these move. If you run the `translate --pipelines` block on a branch with #118 and #124 applied, the refusal list either shortens or the remaining lines name the next thing.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Zettrox/ztrx#132
No description provided.