Fix the 7–11 minute pool crash (upstream audio fixes), plus GPU stability fixes #958
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Sashwiin on 2026-11-25T13:48:16Z.
Fixes 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
Imported from fxceless/victory-fork. Originally posted by Sashwiin on 2026-11-25T13:52:11Z.
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.
Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T14:39:53Z.
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.
Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-25T15:09:56Z.
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.
Imported from fxceless/victory-fork. Originally posted by ThomasHFWright on 2026-11-25T18:12:33Z.
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
Checkout
From your project repository, check out a new branch and test the changes.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.