World load: title self-kill (0x80000003) at +0x1330a44 - streaming decompressor refuses a 64 KiB decode into a 46,586-byte destination (GTX 1660 SUPER, 6 GB) #1063

Open
opened 2026-11-26 04:18:42 +00:00 by github-bot · 16 comments
Owner

@⁠roon9e on GitHub · 2026-11-24 15:25 UTC · original

No game data here. Offsets, counts, register values and our own analysis only — no decompiled listing, no game bytes.

Setup

  • Windows 11, NVIDIA GTX 1660 SUPER (6 GB, Turing), driver current, Ryzen 5 5600, 32 GB RAM
  • VIctory ffe310eb (main), cargo build --release -p victory
  • victory run <exe> --execute, own 1.0.2.1 package; exe SHA-256 e95020b2… (the one in #630)
  • No diagnostics variables except VICTORY_D3D12_DRED=1 for one run

What happens

  1. Boots; first-boot screens and menus run at a stable 30 fps.
  2. Loads the world — ttdb data and core_* archives open, ~150–288 frames presented, the title reports Game State: Game Running.
  3. About 12 s into Game Running (frame 106) the title kills itself: 0x80000003 at the title image +0x1330a44 (fault on several threads).

Not memory, not pools, not BCPack

  • DRED enabled: no E_OUTOFMEMORY/0x8007000E, no device-removed report, and GetResourceAllocationInfo sizes are small (the title never allocates more than a couple of MB per texture here).
  • The title's own crash report (temp\*.crash.log) shows every pool 0/0 (INSTANCE_LIST 0/0) and TileHeap: used 271 / total 6236 MB — so this is not #698's pool overflow.
  • bcpack_mb=0: BCPack never ran in this run.
  • No runtime API area not implemented (the runtime areas the title queried are all implemented).

Where it stops (measured)

+0x13308e0 is a streaming range-decompress: it decodes a stream in chunks and calls the dispatcher +0x1330a50; when the dispatcher returns 0, the caller executes int3. The dispatcher returns 0 in exactly three cases:

  1. no codec provider — [inst+0x50] == 0;
  2. bad codec id — [inst+0x58] == -1;
  3. the chunk guard fails.

A live read at the fault (best-effort VirtualQuery-guarded deref of the registers in our crash handler) shows:

field value
stream instance [param_2+0x10020] 0xd153c0e00
provider [inst+0x50] 0xd1596b80 (present)
codec id [inst+0x58] 0x70817 (not -1)

so it is case 3. The guard compares the bytes to produce against the destination descriptor param_1[8] = [inst+0x40]:

  • bytes to produce param_1[1] = 0x10000 (65536)
  • destination descriptor [inst+0x40] + 8 = 46586, + 0x20 = 4096

46586 < 65536 → the guard refuses, the fallback handler ([handler+0x30]) also returns no, +0x1330a50 returns 0, and the title asserts. In short: the title asked for a 64 KiB decode into a destination buffer with 46,586 bytes left.

For reference, +0x1330ad0 (same provider object) queries codec ids 0xba180afb232d1b4b, 0x33f70dfaf2c50989, 0x4eaa16dd829995bc, and the dispatcher's main path uses 0xe0c12d7a5d4884c5. If those ids are yours, naming them may name the stream (world streaming vs. something else).

Two host textures are refused just before, both 0x80070057:

  • a 2560×1440 BC7 (format 86) with ALLOW_RENDER_TARGET|ALLOW_UNORDERED_ACCESS, mips 1;
  • a format 115 texture with ALLOW_RENDER_TARGET.

D3D12 rejects a UAV on a BC format, so the first is expected to fail — flagging it in case the title relies on that resource later.

Ask

Who owns the destination descriptor at [inst+0x40], and what sets the 65536-byte decode request? My read is that the two should agree and one of them is being computed from state we may be feeding wrong. Happy to run any instrumentation you want (I have a diagnostics build and a working crash-report walk).

AI-assisted; everything above was run on my machine.

**@⁠roon9e** on GitHub · 2026-11-24 15:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063) **No game data here.** Offsets, counts, register values and our own analysis only — no decompiled listing, no game bytes. ## Setup - Windows 11, **NVIDIA GTX 1660 SUPER (6 GB, Turing)**, driver current, Ryzen 5 5600, 32 GB RAM - VIctory `ffe310eb` (`main`), `cargo build --release -p victory` - `victory run <exe> --execute`, own 1.0.2.1 package; exe SHA-256 `e95020b2…` (the one in #630) - No diagnostics variables except `VICTORY_D3D12_DRED=1` for one run ## What happens 1. Boots; first-boot screens and menus run at a stable 30 fps. 2. Loads the world — `ttdb` data and `core_*` archives open, ~150–288 frames presented, the title reports `Game State: Game Running`. 3. About **12 s into Game Running (frame 106)** the title kills itself: `0x80000003` at the title image **`+0x1330a44`** (fault on several threads). ## Not memory, not pools, not BCPack - DRED enabled: no `E_OUTOFMEMORY`/`0x8007000E`, no device-removed report, and `GetResourceAllocationInfo` sizes are small (the title never allocates more than a couple of MB per texture here). - The title's own crash report (`temp\*.crash.log`) shows **every pool `0/0`** (INSTANCE_LIST 0/0) and `TileHeap: used 271 / total 6236 MB` — so this is not #698's pool overflow. - `bcpack_mb=0`: BCPack never ran in this run. - No `runtime API area not implemented` (the runtime areas the title queried are all implemented). ## Where it stops (measured) `+0x13308e0` is a streaming range-decompress: it decodes a stream in chunks and calls the dispatcher `+0x1330a50`; when the dispatcher returns 0, the caller executes `int3`. The dispatcher returns 0 in exactly three cases: 1. no codec provider — `[inst+0x50] == 0`; 2. bad codec id — `[inst+0x58] == -1`; 3. the chunk guard fails. A live read at the fault (best-effort `VirtualQuery`-guarded deref of the registers in our crash handler) shows: | field | value | |---|---| | stream instance `[param_2+0x10020]` | `0xd153c0e00` | | provider `[inst+0x50]` | `0xd1596b80` (**present**) | | codec id `[inst+0x58]` | `0x70817` (**not -1**) | so it is **case 3**. The guard compares the bytes to produce against the destination descriptor `param_1[8] = [inst+0x40]`: - **bytes to produce** `param_1[1] = 0x10000` (65536) - **destination descriptor** `[inst+0x40] + 8 = 46586`, `+ 0x20 = 4096` `46586 < 65536` → the guard refuses, the fallback handler (`[handler+0x30]`) also returns no, `+0x1330a50` returns 0, and the title asserts. In short: **the title asked for a 64 KiB decode into a destination buffer with 46,586 bytes left.** For reference, `+0x1330ad0` (same provider object) queries codec ids `0xba180afb232d1b4b`, `0x33f70dfaf2c50989`, `0x4eaa16dd829995bc`, and the dispatcher's main path uses `0xe0c12d7a5d4884c5`. If those ids are yours, naming them may name the stream (world streaming vs. something else). ## Secondary (may or may not be related) Two host textures are refused just before, both `0x80070057`: - a **2560×1440 BC7** (format 86) with `ALLOW_RENDER_TARGET|ALLOW_UNORDERED_ACCESS`, `mips 1`; - a **format 115** texture with `ALLOW_RENDER_TARGET`. D3D12 rejects a UAV on a BC format, so the first is expected to fail — flagging it in case the title relies on that resource later. ## Ask Who owns the destination descriptor at `[inst+0x40]`, and what sets the 65536-byte decode request? My read is that the two should agree and one of them is being computed from state we may be feeding wrong. Happy to run any instrumentation you want (I have a diagnostics build and a working crash-report walk). AI-assisted; everything above was run on my machine.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:42 +00:00
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 15:32 UTC · original

