warm-bad.txt: a compiler crash holds only for the translation and driver it happened under (stale bans are retried) #430

Open
github-bot wants to merge 1 commit from github-bot/gh-430 into main AGit
Owner

@⁠Jrjy3 on GitHub · 2026-11-27 04:03 UTC · original
Jrjy3:warm-bad-expiry → main · +69 −14 · 3 files · 1 commits · open

warm-bad.txt lists the pipelines that crashed the driver's compiler. Since #170, runs and victory warm skip everything on it for good. A crash depends on the translation and the driver, though, and a translator fix (for example #55 for the RDNA 4 amdxc64.dll crash) or a new driver can make those pipelines build fine. Until someone deletes the file or sets VICTORY_WARM_BAD=0 by hand, they stay out, and every frame their draws are dropped.

What I saw (Radeon AI PRO R9700, RDNA 4, Windows 11)

  • warm-bad.txt held 43 keys from before #55 was in my build. 28 of the 31 that the boat scene uses are CS_RaytracingResolve_*_Wrapped variants, about 80 refused dispatches a frame (the diagnostics build's drop reasons: refused [compute …]).
  • With the list set aside, victory warm --used built all 43 in 2 s with no crash. A run then used them with no crash, the same frame time (74.6 ms against 73.5 ms) and no refused drops left.

Change

  • Each line now has the pipeline fingerprint after the key, written by both writers (warm and the run's compiler guard): <key> <fingerprint> <why>. This is the same fingerprint warm-done.txt already uses: the translator with its settings, plus the driver.
  • Both readers skip only the keys listed under the current fingerprint. Lines under another fingerprint, and old lines without one, are tried again. A pipeline that still crashes is caught as before, by warm's worker process or the run's guard, and listed again under the new fingerprint, so nothing new can take a run down.
  • Both say how many lines they ignored: warm prints it, and the run logs it once.
  • VICTORY_WARM_BAD=0 is unchanged.
  • The helpers live in pipeline::known (bad_line, bad_keys), with a test.

Tests

  • cargo test -p victory-gpu bad_keys passes (new test).
  • cargo test -p victory warm passes, 4/4.
  • The pipeline tests pass, 27/27.

The CI failures on this PR are the ones main has now: Clippy's transmute in descriptor_sites.rs, and depth_bounds_pipeline_loads_and_filters_draws.

🤖 Generated with Claude Code

**@⁠Jrjy3** on GitHub · 2026-11-27 04:03 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/430) `Jrjy3:warm-bad-expiry` → `main` · +69 −14 · 3 files · 1 commits · open `warm-bad.txt` lists the pipelines that crashed the driver's compiler. Since #170, runs and `victory warm` skip everything on it **for good**. A crash depends on the translation and the driver, though, and a translator fix (for example #55 for the RDNA 4 `amdxc64.dll` crash) or a new driver can make those pipelines build fine. Until someone deletes the file or sets `VICTORY_WARM_BAD=0` by hand, they stay out, and every frame their draws are dropped. ### What I saw (Radeon AI PRO R9700, RDNA 4, Windows 11) - `warm-bad.txt` held 43 keys from before #55 was in my build. 28 of the 31 that the boat scene uses are `CS_RaytracingResolve_*_Wrapped` variants, about 80 refused dispatches a frame (the diagnostics build's drop reasons: `refused [compute …]`). - With the list set aside, `victory warm --used` built all 43 in 2 s with no crash. A run then used them with no crash, the same frame time (74.6 ms against 73.5 ms) and no refused drops left. ### Change - Each line now has the pipeline fingerprint after the key, written by both writers (`warm` and the run's compiler guard): `<key> <fingerprint> <why>`. This is the same fingerprint `warm-done.txt` already uses: the translator with its settings, plus the driver. - Both readers skip only the keys listed under the **current** fingerprint. Lines under another fingerprint, and old lines without one, are tried again. A pipeline that still crashes is caught as before, by `warm`'s worker process or the run's guard, and listed again under the new fingerprint, so nothing new can take a run down. - Both say how many lines they ignored: `warm` prints it, and the run logs it once. - `VICTORY_WARM_BAD=0` is unchanged. - The helpers live in `pipeline::known` (`bad_line`, `bad_keys`), with a test. ### Tests - `cargo test -p victory-gpu bad_keys` passes (new test). - `cargo test -p victory warm` passes, 4/4. - The pipeline tests pass, 27/27. The CI failures on this PR are the ones `main` has now: Clippy's `transmute` in `descriptor_sites.rs`, and `depth_bounds_pipeline_loads_and_filters_draws`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Each line now carries the pipeline fingerprint (translator with its settings,
and the driver; the one warm-done.txt already uses) after the key. Runs and
`victory warm` leave out only the keys listed under the current fingerprint;
lines under another, or written before this (no fingerprint), are tried
again. One that still crashes is caught as before and listed again under the
new fingerprint.

