[GH #74] RTX 3070 (8 GB) / Ryzen 7 9850X3D / Windows 11: build, full 26,503-shader census, prologue into world at 2.4-2.8 fps, 11 refused programs #74

Open
opened 2026-11-25 09:08:55 +00:00 by huihuihuha · 0 comments
huihuihuha commented 2026-11-25 09:08:55 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by huihuihuha on 2026-11-25T08:24:45Z.


Data point from an unmodified retail Xbox Series package (title 7952987A, build 1.0.2.1). Second 8 GB report besides #38 (4060 Ti) and the 3050 in the README, so it is useful for the 8 GB-tier picture.

Machine

GPU NVIDIA GeForce RTX 3070, 8 GB, driver 32.0.16.2101
CPU Ryzen 7 9850X3D (8C/16T, AVX2)
RAM 15.2 GB physical, page file 25.7 GB (peak use 7.3 GB)
OS Windows 11, build 26300.9711

Build

cargo build --release -p victory at main, Rust 1.98.1 as pinned by rust-toolchain.toml. victory.exe = 7.30 MB. Note for the docs: vcvars64.bat alone did not put the Windows SDK on LIB, so the link failed with LNK1181 kernel32.lib; setting LIB/INCLUDE to the SDK 26100 um\x64 and ucrt\x64 folders by hand made it build cleanly (24.7 s incremental). Not a defect, just a build-from-a-clean-VS-box gotcha worth one line in the README.

Title checks

  • inspect: blake3 b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93, image base 0x140000000, size 0xb06d000, entry rva 0x56a1ec8, 2 TLS callbacks, 587 imports from 68 DLLs.
  • census: 995 imports total - 130 covered by the HLE, 791 passed through to the host, 74 supplied by the title's own DLLs, 0 missing (bink2scarlett, libhttpclient.gdk, xboxbvhbuilder, amd_fidelityfx_loader_xbox all map from the package).
  • run binds with imports bound ... missing=0, virtual drives G: (package) and T: (temp), storage 2048 MB.

Shader census over the whole package

victory.exe shader-info <shaders.rpf>: 26,503 containers in one file, all 26,503 with a DXIL section and native code - Ps 12,101 / Ms 9,282 / Cs 2,689 / Vs 2,236 / Gs 195 -> 26,698 programs, 44,386,798 instructions.

translate <shaders.rpf> --jobs 8 --validate with the SDK 26100 dxil.dll:

programs translated 26,084 of 26,084 (614 duplicate containers skipped) - 40,597,693 IR instructions
structured 26,084 / 26,084 (32.5M vector ops, 795,624 branches, 360,833 uniform)
DXIL emitted -> validated VS/PS 14,156 -> 14,045, CS 2,668 -> 2,668, MS 8,762 -> 8,657 (25,586 -> 25,370)

Refused containers by diagnostic: 195 resources: an address in an SGPR that is no root parameter (mostly GS_VoxelizeGeneric), 40 emit: a descriptor chosen by control flow, 40 descriptor read only as data, 10 hardware SGPR input, 8 first half of an interpolation, 5 v_cvt_f32_f64, 2 16-bit float wave sum, 1 each opaque lane mask, v_permlanex16_b32, descriptor address/format as data; plus a validator class "signature element ... interpolation mode differs from another element packed into the same row" (1-2 per stage).

Runtime on the 3070

First run, cold shader cache:

  • menu / low-draw screens: 30.0 fps, 88-90 draws/frame
  • prologue, in world: 2.4-2.8 fps, 362-408 ms/frame at 5,000-7,124 draws/frame, split roughly 90-120 ms preparing (copies 32-58 ms, 130-160 MB; textures 2-5 ms), 210-250 ms on the GPU, 46-69 ms copying back 56-78 MB
  • process: 5.0 GB working set, 21.8 GB private commit, no crashes.log, no error 1455 on a 15.2 GB machine - the README's "several GB of commit memory" requirement is comfortably met
  • shader cache after one session: 2,807 files, 495 MB

Visuals match the README's known list exactly: shadows fully black and the frame overall very dark (the prologue interior is almost invisible, subtitles render fine), bright areas blown out, blocky artifacts on distant geometry.

Programs refused at runtime (11 in this session, all distinct)

stage hash diagnostic tracked by
compute 5dc3b25986622949 v_cvt_f32_f64 @ 0x7e8 #38, #52, #54
compute 6f225b641c5b0708 v_cvt_f32_f64 @ 0x7f8 #38, #52, #54
compute 926c46bab3b86bd6 v_cvt_f32_f64 @ 0x4258 #38, #52, #54
compute a929109552ce1e84 v_permlanex16_b32 @ 0xd00 #38, #49
compute f133e35efed2a48a lane mask exchanged where not every lane runs @ 0x1eb4 #30, #34
compute ceb5eb68cd99cb07 descriptor address or format read as data @ 0x38 #69
pixel 2fd01fca16993001 a descriptor read only as data @ 0x51c4 #69
pixel 6b6db9f1a526daeb a descriptor read only as data @ 0x49dc #69
pixel 7d0f14ce44746d7e a descriptor read only as data @ 0x5204 #69
pixel 38bf0814e721a1b3 the first half of an interpolation @ 0x1464 #68
pixel 78f3f2fc53a69531 the first half of an interpolation @ 0x1464 #68

All of these already have an open issue or PR, which is the point of posting this: it turns several "synthetic shader reproduced it" claims into real-package instances. The three v_cvt_f32_f64 compute hashes are the ones named in #38, reproduced independently here, so #52 + #54 together are the ones to land first for this title.

What would help most

  1. Landing #52/#54 (f64) and #49 (v_permlanex16_b32) - they account for 4 of the 11 refused programs, all compute, in the water/volumetrics path.
  2. #68 for the two pixel programs; both fail at the same offset (0x1464), so one fix covers both.
  3. #69 for the four descriptor read only as data programs (three pixel, one compute).
  4. Nothing about 15 GB of RAM or 8 GB of VRAM is a blocker - no device removal, no out-of-memory error in 15 minutes of world time.

Logs (full --validate output and the run log) can be attached on request; keeping them out of the first post since they are large.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6600304139 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/74). Originally posted by [huihuihuha](https://github.com/huihuihuha) on 2026-11-25T08:24:45Z. --- Data point from an unmodified retail Xbox Series package (title `7952987A`, build 1.0.2.1). Second 8 GB report besides #38 (4060 Ti) and the 3050 in the README, so it is useful for the 8 GB-tier picture. ## Machine | | | |---|---| | GPU | NVIDIA GeForce RTX 3070, 8 GB, driver 32.0.16.2101 | | CPU | Ryzen 7 9850X3D (8C/16T, AVX2) | | RAM | 15.2 GB physical, page file 25.7 GB (peak use 7.3 GB) | | OS | Windows 11, build 26300.9711 | ## Build `cargo build --release -p victory` at `main`, Rust 1.98.1 as pinned by `rust-toolchain.toml`. `victory.exe` = 7.30 MB. Note for the docs: `vcvars64.bat` alone did not put the Windows SDK on `LIB`, so the link failed with `LNK1181 kernel32.lib`; setting `LIB`/`INCLUDE` to the SDK 26100 `um\x64` and `ucrt\x64` folders by hand made it build cleanly (24.7 s incremental). Not a defect, just a build-from-a-clean-VS-box gotcha worth one line in the README. ## Title checks - `inspect`: blake3 `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`, image base `0x140000000`, size `0xb06d000`, entry rva `0x56a1ec8`, 2 TLS callbacks, 587 imports from 68 DLLs. - `census`: 995 imports total - 130 covered by the HLE, 791 passed through to the host, 74 supplied by the title's own DLLs, **0 missing** (`bink2scarlett`, `libhttpclient.gdk`, `xboxbvhbuilder`, `amd_fidelityfx_loader_xbox` all map from the package). - `run` binds with `imports bound ... missing=0`, virtual drives `G:` (package) and `T:` (temp), storage 2048 MB. ## Shader census over the whole package `victory.exe shader-info <shaders.rpf>`: **26,503 containers in one file**, all 26,503 with a DXIL section and native code - Ps 12,101 / Ms 9,282 / Cs 2,689 / Vs 2,236 / Gs 195 -> 26,698 programs, 44,386,798 instructions. `translate <shaders.rpf> --jobs 8 --validate` with the SDK 26100 `dxil.dll`: | | | |---|---| | programs translated | 26,084 of 26,084 (614 duplicate containers skipped) - 40,597,693 IR instructions | | structured | 26,084 / 26,084 (32.5M vector ops, 795,624 branches, 360,833 uniform) | | DXIL emitted -> validated | VS/PS 14,156 -> 14,045, CS 2,668 -> 2,668, MS 8,762 -> 8,657 (25,586 -> 25,370) | Refused containers by diagnostic: 195 `resources: an address in an SGPR that is no root parameter` (mostly `GS_VoxelizeGeneric`), 40 `emit: a descriptor chosen by control flow`, 40 `descriptor read only as data`, 10 `hardware SGPR input`, 8 `first half of an interpolation`, 5 `v_cvt_f32_f64`, 2 16-bit float wave sum, 1 each `opaque lane mask`, `v_permlanex16_b32`, `descriptor address/format as data`; plus a validator class "signature element ... interpolation mode differs from another element packed into the same row" (1-2 per stage). ## Runtime on the 3070 First run, cold shader cache: - menu / low-draw screens: 30.0 fps, 88-90 draws/frame - prologue, in world: **2.4-2.8 fps**, 362-408 ms/frame at 5,000-7,124 draws/frame, split roughly 90-120 ms preparing (copies 32-58 ms, 130-160 MB; textures 2-5 ms), 210-250 ms on the GPU, 46-69 ms copying back 56-78 MB - process: 5.0 GB working set, 21.8 GB private commit, no `crashes.log`, no error 1455 on a 15.2 GB machine - the README's "several GB of commit memory" requirement is comfortably met - shader cache after one session: 2,807 files, 495 MB Visuals match the README's known list exactly: shadows fully black and the frame overall very dark (the prologue interior is almost invisible, subtitles render fine), bright areas blown out, blocky artifacts on distant geometry. ## Programs refused at runtime (11 in this session, all distinct) | stage | hash | diagnostic | tracked by | |---|---|---|---| | compute | `5dc3b25986622949` | `v_cvt_f32_f64` @ 0x7e8 | #38, #52, #54 | | compute | `6f225b641c5b0708` | `v_cvt_f32_f64` @ 0x7f8 | #38, #52, #54 | | compute | `926c46bab3b86bd6` | `v_cvt_f32_f64` @ 0x4258 | #38, #52, #54 | | compute | `a929109552ce1e84` | `v_permlanex16_b32` @ 0xd00 | #38, #49 | | compute | `f133e35efed2a48a` | lane mask exchanged where not every lane runs @ 0x1eb4 | #30, #34 | | compute | `ceb5eb68cd99cb07` | descriptor address or format read as data @ 0x38 | #69 | | pixel | `2fd01fca16993001` | `a descriptor read only as data` @ 0x51c4 | #69 | | pixel | `6b6db9f1a526daeb` | `a descriptor read only as data` @ 0x49dc | #69 | | pixel | `7d0f14ce44746d7e` | `a descriptor read only as data` @ 0x5204 | #69 | | pixel | `38bf0814e721a1b3` | `the first half of an interpolation` @ 0x1464 | #68 | | pixel | `78f3f2fc53a69531` | `the first half of an interpolation` @ 0x1464 | #68 | All of these already have an open issue or PR, which is the point of posting this: it turns several "synthetic shader reproduced it" claims into real-package instances. The three `v_cvt_f32_f64` compute hashes are the ones named in #38, reproduced independently here, so #52 + #54 together are the ones to land first for this title. ## What would help most 1. Landing #52/#54 (f64) and #49 (`v_permlanex16_b32`) - they account for 4 of the 11 refused programs, all compute, in the water/volumetrics path. 2. #68 for the two pixel programs; both fail at the same offset (0x1464), so one fix covers both. 3. #69 for the four `descriptor read only as data` programs (three pixel, one compute). 4. Nothing about 15 GB of RAM or 8 GB of VRAM is a blocker - no device removal, no out-of-memory error in 15 minutes of world time. Logs (full `--validate` output and the run log) can be attached on request; keeping them out of the first post since they are large.
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#74
No description provided.