Fix the 7–11 minute pool crash (upstream audio fixes), plus GPU stability fixes #959
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/fxceless--victory-fork!959
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-959"
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?
@Sashwiin on GitHub · 2026-11-25 13:48 UTC · original
Sashwiin:share→main· +1732 −118 · 14 files · 23 commits · openFixes the pool crash at 7–11 minutes into the world (a certain title's instance pool fills up) by bringing in upstream's 8 XMA/audio fixes; the intro stream no longer stalls, and a test run went 36 minutes without a crash. Also: an opt-in watchdog skip, choosing the host GPU by name, pipeline-library safety, bounded GPU waits, reuse of upload buffers, and an experimental page-pool in-place mode (off by default). Tested on an RTX 5070 Ti laptop with 16 GB of RAM.
🤖 Generated with Claude Code
Run 53 found no library at start ("no host pipeline library yet") where a 1.8 GB pre-build had been, started an empty one and saved it over the file. An unreadable file is now left alone (no pipelines kept that run); one the host rejects (another adapter or driver, damage) is moved aside as host-pipelines.rejected.bin before an empty one is started. Co-Authored-By: Claude Opus 5.5 <[email protected]>@Sashwiin on GitHub · 2026-11-25 13:52 UTC · original
Overlaps: the watchdog commits match #364; GPU selection overlaps #261/#750 (this one picks by name); some XMA fixes overlap #301, #627 and #877. The new part is the evidence: with upstream's 8 XMA commits the intro stream stops stalling and the 7–11 minute pool crash is gone (36 min in the world, no crash). Happy to split this PR or drop the overlapping commits.
@avt0m4t48 on GitHub · 2026-11-25 14:39 UTC · original
An independent Linux check on
ffe4a3apassed 13 built-in XMA tests, with three ignored. A source-built seven-packet stream also preserved a 1,031-bit frame and reached the next frame across an interleaved continuation and empty packet. The same input passes #627, and0b0074einstead points into padding.The other synthetic control distinguishes the two implementations. When a packet's declared first-frame position is beyond its payload, #627 rejects it. On main and this head the parser can select a bit in a later packet's header as the next frame. This favors keeping #627's bounds check when splitting the shared packet traversal changes. I also confirmed the APU edits overlap #567 and the deferred loop-start skip overlaps #301.
These results cover the XMA parser and source comparison. They do not reproduce the Windows audio path or attribute the reported 36-minute in-game result to an individual change.
AI-assisted using Codex.
@Ym1r1710 on GitHub · 2026-11-25 15:09 UTC · original
Tried just the 8 upstream XMA commits from this PR on their own (cherry-picked onto current main plus #812, no watchdog / GPU selection / in-place pool commits). RTX 5080 16 GB, Windows 11, Series X profile.
15 min run (stopped it at 904 s myself), no crash, no device removal. Frame rate stayed flat at 6.7-7.0 fps the whole way, including the 7-11 minute window. Cherry-picks applied clean.
So the audio part alone seems to be enough for the pool crash, at least on my setup. Can't say for sure the base would have crashed on this machine though, I didn't do a long run without them.
@ThomasHFWright on GitHub · 2026-11-25 18:12 UTC · original
Linux/Proton follow-up: selected the eight audio-only commits documented below, plus the stricter continuation-packet parser from #627 (
b786897943). Original authorship/provenance retained. I did not import this PR's unrelated GPU, watchdog or page-pool bundle.CachyOS, Ryzen 7 9800X3D, RTX 5090, NVIDIA 620.73.04, GE-Proton 11-14 with the pinned Linux runtime. Native formats: 35 passed / 5 ignored. Full HLE: 104 passed / 1 pre-existing Wine failure (missing WSAConnectByList). New malformed-input, continuation bounds, ring wrapping, multi-frame skip bookkeeping and short/misaligned output tests pass. Cached transform and byte-gathering equivalence checks pass. Application build and all-target/all-feature Clippy pass.
Two combined title trials rendered incomplete world scenes, then hit the same existing fixed-pool breakpoint after 518.31 s and 432.27 s. Neither recorded an NVIDIA Xid, native allocation failure or OOM. Both started from verified copies of the same seven-file profile; the second used a separate writable data folder. They also contain half-data changes (and a later shader-analysis correction), and reuse warmed caches, so they are not isolated audio A/B tests. This does not show the audio subset resolving our progression blocker.
An inherited limitation remains: a skip consuming all decoded PCM can still result in a zero output block; the added skip tests cover bookkeeping, not that timing case.
Source pins, tests and limitations: https://github.com/ThomasHFWright/LinVictory/blob/linux-edge/docs/linux-improvements.md
Title results: https://github.com/ThomasHFWright/LinVictory/blob/linux-edge/docs/linux.md
AI-assisted integration/testing with OpenAI Codex. Aggregate results only; no game files, generated data or raw logs attached.
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.Merge
Merge the changes and update on Forgejo.