On an R9700 (RDNA 4), the 43 pipelines listed before #55's fix (28 of them
CS_RaytracingResolve variants, about 80 dropped dispatches a frame) all build
again once the list is set aside, and run without a crash: the list had kept
them out for good.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 04:06:10 +00:00
Author
Owner

@⁠jtrudeau1530 on GitHub · 2026-11-27 04:21 UTC · original

This fixes a real picture problem on Linux/RADV as well, not just a frame-rate one.

Our warm-bad.txt had 6 compute keys marked "hung for 180 s". They were written under an older vkd3d-proton, before we moved to master 71cae091 with the new dxil-spirv structurizer. Those 6 pipelines were refused about once per frame each.

Test: RX 7900 XT, Wine 11.18, vkd3d-proton 71cae091, RADV, Series X, the same walking route and caches, with VICTORY_WARM_BAD=0 against the default.

  • All 6 built with no hang and no compiler-guard event, and 0 refused drops were left.
  • Speed was in the usual range: 20.9 fps mean against 17.6–21.9 in the reference runs.
  • The opening cutscene shots that were nearly black (the diner and the car interior) are lit. The prison interiors and corridors are lit too, where they were murky and brown before. So at least some of those 6 compute passes belong to the lighting.

That is exactly the case your fingerprint fixes: the list stayed in force after the translator/driver change that would have let those pipelines build.

AI-assisted (Claude Code).

**@⁠jtrudeau1530** on GitHub · 2026-11-27 04:21 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/430#issuecomment-7209734383) This fixes a real picture problem on Linux/RADV as well, not just a frame-rate one. Our `warm-bad.txt` had 6 compute keys marked "hung for 180 s". They were written under an older vkd3d-proton, before we moved to master `71cae091` with the new dxil-spirv structurizer. Those 6 pipelines were refused about once per frame each. Test: RX 7900 XT, Wine 11.18, vkd3d-proton `71cae091`, RADV, Series X, the same walking route and caches, with `VICTORY_WARM_BAD=0` against the default. - All 6 built with no hang and no compiler-guard event, and 0 refused drops were left. - Speed was in the usual range: 20.9 fps mean against 17.6–21.9 in the reference runs. - The opening cutscene shots that were nearly black (the diner and the car interior) are lit. The prison interiors and corridors are lit too, where they were murky and brown before. So at least some of those 6 compute passes belong to the lighting. That is exactly the case your fingerprint fixes: the list stayed in force after the translator/driver change that would have let those pipelines build. *AI-assisted (Claude Code).*
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/430/head:github-bot/gh-430'
git switch 'github-bot/gh-430'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-430'
git switch 'github-bot/gh-430'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-430'
git switch 'github-bot/gh-430'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-430'
git switch 'main'
git merge --squash 'github-bot/gh-430'
git switch 'main'
git merge --ff-only 'github-bot/gh-430'
git switch 'main'
git merge 'github-bot/gh-430'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.