[GH #81] AMD RX 9070 XT (RDNA4): world reached, page fault ~43 s in (indirect compute dispatch); no loop hang unlike upstream VIctory #81

Open
opened 2026-11-25 09:08:56 +00:00 by h0useadv · 1 comment
h0useadv commented 2026-11-25 09:08:56 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by h0useadv on 2026-11-25T09:08:09Z.


The first AMD report here, as far as I can see: an RDNA4 card on ztrx 90b529f, default settings.

Machine: Windows 11 Pro 26300, AMD Radeon RX 9070 XT 16 GB (driver 32.0.32029.2010, 64-lane waves available), Ryzen 7 7800X3D, 64 GB. Title 1.0.2.1, my own copy.
Build: cargo build --profile diag -p victory --features diagnostics of 90b529f. Fresh cache folder, VICTORY_D3D12_DRED=1, Windows' default 2 s GPU timeout, none of the faster or wave switches. Input was VICTORY_KEYS, Enter every 3 s from 45 s (the same path I used for all my VIctory runs, through the account and start screens into the prologue).

Result (one run):

boot, first-boot screens, menus fine
entered the world (first frame over 300 draws) +2 min 03 s
ended page fault, ~43 s later
GPU time per world frame mean 76 ms, max 114 ms (8 frame-rate lines)
shader does not translate during the run 2 (both a descriptor read only as data)
last captured frames a dim, almost uniform frame, no world picture yet
host GPU device removed after a submission of ...; page fault at 0x117a98000; no title memory copy below it;
the nearest above: 0xd5ed906c0+0x258 at host 0x2372d0000 (4741 copies in all)
a list stopped at command 275 of 351 (op 5)
command 275 (op 5): indirect kind 2 max 1 at 0x131eff20 [compute 0452fc2d2e2fc4c3]

Compared with upstream VIctory on this card (main ffe310e + #493 + #483 + the #293 shader stack): there, every run hits the TDR within 10 to 20 s of the world, at 0.6 to 1.4 s GPU per frame, always in mesh 4 [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97] (a pixel program whose loops run to LOOP_LIMIT; details on Marvisak/VIctory#71). ztrx doesn't have that problem on AMD: GPU per world frame is ~10× lower, and the run ends on something else, a page fault in an indirect compute dispatch (kind 2, compute 0452fc2d2e2fc4c3) at an address with no title copy below it.

I can rerun with other switches if that would help (e.g. VICTORY_WAVE_WIDE=1, since this card has 64-lane waves, or the faster settings from the README) and report back here.

AI-assisted (Claude Code); I ran everything on my machine. Logs are the runtime's own output, with no game data or captures.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6600990380 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/81). Originally posted by [h0useadv](https://github.com/h0useadv) on 2026-11-25T09:08:09Z. --- The first AMD report here, as far as I can see: an RDNA4 card on ztrx `90b529f`, default settings. **Machine:** Windows 11 Pro 26300, **AMD Radeon RX 9070 XT 16 GB** (driver 32.0.32029.2010, 64-lane waves available), Ryzen 7 7800X3D, 64 GB. Title 1.0.2.1, my own copy. **Build:** `cargo build --profile diag -p victory --features diagnostics` of `90b529f`. Fresh cache folder, `VICTORY_D3D12_DRED=1`, Windows' default 2 s GPU timeout, none of the faster or wave switches. Input was `VICTORY_KEYS`, Enter every 3 s from 45 s (the same path I used for all my VIctory runs, through the account and start screens into the prologue). **Result (one run):** | | | |---|---| | boot, first-boot screens, menus | fine | | entered the world (first frame over 300 draws) | +2 min 03 s | | ended | **page fault**, ~43 s later | | GPU time per world frame | **mean 76 ms, max 114 ms** (8 frame-rate lines) | | `shader does not translate` during the run | **2** (both `a descriptor read only as data`) | | last captured frames | a dim, almost uniform frame, no world picture yet | ``` host GPU device removed after a submission of ...; page fault at 0x117a98000; no title memory copy below it; the nearest above: 0xd5ed906c0+0x258 at host 0x2372d0000 (4741 copies in all) a list stopped at command 275 of 351 (op 5) command 275 (op 5): indirect kind 2 max 1 at 0x131eff20 [compute 0452fc2d2e2fc4c3] ``` **Compared with upstream VIctory on this card** (`main` `ffe310e` + #493 + #483 + the #293 shader stack): there, every run hits the TDR within 10 to 20 s of the world, at 0.6 to 1.4 s GPU per frame, always in `mesh 4 [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]` (a pixel program whose loops run to `LOOP_LIMIT`; details on Marvisak/VIctory#71). **ztrx doesn't have that problem on AMD**: GPU per world frame is ~10× lower, and the run ends on something else, a page fault in an indirect compute dispatch (`kind 2`, `compute 0452fc2d2e2fc4c3`) at an address with no title copy below it. I can rerun with other switches if that would help (e.g. `VICTORY_WAVE_WIDE=1`, since this card has 64-lane waves, or the faster settings from the README) and report back here. AI-assisted (Claude Code); I ran everything on my machine. Logs are the runtime's own output, with no game data or captures.
h0useadv commented 2026-11-25 10:11:22 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by h0useadv on 2026-11-25T09:18:26Z.


Follow-up: the same run with VICTORY_WAVE_WIDE=1 (same build 90b529f, card, cache folder and input; diag build).

It doesn't get to the world. About 33 s after start, in the menus at 30 fps, the process dies with an access violation inside AMD's shader compiler:

first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
  #0  amdxc64.dll+0x861b9f
  #1  amdxc64.dll+0x957eba
  #2  amdxc64.dll+0x959456
  #3  amdxc64.dll+0x957814
  #4  amdxc64.dll+0x864d5d

Every frame of the stack is in amdxc64.dll. The last lines logged before it are compute pipelines being created:

host pipeline shaders=[compute d6e3a104264dd4c6]
host pipeline shaders=[compute 0ab92d33b2800cac]
shader translated stage="compute" hash=970c4fbb3b017c0e user_data=3 samplers=0
host pipeline shaders=[compute 970c4fbb3b017c0e]

So on RDNA4 (driver 32.0.32029.2010), one of the wave-wide compute programs crashes the driver while it compiles it, most likely 970c4fbb3b017c0e, the last one created. That's a driver bug rather than ours, but the practical upshot for AMD users is that VICTORY_WAVE_WIDE=1 currently crashes in the menus. Without the switch (above), the run reaches the world and ends later on the indirect-dispatch page fault.

AI-assisted (Claude Code). Hashes and the runtime's own log text only; no game data.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7158153423 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/81#issuecomment-7158153423). Originally posted by [h0useadv](https://github.com/h0useadv) on 2026-11-25T09:18:26Z. --- Follow-up: the same run with **`VICTORY_WAVE_WIDE=1`** (same build `90b529f`, card, cache folder and input; diag build). It doesn't get to the world. About 33 s after start, **in the menus at 30 fps**, the process dies with an access violation **inside AMD's shader compiler**: ``` first-chance exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there) #0 amdxc64.dll+0x861b9f #1 amdxc64.dll+0x957eba #2 amdxc64.dll+0x959456 #3 amdxc64.dll+0x957814 #4 amdxc64.dll+0x864d5d ``` Every frame of the stack is in `amdxc64.dll`. The last lines logged before it are compute pipelines being created: ``` host pipeline shaders=[compute d6e3a104264dd4c6] host pipeline shaders=[compute 0ab92d33b2800cac] shader translated stage="compute" hash=970c4fbb3b017c0e user_data=3 samplers=0 host pipeline shaders=[compute 970c4fbb3b017c0e] ``` So on RDNA4 (driver 32.0.32029.2010), one of the wave-wide compute programs crashes the driver while it compiles it, most likely `970c4fbb3b017c0e`, the last one created. That's a driver bug rather than ours, but the practical upshot for AMD users is that `VICTORY_WAVE_WIDE=1` currently crashes in the menus. Without the switch (above), the run reaches the world and ends later on the indirect-dispatch page fault. AI-assisted (Claude Code). Hashes and the runtime's own log text only; no game data.
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#81
No description provided.