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

Open
amine23012004 wants to merge 1 commit from upstream-pr/170 into main
amine23012004 commented 2026-11-26 09:52:54 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by amine23012004 on 2026-11-26T09:52:54Z.


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

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:6624014401 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/170). Originally posted by [amine23012004](https://github.com/amine23012004) on 2026-11-26T09:52:54Z. --- 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)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/170:upstream-pr/170'
git switch 'upstream-pr/170'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/170'
git switch 'upstream-pr/170'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/170'
git switch 'upstream-pr/170'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/170'
git switch 'main'
git merge --squash 'upstream-pr/170'
git switch 'main'
git merge --ff-only 'upstream-pr/170'
git switch 'main'
git merge 'upstream-pr/170'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
avatarmanz/VIctory-7900XTX!170
No description provided.