Repository navigation
Conversation
VIctory V2: community PRs, merged and testedOpen PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: Unofficial community fork of Marvisak/VIctory, GPL-3.0. |
catminou4
left a comment
There was a problem hiding this comment.
Static review only: apps/victory is Windows-only — nothing compiles on macOS; source review of the diff.
translate now reports the validator's own reason instead of the line that hides it: validator_reason() extracts the meaningful part and plural() handles counts, with a_validator_refusal_is_reported_by_what_it_names test. Diagnostic-quality improvement for the translate CLI.
150b69c to
85ce678
Compare
85ce678 to
53b5055
Compare
Every compute shader refusing validation reported the same unactionable
reason: 'Entry function performs some operation that is incompatible with
the shader stage or other entry properties. See other errors for details.'
The tool kept only the first error line, so the line it pointed at ('Function
uses features incompatible with the shader stage (cs) of the entry
function.') was discarded, and 735 of the 1114 refused programs in a whole
archive census were grouped under a reason that names nothing.
The reason is now every error the validator named, without the announcement
line, with a count of the rest so a fix that removes one error is not
mistaken for a fix that makes the program pass.
53b5055 to
ef20af7
Compare
|
One thing your helper drops that turned out to carry the answer: the I used this PR's idea (report what the validator actually says, not the line that hides it) in #2016, and while doing it I found that the useful line in one whole class of refusals is a
Your filter keeps let errors: Vec<&str> = text
.lines()
.map(str::trim)
.filter(|l| (l.contains("error:") || l.contains("note:"))
&& !l.contains("See other errors for details"))
.filter(|l| !l.contains("Entry function performs some operation"))
.collect();The rest of your reasoning about the announcement line stands — it is exactly the line that hid the stage error in #1987's neighbour class, where the useful line was No conflict with #2016 needs resolving here: that PR appends the note inline, so whichever lands first the other's change is a two-line edit. I would rather your helper be the one that survives, because it collects all the errors and mine keeps one. No game data is involved: validator text and flag values. Written with an AI assistant. |
|
Automated triage for the maintainers. Merge candidate. In the offline Update after your reply: the head is still Generated by Claude Code |
|
The note now travels with your reason, so #2016 no longer has to touch this file I took up the suggestion from my comment above rather than leaving it for you to accept: validator: error: Flags must match usage. (note: Flags declared=1074790416, actual=1074855952)That is the whole answer to #1987 in one line — the difference Measured over the local archive (26,503 containers, validator SDK 10.0.26100 1.9), the census line for the 867 programs that hit this reads that way instead of naming an error and hiding what the validator compared. Why I touched your pull request rather than mine: #2016 carried the same note handling inline, which made the two conflict in Checked: If you would rather keep your helper exactly as it was and have the note live in #2016 instead, say so and I will revert this in a minute — but I think it belongs here, because it is the same sentence: what the validator said. No game data is involved: validator text, a flag value and counts. Written with an AI assistant. |
|
Test report: RTX 5060 Ti (Blackwell), Windows 11 Pro 26200, driver 621.24. Branch at |
The batch report kept the validator's least useful line
A whole-archive census on
main(70564ae,translate --validate --list --jobs 10) refuses 1,114 of 25,899 programs, and 735 of them — two thirds of every refusal — were grouped under this reason:The tool took only the first error line. The validator then says which stage, in an error the report discarded:
(that text is what
VICTORY_EMIT_DUMP=<dir>writes, and it is the only way to see it today).The change
Tally's validator arm now reports every error the validator named, minus the line that only announces the refusal, plus a count of the rest:The count matters: one reported reason can stand for a program with several errors, and a fix that removes the first one is not a fix that makes the program pass.
Verification
Same archive, same command, before and after:
The totals do not move — 24,785 validated, 1,114 refused, the same 25,899 programs — because this changes what is reported, not what is accepted.
a_validator_refusal_is_reported_by_what_it_names, over synthetic validator text (the two shapes the validator actually produces, plus a single error, a bare status and empty text) → passes.cargo test --workspace --locked: one failure,modules::display::tests::sdr_and_display_deferrals, whichmainalso has in a headless session (the display stack answersE_NOT_SUPPORTED); fixed by GPU: adapter choice and logging, presenter backoff, a texture-description ladder, and a display-deferral test a headless session can pass #1630, unrelated to this change.cargo clippy --workspace --all-targets --locked -- -D warningsand with--all-features→ clean;rustfmt --checkon the file → clean.What it immediately shows, and what comes next
The 735 are all compute, and with the stage named, one of them can be traced:
CS_RaytracingResolve_*shaders are refused because the emitted module usesdx.op.sample(implicit derivatives) anddx.op.textureGather, which a compute shader cannot run. Adxc -dumpbinof one refused program shows exactly twodx.op.sampleand fourdx.op.textureGathercalls among 117SampleLevelones — so the console'simage_sampleis being lowered as if it were a pixel shader's. On the console a computeimage_samplehas no derivatives and samples level 0, which is whatSampleLevelwith LOD 0 says. That is a translator fix, not a reporting one, and I will open it separately so this stays reviewable.No game data is included: counts, error text and instructions only.
Written with an AI assistant.