Host pipeline refused with E_INVALIDARG for 7 compute programs (RTX 4070 Laptop, Xbox Series X profile) #891
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#891
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?
@tofuture-1 on GitHub · 2026-11-25 12:01 UTC · original
<html>Host pipeline refused with E_INVALIDARG for 7 compute programs (RTX 4070 Laptop, Xbox Series X profile)
Summary
CreateComputePipelineStateis refused withE_INVALIDARG(0x80070057) for 7 compute programs. All shaders involved translate successfully (3071 shaders translated, 0 translation failures in this log), and the same run has 0E_OUTOFMEMORYevents, so this looks like a pipeline-description / translated-DXIL validation problem rather than memory pressure.Draws using the missing pipelines are dropped: up to 3303 draws per frame were dropped with
no host pipeline (0 being made).Environment
Log (excerpt)
Statistics from this run
shaders translated: 3071
host pipelines created: 1913
pipelines refused: 7
distinct refused: 7
max draws dropped (no host pipeline): 3303
E_OUTOFMEMORY events: 0
host allocation failures: 1
</html>
@HLVM04 on GitHub · 2026-11-25 13:24 UTC · original
The same refusals show up on an RTX 5070 Ti (wave32 only, driver 616.64) at
9376fd6with the Series X profile. We saw 7 distinct compute pipelines refused with E_INVALIDARG. On our card the refusals come from the shaders'WaveSize(64), which a card that only runs 32-lane waves can't create.Five of your seven are also in our list:
2da4beb386509b77,369cbe906ea72764,2cc4c197ee29e291,02384a60fda6f2d0and6b82bc7d22016cb5. With #799's loose-LDS fallback, those five build on our card (Series S, on9376fd6+ #798/#783/#799; 2 stayed refused). That was one run per configuration. Forcing the remaining ones wave-wide as a last resort built 4, but it cost fps. #833 has the same data with frame times.@oz-stanislav-zhukov on GitHub · 2026-11-25 15:49 UTC · original
Another 32-lane NVIDIA data point, on #854: with #854 every one of these programs builds.
RTX 5060 Ti 16 GB (32-lane, Windows 10 + Agility SDK, #22), i7-14700KF, Series X profile. Tree:
a26859f+ #854.WaveSize(64)class as here) and 4 programs untranslated.VICTORY_HOST_WAVE=32 victory translate --list): 2729 of 2734 compute programs translate, and every vertex, pixel and mesh program translates.One thing to know before trying it: once all 53 builder programs have pipelines,
VICTORY_BVH_BUILDER=1really switches the structure builder on, and on our tree the title then crashes at world entry reading0xffffffffffffffff. That is the thread-count dispatch problem that #994 (stacked on #993 and #854) fixes. WithVICTORY_BVH_BUILDER=0it is stable here (over 10 min in the world).AI-assisted (Claude Code, Claude Opus 5.5); no game data.
@HAL9000RELOADED on GitHub · 2026-11-25 21:17 UTC · original
On AMD these 7 compute programs are created. Radeon RX 7900 XTX (RDNA3), Adrenalin 32.0.32015.7029, Windows 10 22H2, fxceless
maind510ee4+ #402:victory translate --validate --pipelinesover the title'sshaders.rpfvalidated and created all 7. The same holds for the 9 named in #833 and the 4 in #904, 11 distinct programs in all, and for the rest of the pack (25,636 of 25,636, 0 refused). They pass dxil.dll's validator and AMD's driver accepts them, so theE_INVALIDARGlooks like it comes from the NVIDIA driver for these programs.f85101b: the same four refusals, plus pipelines left "being made" for the whole run #904