Verified in my copy of the hash-pinned image and registering it on the shared map (Marvisak/VIctory#630) as the sixth deliberate stop — plus the decode of what it actually asks:

  • The predicate is +0x1330a50, not your fault PC: it loads an interface from [obj+0x50], takes a u16 field at [obj+0x58] (sentinel 0xFFFF = pass without asking), then issues call [vtable+0x3f0] with a 128-bit key 0xe0c12d7a5d4884c5 as the query id — a capability question to another component, whose owner answers no → test al,al / je → int3. So the fix lives with whoever services slot 0x3f0 in your runtime: the honest answer for a 64 KiB decode buffer is what removes the stop.
  • The tail is the same report-then-dispatch pattern as the 2 MiB cap: three int3 variants (+0x1330a44, +0x1330a4a, filler) each paired with a jmp to a different return path (+0x13309e3 / +0x1330976 / back-edge), reporting via +0x4ec6670 / +0x4ec6720 — a different reporting routine from the 0x4e9b660 family, which says the title classifies decompressor pre-failures separately. Your patched-prefix knob (#917) makes the confirmation cheap: NOP the taken int3, see which jmp continuation the run survives.
  • Sibling cross-check, two-sided: (1) our runtime answers this scenario with an error, not a suicide — the DirectStorage request validator (dstorage.rs, E_DESTINATION_SIZE = 0x8924_000F) rejects undersized destinations (destination_size <= source_size etc.) and the title degrades instead of killing itself, which is evidence the slot-0x3f0 "no" is survivable in principle. (2) Heads-up from the same shader-corpus work: our instruction spec has zero coverage for v_mad_u32_u16, v_mad_i32_i16, v_lerp_u8 — the exact trio of your #1068 — so if the title contains them (check your corpus counts the way you did for the 16-bit compares), they land in our BC-refusal-class gap list and we want the synthetic vectors shared either way.
  • Cohort note for our threads' benefit: a 6 GB card running menus at 30 fps and reaching Game Running is the lowest-VRAM world-entry report yet — below our 8 GB wall's documented floor.
**@⁠pickles976** on GitHub · 2026-11-24 15:32 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7136194888) Verified in my copy of the hash-pinned image and registering it on the shared map (Marvisak/VIctory#630) as the **sixth deliberate stop** — plus the decode of what it actually asks: - **The predicate is `+0x1330a50`**, not your fault PC: it loads an interface from `[obj+0x50]`, takes a u16 field at `[obj+0x58]` (sentinel `0xFFFF` = pass without asking), then issues **`call [vtable+0x3f0]` with a 128-bit key `0xe0c12d7a5d4884c5` as the query id** — a *capability question to another component*, whose owner answers no → `test al,al / je → int3`. So the fix lives with whoever services slot `0x3f0` in your runtime: the honest answer for a 64 KiB decode buffer is what removes the stop. - The tail is the same **report-then-dispatch** pattern as the 2 MiB cap: three int3 variants (`+0x1330a44`, `+0x1330a4a`, filler) each paired with a `jmp` to a different return path (`+0x13309e3` / `+0x1330976` / back-edge), reporting via `+0x4ec6670` / `+0x4ec6720` — a **different reporting routine** from the `0x4e9b660` family, which says the title classifies decompressor pre-failures separately. Your patched-prefix knob (#917) makes the confirmation cheap: NOP the taken `int3`, see which `jmp` continuation the run survives. - **Sibling cross-check, two-sided:** (1) our runtime answers this scenario with an *error*, not a suicide — the DirectStorage request validator (`dstorage.rs`, `E_DESTINATION_SIZE = 0x8924_000F`) rejects undersized destinations (`destination_size <= source_size` etc.) and the title degrades instead of killing itself, which is evidence the slot-`0x3f0` "no" is survivable in principle. (2) Heads-up from the same shader-corpus work: our instruction spec has **zero coverage for `v_mad_u32_u16`, `v_mad_i32_i16`, `v_lerp_u8`** — the exact trio of your #1068 — so if the title contains them (check your corpus counts the way you did for the 16-bit compares), they land in our BC-refusal-class gap list and we want the synthetic vectors shared either way. - Cohort note for our threads' benefit: a **6 GB** card running menus at 30 fps and reaching `Game Running` is the lowest-VRAM world-entry report yet — below our 8 GB wall's documented floor.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 15:33 UTC · original

Correction to my last comment (the flag was checked against the wrong file, retracted): xcl does implement all three — v_lerp_u8 at emit.rs:3435 (per-byte lerp helper), v_mad_u32_u16/v_mad_i32_i16 at 3440–3441, both honoring opsel for the operand-half selects ((a >> 16·(opsel&1)) & 0xFFFF style). So #1068 is a lowering-correctness task on your side, not a gap on ours — which makes the vectors you plan to write directly useful as a cross-runtime differential: our semantics are src0/src1 half-selected by opsel bits 0/1 with vsrc2 full-width + acc, and (from your own #926 finding) remember RDNA2 ignores op_sel for compares only — the mad pair selects via VOP3P opsel on real hardware, so if your lowering hardcodes the low halves, the differential would catch it at opsel≠0 rows. Sorry for the noise; the trio is off your sister-project's gap list.

**@⁠pickles976** on GitHub · 2026-11-24 15:33 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7136234783) **Correction to my last comment** (the flag was checked against the wrong file, retracted): xcl *does* implement all three — `v_lerp_u8` at `emit.rs:3435` (per-byte lerp helper), `v_mad_u32_u16`/`v_mad_i32_i16` at 3440–3441, both **honoring `opsel` for the operand-half selects** (`(a >> 16·(opsel&1)) & 0xFFFF` style). So #1068 is a lowering-correctness task on your side, not a gap on ours — which makes the vectors you plan to write directly useful as a cross-runtime differential: our semantics are `src0/src1` half-selected by opsel bits 0/1 with `vsrc2` full-width + `acc`, and (from your own #926 finding) remember RDNA2 ignores `op_sel` for *compares* only — the mad pair selects via VOP3P opsel on real hardware, so if your lowering hardcodes the low halves, the differential would catch it at opsel≠0 rows. Sorry for the noise; the trio is off your sister-project's gap list.
Author
Owner

@⁠roon9e on GitHub · 2026-11-24 17:30 UTC · original

Runtime confirmation of the slot-0x3f0 predicate, from a run that reaches the stop in the title (own 1.0.2.1 copy, SHA-256 e95020b2…, Xbox Series build, VIctory main + PR #189, Windows 11, GTX 1660 SUPER 6 GB, 32-lane waves). No game data below — RVAs and our own object walk only.

The assert fires at title+0x1330a44. At that instant, walking from the faulting thread's registers (rsi is the stream instance; every read is VirtualQuery-guarded):

exception 0x80000003 at <title>+0x1330a44
  [walk rsi] reg=<stream> +0x10010=0 +0x10018=65536  inst=<heap>  prov=<heap>  cid=(unreadable that instant)
  [inst] +0x0=<stream> +0x8=0x10000 +0x10=0 +0x18=<heap> +0x20=0x1000 +0x28=0 +0x30=0
  [prov<rsi>] vtable=<title>+0x62fd480            ; the provider's vtable is the title's own .rdata
  [inst+0x40] -> +8=46586 +0x20=4096 ; [inst+8]=65536

So, as you decoded: inst = [stream+0x10020]; prov = [inst+0x50]; the query prov->vt[0x3f0](prov, key, codec_id) decides. The provider is a title object — its vtable is <title>+0x62fd480, all its methods are title code — so the "no" is title logic over title data, not a runtime object we can substitute.

Following that vtable site by site:

  • vt[0x3f0] = title+0x28ce0a0 → title+0x28ce1b0 (this = prov+0x28): it linear-searches a table of 0x18-byte entries ([this+0x20], count at [[this+8]+0x20]) for the 64-bit interface key you named, and on a hit calls
  • title+0x144db65b0(this, codec_id, index): reads a per-codec entry from a table at [this+0x28] or [this+0x38] (title+0x144db6600 does entry = table[(class_count)*index + slot], width from a size-class byte), and
  • an entry of 0xffff (u16 class) or 0xff (u8 class) makes 0x28ce1b0 return 0, i.e. unsupported → test al,al / je → int3 at 0x1330a44.

So the condition is: the interface key is found, but the codec id's entry in that table is the 0xffff/0xff "absent" marker. That is the "honest answer for a 64 KiB decode buffer" question.

Two things I can't resolve from the image alone, which is why I'm posting here:

  1. What populates [prov+0x28]'s tables. They are heap; the provider object is built at run time. Is that table the title's codec registry filled from the GPU/subsystem capabilities it probed earlier — i.e. does a codec go in only when some earlier capability answer was "yes"? If so, the real fix is upstream of this stop (whatever makes the title register — or not — the codec), and the int3 is just where it surfaces. A dump of prov+0x28..+0x60 before and after the subsystem-ready gate would say which.
  2. The codec id at [inst+0x58]. It was unreadable in the same instant (the object is being mutated by the decoding thread); a snapshot taken while the thread is suspended would pin it. Knowing the id would name which codec's entry is 0xffff.

For the sibling runtimes: this is a title-side capability table, so the equivalent of xcl's E_DESTINATION_SIZE degrade happens one level down from where I first filed it — the stop is "codec id not present in the provider's table", not "destination too small", even though the 64 KiB/46,586 mismatch ([inst+8]=0x10000 vs the destination's 46586) is real and visible in the same [inst].

Also worth carrying to the map (#630): VIctory main emits WaveSize(64) for lane-dependent compute, and this Turing host reports wave_lane_max=32, so those pipelines cannot be created at all; PR #189 (default <64-lane hosts to Emulate) fixes that class (it now logs wave64_mode=Emulate) — but it does not move this stop, which is why the provider table above is the next question.

AI-assisted; everything measured on my machine.

**@⁠roon9e** on GitHub · 2026-11-24 17:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7139305302) **Runtime confirmation of the slot-`0x3f0` predicate, from a run that reaches the stop in the title (own 1.0.2.1 copy, SHA-256 `e95020b2…`, Xbox Series build, VIctory main + PR #189, Windows 11, **GTX 1660 SUPER 6 GB, 32-lane waves**). No game data below — RVAs and our own object walk only.** The assert fires at `title+0x1330a44`. At that instant, walking from the faulting thread's registers (`rsi` is the stream instance; every read is `VirtualQuery`-guarded): ``` exception 0x80000003 at <title>+0x1330a44 [walk rsi] reg=<stream> +0x10010=0 +0x10018=65536 inst=<heap> prov=<heap> cid=(unreadable that instant) [inst] +0x0=<stream> +0x8=0x10000 +0x10=0 +0x18=<heap> +0x20=0x1000 +0x28=0 +0x30=0 [prov<rsi>] vtable=<title>+0x62fd480 ; the provider's vtable is the title's own .rdata [inst+0x40] -> +8=46586 +0x20=4096 ; [inst+8]=65536 ``` So, as you decoded: `inst = [stream+0x10020]`; `prov = [inst+0x50]`; the query `prov->vt[0x3f0](prov, key, codec_id)` decides. **The provider is a title object — its vtable is `<title>+0x62fd480`, all its methods are title code — so the "no" is title logic over title data**, not a runtime object we can substitute. Following that vtable site by site: - `vt[0x3f0] = title+0x28ce0a0` → `title+0x28ce1b0` *(`this = prov+0x28`)*: it linear-searches a table of `0x18`-byte entries (`[this+0x20]`, count at `[[this+8]+0x20]`) for the **64-bit interface key** you named, and on a hit calls - `title+0x144db65b0(this, codec_id, index)`: reads a **per-codec entry** from a table at `[this+0x28]` or `[this+0x38]` (`title+0x144db6600` does `entry = table[(class_count)*index + slot]`, width from a size-class byte), and - an entry of `0xffff` (`u16` class) or `0xff` (`u8` class) makes `0x28ce1b0` return **0**, i.e. unsupported → `test al,al / je → int3` at `0x1330a44`. So the condition is: **the interface key is found, but the codec id's entry in that table is the `0xffff`/`0xff` "absent" marker.** That is the "honest answer for a 64 KiB decode buffer" question. Two things I can't resolve from the image alone, which is why I'm posting here: 1. **What populates `[prov+0x28]`'s tables.** They are heap; the provider object is built at run time. Is that table the title's *codec registry* filled from the GPU/subsystem capabilities it probed earlier — i.e. does a codec go in only when some earlier capability answer was "yes"? If so, the real fix is upstream of this stop (whatever makes the title register — or not — the codec), and the `int3` is just where it surfaces. A `dump` of `prov+0x28..+0x60` before and after the subsystem-ready gate would say which. 2. **The codec id at `[inst+0x58]`.** It was unreadable in the same instant (the object is being mutated by the decoding thread); a snapshot taken while the thread is suspended would pin it. Knowing the id would name which codec's entry is `0xffff`. For the sibling runtimes: this is a *title-side* capability table, so the equivalent of xcl's `E_DESTINATION_SIZE` degrade happens one level down from where I first filed it — the stop is "codec id not present in the provider's table", not "destination too small", even though the 64 KiB/46,586 mismatch (`[inst+8]=0x10000` vs the destination's `46586`) is real and visible in the same `[inst]`. Also worth carrying to the map (#630): VIctory **main emits `WaveSize(64)`** for lane-dependent compute, and this Turing host reports `wave_lane_max=32`, so those pipelines cannot be created at all; **PR #189** (default `<64`-lane hosts to `Emulate`) fixes that class (it now logs `wave64_mode=Emulate`) — but it does **not** move this stop, which is why the provider table above is the next question. AI-assisted; everything measured on my machine.
Author
Owner

@⁠roon9e on GitHub · 2026-11-24 18:06 UTC · original

The full #1086 / try/wave64 configuration does not clear this stop on a 6 GB Turing card (GTX 1660 SUPER). Two things it needs, one open question.

Environment: Windows 11 26300, NVIDIA GTX 1660 SUPER (Turing, 32-lane waves), own 1.0.2.1 copy (e95020b2…), Xbox Series build. Built bittertea0323/VIctory try/wave64 @ 71180ff (the #189 + #940 + #729 + #737 stack) with --profile diag --features diagnostics.

1. The Agility SDK runtime is mandatory for this fork, and its absence kills the device outright. The fork's apps/victory exports D3D12SDKVersion/D3D12SDKPath (.\D3D12\). With no D3D12\D3D12Core.dll beside victory.exe, D3D12CreateDevice fails before anything renders:

WARN victory_gpu::host: no host D3D12 device; command lists will not run
  error=The D3D12 SDK version configuration of the host exe is invalid. (0x887E0003)

and the title dies with a C++ D3D12 XDXR Error on D3D12SerializeVersionedRootSignature (it never gets a device). Dropping the x64 D3D12Core.dll from Microsoft.Direct3D.D3D12 1.620.2 into D3D12\ fixes it — host D3D12 device ready, presenting at 3840×2160. Worth stating in the README: the win-x64 artifact is not runnable without that folder, and the error it produces (0x887E0003) looks like a root-signature bug but is a missing runtime.

2. The fork defaults to Wave32, not Emulate. host.rs logs wave64_mode=Wave32 wave64_effective=Wave32 wave64_source="auto"; only VICTORY_WAVE64_EMULATE=emulate gives wave64_effective=Emulate source="env" (the #1086 row-2 setting).

3. With fork + Agility SDK 1.620.2 + emulate, the title still stops at +0x1330a44. The provider registry at the stop is populated but does not carry our codec:

keytab (6): [4] key=0xe0c12d7a5d4884c5  present
codec id  = 0x70817 (low word 0x0817)   ->   entry 0xffff  (absent)

With the int3 made report-and-continue (NOP), title-main then parks in the decoder (+0x133097b, just past the stop) at 5 draws/frame, 30 fps, indefinitely — memory flat, DirectStorage idle. There are 0 shader translation failures and 0 pipeline refusals (does not translate 0, refused 0, only 29 shaders translated), so this is not a missing decoder pipeline on our side; the title simply asks its provider for codec 0x817 and the registry answers "absent".

Open question for anyone who has the world running: is codec 0x817 a codec every host is expected to register, or one gated on a GPU/driver capability? The #1086 author's Ada card did not hit this stop; a 32-lane Turing card does, with the whole stack present. If the registration is GPU-gated, no amount of the /wave64 stack will clear it on this card, and the honest answer for the 6 GB Turing cohort is "blocked at the codec registry", not "blocked by VRAM".

AI-assisted; measured on my machine, no game data quoted.

**@⁠roon9e** on GitHub · 2026-11-24 18:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7140162175) **The full `#1086` / `try/wave64` configuration does *not* clear this stop on a 6 GB Turing card (GTX 1660 SUPER). Two things it needs, one open question.** Environment: Windows 11 26300, **NVIDIA GTX 1660 SUPER (Turing, 32-lane waves)**, own 1.0.2.1 copy (`e95020b2…`), Xbox Series build. Built `bittertea0323/VIctory` `try/wave64` @ `71180ff` (the #189 + #940 + #729 + #737 stack) with `--profile diag --features diagnostics`. **1. The Agility SDK runtime is mandatory for this fork, and its absence kills the device outright.** The fork's `apps/victory` exports `D3D12SDKVersion`/`D3D12SDKPath` (`.\D3D12\`). With no `D3D12\D3D12Core.dll` beside `victory.exe`, `D3D12CreateDevice` fails before anything renders: ```text WARN victory_gpu::host: no host D3D12 device; command lists will not run error=The D3D12 SDK version configuration of the host exe is invalid. (0x887E0003) ``` and the title dies with a C++ `D3D12 XDXR Error` on `D3D12SerializeVersionedRootSignature` (it never gets a device). Dropping the x64 `D3D12Core.dll` from `Microsoft.Direct3D.D3D12` **1.620.2** into `D3D12\` fixes it — `host D3D12 device ready`, presenting at 3840×2160. Worth stating in the README: the win-x64 artifact is not runnable without that folder, and the error it produces (0x887E0003) looks like a root-signature bug but is a missing runtime. **2. The fork defaults to `Wave32`, not `Emulate`.** `host.rs` logs `wave64_mode=Wave32 wave64_effective=Wave32 wave64_source="auto"`; only `VICTORY_WAVE64_EMULATE=emulate` gives `wave64_effective=Emulate source="env"` (the #1086 row-2 setting). **3. With fork + Agility SDK 1.620.2 + `emulate`, the title still stops at `+0x1330a44`.** The provider registry at the stop is populated but does not carry our codec: ```text keytab (6): [4] key=0xe0c12d7a5d4884c5 present codec id = 0x70817 (low word 0x0817) -> entry 0xffff (absent) ``` With the `int3` made report-and-continue (NOP), `title-main` then parks in the decoder (`+0x133097b`, just past the stop) at **5 draws/frame, 30 fps, indefinitely** — memory flat, DirectStorage idle. There are **0 shader translation failures and 0 pipeline refusals** (`does not translate 0`, `refused 0`, only 29 shaders translated), so this is not a missing decoder pipeline on our side; the title simply asks its provider for codec `0x817` and the registry answers "absent". **Open question for anyone who has the world running:** is codec `0x817` a codec every host is expected to register, or one gated on a GPU/driver capability? The `#1086` author's Ada card did not hit this stop; a 32-lane Turing card does, with the whole stack present. If the registration is GPU-gated, no amount of the `/wave64` stack will clear it on this card, and the honest answer for the 6 GB Turing cohort is "blocked at the codec registry", not "blocked by VRAM". AI-assisted; measured on my machine, no game data quoted.
Author
Owner

@⁠Razdva122 on GitHub · 2026-11-25 06:47 UTC · original

The DirectStorage trace in #1178 can be used to compare the sizes submitted by the title with the bytes actually read and written. @⁠roon9e recorded 9,819 enqueues on a GTX 1660 SUPER. None had 46,586 as a size, and 5,651 completions wrote 65,536 bytes. This narrows the investigation for that run to the title-side handling described above. Trace results

To repeat the check with the updated PR, build its head on Windows and set $exe to your local title executable. Run in PowerShell:

cargo build --locked --profile diag -p victory --features diagnostics
$env:VICTORY_LOG = "info,victory_dstorage=trace"
.\target\diag\victory.exe run $exe --execute 2> "$env:TEMP\victory-streaming.log"

Around the stop, compare source_size, intermediate_size, destination_size and written as numeric fields. Matching digits in a file offset are unrelated. Follow a matching request_id from enqueue through the read and completion or failure. If reporting a different result, a few matching lines with local paths redacted are enough. The current PR keeps this request trace and has removed the size-specific stack filter.

AI-assisted with Codex.

**@⁠Razdva122** on GitHub · 2026-11-25 06:47 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7155166775) The DirectStorage trace in #1178 can be used to compare the sizes submitted by the title with the bytes actually read and written. @⁠roon9e recorded 9,819 enqueues on a GTX 1660 SUPER. None had 46,586 as a size, and 5,651 completions wrote 65,536 bytes. This narrows the investigation for that run to the title-side handling described above. [Trace results](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1178) To repeat the check with the updated PR, build its head on Windows and set `$exe` to your local title executable. Run in PowerShell: ```powershell cargo build --locked --profile diag -p victory --features diagnostics $env:VICTORY_LOG = "info,victory_dstorage=trace" .\target\diag\victory.exe run $exe --execute 2> "$env:TEMP\victory-streaming.log" ``` Around the stop, compare `source_size`, `intermediate_size`, `destination_size` and `written` as numeric fields. Matching digits in a file offset are unrelated. Follow a matching `request_id` from enqueue through the read and completion or failure. If reporting a different result, a few matching lines with local paths redacted are enough. The current PR keeps this request trace and has removed the size-specific stack filter. AI-assisted with Codex.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:00 UTC · original · edited 2026-11-26 06:44 UTC

Automated triage for the maintainers.

Run report: GTX 1660 SUPER (6 GB), Windows 11, ffe310e. The world loads, and about 12 s in the title stops itself with 0x80000003 at +0x1330a44. This is the oldest complete report of that stop, so its cause is discussed here. #2013 is a later report of the same address, and #1240 is a follow-up from the same machine. The thread's reading is that a title-side lookup answers "absent" for the requested codec. #2165 (open) would let a run continue past such asserts; that is a workaround, not a fix.

On the world-load device removal that hid this stop on 940d32f: that is the B5G5R5A1 typed unordered-access failure on NVIDIA from #1753. Its view side is fixed on main (63bcca4): fits in crates/victory-gpu/src/descriptor/host.rs refuses every typed unordered view in a format the host cannot store to (#1273, #2462). host_desc (crates/victory-gpu/src/resource.rs) still keeps the unordered-access flag on those textures. The reporter's PR #2459 (drop the flag when the host cannot make the format a UAV) is still open, as are #1832 and #2319.

DirectStorage and plain reads were measured healthy on this card; the stream buffer the stop waits on is never filled. New since the last triage: on the same build, with only the adapter switched to WARP (VICTORY_D3D12_WARP=1), the first-boot screen before the world loads fully and can be advanced, while on the GTX 1660's hardware path it stays incomplete; the world load after it then stays blank for about 10 minutes on WARP. So the difference follows the host adapter, not the file plumbing. As noted before, check_feature_support in crates/victory-gpu/src/device.rs answers fixed values, so the title's capability queries are the same on both adapters; the difference has to come from how our layer runs the work on each. That run also used local patches to the title's code, so it is not a plain-main result. A log from any run that passed +0x1330a44 on plain main (commit, GPU, driver, and the lines around world entry) is still what would settle whether this is card-specific.

The game's code, data and asset names must not be posted in this tracker. That includes the decompiled function names, call chains, patched instruction addresses, decoded strings and asset paths in the comments here, and offers to dump the title's assets or tables. This is flagged for the maintainer. Please keep to offsets of crashes, counts and our own logs.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7159088407) · edited 2026-11-26 06:44 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-26T05:51:03Z at=2026-11-26T07:00:00Z --> Automated triage for the maintainers. Run report: GTX 1660 SUPER (6 GB), Windows 11, `ffe310e`. The world loads, and about 12 s in the title stops itself with `0x80000003` at `+0x1330a44`. This is the oldest complete report of that stop, so its cause is discussed here. #2013 is a later report of the same address, and #1240 is a follow-up from the same machine. The thread's reading is that a title-side lookup answers "absent" for the requested codec. #2165 (open) would let a run continue past such asserts; that is a workaround, not a fix. On the world-load device removal that hid this stop on `940d32f`: that is the B5G5R5A1 typed unordered-access failure on NVIDIA from #1753. Its view side is fixed on `main` (`63bcca4`): `fits` in `crates/victory-gpu/src/descriptor/host.rs` refuses every typed unordered view in a format the host cannot store to (#1273, #2462). `host_desc` (`crates/victory-gpu/src/resource.rs`) still keeps the unordered-access flag on those textures. The reporter's PR #2459 (drop the flag when the host cannot make the format a UAV) is still open, as are #1832 and #2319. DirectStorage and plain reads were measured healthy on this card; the stream buffer the stop waits on is never filled. **New since the last triage:** on the same build, with only the adapter switched to WARP (`VICTORY_D3D12_WARP=1`), the first-boot screen before the world loads fully and can be advanced, while on the GTX 1660's hardware path it stays incomplete; the world load after it then stays blank for about 10 minutes on WARP. So the difference follows the host adapter, not the file plumbing. As noted before, `check_feature_support` in `crates/victory-gpu/src/device.rs` answers fixed values, so the title's capability queries are the same on both adapters; the difference has to come from how our layer runs the work on each. That run also used local patches to the title's code, so it is not a plain-`main` result. A log from any run that passed `+0x1330a44` on plain `main` (commit, GPU, driver, and the lines around world entry) is still what would settle whether this is card-specific. The game's code, data and asset names must not be posted in this tracker. That includes the decompiled function names, call chains, patched instruction addresses, decoded strings and asset paths in the comments here, and offers to dump the title's assets or tables. This is flagged for the maintainer. Please keep to offsets of crashes, counts and our own logs. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 10:20 UTC · original

Re-ran on current main (940d32f, built from source, release, Agility SDK 1.620.2 in D3D12\), GTX 1660 SUPER, own 1.0.2.1 copy, driver 610.88, Windows 11, no local patches.

The stop is no longer at the same address. The run creates the host device, presents the menus, then at the world-load screen (~3 draws/frame, about 28 s after the first presented frame) the host D3D12 device is removed instead of self-killing at +0x1330a44:

ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect. Enable the D3D debug layer in order to see details via debug messages. (0x887A0001)
VIctory: host GPU failure: host GPU device removed after a submission of 1 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The application made a call that is invalid. ... (0x887A0001)

crashes.log records the same host GPU failure line; there is no 0x80000003 at +0x1330a44 on this run.

So: on 940d32f the 0x80000003 stop at +0x1330a44 is not reached here — the title dies earlier with a host device removal (0x887A0004 reported, reason 0x887A0001) at the world load. That differs from ffe310e, where it self-kills at +0x1330a44. It may be a Turing regression on main (the referenced #928 "device-removed-reason" work is in this range), or a change I should account for on my side; I can re-run with VICTORY_D3D12_DRED=1 / a diag build to name the command if that helps.

(The first-boot screens still render at 30 fps; this is the same machine as #1240.)

**@⁠roon9e** on GitHub · 2026-11-25 10:20 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7159571035) Re-ran on current `main` (`940d32f`, built from source, release, Agility SDK 1.620.2 in `D3D12\`), GTX 1660 SUPER, own 1.0.2.1 copy, driver **610.88**, Windows 11, no local patches. **The stop is no longer at the same address.** The run creates the host device, presents the menus, then at the world-load screen (~**3 draws/frame**, about 28 s after the first presented frame) the **host D3D12 device is removed** instead of self-killing at `+0x1330a44`: ``` ERROR victory_gpu::host: host GPU device removed after a submission of 1 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect. Enable the D3D debug layer in order to see details via debug messages. (0x887A0001) VIctory: host GPU failure: host GPU device removed after a submission of 1 lists; no breadcrumbs (The specified device interface or feature level is not supported on this system. (0x887A0004)); device removed: The application made a call that is invalid. ... (0x887A0001) ``` `crashes.log` records the same `host GPU failure` line; there is no `0x80000003` at `+0x1330a44` on this run. So: on `940d32f` the `0x80000003` stop at `+0x1330a44` is **not reached** here — the title dies earlier with a host device removal (`0x887A0004` reported, reason `0x887A0001`) at the world load. That differs from `ffe310e`, where it self-kills at `+0x1330a44`. It may be a Turing regression on `main` (the referenced `#928` "device-removed-reason" work is in this range), or a change I should account for on my side; I can re-run with `VICTORY_D3D12_DRED=1` / a diag build to name the command if that helps. (The first-boot screens still render at 30 fps; this is the same machine as #1240.)
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 10:30 UTC · original

Follow-up after chasing this on the same machine (diag build of 940d32f, driver 610.88):

  • VICTORY_D3D12_DRED=1: the removal has no breadcrumbs and the reason is 0x887A0001 (invalid call), not a page fault — so DRED can't name it.
  • The debug layer won't load here: WARN victory_gpu::host: no D3D12 debug layer (D3D12GetDebugInterface fails). There is no system d3d12SDKLayers.dll and this build has no Agility SDK path export, and the box is not elevated, so I can't add the Graphics Tools component. So the failing command can't be named on this machine.
  • The fault lands at the world load, immediately after the depth-texture twins (UAV views made on their writable twins: twin: an unordered view of a depth texture, made on its writable twin) and a burst of large title-buffer host copies; two 2560×1440 format-115 textures were refused (0x80070057) just before.
  • No pipeline was dropped before it (dropped 0 without a host pipeline) and the log has no wave/lane refusal lines, so it isn't an obviously-refused pipeline.

So on 940d32f the +0x1330a44 stop is replaced by a host device removal at the world load on a 32-lane Turing card, consistent with the README's "a run can also end on a GPU fault".

If it helps, tell me and I'll either (a) get the D3D12 debug layer working (elevate + Graphics Tools) to name the command, or (b) run translate --cache --pipelines on this GPU first and re-run, in case on-the-fly pipeline creation during the load is what faults.

**@⁠roon9e** on GitHub · 2026-11-25 10:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7159780768) Follow-up after chasing this on the same machine (diag build of `940d32f`, driver **610.88**): - `VICTORY_D3D12_DRED=1`: the removal has **no breadcrumbs** and the reason is `0x887A0001` (**invalid call**), not a page fault — so DRED can't name it. - The debug layer won't load here: `WARN victory_gpu::host: no D3D12 debug layer` (`D3D12GetDebugInterface` fails). There is no system `d3d12SDKLayers.dll` and this build has no Agility SDK path export, and the box is not elevated, so I can't add the Graphics Tools component. So the failing command can't be named on this machine. - The fault lands at the world load, immediately after the depth-texture **twins** (UAV views made on their writable twins: `twin: an unordered view of a depth texture, made on its writable twin`) and a burst of large title-buffer host copies; two 2560×1440 **format-115** textures were refused (`0x80070057`) just before. - No pipeline was dropped before it (`dropped 0 without a host pipeline`) and the log has no wave/lane refusal lines, so it isn't an obviously-refused pipeline. So on `940d32f` the `+0x1330a44` stop is replaced by a host device removal at the world load on a 32-lane Turing card, consistent with the README's "a run can also end on a GPU fault". If it helps, tell me and I'll either (a) get the D3D12 debug layer working (elevate + Graphics Tools) to name the command, or (b) run `translate --cache --pipelines` on this GPU first and re-run, in case on-the-fly pipeline creation during the load is what faults.
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 13:30 UTC · original

Named and fixed the world-load device removal on 940d32f (GTX 1660 SUPER, driver 610.88), and what is left under it is this issue.

The debug layer (VICTORY_D3D12_DEBUG=1, after the Graphics Tools component is installed) named the invalid call:

ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in
D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as unordered access, or cast to a
format that could be used as unordered access. FeatureLevel is D3D_FEATURE_LEVEL_12_1. D3D12_RESOURCE_DESC::Format is
B5G5R5A1_UNORM.

So the layer creates a texture flagged for unordered access in a packed format PC D3D12 refuses (the console allows it) — the resource creation is invalid and the next submission device-removes. Fix (in crates/victory-gpu/src/resource.rs, host_desc): query the host device (D3D12_FEATURE_FORMAT_SUPPORT, UAV_TYPED_LOAD|UAV_TYPED_STORE) for the format and drop ALLOW_UNORDERED_ACCESS when it cannot be a UAV; its unordered views are then refused like any other use the host does not take.

With that:

  • the run no longer device-removes (it ran 25 min, crashes.log clean, instead of dying ~10 s in);
  • it reaches the account-picker/start screen at 30 fps, and after the PLAYER (A) press enters Game Running;
  • and it then stops here — the same 0x80000003 at <title>+0x1330a44, rbp=0x10000:
unhandled exception 0x80000003 at <title>+0x1330a44
  [title crash.log] Game Running Time: 0h:1m:6s, Frame: 390, Game State: Game Running, Streaming Requests: 0

So on this 32-lane Turing card the world's remaining blocker on 940d32f is the codec lookup in this issue, not the device removal. (Independent of pipelines: a pre-built translate --cache --pipelines library, Series S, and depth twins/large-buffer copies all still device-removed until this format guard; the guard is what clears it.)

I can open a PR with the host_desc change if that helps.

**@⁠roon9e** on GitHub · 2026-11-25 13:30 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7163879413) **Named and fixed the world-load device removal on `940d32f` (GTX 1660 SUPER, driver 610.88), and what is left under it is this issue.** The debug layer (`VICTORY_D3D12_DEBUG=1`, after the Graphics Tools component is installed) named the invalid call: ``` ID3D12Device::GetResourceAllocationInfo: A texture that has D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS set in D3D12_RESOURCE_DESC::Flags must be created with a format that either can be used as unordered access, or cast to a format that could be used as unordered access. FeatureLevel is D3D_FEATURE_LEVEL_12_1. D3D12_RESOURCE_DESC::Format is B5G5R5A1_UNORM. ``` So the layer creates a texture flagged for unordered access in a packed format PC D3D12 refuses (the console allows it) — the resource creation is invalid and the next submission device-removes. Fix (in `crates/victory-gpu/src/resource.rs`, `host_desc`): query the host device (`D3D12_FEATURE_FORMAT_SUPPORT`, `UAV_TYPED_LOAD|UAV_TYPED_STORE`) for the format and **drop `ALLOW_UNORDERED_ACCESS` when it cannot be a UAV**; its unordered views are then refused like any other use the host does not take. With that: - the run **no longer device-removes** (it ran 25 min, `crashes.log` clean, instead of dying ~10 s in); - it reaches the **account-picker/start screen** at 30 fps, and after the `PLAYER` (A) press enters `Game Running`; - and it then **stops here** — the same `0x80000003` at `<title>+0x1330a44`, `rbp=0x10000`: ``` unhandled exception 0x80000003 at <title>+0x1330a44 [title crash.log] Game Running Time: 0h:1m:6s, Frame: 390, Game State: Game Running, Streaming Requests: 0 ``` So on this 32-lane Turing card the world's remaining blocker on `940d32f` is the codec lookup in this issue, not the device removal. (Independent of pipelines: a pre-built `translate --cache --pipelines` library, Series S, and depth twins/large-buffer copies all still device-removed until this format guard; the guard is what clears it.) I can open a PR with the `host_desc` change if that helps.
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 13:57 UTC · original

Filed the device-removal fix as #2459 — GPU: drop ALLOW_UNORDERED_ACCESS when the format cannot be a UAV.

It clears the world-load device removal on a GTX 1660 SUPER (940d32f, driver 610.88): with it, a run is stable (25 min, crashes.log clean), reaches the account-picker screen at 30 fps and then Game Running, where it stops at the codec lookup above (0x80000003 at +0x1330a44, codec 0x817). So the device removal was a separate bug; the world on this card still waits on this issue.

**@⁠roon9e** on GitHub · 2026-11-25 13:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7164542192) Filed the device-removal fix as **#2459** — `GPU: drop ALLOW_UNORDERED_ACCESS when the format cannot be a UAV`. It clears the world-load device removal on a GTX 1660 SUPER (`940d32f`, driver 610.88): with it, a run is stable (25 min, `crashes.log` clean), reaches the account-picker screen at 30 fps and then `Game Running`, where it stops at the codec lookup above (`0x80000003` at `+0x1330a44`, codec `0x817`). So the device removal was a separate bug; the world on this card still waits on this issue.
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 18:07 UTC · original

Chased this a lot further on the GTX 1660 SUPER (Turing) and reached a firm conclusion. Summary of what codec 0x817 is and why the world does not load here.

The failing asset is a named .zmt resource. The loader (FUN_141621ae0) reads a RAGE header (RSC8/NISP) through decoding; its caller (FUN_145721f70) builds the name from a 41-byte XOR-obfuscated string (plain[i] = cipher[i] - 43 - i). The first one is platform:/levels/americas/map/powergrids.zmt (.zmt/imt/zldbmt/ildbmt are GTA VI resource extensions).

0x817 is genuinely absent from the title's data, not a host bug.

  • The provider's per-interface codec tables (prov+0x50/prov+0x60, 1024 16-bit slots each) contain no 817. Its size records exist under other keys (0xba18…/0x33f70dfa…/0x4eaa…), so the provider knows the codec — but its decode-interface (0xe0c1) membership is empty.
  • No dropped/does-not-translate pipelines; every shader translates.

Host-side shims cannot load it (all tried, all fail):

  • Skip/tolerate the missing codec (6 variants): every path cascades — the loader has no "resource absent" path and dereferences the null → trap/AV.
  • Retarget the decode-interface key 0xe0c1→0x33f70dfa: AV.
  • Alias 0x817→ a present codec (0x801/0x81e/0x81d/0x1c) via code-cave stubs at the membership/interface thunks: each passes the codec stop, then the same null-write (+0x2215c35) — i.e. no present decoder decodes 0x817's bytes.

Its payload is not a stock format. Captured the compressed buffer (7.84 bits/byte); zstd, lz4 (frame+block), brotli, zlib, raw/gzip deflate, lzma and bz2 all fail at every offset, and no magic matches. So 0x817 is a custom/console codec, not something the host can synthesize.

Bottom line: on this package (CYBERLEEK 1.0.2.1) + this card, the streamed world needs a decoder the title's data does not provide and that is not a standard algorithm. Host patching can't invent it. The realistic fixes are data-side — is 0x817 a known/console-specific codec, and is a codec pack expected? If the maintainers (or anyone with a working card) can name it, the decoder is implementable next.

Everything (asset name, name obfuscation, payload artifacts, every negative experiment with the exact patch) is written up in a local handoff. Happy to share the specifics.

AI-assisted; measured on the physical GTX 1660 SUPER (driver 610.88).

**@⁠roon9e** on GitHub · 2026-11-25 18:07 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7170465107) Chased this a lot further on the GTX 1660 SUPER (Turing) and reached a firm conclusion. Summary of what codec `0x817` is and why the world does not load here. **The failing asset is a named `.zmt` resource.** The loader (`FUN_141621ae0`) reads a RAGE header (`RSC8`/`NISP`) through decoding; its caller (`FUN_145721f70`) builds the name from a **41-byte XOR-obfuscated string** (`plain[i] = cipher[i] - 43 - i`). The first one is **`platform:/levels/americas/map/powergrids.zmt`** (`.zmt`/`imt`/`zldbmt`/`ildbmt` are GTA VI resource extensions). **`0x817` is genuinely absent from the title's data, not a host bug.** - The provider's per-interface codec tables (`prov+0x50`/`prov+0x60`, **1024 16-bit slots each**) contain no `817`. Its *size* records exist under other keys (`0xba18…`/`0x33f70dfa…`/`0x4eaa…`), so the provider knows the codec — but its **decode-interface (`0xe0c1`) membership** is empty. - No dropped/`does-not-translate` pipelines; every shader translates. **Host-side shims cannot load it (all tried, all fail):** - Skip/tolerate the missing codec (6 variants): every path cascades — the loader has no "resource absent" path and dereferences the null → trap/AV. - Retarget the decode-interface key `0xe0c1`→`0x33f70dfa`: AV. - **Alias `0x817`→ a present codec (`0x801`/`0x81e`/`0x81d`/`0x1c`) via code-cave stubs at the membership/interface thunks**: each passes the codec stop, then the **same null-write (`+0x2215c35`)** — i.e. *no* present decoder decodes `0x817`'s bytes. **Its payload is not a stock format.** Captured the compressed buffer (`7.84 bits/byte`); zstd, lz4 (frame+block), brotli, zlib, raw/gzip deflate, lzma and bz2 all fail at every offset, and no magic matches. So `0x817` is a **custom/console codec**, not something the host can synthesize. **Bottom line:** on this package (`CYBERLEEK` 1.0.2.1) + this card, the streamed world needs a decoder the title's data does not provide and that is not a standard algorithm. Host patching can't invent it. The realistic fixes are data-side — is `0x817` a known/console-specific codec, and is a codec pack expected? If the maintainers (or anyone with a working card) can name it, the decoder is implementable next. Everything (asset name, name obfuscation, payload artifacts, every negative experiment with the exact patch) is written up in a local handoff. Happy to share the specifics. AI-assisted; measured on the physical GTX 1660 SUPER (driver 610.88).
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 18:14 UTC · original

A precise question that would settle this.

We have the same title package/hash on a GTX 1660 SUPER (Turing, FL 12.1, driver 610.88) and we hit this +0x1330a44 codec stop on every build we tried: upstream main (+ our UAV guard), and the latest fxceless/victory-fork (8dd30ab) — which PortWatch lists as "Playable / in the world" on NVIDIA (self-reported).

But the D3D12 capability queries are synthesized by VIctory, not taken from the GPU — victory-gpu/src/device.rs:

  • CheckFeatureSupport(OPTIONS) returns a fixed RDNA2 console layout (OPTIONS: [u32; 16], wave/binding/etc.),
  • FORMAT_SUPPORT returns a fixed 0x7fff_ffff (every use of every format),
  • FEATURE_LEVELS returns 12.2, OPTIONS1 the console lane count, SHADER_MODEL 6.6, …

So with the same data the title should build the same codec set on every card, and the 0x817 stop should not be NVIDIA-vs-AMD-specific.

So: has anyone actually reached the world past +0x1330a44 on an NVIDIA card with this package? If yes, what differs (driver, card, a patch, a specific --console, a save/unlock)? If not, then "in the world" on NVIDIA may be ahead of / beyond what this stop allows, and the AMD builds are the only PortWatch-verified ones.

If you'd like, I can dump the exact codec tables and the failing asset (platform:/levels/americas/map/powergrids.zmt) — all written up and reproducible.

AI-assisted; measured on the physical GTX 1660 SUPER (driver 610.88).

**@⁠roon9e** on GitHub · 2026-11-25 18:14 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7170637857) A precise question that would settle this. We have the same title package/hash on a **GTX 1660 SUPER (Turing, FL 12.1, driver 610.88)** and we hit this `+0x1330a44` codec stop **on every build** we tried: upstream `main` (+ our UAV guard), and the latest `fxceless/victory-fork` (`8dd30ab`) — which PortWatch lists as "Playable / in the world" on NVIDIA (self-reported). But the D3D12 capability queries are **synthesized by VIctory, not taken from the GPU** — `victory-gpu/src/device.rs`: - `CheckFeatureSupport(OPTIONS)` returns a **fixed RDNA2 console layout** (`OPTIONS: [u32; 16]`, wave/binding/etc.), - `FORMAT_SUPPORT` returns a fixed `0x7fff_ffff` (every use of every format), - `FEATURE_LEVELS` returns 12.2, `OPTIONS1` the console lane count, `SHADER_MODEL` 6.6, … So with the same data the title should build the **same** codec set on every card, and the `0x817` stop should not be NVIDIA-vs-AMD-specific. So: **has anyone actually reached the world *past* `+0x1330a44` on an NVIDIA card with this package?** If yes, what differs (driver, card, a patch, a specific `--console`, a save/unlock)? If not, then "in the world" on NVIDIA may be ahead of / beyond what this stop allows, and the AMD builds are the only PortWatch-**verified** ones. If you'd like, I can dump the exact codec tables and the failing asset (`platform:/levels/americas/map/powergrids.zmt`) — all written up and reproducible. AI-assisted; measured on the physical GTX 1660 SUPER (driver 610.88).
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 18:59 UTC · original

