0x1c8 is DeserializeComputePipelineStateX (FSR4 ACO); 0x218 is a separate path — diagnostic results from a 32 GB host, plus a crash under memory pressure #300
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#300
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?
@PostKeysNdDoOne on GitHub · 2026-11-26 19:32 UTC · original
Following up on the blobs diagnostic. Built the modified device.rs (clean build, b99f876b74d4a77f, 12 pre-existing warnings), ran ~10 minutes on a 32 GB / RX 7900 GRE / Series X dump with VICTORY_RAM_CAP_GB=28.
The title names what 0x1c8 is. At the end of the session it logs:
text
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_21' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_PASS_22' -- falling back to NewBE
... (PASS_23 through PASS_26)
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_SPD_AUTOEXPOSURE_PASS' -- falling back to NewBE
title said: FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 for 'FFX_FSR4_RCAS_PASS' -- falling back to NewBE
hr=0x80004001 is E_NOTIMPL — the stub. So slot=0x1c8 is DeserializeComputePipelineStateX, called by the title's FSR4 ACO path. The blobs are serialized compute PSOs for FSR4 passes 21–26, SPD auto-exposure, and RCAS. The fallback to "NewBE" means rendering continues without FSR4; this is an optimization path, not a fatal one.
The 0x1c8 first_points_at array matches the DXBC part-offset table from dxbc.rs:
text
first_points_at=Some([7ff61565b950, 300000000, 530, 2df268cb1f0, 530, 800008005b29e1f8, 16c200, 16c210, 16c220, 16c230, 16c240, 800009005b16e1e5, 16c260, 16c270, 16c280, 16c290])
16c200, 16c210, 16c220… is a stride-0x10 sequence of offsets — the part offsets u32[count] field. The 0x184 / 0xbc / 0x200 / 0xd0 lengths in the description are the per-part sizes.
Implementation path, if you want it: slot=0x1c8 takes the blob, runs it through Container::parse (dxbc.rs), picks the DXIL/ACCC part, and feeds it through the same translate_plain / native_programs path emit/mod.rs:385-440 already uses. The title's serialized compute PSO is a DXBC container with the compute program in its DXIL part — the existing parse + translate + emit chain handles exactly that shape. The stub just needs to call it and build the host PSO from the result, instead of returning E_NOTIMPL.
slot=0x218 logs the same pattern (0x1c/0x14/0x180/0x118 as size pairs, first_points_at pointing at 0x904b... title-space blobs), but the title doesn't name it. Separate path from 0x1c8; didn't identify it from this run.
A separate crash, likely unrelated to these slots. After ~10 minutes, at physical_free_mib=1618:
text
VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x50b89a2 (read 0xee1a22d8: nothing mapped there)
rax 0x9e3f800000053 rbx 0x0 rcx 0x90418da38 rdx 0x55 rsi 0xf87abff800 rdi 0x904188038 rsp 0xf87abff700 rbp 0xff
r8 0xffffffff00000000 r9 0x9e3f800000055 r10 0x18 r11 0x28c90000 r12 0xf87abff808 r13 0xf87abff800 r14 0xf87abff808 r15 0xee1a22d0
#0 victory-image-b99f876b74d4a77f.dll+0x50b89a2
#1 victory-image-b99f876b74d4a77f.dll+0x31c2a
#2 victory-image-b99f876b74d4a77f.dll+0x4e324ba
#3 victory-image-b99f876b74d4a77f.dll+0x2474ac3
#4 victory-image-b99f876b74d4a77f.dll+0x248ff61
#5 victory-image-b99f876b74d4a77f.dll+0x5207f2c
#6 victory-image-b99f876b74d4a77f.dll+0x5207ed7
#7 victory-image-b99f876b74d4a77f.dll+0x47e01f
#8 victory-image-b99f876b74d4a77f.dll+0x47df88
#9 victory-image-b99f876b74d4a77f.dll+0x43c4591
#10 victory-image-b99f876b74d4a77f.dll+0x43c4314
#11 victory-image-b99f876b74d4a77f.dll+0x2215eca
#12 KERNEL32.DLL+0x2dda7
#13 ntdll.dll+0xc9c5c
Entirely inside VIctory, right after the memory-pressure warnings (host memory pressure: ... physical_free_mib=1618 available_commit_mib=9598 texture_staging_mib=57 spare_scratch_mib=127 game_filled_gpu_texture_mib=5706). Consistent with an eviction/re-upload path dereferencing a stale pointer under memory pressure — not the 0x1c8/0x218 stubs. I'll open a separate issue for this with the full stack.
Note on the blobs field: the modified device.rs didn't emit a blobs= field in the log — either the file didn't save over the original or the build didn't pick it up. But the title's own DeserializeComputePipelineStateX log lines plus the first_points_at offset table make the 0x1c8 identity clear without it.
@adrianmjim on GitHub · 2026-11-26 20:48 UTC · original
I checked this against the code at
cd8dfc0and against a log from our own run. Your naming of 0x1c8 fits our log. The two points below are about what calls the slot and what the description holds.Setup (one run): RX 7900 XT (RDNA3), driver 32.0.32029.2010, Windows 11 build 26300, 32 GB RAM. a-publier at
cd8dfc0, built with--profile diag --features diagnostics, run with--console series-s. Settings were thescripts/play.ps1defaults plusVICTORY_PORT_CONSTANTS/DESCRIPTORS/CBV/GUARD/JOURNAL=1andVICTORY_PIPELINE_BOOK=1. It was the first run of this build, with cold pipelines, so gameplay ran at about 3 fps. I have not done a visual A/B.1. 0x1c8 is also used heavily by non-FSR code
The
unknown_pipelineWARN (device.rs:349-400) only logs whilecalls <= 4or whencallsis a power of two (L372). Here is what it logged:slot=0x218: calls 1 to 2048, from 20:19:47.120 to 20:19:48.808.slot=0x1c8: calls 1 to 16384, from 20:19:47.121 to 20:19:49.011.Timeline from the same log:
amd_fidelityfx_loader_xbox.dllis a startup title DLL, mapped at 20:19:39.amd_fidelityfx_upscaler_xbox.dllis mapped at 20:19:52.336, about 3 s after the last logged 0x1c8 call.FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001lines (one per FSR4 pass) come at 20:21:21.77, about 90 s after that.So at least 16384 calls to 0x1c8 happen during load, before the upscaler DLL is mapped. The WARN does not log a caller. The title call sites (
+0x2477578,+0x24800d5) come from the code comment at device.rs:349-358, not from this log.This does not contradict the DeserializeComputePipelineStateX naming:
unknown_pipeline::<0x1c8>(L452) andunknown_pipeline::<0x218>(L455) are the only device paths that can return E_NOTIMPL without logging.missing(L421) and logs once. No such device WARN appears anywhere in the run.So FSR's
0x80004001fits 0x1c8 (or 0x218). Our log cannot tell which one. It does show that 0x1c8 is not FSR-only.2.
first_points_atis VIctory's root signature object, not shader datadescription[0]looks like a root signature pointer, as in D3D12 pipeline descs. What it points at matches the layout of VIctory's ownRootSignature,#[repr(C)] { object: Object, blob: Vec<u8> }(root.rs:173, object.rs:43):0x7ff74aee05f8in every 0x1c8 and 0x218 dumpN << 32bits = 0,refs = Nn, ptr, n(e.g.0x530,0x165c,0x18e0)Vec<u8>(capacity, pointer, length; capacity and length are equal here)Your dump (
7ff61565b950, 300000000, 530, ptr, 530, ...) has the same shape. The vtable value differs in its low bits too, which fits a different VIctory build rather than just a different load address. The same holds for 0x218: its pointee also starts with the host vtable word, not with title data.So the object ends after 40 bytes. Words 5-15 are most likely the next heap allocation:
So it is not evidence of a DXBC container. Passing
*description[0]toContainer::parsewould parse VIctory's own object.The rest of the description looks like
(pointer, size)pairs. For the first 0x1c8 call the sizes are0x184, 0xbc, 0x200, 0xd0, 0x200, 0xb0. If there is bytecode, it is more likely behind those pointers. That is not verified.3. Two other stubs logged during FSR4 setup
Both go through the generic
missingstub (object.rs:294):callerfield is an offset with no module name (object.rs:309).The two slots:
0x58, caller+0x5870, at 20:21:21.774, between the first and second FSR4 failures.0x1a8, caller+0x72f4, at 20:21:21.787, right after the last FSR4 failure.0x198and ClearRTV 48 → 52 =0x1a0(list.rs:2301-2302). So 53 =0x1a8is most likely ClearUnorderedAccessViewUint, and 54 =0x1b0would be the Float variant.newer_slotshift only touches slots ≥ 59 (list.rs:2337).On origin/main (
4f62c2a), 0x1c8 and 0x218 fall to the genericmissingstub. The outcome is the same E_NOTIMPL, but there is no description dump. 0x58 and 0x1a8 behave the same on main. I found no open or closed PR that implements any of these four slots.Possible next steps (I can run these here on RDNA3)
unknown_pipelineWARN, and count calls per caller module. That would show whether the upscaler DLL's calls land on 0x1c8 or 0x218.*description[0], log the size and first 4-8 bytes of each(pointer, size)buffer, plus a flag for whether it starts with the DXBC magic. Only the flag would need posting.@PostKeysNdDoOne on GitHub · 2026-11-26 22:53 UTC · original
Useful data point, thanks. Independent confirmation on a 32 GB / RX 7900 GRE (16 GB) / Ryzen machine, Windows 11, same repo build:
Page file: 40 GB fixed page file (commit limit ~71 GB). No 0x8007000E, no memory allocation of N bytes failed in a ~4-minute run. available_commit_mib stayed at 24–26 GB throughout. So the crash/no-crash line really is page-file size, and 32 GB+ is enough — matches your finding.
Working set: physical_free_mib sat at 2.8–3.0 GB with commit headroom at 24+ GB, i.e. the 37–40 GB working set is paging, as you described. Same shape, smaller card.
VRAM: textures picked by index: the card has no room for more; they wait at ~40 s at 1080p on 16 GB. Your 20 GB card hit it too, so 1080p is over the line on both.
Shaders and warm: victory shaders shaders.rpf translated 25,689 (200 fail, same categories); warm --used found nothing to do — slow-pipelines.txt is 5 entries, already in host-pipelines.bin. So pre-translation and warming weren't the bottleneck in this run.
Still present in this build: method not implemented object="pipeline state" slot=0x58, "command list" slot=0x1a8, "command queue" slot=0xb8, and one dispatch without a host pipeline dropped. Did 2de9980 still show these, or did your build have them implemented?
Not tested here: default 2/3 render scale, Series S profile.
@adrianmjim on GitHub · 2026-11-26 22:55 UTC · original
@PostKeysNdDoOne our run was
cd8dfc0, not your2de9980. Counts from that log, one run, RX 7900 XT, Series S:method not implemented object="pipeline state" slot=0x58: once (caller="+0x5870").method not implemented object="command list" slot=0x1a8: once (caller="+0x72f4").object="command queue" slot=0xb8: not logged.a dispatch without a host pipeline dropped: not logged.So
cd8dfc0had the first two unimplemented as well. Those WARNs log once per slot, so one line doesn't say how often each was called. Whether 0xb8 differs between our builds or our runs I can't tell from one run each.@PostKeysNdDoOne on GitHub · 2026-11-26 23:45 UTC · original
Correction on my side: my build is f4b48ad (2026-11-25, "Publish the pareto-residency Windows build and portable launcher"), not
cd8dfc0— same repo, different commit. That makes this a three-way comparison rather than two-way, which is more useful:On f4b48ad (one run, RX 7900 GRE 16 GB, Series S):
method not implemented object="pipeline state" slot=0x58: once (caller="+0x5870")
method not implemented object="command list" slot=0x1a8: once (caller="+0x72f4")
object="command queue" slot=0xb8: once, but late — ~4 min into a ~4-min run
a dispatch without a host pipeline dropped: once, ~40 s in
So pipeline state 0x58 and command list 0x1a8 appear in both f4b48ad and 2de9980 (and, per your note, in
cd8dfc0too) — the gap survived all three. command queue 0xb8 and the dropped dispatch did fire on mine, but late, so their absence in a shorter 2de9980 run may be run length rather than a build difference. A longer run on 2de9980 would settle it.Independent of build: 40 GB fixed page file (commit limit ~71 GB) → available_commit_mib 24–26 GB throughout, no 0x8007000E, no memory allocation of N bytes failed in ~4 min. Matches your page-file finding. And 16 GB VRAM hits textures picked by index: the card has no room for more; they wait at ~40 s at 1080p, vs. your 20 GB card hitting it too — 1080p is over the line on both.
@adrianmjim on GitHub · 2026-11-26 23:46 UTC · original
One detail for the run-length question: our
cd8dfc0log covers about 5 minutes (20:19:39 to 20:24:37), so it's longer than yours. But it was that build's first run, with cold pipelines, at about 3 fps in gameplay, so it got through less of the game in that time. The missing 0xb8 and dropped dispatch in our run fit 'not reached yet' as well as a build difference. A warm second run would be the fairer comparison. That needs a game session on our side, which I can't start from here.