Runs leave out the pipelines victory warm found to crash the driver (#60) #170

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

@⁠amine23012004 on GitHub · 2026-11-26 09:52 UTC · original
amine23012004:fix/skip-warm-bad-pipelines → main · +62 −0 · 2 files · 1 commits · open

Fixes #60.

What and why

victory warm makes each known pipeline in a child process. One whose driver compile crashes or hangs ends that child and is written to warm-bad.txt, beside the pipeline cache. The running title never read that list. It made the same pipelines in its own process and died in the driver's compiler: amdxc64.dll+0x861b9f on an RX 9070 XT, at the same address before and after a warm-up that had listed 70 of 60,680 pipelines (#60).

Now Pending::make checks the list first. A listed pipeline gets no host pipeline, as a refused one does: its draws are dropped (missing reports it as refused), and the run goes on.

  • The keys are the same 32-digit form as Pending::key (known::keys writes the 16 key bytes as hex). Lines that are not a key are ignored.
  • The list is read once per run, from library::folder(), and logged with its count. Each pipeline it leaves out is logged once, when it would have been made.
  • VICTORY_WARM_BAD=0 makes the listed pipelines as before, for example to try them again after a driver update. Deleting the file does the same for good.
  • warm itself is unchanged: it already skipped its own bad list, and its children make pipelines through known::make, not Pending::make.
  • README: one sentence under the two ahead-of-time steps.

Related: #53 guards the same crash with a compiler-crash handler plus a shader skip list, and #167 serializes driver compiles on AMD. This one uses only what warm has already found, so it works without either and does not slow the runs that are not affected.

Tested

  • New unit test warm_bad_lines_give_their_keys: line parsing (CRLF, blank lines, words that are not keys, a 31-digit key), and the form matching Pending::key.
  • In my fork, all CI jobs pass with this commit together with the CI fix (https://github.com/amine23012004/VIctory-7900XTX/pull/1). The new test ran in the Diagnostics job: pipeline::make::tests::warm_bad_lines_give_their_keys ... ok. On this branch alone the CI stays red for the two reasons fixed in the CI pull request.
  • Not run against the title or on an RX 9070 XT (no game files, no such card here). Could someone with the #60 setup run warm and then the title with this branch?

AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

**@⁠amine23012004** on GitHub · 2026-11-26 09:52 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/170) `amine23012004:fix/skip-warm-bad-pipelines` → `main` · +62 −0 · 2 files · 1 commits · open Fixes #60. ### What and why `victory warm` makes each known pipeline in a child process. One whose driver compile crashes or hangs ends that child and is written to `warm-bad.txt`, beside the pipeline cache. The running title never read that list. It made the same pipelines in its own process and died in the driver's compiler: `amdxc64.dll+0x861b9f` on an RX 9070 XT, at the same address before and after a warm-up that had listed 70 of 60,680 pipelines (#60). Now `Pending::make` checks the list first. A listed pipeline gets no host pipeline, as a refused one does: its draws are dropped (`missing` reports it as refused), and the run goes on. - The keys are the same 32-digit form as `Pending::key` (`known::keys` writes the 16 key bytes as hex). Lines that are not a key are ignored. - The list is read once per run, from `library::folder()`, and logged with its count. Each pipeline it leaves out is logged once, when it would have been made. - `VICTORY_WARM_BAD=0` makes the listed pipelines as before, for example to try them again after a driver update. Deleting the file does the same for good. - `warm` itself is unchanged: it already skipped its own bad list, and its children make pipelines through `known::make`, not `Pending::make`. - README: one sentence under the two ahead-of-time steps. Related: #53 guards the same crash with a compiler-crash handler plus a shader skip list, and #167 serializes driver compiles on AMD. This one uses only what `warm` has already found, so it works without either and does not slow the runs that are not affected. ### Tested - New unit test `warm_bad_lines_give_their_keys`: line parsing (CRLF, blank lines, words that are not keys, a 31-digit key), and the form matching `Pending::key`. - In my fork, all CI jobs pass with this commit together with the CI fix (https://github.com/amine23012004/VIctory-7900XTX/pull/1). The new test ran in the Diagnostics job: `pipeline::make::tests::warm_bad_lines_give_their_keys ... ok`. On this branch alone the CI stays red for the two reasons fixed in the CI pull request. - **Not run against the title or on an RX 9070 XT** (no game files, no such card here). Could someone with the #60 setup run `warm` and then the title with this branch? AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`warm` makes each pipeline in a child process and lists the ones whose
driver compile crashes or hangs in `warm-bad.txt`, but the running title
made the same pipelines in its own process and died in the driver's
compiler (amdxc64.dll+0x861b9f on an RX 9070 XT, before and after a
warm-up). A pipeline listed there now gets no host pipeline, as a refused
one does: its draws are dropped and the run goes on. The keys are the
same 32-digit form as `Pending::key`. VICTORY_WARM_BAD=0 makes them as
before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:21:41 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/pipeline/make.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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