scripts\play.ps1: -Safe keeps VICTORY_RELAY=2 and VICTORY_CARD_STEPS=2, deletes diagnostic switches, and warns about VICTORY_SKIP_PIPELINES=none on every run #25
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#25
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?
@itsonewi on GitHub · 2026-11-25 23:48 UTC · original
scripts\play.ps1is what every report here runs through, and it has four defects that change what those reports mean. Three are one-line fixes.1.
-Safekeeps the two switches the reports blameThe shared table sets them for both modes (
scripts/play.ps1:15-20):and the
-Safebranch (:21-25) only adds two'0'values and omits three others:So
-Saferuns withVICTORY_RELAY=2andVICTORY_CARD_STEPS=2— exactly the two stages #13 measured as wrong on vkd3d-proton (stage 2 hands back garbage skinned meshes;CARD_STEPS=2removes the device) and that #11's numbers also point at. The script calls-Safe"the first thing to try when something is wrong" (:3), the README repeats it, and the result is visible in the tracker: #11 runs 3, 4, 5, 6 and 9 are all-Safeand all end in removal; #12 says the crash is identical with and without-Safe. Those reports do not test a safe configuration, they test a configuration that still has both fast paths on.Fix: in the
-Safebranch setVICTORY_RELAY='1'andVICTORY_CARD_STEPS='0'(they are the two with measured breakage), and keep-Safemeaning "only the paths that are known-correct".2. It deletes every diagnostic switch set in the shell
scripts/play.ps1:33-34:Everything else a user exports is removed before the run:
VICTORY_D3D12_ADAPTER(#7),VICTORY_PIPELINE_WORKERS(#8),VICTORY_SKIP_PIPELINES(#8, #11),VICTORY_GPU_TIMING,VICTORY_DESC_WHY,VICTORY_WAVE_WHY,VICTORY_SAFE_COPY. Only-More @{...}survives, and the comment above it does not say that a variable set in the window will be discarded. Two of the reports in this tracker are experiments with exactly such variables, so some of their "no effect" results may be this line rather than the switch.Fix: do not remove unknown
VICTORY_*variables (they are the diagnostic surface), or print the ones being removed once, so a report can show them.3.
VICTORY_SKIP_PIPELINES='none'as a default warns on every run:19setsVICTORY_SKIP_PIPELINES = 'none'.parse_skip_hashes(crates/victory-gpu/src/pipeline.rs:483-496) warns for any value that is not a 16-digit hex hash, so every run of the launcher logsThat is a warning about a value the user never set, printed in the log people paste into issues, and #8 was told to check for exactly this line. It also means the launcher always sets the switch, so
-Safecannot leave it unset. Fix: remove the entry.4.
-Build releasesilently disables DRED:19setsVICTORY_D3D12_DRED='light', anddred_light(),dred_on()anddred_faults()are all gated oncfg!(feature = "diagnostics")(crates/victory-gpu/src/host.rs:1651,:1661,:1676). With-Build releasethe binary has no diagnostics feature, so the setting does nothing and the user still believes device-removal data is on. Fix: warn once whenVICTORY_D3D12_DREDis set in a build without the feature, or refuse-Build releasewith a DRED value.5. Both early exits report success
:30-31print andreturn, which exits the script with code 0. Anything that runs the launcher in a loop records "no target build" and "no exe" as successful runs.exit 1is the one-line fix.Not checked
I read the script and the switches it sets against the source at
0a43566; I did not run PowerShell with the launcher or build the binary here.AI use
AI-assisted review (source reading). No build, no hardware run, no game files.
@Adika713 on GitHub · 2026-11-25 23:57 UTC · original
Confirmed point 3 in a real run of this fork's
diagbuild at0a43566: using the same settings asscripts\play.ps1, includingVICTORY_SKIP_PIPELINES='none', producedWARN victory_gpu::pipeline: VICTORY_SKIP_PIPELINES expects 16-digit shader hashes hash="none"at startup. The value is set by the launcher, not by the user, and it adds noise to the logs people paste into issues. Removing that entry fromplay.ps1is the right fix; I made no repository change. The same 120 s 1920×1080 Series S run reported a steady 30.0 fps / 33.3 ms per frame on this RX 6950 XT host, and no game files were posted.AI-assisted: OpenCode, model Big Pickle. No game data.
@itsonewi on GitHub · 2026-11-26 00:06 UTC · original
Thanks for confirming it in a real run — and for leaving the repository alone, since the fix belongs in
scripts/play.ps1and not in anyone's checkout.Three notes on top of your observation:
parse_skip_hashes(crates/victory-gpu/src/pipeline.rs:475-505) only reports a token that is not 16 hex digits, andnonepasses through the same path a real hash would. So the launcher is handing the switch a value that the switch cannot act on, once per run, and the line lands in the log that people paste.-Safedoes not remove it. That branch (:33-34) clears everyVICTORY_*it does not keep and then re-adds the four settings it wants, butVICTORY_SKIP_PIPELINES='none'is set at:19on every path, so the noise is present in both modes. Point 2 and point 3 of the report are the same line of the launcher seen from two ends.mostabove 33.3 ms in the same line, that would say the opposite and is worth posting.(Answer written with AI assistance, from
pipeline.rsandscripts/play.ps1at0a43566.)@avatarmanz on GitHub · 2026-11-26 08:19 UTC · original
Partly fixed by #78, now in main (
0ce46d5a); the rest is still open.github-bot referenced this issue2026-11-26 11:21:46 +00:00