Add RX 9070 XT launch workaround and performance telemetry #7
No reviewers
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/ReTerryDavis--ReVIctory!7
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-7"
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?
@SovietBearz0r on GitHub · 2026-12-01 20:38 UTC · original
SovietBearz0r:fix/9070xt-prologue-hud→main· +238 −2 · 4 files · 3 commits · closed without mergingSummary
Reproduction and validation
On an RX 9070 XT, the stock 4K profile showed the startup animation but presented black frames with audio in the in-engine intro. With only VICTORY_PORT_CONSTANTS=0 changed, the 4K diagnostic run rendered the Prologue title card and scene. The alignment and ring-size patches remained enabled. The underlying defect in the constant-buffer path has not been isolated.
The diagnostics build, PowerShell parser, staged asset-policy check, and diff whitespace check passed. The expanded HUD and telemetry were build-checked.
Validation checklist
The launcher starts with the HUD hidden. Pass
-Hudto show it at startup or press F3 in-game. Pass-PerfLogto enable periodic telemetry independently.@LightningFlashEvE on GitHub · 2026-12-02 10:11 UTC · original
Additional RX 9070 XT baseline diagnostics for the startup/picture investigation.
Tested revision: main at
925ac0a32f6a05c31373a2843bc555f57afba4f7, locally builtdiagwithdiagnostics. PR branch testing and isolation ofVICTORY_PORT_CONSTANTS=0remain pending.Environment
32.0.32029.2010b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e931. First-run preparation fails when the pipelines directory is absent
On the initial cache, shader translation succeeded (25,985 shaders, zero failures). Warm used printed zero known/used pipelines and then exited with
os error 3(path not found), preventing launcher Play.The local source points to a directory-creation issue in
apps/victory/src/warm.rs:folder()callscfg.cache_subdir("shaders")?.with_file_name("pipelines"). The first call createsshaders, but changing the path name does not create its siblingpipelines. Openingpipelines/warm-done.txtthen fails when that parent is absent.Creating
%LOCALAPPDATA%\revictory\cache\pipelinesmadewarm --usedexit successfully. A possible fix is to returncfg.cache_subdir("pipelines")directly. A regression check could exercise Warm used with a fresh temporary cache and no recorded pipelines.2. World rendering works after warming, but severe highlight clipping remains
The earlier black world with visible UI/subtitles did not recur in the tested scenes after the used pipelines were warmed. Movement, the opening follow-the-guard objective, corridors, and the indoor shooting tutorial were reached.
However, windows/some lamps and lit arms/nearby objects in the shooting tutorial show large nearly white/yellow regions with lost detail.
Comparisons on the same baseline:
logexp/target=-5.5in the gameplay interior, matching the fixed value documented inlightprobe.rs. Complete color-output correctness is still unverified.The visual comparison is qualitative. A reference-console pixel comparison has not been performed, and screenshot/display-capture color handling has not been independently ruled out.
Could you advise whether the clipping is already tracked, whether the constants-path workaround is worth isolating for this symptom, and which lightweight diagnostic would be useful next?
Only observations and runtime statistics are included here. Full logs and the exposure CSV are retained locally for a requested, reviewed excerpt; no game assets, shader dumps, screenshots, or captures are attached.
@rpmaster2 on GitHub · 2026-12-02 15:26 UTC · original
Another RX 9070 XT datapoint on the same revision (
925ac0a), release build,series-x, Windows 11, Ryzen 5 5600, 32 GB, 1080p display. Save at the house after the first mission; fixed route house → gun shop → back, 180 s, measured from an explicit start.Baseline after
shaders+warm --used(two runs, median):Free play, chapter 1: up to 13,504 draws at 9.2 fps (108.8 ms); 6–10k median 13.7; no frame over 250 ms in 141 samples.
Two findings that may help this PR:
0x80070057); thenhost GPU device removed after 19 submissions sent ahead (VICTORY_RELAY=1) of 282 lists,0x887A0006→0x887A0004. Afterwarm --usedthe same place ran without the stall. On the default 2 s TDR this looks like the expected outcome of a 12 s compile on the submit thread.-RayTracing: interior lighting flickers frame to frame (brightness steps as the camera moves); outdoors stable. Reproducible twice from the same save, no RT error in the log,victory_hle::bvh_probepresent. Looks like the first known gap indocs/fork-ray-tracing.md(dynamic structures overlap; submissions land up to two frames late). Note: flicker, not the highlight clipping reported above.Frame budget at 4–6k draws: 46–52 ms, of which copies 10–12 ms / 37–39 MB, copy back 16–18 ms / 18–21 MB, GPU 3–4 ms.
AI-assisted: written by DeepSeek (OpenCode harness) for rpmaster2; no game data included.
@SovietBearz0r on GitHub · 2026-12-02 15:45 UTC · original
Superseded by #14, which includes this launch workaround and telemetry together with the AMD integration changes.
@SovietBearz0r on GitHub · 2026-12-02 16:25 UTC · original
Thanks @rpmaster2 for running the same route twice and breaking down the frame budget. We closed this PR because #14 contains the RX 9070 XT launch workaround and telemetry from here.
The warmed route gives us a good comparison point. I’ll treat the cold-start device removal as a separate issue. The two roughly 12-second compute pipeline builds, the library load failures, and the device removal occurred in the same run. Warming prevented the stall on your repeat, but that sequence alone doesn't establish what triggered the removal. The copy and copy-back costs you measured are also useful targets to compare on the same route.
The reproducible RT interior brightness steps sound like a separate visual issue from the earlier highlight clipping and from our black Prologue workaround. The late dynamic-structure updates in the RT notes are a plausible lead. We haven't verified that link or a fix.
If you try #14, the most useful comparison would be the same warmed route and draw-count buckets, with RT off for performance and the interior RT repro checked separately. Please keep file-backed memory off for that test. It’s experimental and made the pre-rendered startup movie green in our test.
Pull request closed