Native pipeline methods 0x1c8/0x218: title-screen dump quantifies the gap (RDNA3) — 72% of graphics requests are NGG primitive shaders #74
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/lobomfz--VIctory-xmem#74
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?
@thedee8086 on GitHub · 2026-12-01 15:34 UTC · original
RDNA3 desktop card (24 GB, ReBAR on), unified-memory runtime, title at default console modes. In play, floating bare quads appear over water-side geometry (boats) about a minute into loaded play; everything else renders.
Using the layer's own dump switch (
VICTORY_NATIVE_PSO_DUMP=<dir>, thecfg(windows)path is live under Wine) during a title-screen-only boot, the title asked methods0x1c8/0x218for 11,032 + 2,680 pipeline descriptions. Analyzed with the repo's harnesses:p4_gfx(0x1c8, graphics): 2,205 descriptions rebuild; VS translate 1,368, PS 1,086, whole-pipeline 539. Failure histogram, dominant first:a 0x1c8 primitive shader (NGG: a merged stage) is not supported(72% of all graphics requests are NGG merged-stage programs)SV_Positionin the signaturep4_fspx(0x218, compute): 1,927 of 2,680 translate. Remaining blockers dominated bya descriptor's address or format read as data(411), lane-mask-read-as-data variants (223), then sampler/CBuffer-descriptor-as-data (~100).Reading: the title's renderer leans on native mesh/NGG pipeline creation for roughly three quarters of its graphics pipelines; with
0x1c8unimplemented that content falls back — the floating quads over water are the visible tip. (Title-screen requests include speculative permutation compiles, so not every dumped description is visibly used; the NGG share is the signal.)Offer: the full dump (769 MB, 13.7k description directories) and the repro recipe (one env var + a title boot) are kept and can be shared. Questions: is NGG merged-stage rebuild on the roadmap, and is the probe route (
VICTORY_NATIVE_GRAPHICS=probe) meant to grow toward the listed keys?Happy to re-run any capture or measurement that would move this forward.
@GreemSC on GitHub · 2026-12-02 11:22 UTC · original
Measurements of the native path on RDNA 3, in case they help decide whether NGG support is worth it: RX 7900 XT 20 GB, i7-12700K, CachyOS kernel 7.3.6, Proton-CachyOS Wine, patched Mesa 26.3.1, vkd3d-proton
71cae09. Build: HioShan/VIctory-xmem-bazzite06580b6(= this repo37bb30f+ 42 commits) + #67, Series X, 2560x1440, ray tracing on, same save and scripted drive, warm caches, 300 s runs.VICTORY_NATIVE_COMPUTE=1, run 1 / run 2VICTORY_NATIVE_GRAPHICS=1Caveat: an older base than current main; I have not repeated it on
d044248.AI assistance: Claude Code (Claude Opus 5.5) ran the builds and measurements, read the logs and wrote this report on the hardware above.