Four focused fixes with CPU regressions, ready for review #923

Open
opened 2026-11-26 04:14:12 +00:00 by github-bot · 1 comment
Owner

@⁠DocBlack89 on GitHub · 2026-11-24 14:12 UTC · original

Four focused fixes are available on my fork while external PR creation is restricted. Sharing them together makes the work discoverable and helps avoid duplicate implementation. I understand the review queue needs time; separate PRs can follow when the normal route reopens.

Each branch is one independent commit on ffe310e:

Branch / diff Change Synthetic regression coverage
WARP reporting · diff Forced WARP runs select software only, avoiding duplicate runs labeled as hardware in VALU and waterfall tests. Pure backend selection; no device creation.
Cache staging · diff Retry stale staging-name collisions atomically, with bounded retries and existing files preserved. Collision recovery, exhaustion and unrelated I/O errors.
Save quota · diff Credit replaced bytes before clamping remaining quota, preserving an existing quota excess. Quota boundaries, recovery, deletion and disk space; integer sizes only.
IAT binding · diff Support unaligned IAT entries and preserve crossed-region protections, with rollback of earlier changes after setup failure. Eight alignments, differing page protections and failure without a partial write.

Validation: Windows, Rust 1.98.1. The local combined integration on ffe310e passed 158 selected CPU tests, strict Clippy for the changed crates (all targets/all features), and the asset-policy check. Five existing benchmark/reference-data tests remained ignored. This was scoped validation; the full workspace and GPU suites were not run. Full-file rustfmt still reports inherited differences in xgamesave; the changed ranges introduce none.

Negative controls reproduced the former backend-selection, cache-collision, quota-accounting and protection-restoration behavior. The IAT negative control retained a defined unaligned store; the old potentially undefined unaligned volatile store was not executed.

No game execution, GPU/WARP dispatch or real saves were used. These commits include no game files, shader dumps, captures or extracted assets. The tests did not contact Xbox or Rockstar online services. The fixes do not claim to resolve retail boot or gameplay failures.

Related work: #254 refactors cache publication and #237 refactors async saves; their reviewed source does not contain these specific collision/accounting fixes. I can reconcile those changes when rebasing. No collaborator access requested. AI-assisted.

**@⁠DocBlack89** on GitHub · 2026-11-24 14:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/923) Four focused fixes are available on [my fork](https://github.com/DocBlack89/VIctory) while external PR creation is restricted. Sharing them together makes the work discoverable and helps avoid duplicate implementation. I understand the review queue needs time; separate PRs can follow when the normal route reopens. Each branch is **one independent commit on `ffe310e`**: | Branch / diff | Change | Synthetic regression coverage | | --- | --- | --- | | [WARP reporting](https://github.com/DocBlack89/VIctory/tree/fix/warp-test-backend-reporting) · [diff](https://github.com/DocBlack89/VIctory/compare/ffe310e...0a1f602cef1f8d1f96eb8f8de40fa444e52a789a) | Forced WARP runs select software only, avoiding duplicate runs labeled as hardware in VALU and waterfall tests. | Pure backend selection; no device creation. | | [Cache staging](https://github.com/DocBlack89/VIctory/tree/fix/cache-staging-collisions) · [diff](https://github.com/DocBlack89/VIctory/compare/ffe310e...a32eacdd5e0f2e55b5c0cddeb0d44d5fa93f9bb9) | Retry stale staging-name collisions atomically, with bounded retries and existing files preserved. | Collision recovery, exhaustion and unrelated I/O errors. | | [Save quota](https://github.com/DocBlack89/VIctory/tree/fix/save-quota-replacements) · [diff](https://github.com/DocBlack89/VIctory/compare/ffe310e...d2ce712926b2ee163fa9f8bdb5ba52ded90f39ff) | Credit replaced bytes before clamping remaining quota, preserving an existing quota excess. | Quota boundaries, recovery, deletion and disk space; integer sizes only. | | [IAT binding](https://github.com/DocBlack89/VIctory/tree/fix/unaligned-iat-binding) · [diff](https://github.com/DocBlack89/VIctory/compare/ffe310e...5f8800dd93d4464aa627e679cd5ae0e91352eba4) | Support unaligned IAT entries and preserve crossed-region protections, with rollback of earlier changes after setup failure. | Eight alignments, differing page protections and failure without a partial write. | **Validation:** Windows, Rust 1.98.1. The local combined integration on `ffe310e` passed **158 selected CPU tests**, strict Clippy for the changed crates (all targets/all features), and the asset-policy check. Five existing benchmark/reference-data tests remained ignored. This was scoped validation; the full workspace and GPU suites were not run. Full-file rustfmt still reports inherited differences in `xgamesave`; the changed ranges introduce none. Negative controls reproduced the former backend-selection, cache-collision, quota-accounting and protection-restoration behavior. The IAT negative control retained a defined unaligned store; the old potentially undefined unaligned volatile store was not executed. No game execution, GPU/WARP dispatch or real saves were used. These commits include no game files, shader dumps, captures or extracted assets. The tests did not contact Xbox or Rockstar online services. The fixes do not claim to resolve retail boot or gameplay failures. Related work: #254 refactors cache publication and #237 refactors async saves; their reviewed source does not contain these specific collision/accounting fixes. I can reconcile those changes when rebasing. No collaborator access requested. **AI-assisted.**
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:12 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 06:54 UTC · original

Automated triage for the maintainers.

All four branches now have pull requests: the cache staging retry was merged as #1109, and the other three are open as #1106 (forced WARP runs reported as software only), #1110 (save quota replacements) and #1111 (unaligned IAT binding), with the same branch names. Review belongs on those pull requests; the decision is left to the maintainers.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 06:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/923#issuecomment-7155277979) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T14:12:35Z at=2026-11-25T06:54:10Z --> Automated triage for the maintainers. All four branches now have pull requests: the cache staging retry was merged as #1109, and the other three are open as #1106 (forced WARP runs reported as software only), #1110 (save quota replacements) and #1111 (unaligned IAT binding), with the same branch names. Review belongs on those pull requests; the decision is left to the maintainers. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#923
No description provided.