CLI: add opt-in host D3D12 preflight #1503
No reviewers
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!1503
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1503/head"
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?
@degradka on GitHub · 2026-11-24 18:33 UTC · original
degradka:codex/fail-fast-d3d12-main→main· +73 −3 · 5 files · 1 commits · closed without mergingWhat changes
victory run --execute --require-host now verifies the host D3D12 device before mapping and starting the title. If it cannot create a usable host, it reports the underlying device error and stops before title code runs.
Crash evidence and scope
The original access violation was observed on the reporting Windows 11 build 22000 machine at title RVA +0xb5a5f8 (read 0x68). I did not establish that missing Shader Model 6.6 caused it, and this PR no longer claims to fix that crash. It provides an explicit preflight for users who prefer a clear configuration error over launching without a usable host device.
Validation
@Marvisak on GitHub · 2026-11-25 03:28 UTC · original
Automated triage for the maintainers.
Needs work. This requires shader model 6.6 in
create(crates/victory-gpu/src/host.rs) and stopsrun --executeearly through a newensure_host.--features agilityand runcargo xtask agility. Neither exists inmain(they come from the unmerged #175), so it points users to commands that do not exist.maindocumentshost()returningNoneas deliberate ("a run then behaves as before: nothing executes"). Making the host device a hard requirement for every run is a policy change for the maintainer to decide.Please reword the message to something that is true on
main, and say on which hosts this stopped the access violation you describe. CI has not run.Generated by Claude Code
@degradka on GitHub · 2026-11-25 08:22 UTC · original · edited 2026-11-25 08:23 UTC
Thanks — revised to keep the host requirement opt-in via run --execute --require-host; the default path still follows the documented main-branch host() -> None fallback. I also removed the unmerged Agility commands and now propagate CheckFeatureSupport errors instead of printing an invented shader-model level.
I cannot honestly name a host where this patch stopped the access violation: the only evidence is the Windows 11 build 22000 crash recorded in the updated description, without proof that SM 6.6 was the cause. The PR now describes this as a preflight tool, not as a crash fix.
@degradka on GitHub · 2026-11-25 08:38 UTC · original
Closing this. I hit an access violation on an older Windows 11 build (22000) and assumed missing shader model 6.6 was the cause, but I never confirmed that, and the title runs on my current machine. The patch also made create return no device below SM 6.6, which is a policy change for you to decide, not something to slip in. Sorry for the noise. I'll open a new PR if I can reproduce a crash and trace it to a cause.
Pull request closed