testing on RX 9070 XT #743

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

@⁠schmiticle on GitHub · 2026-11-24 09:17 UTC · original

RX 9070 XT: main + 182 open PRs reaches story000, then GPU page faults 2–6 min in the world

Setup

  • GPU: AMD Radeon RX 9070 XT (RDNA4)
  • CPU: Ryzen 7 7800X3D, 32 GB · Windows [11]
  • Build: main d2a4bae + 182 open PRs (list attached, in merge order), diag profile with
    --features diagnostics
  • main alone on this machine: reaches the loading screens

Summary
With the 182 PRs, the title boots, shows the loading screens correctly, loads story000 and
runs in the world for 2–6 minutes at 1–2 fps (700–4,600 draws/frame, 130–2,000
dropped/frame
for untranslated shaders). Every run then ends in a host GPU page fault
at an address outside all title memory copies and heaps. The fault address and timing differ
between runs.

GPU failure (3 runs, VICTORY_D3D12_DRED=1)

Run In world before fault Notes
1 ~5.5 min fault right after first bind of compute e6a32775a6bb91c8 (its table: Uav s1+8: uav None, u6 heap index 64: null)
2 ~5.5 min, same moment VICTORY_SKIP_PIPELINES=e6a32775a6bb91c8: same fault point; the same 22 pipelines are first bound in the 20 s before it in runs 1 and 2
3 ~2 min skip e6a32775a6bb91c8,eeed82b877b44b5f: faults earlier

Each fault message reads "page fault at 0x…; the nearest title memory copy below it …;
view heap … past its end". The display driver resets each time.

With GPU-based validation (VICTORY_D3D12_DEBUG=1, VICTORY_D3D12_GBV=1)

  • No out-of-range descriptor reports and no GPU fault, so the faults probably come from
    raw address reads rather than heap indices.
  • 7× SRV resource dimensions differs: shader expects TEXTURE2D, descriptor is
    TEXTURE1D, pipelines [mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10] and
    [vertex 089d6271be6650ef, pixel fa455c8a3c32577b].
  • About 50 s into the world, the title crashed instead: 0xc0000005 write to 0x0 at
    image +0x23cf683 (stack +0x2215c35, +0x2215eca). Its crash reporter's upload to
    backtrace.io was blocked by the HLE net module, as intended.

Untranslated shaders in the world (one run, by reason)

Reason Shaders
a lane mask holding lanes elsewhere 94
malformed shader: root parameter … 35
a whole-wave section step … 30
a structured buffer of unknown stride 30
a lane-mask join of an untracked mask 26
an address not from a root parameter 18
a descriptor neither loaded nor built (mesh) 15
an address from a phi 8
a scalar memory read as data / a lane mask read as data 7 / 7
a packed input half no element holds 6
others (image_gather4_l, cube sample with texel coords/gradients, barycentrics, v_cvt_*) <6 each

Related, found while bisecting

  • #584 alone on main → black screen before the menu (comment on #584).
  • #174 breaks the diagnostics build (tick not in scope in frame.rs), comment on #174.
  • #565 / #570 / #571 and #576 / #579 each made the title stop earlier in my stack (not
    isolated yet).

Happy to run a branch or a set of variables on this machine. No title data attached, per
the asset policy.