Decisive negative on a GTX 1660 SUPER (Turing, 6 GB), with the reference runtime you build the AMD/5090 verified runs from.

I built and ran ZSayerHQ/victory-world-runtime (zslayer-pc-port-runtime, HEAD 0808b0c) directly on this machine, with input (--features diagnostics), on the same package:

  • it boots through to Game Running and hits the identical 0x80000003 at +0x1330a44 — the same codec stop.
  • Tried on drivers 610.88 and 621.40: identical.
  • VICTORY_WAVE_WIDE=last/masks: no change (=1 breaks rendering).
  • No translated shader/pipeline is refused on this card (no host-refused pipeline). The only drops are the 29 pipelines from the two unimplemented device methods (slot 0x1c8 ×16, 0x218 ×13) — and those are dropped by every build, including the world-reaching ones.
  • The provider's codec tables (1024 slots) and its RPF entry contain 0x81e but not 0x817, and the failing asset is platform:/levels/americas/map/powergrids.zmt.

So the runtime that reaches the world on RDNA3 / RTX 30xx+ / 5090 does not on this card, with no refused pipeline to blame. That points at the GPU/adapter (generation/feature) rather than the runtime or driver — but I can't test another GPU here.

Question for the maintainers/testers: on which exact GPU + driver did a run pass +0x1330a44? If a Turing card (RTX 20xx) passed it, then something else differs on the 1660 SUPER (TU116) and I'll chase that; if every passing run is Ada/Blackwell/RDNA, then it's a hardware floor. A single passing latest.txt log from any NVIDIA card would let me diff it in minutes.

