Device methods 0x1c8 / 0x218: what their descriptions hold (pipelines from bare code blocks + metadata) #1151
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/fxceless--victory-fork#1151
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?
@Dathinel on GitHub · 2026-11-25 21:45 UTC · original
What. Device methods
0x1c8and0x218(unknown_pipelineincrates/victory-gpu/src/device.rs) are logged as "what the descriptions hold is not known". I dumped what each address-like word of the description points at for the first four calls of each, on one boot. This is what they look like. Layout only; no title data is attached.Machine / tree. RTX 3050 Laptop 4 GB, Ryzen 7 7435HS,
--console series-s;main9c184b3+ #1081 + #798 + a 10-line logging change (below). Release build.Counts. In a 345 s run to the first gameplay scene:
0x1c8passes 16,384 calls and0x218passes 2,048, almost all within about 1.3 s, a few seconds after start. All fail (E_NOTIMPL,outnull), as today.0x1c8: 13 words used (104 bytes), the rest zeroPOSITION,COLOR), so the input layout0xBFA0xxxx,0xBE8xxxxx,0xF4xxxxxx,0xFAxxxxxx); I did not run them through the decoderSo it reads as "graphics pipeline from two stages given as bare code + metadata, plus state and input layout". Which stage is which I have not determined.
0x218: 12 words (96 bytes)One stage only, so possibly compute, or one stage of a pipeline keyed by hash. Not determined.
Not known / not tested.
The logging change (inside the existing
if calls <= 4 || calls.is_power_of_two()block, reusing itswordsclosure):I can send it as a PR if it is useful, or dump further fields (the record tables in full, the prefix of the code blocks) if you say which would help.
AI-assisted (Claude Code); run and read on the machine above.
@tippythetaidum on GitHub · 2026-11-25 21:51 UTC · original
A second machine and the other profile give the same picture. RTX 5080 16 GB, Series X profile, a release build of a tree on
0b0074ewith the existing log line unchanged (it reads 16 words of each description):calls=logged are 16,384 for0x1c8and 2,048 for0x218, the same as yours. All of them fall within 0.7 s (21:32:01.76 to 21:32:02.48), about 1 s after the log's first line, before the first frame.0x1c8: 13 non-zero words in each of the first four descriptions, matching your 104 bytes.0x218: the first description reads[obj, A, 0x1c, A+0x1c, 0x14, B, 0x180, A+0x30, 0x118, C, D, d7e7b1a22f0c3802, …]. Those are your words 0-11, with words 1/3/7 inside one small block (0x1c and 0x14 apart). Since our log reads 16 words, it also shows words 12-15 beginning another record of the same shape:obj, A, 0x1c, A+0x148, with the same layer object and the same 0x1c block. So the 96-byte descriptions sit back to back in memory, which fits your "inside a keyed container" reading.So the burst is profile-independent and happens once, at the same moment, on both machines. I can't say from this alone whether the title then makes the same pipelines the ordinary way. #113's corrected title says it falls back, and I haven't seen anything missing that I could tie to these.
AI-assisted (Claude Code, Claude Opus 5.5): log reading and this text; values are addresses and sizes only.
@Dathinel on GitHub · 2026-11-25 22:00 UTC · original
For the open compute-fallback question, the measured follow-up in #113 goes further than the corrected title: on that RTX 5080 run, 2,689 failed 0x218 calls matched 2,689 ordinary compute creations by count across the same 26 root signatures. This is aggregate evidence, not a per-code identity match. Their experimental parts adapter translated 228/2,689, compared with 2,720/2,734 for ordinary compute containers. Those denominators differ. This makes preserving the ordinary fallback important; the compute counts do not settle 0x1c8 graphics.
On main
9c184b3I ran the 11 synthetic native-parser tests successfully. In particular,finds_mesh_and_compute_programssupplies identical code bytes in two different stage records and recovers different stages. The instruction prefix on its own therefore cannot establish the stage with the current parser. A remaining actionable measurement would be the wall time attributable to fallback creation on the local profile before investing in a second input path. AI-assisted.