**@⁠schmiticle** on GitHub · 2026-11-24 09:17 UTC · [original](https://github.com/Marvisak/VIctory/issues/743) ### RX 9070 XT: main + 182 open PRs reaches `story000`, then GPU page faults 2–6 min in the world **Setup** - GPU: AMD Radeon RX 9070 XT (RDNA4) - CPU: Ryzen 7 7800X3D, 32 GB · Windows [11] - Build: `main` `d2a4bae` + 182 open PRs (list attached, in merge order), `diag` profile with `--features diagnostics` - `main` alone on this machine: reaches the loading screens **Summary** With the 182 PRs, the title boots, shows the loading screens correctly, loads `story000` and runs in the world for 2–6 minutes at **1–2 fps** (700–4,600 draws/frame, **130–2,000 dropped/frame** for untranslated shaders). Every run then ends in a **host GPU page fault** at an address outside all title memory copies and heaps. The fault address and timing differ between runs. **GPU failure (3 runs, `VICTORY_D3D12_DRED=1`)** | Run | In world before fault | Notes | |---|---|---| | 1 | ~5.5 min | fault right after first bind of compute `e6a32775a6bb91c8` (its table: `Uav s1+8: uav None`, `u6 heap index 64: null`) | | 2 | ~5.5 min, same moment | `VICTORY_SKIP_PIPELINES=e6a32775a6bb91c8`: same fault point; the same 22 pipelines are first bound in the 20 s before it in runs 1 and 2 | | 3 | ~2 min | skip `e6a32775a6bb91c8,eeed82b877b44b5f`: faults earlier | Each fault message reads "page fault at 0x…; the nearest title memory copy below it …; view heap … past its end". The display driver resets each time. **With GPU-based validation (`VICTORY_D3D12_DEBUG=1`, `VICTORY_D3D12_GBV=1`)** - **No out-of-range descriptor reports and no GPU fault**, so the faults probably come from raw address reads rather than heap indices. - 7× `SRV resource dimensions differs`: shader expects `TEXTURE2D`, descriptor is `TEXTURE1D`, pipelines `[mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10]` and `[vertex 089d6271be6650ef, pixel fa455c8a3c32577b]`. - About 50 s into the world, the **title** crashed instead: `0xc0000005` write to `0x0` at image `+0x23cf683` (stack `+0x2215c35`, `+0x2215eca`). Its crash reporter's upload to backtrace.io was blocked by the HLE net module, as intended. **Untranslated shaders in the world (one run, by reason)** | Reason | Shaders | |---|---| | a lane mask holding lanes elsewhere | 94 | | malformed shader: root parameter … | 35 | | a whole-wave section step … | 30 | | a structured buffer of unknown stride | 30 | | a lane-mask join of an untracked mask | 26 | | an address not from a root parameter | 18 | | a descriptor neither loaded nor built (mesh) | 15 | | an address from a phi | 8 | | a scalar memory read as data / a lane mask read as data | 7 / 7 | | a packed input half no element holds | 6 | | others (`image_gather4_l`, cube sample with texel coords/gradients, barycentrics, `v_cvt_*`) | <6 each | **Related, found while bisecting** - #584 alone on `main` → black screen before the menu (comment on #584). - #174 breaks the `diagnostics` build (`tick` not in scope in `frame.rs`), comment on #174. - #565 / #570 / #571 and #576 / #579 each made the title stop earlier in my stack (not isolated yet). Happy to run a branch or a set of variables on this machine. No title data attached, per the asset policy.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:54 +00:00
Author
Owner

@⁠KricsDavid on GitHub · 2026-11-24 09:32 UTC · original

Same GPU (RX 9070 XT), same starting point — adding numbers from main alone

Different machine, same adapter: Windows 11 Pro 26300, Ryzen 7 5800X3D, 32 GB, RX 9070 XT
(driver 32.0.32029.2010). Build c7a5f49, release for playing and the same commit as a diag
build. Your "main alone reaches the loading screens" matches exactly: no world here either, menus
and loading fine, the world dark.

victory translate --pipelines on this dump (completed):

programs     26148 translated of 26148 (40647088 IR instructions)
DXIL         12236 emitted of 14013 vertex and pixel programs
             1440 emitted of 2581 compute programs
             8163 emitted of 8506 mesh programs
      653  emit: a 64-bit image atomic
      604  emit: a scalar memory read as data
      388  emit: a descriptor read only as data
      298  resources: a descriptor neither loaded nor built
      288  emit: a select on an untracked mask
      272  emit: a lane mask holding lanes elsewhere read as data
      248  emit: a lane mask read as data
      247  resources: an address in an SGPR that is no root parameter

A VICTORY_GPU_TIMING=1 diag run (world, no capture, debug log) reports the scene as dropped
rather than drawn:

WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute"     ×282
WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="mesh"        ×14
WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="vertex/pixel" ×17
INFO victory_gpu::host: dropped 64.0/frame without a host pipeline: indirect kind 0: prepare failed (compute false, mesh false)
INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: compute a197f50cd8481541
INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: compute c85822de2e41cfaa
INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: mesh adc5c689b0552cc2
WARN victory_gpu::host: slow host list ms=52 commands=0
DEBUG victory_gpu::texture: a sampled texture's memory is all zero (not streamed yet, or a failed BCPack read)

Two things that may be new relative to your table:

  1. indirect kind 0: prepare failed (compute false, mesh false) accounts for 64 dropped indirect
    draws every frame
    here, separate from the per-shader drops — worth knowing whether that is
    the same "no host pipeline" path or a different one.
  2. The all-zero sampled textures appear only in the first ~10 s of the world and stop after that;
    if your runs show them later, that would point at the BCPack read rather than streaming order.

Would you share the PR stack? You offered to run a branch; the inverse is just as useful:
your 182-PR list (or the branch tip you built) is the only thing that gets this adapter into the
world. With it I can reproduce your 2–6 min window and attach DRED runs from a second RDNA4 card,
which should make the page-fault address sets more useful.

AI use: written by an AI agent (DeepSeek Harness, deepseek-flash) from my run logs; the runs,
the hardware and the dump are mine. No title data attached.

**@⁠KricsDavid** on GitHub · 2026-11-24 09:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/743#issuecomment-7127546174) **Same GPU (RX 9070 XT), same starting point — adding numbers from `main` alone** Different machine, same adapter: Windows 11 Pro 26300, Ryzen 7 5800X3D, 32 GB, RX 9070 XT (driver 32.0.32029.2010). Build `c7a5f49`, release for playing and the same commit as a `diag` build. Your "main alone reaches the loading screens" matches exactly: no world here either, menus and loading fine, the world dark. **`victory translate --pipelines` on this dump (completed):** ``` programs 26148 translated of 26148 (40647088 IR instructions) DXIL 12236 emitted of 14013 vertex and pixel programs 1440 emitted of 2581 compute programs 8163 emitted of 8506 mesh programs 653 emit: a 64-bit image atomic 604 emit: a scalar memory read as data 388 emit: a descriptor read only as data 298 resources: a descriptor neither loaded nor built 288 emit: a select on an untracked mask 272 emit: a lane mask holding lanes elsewhere read as data 248 emit: a lane mask read as data 247 resources: an address in an SGPR that is no root parameter ``` **A `VICTORY_GPU_TIMING=1` diag run** (world, no capture, debug log) reports the scene as dropped rather than drawn: ``` WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" ×282 WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="mesh" ×14 WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="vertex/pixel" ×17 INFO victory_gpu::host: dropped 64.0/frame without a host pipeline: indirect kind 0: prepare failed (compute false, mesh false) INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: compute a197f50cd8481541 INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: compute c85822de2e41cfaa INFO victory_gpu::host: dropped 5.0/frame without a host pipeline: mesh adc5c689b0552cc2 WARN victory_gpu::host: slow host list ms=52 commands=0 DEBUG victory_gpu::texture: a sampled texture's memory is all zero (not streamed yet, or a failed BCPack read) ``` Two things that may be new relative to your table: 1. `indirect kind 0: prepare failed (compute false, mesh false)` accounts for **64 dropped indirect draws every frame** here, separate from the per-shader drops — worth knowing whether that is the same "no host pipeline" path or a different one. 2. The all-zero sampled textures appear only in the first ~10 s of the world and stop after that; if your runs show them later, that would point at the BCPack read rather than streaming order. **Would you share the PR stack?** You offered to run a branch; the inverse is just as useful: your 182-PR list (or the branch tip you built) is the only thing that gets this adapter into the world. With it I can reproduce your 2–6 min window and attach DRED runs from a second RDNA4 card, which should make the page-fault address sets more useful. **AI use:** written by an AI agent (DeepSeek Harness, `deepseek-flash`) from my run logs; the runs, the hardware and the dump are mine. No title data attached.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:49 UTC · original

Automated triage for the maintainers.

Run report: RX 9070 XT, Windows 11, d2a4bae plus 182 open PRs. It reaches the world and then ends in a host GPU page fault after 2-6 minutes. The AMD world page fault is tracked in #59, the oldest complete report of it. The freed-texture variant is in #557. Under GPU-based validation the title instead stopped at +0x23cf683 (write 0x0), which is discussed in #1118.

Since d2a4bae, commit d71c388 on main reads root views through bounded views of their host copy (State::root_view in crates/victory-gpu/src/draw.rs). It also retires host objects only after the lists that use them have run (crates/victory-gpu/src/host.rs). Testers in #59 found the same changes removed some of these faults. Could you rerun on current main (diag build, VICTORY_D3D12_DRED=1) and post:

  • the full host GPU device removed ... line, if it still happens;
  • the AMD driver version and Windows build.

With 182 PRs stacked it is hard to say which change matters. A run on main alone, or with only a few PRs, can be acted on. The world-dark result on main alone is covered in #748.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/743#issuecomment-7152279064) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T09:32:05Z at=2026-11-25T03:49:45Z --> Automated triage for the maintainers. Run report: RX 9070 XT, Windows 11, `d2a4bae` plus 182 open PRs. It reaches the world and then ends in a host GPU page fault after 2-6 minutes. The AMD world page fault is tracked in **#59**, the oldest complete report of it. The freed-texture variant is in #557. Under GPU-based validation the title instead stopped at `+0x23cf683` (write `0x0`), which is discussed in #1118. Since `d2a4bae`, commit `d71c388` on `main` reads root views through bounded views of their host copy (`State::root_view` in `crates/victory-gpu/src/draw.rs`). It also retires host objects only after the lists that use them have run (`crates/victory-gpu/src/host.rs`). Testers in #59 found the same changes removed some of these faults. Could you rerun on current `main` (diag build, `VICTORY_D3D12_DRED=1`) and post: - the full `host GPU device removed ...` line, if it still happens; - the AMD driver version and Windows build. With 182 PRs stacked it is hard to say which change matters. A run on `main` alone, or with only a few PRs, can be acted on. The world-dark result on `main` alone is covered in #748. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

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