AI-assisted; measured on the physical GTX 1660 SUPER.

**@⁠roon9e** on GitHub · 2026-11-25 18:59 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7171675941) Decisive negative on a **GTX 1660 SUPER (Turing, 6 GB)**, with the reference runtime you build the AMD/5090 verified runs from. I built and ran **`ZSayerHQ/victory-world-runtime`** (`zslayer-pc-port-runtime`, HEAD `0808b0c`) directly on this machine, with input (`--features diagnostics`), on the same package: - it boots through to `Game Running` and hits the **identical `0x80000003` at `+0x1330a44`** — the same codec stop. - Tried on **drivers 610.88 and 621.40**: identical. - `VICTORY_WAVE_WIDE=last`/`masks`: no change (`=1` breaks rendering). - **No translated shader/pipeline is refused** on this card (no host-refused pipeline). The only drops are the 29 pipelines from the two unimplemented device methods (`slot 0x1c8` ×16, `0x218` ×13) — and those are dropped by every build, including the world-reaching ones. - The provider's codec tables (1024 slots) and its RPF entry contain `0x81e` but **not `0x817`**, and the failing asset is `platform:/levels/americas/map/powergrids.zmt`. So the runtime that reaches the world on RDNA3 / RTX 30xx+ / 5090 does **not** on this card, with no refused pipeline to blame. That points at the GPU/adapter (generation/feature) rather than the runtime or driver — but I can't test another GPU here. **Question for the maintainers/testers:** on which exact GPU + driver did a run pass `+0x1330a44`? If a Turing card (RTX 20xx) passed it, then something else differs on the 1660 SUPER (TU116) and I'll chase that; if every passing run is Ada/Blackwell/RDNA, then it's a hardware floor. A single passing `latest.txt` log from any NVIDIA card would let me diff it in minutes. AI-assisted; measured on the physical GTX 1660 SUPER.
Author
Owner

