Integrate local fixes and reviewed contributor changes #439
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/439"
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 TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T12:02:09Z.
Consolidates the local development branch with 19 contributor PRs, preserving original commits and authorship. This update also includes the latest local strict shader scanning and preload parallelism changes.
Validation of the earlier snapshot: 551 GPU, 227 HLE, 72 loader and 353 shader tests passed; 67 ignored, zero failures. Four launcher configuration cases passed. The subsequent memory changes passed isolated boundary and fragmentation tests; full integrated validation of the latest head is pending.
This remains a draft. Pipeline warming and the 4K boat-route acceptance comparison are not yet complete. No merge or release approval is implied.
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T12:30:43Z.
Ran the shader preload of this branch (
cfd5ebd, release build) on Windows against a 1.0.2.1 dump, with an empty cache each time:--if-neededrun printed "already pretranslated" in 2 s, so the stricter marker works here. The 197 that main can't translate now go through.levels.rpf76 GB,audio.rpf28 GB, ...) are mapped and read whole. None of them gives a shader:shaders.rpfplus the.exeand.dllfiles at the top of the folder (18 files) give the same 25,985 in 121 s. While the whole-folder scan ran, the process working set was about 45 GB of mapped archive pages (about 0.3 GB private). Windows can drop those, but on a 16 GB machine that's all of RAM, and on a hard disk it's the #421 wait made several times longer.#440 makes
play.ps1pass only those files whenshaders.rpfis there. The new-RequirePreload/-PreloadOnlypath here passes the whole folder too and could use the same list.AI-assisted: yes
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T12:48:03Z.
The red Clippy job here comes from two real lints plus the
undocumented_unsafe_blockschange.warninCargo.tomlbecomes an error under CI's-D warnings: 89 blocks without features, 131 with--all-features. #442 (against this branch) fixes the two real ones. Without the safety lint, clippy is then clean for both feature sets. Details and per-file counts are in #442.Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T13:11:57Z.
#442 now covers the whole Clippy job: the two real lints plus a SAFETY comment on every block the new
warnflags. Clippy is clean with and without--all-features, the diag check is clean, and the lib tests pass. The commit text in #442 says which comments are moved or repeated from the original author and which reasons are new.Imported from TaynanGT/Vice-Tay. Originally posted by safesearch77 on 2026-11-29T13:20:22Z.
Heads-up on two PRs already merged here: each now has a one-commit follow-up on its branch that you may want in this integration.
c16c806391: a correctness fix. Once the 21-bit space is used up, a lowest-fit run can reach into the numbers at and abovenext_pagethat were never given out, without movingnext_page. The next allocation that still fits there then gets those live numbers again, andXMemAllocatePhysicalPagesreplaces theirSlices. The fix is 2 lines inPages::take(self.next_page = self.next_page.max(first + len)), plus explicit tests for live mappings, thePAGE_LIMITrefusal, and fragmented free runs. It applies cleanly oncfd5ebd. There, the new regression test fails without the fix and passes with it (Wine,victory-hle --lib -- modules::xmem23/23). It's only reachable after about 124 GiB of total physical allocations; a test found it, and no run has hit it. Details: https://github.com/TaynanGT/Vice-Tay/pull/409#issuecomment-7256459907937b8b668f: keeps a 1-byte floor when the headroom eats the whole budget, so thebudget == 0"no budget reported" fallback (5 s eviction) doesn't kick in. It cherry-picks cleanly ontocfd5ebd. Details: https://github.com/TaynanGT/Vice-Tay/pull/414#issuecomment-7256460383AI-assisted: yes (Claude), reviewed locally before posting.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T13:23:25Z.
Thanks for the detailed follow-ups. I have integrated the Clippy fixes locally, the XMem page-number recycling correction from #409, and the positive VRAM budget floor from #414. I also adapted #440 for the optional preload path, keeping the full scan for mandatory validation until I can verify equivalent coverage locally. The current integration still needs the complete test suite and a 4K boat-route run before publication.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:06:56Z.
Superseded:
mainhas moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the currentmain.Pull request closed