[GH #37] Measured speed settings on an RTX 5070 Ti, a 1-minute check for refused pipelines, and upstream fixes to pull #37

Open
opened 2026-11-25 05:09:07 +00:00 by FrancescoGelosoEterea · 1 comment
FrancescoGelosoEterea commented 2026-11-25 05:09:07 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by FrancescoGelosoEterea on 2026-11-25T04:42:37Z.


Hi, here are some notes from testing on an RTX 5070 Ti (driver 621.24, Ryzen 7 9800X3D, Windows 11). They may help the README and NVIDIA users.

Speed settings (median fps in the prologue world, 7-minute runs)

Settings fps
none 2.9
VICTORY_RELAY=1 3.4
VICTORY_LATE_WAIT=1 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 4.1–4.2
the same, plus several open fork PRs on fxceless/victory-fork (relay stage 2 as default, fxceless/victory-fork#95 textures without waiting on remaps, fxceless/victory-fork#220, fxceless/victory-fork#158, fxceless/victory-fork#368 with VICTORY_SPLIT_LDS=1) 4.6
  • VICTORY_INPLACE=1 was slower for us.
  • VICTORY_INDIRECT_WINDOW=1 gave no gain and added artifacts.

Checking refused pipelines without starting the game

NVIDIA refuses WaveSize(64), so some compute pipelines are dropped. To see which ones, and whether a change fixes them, you don't need to run the game:

$env:VICTORY_HOST_MAX_WAVE = "32"   # translate as the 32-lane card does; without it every wave64 compute looks refused
$env:VICTORY_TRANSLATE_ONLY = "2cc4c197,02384a60,6b82bc7d"   # optional: only these hashes
$env:VICTORY_WAVE_WHY = "1"         # optional: why a program keeps 64 lanes
target\diag\victory.exe translate --pipelines --list --jobs 1 "<game folder>\shaders.rpf"

With a filter it takes about a minute, and it matches the in-game host pipeline refused lines exactly. Without the filter, adding --validate gives a whole-pack regression check, about 20 minutes here.

Upstream fixes not in ztrx yet

main here is fxceless/victory-fork at 2119b0e. Since then the fork has gained these commits, among others:

  • a803c87 re-checks textures picked by index after upload. It fixes the main character's black face and pale hair in about 3 launches out of 4.
  • 31714de adds AMD view-heap clamps and v_permlane16.
  • 3bff182 brings double-precision ops, eviction of idle textures under memory pressure, and a retried DirectStorage write.
  • c96b4f2 makes the depth bounds test work (fxceless/victory-fork#82), adds faster defaults, and keeps one host copy per placed texture.
  • 310c6eb keeps packed textures in the upload queue and refreshes a texture on the card when the card is full. With it, the first room is lit with its walls and the characters' textures. On my card it is the biggest visual step so far. It also adds bare_command_cost, a card test of what a small draw costs.

Two more things that may help

  • Two water volumetrics computes (5dc3b259…, 6f225b64…) are refused on NVIDIA. They run with the wave-wide form turned on for them alone: fxceless/victory-fork#695. I ran it for 7 minutes in game with no device loss.
  • On this card, the indirect argument clamp between its two waits costs about 4.2 µs a draw (bare_command_cost), against 0.47 µs without the waits. That is roughly 25 ms of GPU time a frame in the world. Details: fxceless/victory-fork#696.

I've also opened #36 here with two pipeline fixes for NVIDIA (integer render target blending, which fixes the missing walls, and LDS-flag regions).

🤖 Generated with Claude Code

<!-- greyfinch-sync:Zettrox/ztrx:issue:6597373800 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/37). Originally posted by [FrancescoGelosoEterea](https://github.com/FrancescoGelosoEterea) on 2026-11-25T04:42:37Z. --- Hi, here are some notes from testing on an RTX 5070 Ti (driver 621.24, Ryzen 7 9800X3D, Windows 11). They may help the README and NVIDIA users. ### Speed settings (median fps in the prologue world, 7-minute runs) | Settings | fps | |---|---:| | none | 2.9 | | `VICTORY_RELAY=1` | 3.4 | | `VICTORY_LATE_WAIT=1 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024` | 4.1–4.2 | | the same, plus several open fork PRs on fxceless/victory-fork (relay stage 2 as default, fxceless/victory-fork#95 textures without waiting on remaps, fxceless/victory-fork#220, fxceless/victory-fork#158, fxceless/victory-fork#368 with `VICTORY_SPLIT_LDS=1`) | 4.6 | - `VICTORY_INPLACE=1` was slower for us. - `VICTORY_INDIRECT_WINDOW=1` gave no gain and added artifacts. ### Checking refused pipelines without starting the game NVIDIA refuses `WaveSize(64)`, so some compute pipelines are dropped. To see which ones, and whether a change fixes them, you don't need to run the game: ```powershell $env:VICTORY_HOST_MAX_WAVE = "32" # translate as the 32-lane card does; without it every wave64 compute looks refused $env:VICTORY_TRANSLATE_ONLY = "2cc4c197,02384a60,6b82bc7d" # optional: only these hashes $env:VICTORY_WAVE_WHY = "1" # optional: why a program keeps 64 lanes target\diag\victory.exe translate --pipelines --list --jobs 1 "<game folder>\shaders.rpf" ``` With a filter it takes about a minute, and it matches the in-game `host pipeline refused` lines exactly. Without the filter, adding `--validate` gives a whole-pack regression check, about 20 minutes here. ### Upstream fixes not in ztrx yet `main` here is fxceless/victory-fork at `2119b0e`. Since then the fork has gained these commits, among others: - `a803c87` re-checks textures picked by index after upload. It fixes the main character's black face and pale hair in about 3 launches out of 4. - `31714de` adds AMD view-heap clamps and `v_permlane16`. - `3bff182` brings double-precision ops, eviction of idle textures under memory pressure, and a retried DirectStorage write. - `c96b4f2` makes the depth bounds test work (fxceless/victory-fork#82), adds faster defaults, and keeps one host copy per placed texture. - `310c6eb` keeps packed textures in the upload queue and refreshes a texture on the card when the card is full. With it, the first room is lit with its walls and the characters' textures. On my card it is the biggest visual step so far. It also adds `bare_command_cost`, a card test of what a small draw costs. ### Two more things that may help - Two water volumetrics computes (`5dc3b259…`, `6f225b64…`) are refused on NVIDIA. They run with the wave-wide form turned on for them alone: fxceless/victory-fork#695. I ran it for 7 minutes in game with no device loss. - On this card, the indirect argument clamp between its two waits costs about 4.2 µs a draw (`bare_command_cost`), against 0.47 µs without the waits. That is roughly 25 ms of GPU time a frame in the world. Details: fxceless/victory-fork#696. I've also opened #36 here with two pipeline fixes for NVIDIA (integer render target blending, which fixes the missing walls, and LDS-flag regions). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Altorru commented 2026-11-25 06:06:46 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by Altorru on 2026-11-25T05:59:39Z.


Thanks for the inventory. #48 ports a803c87 (textures picked by index looked at again after their upload) onto this tree, verbatim and audited line-for-line. #49 adds the shader half of 31714de (v_permlane16_b32 / v_permlanex16_b32) with a host test. The rest of the chain (3bff182, 31714de's view-heap/GPU half, c96b4f2, 310c6eb, 8dd30ab) is GPU/HLE-side and is not ported here.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7154335166 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/37#issuecomment-7154335166). Originally posted by [Altorru](https://github.com/Altorru) on 2026-11-25T05:59:39Z. --- Thanks for the inventory. #48 ports `a803c87` (textures picked by index looked at again after their upload) onto this tree, verbatim and audited line-for-line. #49 adds the shader half of `31714de` (`v_permlane16_b32` / `v_permlanex16_b32`) with a host test. The rest of the chain (`3bff182`, `31714de`'s view-heap/GPU half, `c96b4f2`, `310c6eb`, `8dd30ab`) is GPU/HLE-side and is not ported here.
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#37
No description provided.