@⁠roon9e on GitHub · 2026-11-25 22:21 UTC · original

More measurements on the GTX 1660 SUPER (Turing, 6 GB), same package/hash. Still blocked, with one useful negative and one question.

What is ruled out: the world streaming itself is fine.

  • dstorage with options=0x1 (ZLIB): 6,532 requests, all size=65536, source_size ~17-23 KB, all request done, 0 failures. Instrumenting the fill shows the decoded bytes are valid (e.g. dst=0xd049f3590 src_size=17812 wrote=65536 head=[c3,e5,e7,c4,...]). So the runtime's zlib path delivers world data into title memory.
  • ReadFile: 24,278 calls (mostly len=4096, then 8k/12k/64k/...), all returning real data; exactly one got=0 and one short read. So block reads work too.

The failing .zmt (codec 0x817) is not one of those requests. Its source is 46,586 bytes; no zlib request has that source_size, and no ReadFile targets the stream buffer. The stream buffer ([inst+0x0], a title object) is 128 zero bytes at 30/45/60 s, and its +0x10018 shows the producer already claimed 0x10000 produced.

The producer chain (all title code). walk_stream shows provider=0xd01596b80, storage=[provider+8]=0xd01578360, reader=[storage+0x10]=0x7ffe06cc5e80, reader vtable = title+0x62fc550; reader+0x60 = FUN_140cdd930 -> FUN_140313fc0 -> either FUN_1401941b0 (device 0x228/0x238) or a global block reader DAT_1478f5eb0+0x60. At the spin that global reads 0, and neither device 0x228 nor 0x238 is called (the 1,476 object::ignore hits I first saw were the command-list slot 0x48, not the device - corrected). So the live producer branch is still unidentified.

