Fix XMA packet starts and final sample skips #4275
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4275
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4274"
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?
@invismann on GitHub · 2026-11-30 18:02 UTC · original
invismann:fix/xma-packet-playback→main· +92 −21 · 2 files · 1 commits · openSplit from #4255.
What it changes
Ported from
a236443f6oncool-fox-rtx.How it was tested
Before: Both XMA regressions failed on
84bd61e2cwith the tests applied. The continuation case produced zero frames, and skipping five subframes left 256 samples where 128 were expected.After: The Windows
victory-formatsXMA andvictory-hleaudio tests passed on this branch, including both regressions with synthetic packets. The staged asset-policy check passed.Startup smoke: The combined branch in #4255 ran on Windows with an RTX 4090, Series X at 2560×1440 SDR, and DLSS, frame generation, and hardware ray tracing disabled. It reached at least 1,024 presented frames.
CI baseline: The workspace Clippy run on #4255 failed on existing warnings in the shader and GPU crates. CI log
Checked for overlap
1048436228to89d2eb173c@Alilou92 on GitHub · 2026-12-01 18:32 UTC · original
Tested on Windows 11, Intel Core Ultra 7 265KF, RTX 5070, merged onto main
5fabb46e(no in-game test, I don't have the game).cargo test -p victory-formats xma: 15 passed, 4 ignored (benchmarks and tests that need files outside the repository). Same result on Linux.cargo test -p victory-hle --lib xma: 6 passed, including the two new tests andxma2_voices_play_through_the_host.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.