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
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#1063
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
ffe310eb(main),cargo build --release -p victoryvictory run <exe> --execute, own 1.0.2.1 package; exe SHA-256e95020b2…(the one in #630)VICTORY_D3D12_DRED=1for one runWhat happens
ttdbdata andcore_*archives open, ~150–288 frames presented, the title reportsGame State: Game Running.0x80000003at the title image+0x1330a44(fault on several threads).Not memory, not pools, not BCPack
E_OUTOFMEMORY/0x8007000E, no device-removed report, andGetResourceAllocationInfosizes are small (the title never allocates more than a couple of MB per texture here).temp\*.crash.log) shows every pool0/0(INSTANCE_LIST 0/0) andTileHeap: used 271 / total 6236 MB— so this is not #698's pool overflow.bcpack_mb=0: BCPack never ran in this run.runtime API area not implemented(the runtime areas the title queried are all implemented).Where it stops (measured)
+0x13308e0is a streaming range-decompress: it decodes a stream in chunks and calls the dispatcher+0x1330a50; when the dispatcher returns 0, the caller executesint3. The dispatcher returns 0 in exactly three cases:[inst+0x50] == 0;[inst+0x58] == -1;A live read at the fault (best-effort
VirtualQuery-guarded deref of the registers in our crash handler) shows:[param_2+0x10020]0xd153c0e00[inst+0x50]0xd1596b80(present)[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]:param_1[1] = 0x10000(65536)[inst+0x40] + 8 = 46586,+ 0x20 = 409646586 < 65536→ the guard refuses, the fallback handler ([handler+0x30]) also returns no,+0x1330a50returns 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 ids0xba180afb232d1b4b,0x33f70dfaf2c50989,0x4eaa16dd829995bc, and the dispatcher's main path uses0xe0c12d7a5d4884c5. 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:ALLOW_RENDER_TARGET|ALLOW_UNORDERED_ACCESS,mips 1;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.
@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:
+0x1330a50, not your fault PC: it loads an interface from[obj+0x50], takes a u16 field at[obj+0x58](sentinel0xFFFF= pass without asking), then issuescall [vtable+0x3f0]with a 128-bit key0xe0c12d7a5d4884c5as 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 slot0x3f0in your runtime: the honest answer for a 64 KiB decode buffer is what removes the stop.+0x1330a44,+0x1330a4a, filler) each paired with ajmpto a different return path (+0x13309e3/+0x1330976/ back-edge), reporting via+0x4ec6670/+0x4ec6720— a different reporting routine from the0x4e9b660family, which says the title classifies decompressor pre-failures separately. Your patched-prefix knob (#917) makes the confirmation cheap: NOP the takenint3, see whichjmpcontinuation the run survives.dstorage.rs,E_DESTINATION_SIZE = 0x8924_000F) rejects undersized destinations (destination_size <= source_sizeetc.) 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 forv_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.Game Runningis the lowest-VRAM world-entry report yet — below our 8 GB wall's documented floor.@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_u8atemit.rs:3435(per-byte lerp helper),v_mad_u32_u16/v_mad_i32_i16at 3440–3441, both honoringopselfor the operand-half selects ((a >> 16·(opsel&1)) & 0xFFFFstyle). 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 aresrc0/src1half-selected by opsel bits 0/1 withvsrc2full-width +acc, and (from your own #926 finding) remember RDNA2 ignoresop_selfor 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.@roon9e on GitHub · 2026-11-24 17:30 UTC · original
Runtime confirmation of the slot-
0x3f0predicate, from a run that reaches the stop in the title (own 1.0.2.1 copy, SHA-256e95020b2…, 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 (rsiis the stream instance; every read isVirtualQuery-guarded):So, as you decoded:
inst = [stream+0x10020];prov = [inst+0x50]; the queryprov->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 of0x18-byte entries ([this+0x20], count at[[this+8]+0x20]) for the 64-bit interface key you named, and on a hit callstitle+0x144db65b0(this, codec_id, index): reads a per-codec entry from a table at[this+0x28]or[this+0x38](title+0x144db6600doesentry = table[(class_count)*index + slot], width from a size-class byte), and0xffff(u16class) or0xff(u8class) makes0x28ce1b0return 0, i.e. unsupported →test al,al / je → int3at0x1330a44.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:
[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 theint3is just where it surfaces. Adumpofprov+0x28..+0x60before and after the subsystem-ready gate would say which.[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 is0xffff.For the sibling runtimes: this is a title-side capability table, so the equivalent of xcl's
E_DESTINATION_SIZEdegrade 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]=0x10000vs the destination's46586) 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 reportswave_lane_max=32, so those pipelines cannot be created at all; PR #189 (default<64-lane hosts toEmulate) fixes that class (it now logswave64_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 18:06 UTC · original
The full
#1086/try/wave64configuration 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. Builtbittertea0323/VIctorytry/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/victoryexportsD3D12SDKVersion/D3D12SDKPath(.\D3D12\). With noD3D12\D3D12Core.dllbesidevictory.exe,D3D12CreateDevicefails before anything renders:and the title dies with a C++
D3D12 XDXR ErroronD3D12SerializeVersionedRootSignature(it never gets a device). Dropping the x64D3D12Core.dllfromMicrosoft.Direct3D.D3D121.620.2 intoD3D12\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, notEmulate.host.rslogswave64_mode=Wave32 wave64_effective=Wave32 wave64_source="auto"; onlyVICTORY_WAVE64_EMULATE=emulategiveswave64_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:With the
int3made report-and-continue (NOP),title-mainthen 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 codec0x817and the registry answers "absent".Open question for anyone who has the world running: is codec
0x817a codec every host is expected to register, or one gated on a GPU/driver capability? The#1086author'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/wave64stack 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.
@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
$exeto your local title executable. Run in PowerShell:Around the stop, compare
source_size,intermediate_size,destination_sizeandwrittenas numeric fields. Matching digits in a file offset are unrelated. Follow a matchingrequest_idfrom 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.
@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 with0x80000003at+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 onmain(63bcca4):fitsincrates/victory-gpu/src/descriptor/host.rsrefuses 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_supportincrates/victory-gpu/src/device.rsanswers 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-mainresult. A log from any run that passed+0x1330a44on plainmain(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
@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 inD3D12\), 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:crashes.logrecords the samehost GPU failureline; there is no0x80000003at+0x1330a44on this run.So: on
940d32fthe0x80000003stop at+0x1330a44is not reached here — the title dies earlier with a host device removal (0x887A0004reported, reason0x887A0001) at the world load. That differs fromffe310e, where it self-kills at+0x1330a44. It may be a Turing regression onmain(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 withVICTORY_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: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 is0x887A0001(invalid call), not a page fault — so DRED can't name it.WARN victory_gpu::host: no D3D12 debug layer(D3D12GetDebugInterfacefails). There is no systemd3d12SDKLayers.dlland 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.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.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
940d32fthe+0x1330a44stop 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 --pipelineson 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 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: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 dropALLOW_UNORDERED_ACCESSwhen it cannot be a UAV; its unordered views are then refused like any other use the host does not take.With that:
crashes.logclean, instead of dying ~10 s in);PLAYER(A) press entersGame Running;0x80000003at<title>+0x1330a44,rbp=0x10000:So on this 32-lane Turing card the world's remaining blocker on
940d32fis the codec lookup in this issue, not the device removal. (Independent of pipelines: a pre-builttranslate --cache --pipelineslibrary, 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_descchange if that helps.@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.logclean), reaches the account-picker screen at 30 fps and thenGame Running, where it stops at the codec lookup above (0x80000003at+0x1330a44, codec0x817). So the device removal was a separate bug; the world on this card still waits on this issue.@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
0x817is and why the world does not load here.The failing asset is a named
.zmtresource. 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 isplatform:/levels/americas/map/powergrids.zmt(.zmt/imt/zldbmt/ildbmtare GTA VI resource extensions).0x817is genuinely absent from the title's data, not a host bug.prov+0x50/prov+0x60, 1024 16-bit slots each) contain no817. Its size records exist under other keys (0xba18…/0x33f70dfa…/0x4eaa…), so the provider knows the codec — but its decode-interface (0xe0c1) membership is empty.does-not-translatepipelines; every shader translates.Host-side shims cannot load it (all tried, all fail):
0xe0c1→0x33f70dfa: AV.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 decodes0x817'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. So0x817is a custom/console codec, not something the host can synthesize.Bottom line: on this package (
CYBERLEEK1.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 — is0x817a 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: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
+0x1330a44codec stop on every build we tried: upstreammain(+ our UAV guard), and the latestfxceless/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_SUPPORTreturns a fixed0x7fff_ffff(every use of every format),FEATURE_LEVELSreturns 12.2,OPTIONS1the console lane count,SHADER_MODEL6.6, …So with the same data the title should build the same codec set on every card, and the
0x817stop should not be NVIDIA-vs-AMD-specific.So: has anyone actually reached the world past
+0x1330a44on 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: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, HEAD0808b0c) directly on this machine, with input (--features diagnostics), on the same package:Game Runningand hits the identical0x80000003at+0x1330a44— the same codec stop.VICTORY_WAVE_WIDE=last/masks: no change (=1breaks rendering).slot 0x1c8×16,0x218×13) — and those are dropped by every build, including the world-reaching ones.0x81ebut not0x817, and the failing asset isplatform:/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 passinglatest.txtlog 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 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.
dstoragewithoptions=0x1(ZLIB): 6,532 requests, allsize=65536,source_size~17-23 KB, allrequest 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 (mostlylen=4096, then 8k/12k/64k/...), all returning real data; exactly onegot=0and one short read. So block reads work too.The failing
.zmt(codec0x817) is not one of those requests. Its source is46,586bytes; no zlib request has thatsource_size, and noReadFiletargets the stream buffer. The stream buffer ([inst+0x0], a title object) is 128 zero bytes at 30/45/60 s, and its+0x10018shows the producer already claimed0x10000produced.The producer chain (all title code).
walk_streamshowsprovider=0xd01596b80,storage=[provider+8]=0xd01578360,reader=[storage+0x10]=0x7ffe06cc5e80,reader vtable = title+0x62fc550;reader+0x60 = FUN_140cdd930->FUN_140313fc0-> eitherFUN_1401941b0(device0x228/0x238) or a global block readerDAT_1478f5eb0+0x60. At the spin that global reads 0, and neither device0x228nor0x238is called (the 1,476object::ignorehits I first saw were the command-list slot0x48, 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_141330cd0checks[inst+0x40]+8 (46586) < [inst+8] (65536)and[inst+0x40]+0x20 (4096) < R12, then tries a fallback; when both fail it returns 0 andFUN_1413308e0loops forever ([inst+0x20]is only decremented on success). Relaxing the guard (NOPthe twoJCat+0x1330e1e/+0x1330e24) or redirecting the fallback-fail to "succeed" crashes (+0x2215c35 write 0x0,+0x581528d), so the missing.zmtbytes are genuinely consumed downstream.Question. Which runtime call is supposed to fill
[inst+0x0]for a0x817block here, and is the streamer's block copy expected to go through device slot0x228/0x238? On what exact GPU + driver did a run pass+0x1330a44? A single passinglatest.txtwould let me diff this in minutes: the reference runtime (ZSayerHQ/victory-world-runtime, HEAD0808b0c) andfxceless/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-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-skip0x1330970/0x1330a34:The screen is then interactive (the cursor starts on the tab list, so
Enteralone just re-selects the tab —Down,Down,Entermoves to Next and advances). After Next it goes to a blank loading screen (small spinner) that openscore_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:
dstorageoptions=0x1(ZLIB): 6,532 requests, allsize=65536, allrequest 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 (onegot=0, one short read)..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):
Wave64 compute lowering mode selected wave64_mode=Emulate, and forcingVICTORY_WAVE64_EMULATE=32/nativeon hardware changes nothing;VICTORY_WARP(that isvictory-shadertest-only;VICTORY_D3D12_WARP=1alone selects the adapter);ID3D12Device::CheckFeatureSupport— feature 0 is a canned RDNA2OPTIONStable and features >4 returnE_NOTIMPLon both adapters.Remaining question (same as before, now sharpened): which runtime call is expected to fill
[inst+0x0]for a0x817block, and what does the title query that makes it take the broken GPU path only on a real adapter? A single passinglatest.txtfrom 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 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, loghost 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
+0x1330a44right 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
+0x30method is the inflate wrapper; vtable attitle+0x66fdd40), so the GPU path is not the decompressor; the decode source[inst+0x0]is still zero while the compressed payload sits atstream+0x10038.Question unchanged and sharpened by (2): which runtime call fills
[inst+0x0]during the menu stream, given the stop there too? A single passinglatest.txtfrom any card that clears+0x1330a44on this package would let me diff it. AI-assisted; measured on the physical 1660 SUPER.