The stop is the guard, and no title-only patch survives it. FUN_141330cd0 checks [inst+0x40]+8 (46586) < [inst+8] (65536) and [inst+0x40]+0x20 (4096) < R12, then tries a fallback; when both fail it returns 0 and FUN_1413308e0 loops forever ([inst+0x20] is only decremented on success). Relaxing the guard (NOP the two JC at +0x1330e1e/+0x1330e24) or redirecting the fallback-fail to "succeed" crashes (+0x2215c35 write 0x0, +0x581528d), so the missing .zmt bytes are genuinely consumed downstream.

Question. Which runtime call is supposed to fill [inst+0x0] for a 0x817 block here, and is the streamer's block copy expected to go through device slot 0x228/0x238? On what exact GPU + driver did a run pass +0x1330a44? A single passing latest.txt would let me diff this in minutes: the reference runtime (ZSayerHQ/victory-world-runtime, HEAD 0808b0c) and fxceless/victory-fork (8dd30ab) both hit the identical stop on this card, with no refused pipeline.

AI-assisted; measured on the physical GTX 1660 SUPER.

**@⁠roon9e** on GitHub · 2026-11-25 22:21 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7176255458) More measurements on the GTX 1660 SUPER (Turing, 6 GB), same package/hash. Still blocked, with one useful negative and one question. **What is ruled out:** the world streaming itself is fine. - `dstorage` with `options=0x1` (ZLIB): **6,532** requests, all `size=65536`, `source_size` ~17-23 KB, all `request done`, **0 failures**. Instrumenting the fill shows the decoded bytes are valid (e.g. `dst=0xd049f3590 src_size=17812 wrote=65536 head=[c3,e5,e7,c4,...]`). So the runtime's zlib path delivers world data into title memory. - `ReadFile`: **24,278** calls (mostly `len=4096`, then 8k/12k/64k/...), all returning real data; exactly one `got=0` and one short read. So block reads work too. **The failing `.zmt` (codec `0x817`) is not one of those requests.** Its source is `46,586` bytes; no zlib request has that `source_size`, and no `ReadFile` targets the stream buffer. The stream buffer (`[inst+0x0]`, a title object) is **128 zero bytes** at 30/45/60 s, and its `+0x10018` shows the producer already claimed `0x10000` produced. **The producer chain (all title code).** `walk_stream` shows `provider=0xd01596b80`, `storage=[provider+8]=0xd01578360`, `reader=[storage+0x10]=0x7ffe06cc5e80`, `reader vtable = title+0x62fc550`; `reader+0x60 = FUN_140cdd930` -> `FUN_140313fc0` -> either `FUN_1401941b0` (device `0x228`/`0x238`) or a global block reader `DAT_1478f5eb0+0x60`. At the spin that global reads **0**, and neither device `0x228` nor `0x238` is called (the 1,476 `object::ignore` hits I first saw were the **command-list slot `0x48`**, not the device - corrected). So the live producer branch is still unidentified. **The stop is the guard, and no title-only patch survives it.** `FUN_141330cd0` checks `[inst+0x40]+8 (46586) < [inst+8] (65536)` and `[inst+0x40]+0x20 (4096) < R12`, then tries a fallback; when both fail it returns 0 and `FUN_1413308e0` loops forever (`[inst+0x20]` is only decremented on success). Relaxing the guard (`NOP` the two `JC` at `+0x1330e1e/+0x1330e24`) or redirecting the fallback-fail to "succeed" **crashes** (`+0x2215c35 write 0x0`, `+0x581528d`), so the missing `.zmt` bytes are genuinely consumed downstream. **Question.** Which runtime call is supposed to fill `[inst+0x0]` for a `0x817` block here, and is the streamer's block copy expected to go through device slot `0x228`/`0x238`? On what exact GPU + driver did a run pass `+0x1330a44`? A single passing `latest.txt` would let me diff this in minutes: the reference runtime (`ZSayerHQ/victory-world-runtime`, HEAD `0808b0c`) and `fxceless/victory-fork` (`8dd30ab`) both hit the identical stop on this card, with no refused pipeline. AI-assisted; measured on the physical GTX 1660 SUPER.
Author
Owner

@⁠roon9e on GitHub · 2026-11-26 05:51 UTC · original

Follow-up: a decisive result — the legal-notices screen loads on the software adapter, and is broken on the GTX 1660's D3D12 path.

Same local build, same package, only the adapter changed with VICTORY_D3D12_WARP=1 (log: host device on the software adapter (WARP)), plus the trap-skip 0x1330970/0x1330a34:

  • On the 1660's D3D12 path: LEGAL NOTICES shows a lock on Copyright, "Next" greyed, and the spinner.
  • On WARP: the same screen loads fully — real body text, no lock, "Next" enabled.

The screen is then interactive (the cursor starts on the tab list, so Enter alone just re-selects the tab — Down,Down,Enter moves to Next and advances). After Next it goes to a blank loading screen (small spinner) that opens core_restofworld* and stays blank for 8,192 frames (~10 min) on WARP, so the world load after it does not finish.

So the blocker is the GPU-accelerated path, not the runtime's file/decode plumbing or the data. To be sure the plumbing is fine, measured on this card:

  • dstorage options=0x1 (ZLIB): 6,532 requests, all size=65536, all request done, 0 failures; instrumenting the fill shows valid decoded output (wrote=65536 head=[c3,e5,e7,c4,…]).
  • ReadFile: 24,278 calls (mostly 4 KiB), all real data (one got=0, one short read).
  • The failing .zmt (0x817, 46,586-byte source) is not among those requests; its producer is all title code and leaves [inst+0x0] zero.

What the adapter difference is not (all measured):

  • not wave-64 lowering — hardware and WARP both log Wave64 compute lowering mode selected wave64_mode=Emulate, and forcing VICTORY_WAVE64_EMULATE=32/native on hardware changes nothing;
  • not VICTORY_WARP (that is victory-shader test-only; VICTORY_D3D12_WARP=1 alone selects the adapter);
  • not ID3D12Device::CheckFeatureSupport — feature 0 is a canned RDNA2 OPTIONS table and features >4 return E_NOTIMPL on both adapters.

Remaining question (same as before, now sharpened): which runtime call is expected to fill [inst+0x0] for a 0x817 block, and what does the title query that makes it take the broken GPU path only on a real adapter? A single passing latest.txt from a working GPU would let me diff this in minutes.

AI-assisted; measured on the physical GTX 1660 SUPER.

**@⁠roon9e** on GitHub · 2026-11-26 05:51 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7183861861) Follow-up: a decisive result — **the legal-notices screen loads on the software adapter, and is broken on the GTX 1660's D3D12 path.** Same local build, same package, only the adapter changed with `VICTORY_D3D12_WARP=1` (log: `host device on the software adapter (WARP)`), plus the trap-skip `0x1330970`/`0x1330a34`: - **On the 1660's D3D12 path:** LEGAL NOTICES shows a **lock on Copyright**, **"Next" greyed**, and the spinner. - **On WARP:** the same screen **loads fully** — real body text, no lock, **"Next" enabled**. The screen is then interactive (the cursor starts on the tab list, so `Enter` alone just re-selects the tab — `Down`,`Down`,`Enter` moves to Next and advances). After Next it goes to a blank loading screen (small spinner) that opens `core_restofworld*` and stays blank for **8,192 frames (~10 min)** on WARP, so the world load after it does not finish. So the blocker is the **GPU-accelerated path**, not the runtime's file/decode plumbing or the data. To be sure the plumbing is fine, measured on this card: - `dstorage` `options=0x1` (ZLIB): 6,532 requests, all `size=65536`, all `request done`, 0 failures; instrumenting the fill shows valid decoded output (`wrote=65536 head=[c3,e5,e7,c4,…]`). - `ReadFile`: 24,278 calls (mostly 4 KiB), all real data (one `got=0`, one short read). - The failing `.zmt` (`0x817`, 46,586-byte source) is **not** among those requests; its producer is all title code and leaves `[inst+0x0]` zero. What the adapter difference is **not** (all measured): - not wave-64 lowering — hardware and WARP both log `Wave64 compute lowering mode selected wave64_mode=Emulate`, and forcing `VICTORY_WAVE64_EMULATE=32`/`native` on hardware changes nothing; - not `VICTORY_WARP` (that is `victory-shader` test-only; `VICTORY_D3D12_WARP=1` alone selects the adapter); - not `ID3D12Device::CheckFeatureSupport` — feature 0 is a canned RDNA2 `OPTIONS` table and features >4 return `E_NOTIMPL` on both adapters. **Remaining question (same as before, now sharpened):** which runtime call is expected to fill `[inst+0x0]` for a `0x817` block, and what does the title query that makes it take the broken GPU path only on a real adapter? A single passing `latest.txt` from a working GPU would let me diff this in minutes. AI-assisted; measured on the physical GTX 1660 SUPER.
Author
Owner

@⁠roon9e on GitHub · 2026-11-26 12:00 UTC · original

Decisive re-measurements on the GTX 1660 SUPER (Turing, 6 GB, Windows 11), own 1.0.2.1 copy, local diag build (trap skip via VICTORY_PATCH=0x1330970:909090909090,0x1330a34:9090), driver 621.40. Offsets/counts only.

1. The stop is not adapter-specific. With only the adapter switched (VICTORY_D3D12_WARP=1, log host device on the software adapter (WARP)) the run traps at the identical +0x1330a44. So on this package the codec stop happens on WARP too; the earlier "WARP loads the screen" note is about rendering the menus, not the decode.

2. The stop fires during menu streaming, not at the world load. Removing the trap skip, the title self-kills at +0x1330a44 right after the key-art frame (frame 512) — before any menu screen renders (VICTORY_CAPTURE; first-chance/unhandled 0x80000003 at +0x1330a44). So the trap skip masks an early decode failure, and everything after it runs on state the title considers failed.

3. With the trap skip the first-boot flow renders fully on the 1660 (VICTORY_CAPTURE, presented source texture): key art (frame 512), UI TEXT SIZE (800), BRIGHTNESS (950), NAVIGATION EXPERIENCE, LEGAL NOTICES with its tab list and an active "Next" (1300/1600), FINISH SETUP (1100/1200). So the legal-notices screen itself is not broken on this card.

4. The black screen after FINISH SETUP is GPU-only and is the 3-draw frame. Opening Settings with the pad MENU key on FINISH SETUP: the GPU run goes to a flat black presented frame at frame ~1132 with draws=3 (a black frame after a frame that was not frame=1132 ... draws=3); the same navigation on WARP kept rendering full menus (frames still ~1.6 MB at 3000). That matches #1240's 3-draw black Settings frame.

The decode object is a CPU zlib codec (its +0x30 method is the inflate wrapper; vtable at title+0x66fdd40), so the GPU path is not the decompressor; the decode source [inst+0x0] is still zero while the compressed payload sits at stream+0x10038.

Question unchanged and sharpened by (2): which runtime call fills [inst+0x0] during the menu stream, given the stop there too? A single passing latest.txt from any card that clears +0x1330a44 on this package would let me diff it. AI-assisted; measured on the physical 1660 SUPER.

**@⁠roon9e** on GitHub · 2026-11-26 12:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/1063#issuecomment-7191441060) Decisive re-measurements on the GTX 1660 SUPER (Turing, 6 GB, Windows 11), own 1.0.2.1 copy, local diag build (trap skip via `VICTORY_PATCH=0x1330970:909090909090,0x1330a34:9090`), driver 621.40. Offsets/counts only. **1. The stop is not adapter-specific.** With only the adapter switched (`VICTORY_D3D12_WARP=1`, log `host device on the software adapter (WARP)`) the run traps at the **identical `+0x1330a44`**. So on this package the codec stop happens on WARP too; the earlier "WARP loads the screen" note is about *rendering* the menus, not the decode. **2. The stop fires during menu streaming, not at the world load.** Removing the trap skip, the title self-kills at `+0x1330a44` **right after the key-art frame (frame 512)** — before any menu screen renders (`VICTORY_CAPTURE`; `first-chance/unhandled 0x80000003 at +0x1330a44`). So the trap skip masks an early decode failure, and everything after it runs on state the title considers failed. **3. With the trap skip the first-boot flow renders fully on the 1660** (`VICTORY_CAPTURE`, presented source texture): key art (frame 512), UI TEXT SIZE (800), BRIGHTNESS (950), NAVIGATION EXPERIENCE, **LEGAL NOTICES with its tab list and an active "Next"** (1300/1600), FINISH SETUP (1100/1200). So the legal-notices screen itself is not broken on this card. **4. The black screen after FINISH SETUP is GPU-only and is the 3-draw frame.** Opening Settings with the pad MENU key on FINISH SETUP: the GPU run goes to a flat black presented frame at frame ~1132 with `draws=3` (`a black frame after a frame that was not frame=1132 ... draws=3`); the same navigation on WARP kept rendering full menus (frames still ~1.6 MB at 3000). That matches #1240's 3-draw black Settings frame. The decode object is a CPU zlib codec (its `+0x30` method is the inflate wrapper; vtable at `title+0x66fdd40`), so the GPU path is not the decompressor; the decode source `[inst+0x0]` is still zero while the compressed payload sits at `stream+0x10038`. Question unchanged and sharpened by (2): which runtime call fills `[inst+0x0]` during the *menu* stream, given the stop there too? A single passing `latest.txt` from any card that clears `+0x1330a44` on this package would let me diff it. AI-assisted; measured on the physical 1660 SUPER.
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#1063
No description provided.