Textures: placed textures found again under shared locks first (VICTORY_PLACED_SHARDS; from mandy) #546
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/readmet3xt-lab--foxhound!546
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-546"
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?
@voiceovarian1-max on GitHub · 2026-12-03 09:43 UTC · original
voiceovarian1-max:port-placed-shards→main· +117 −1 · 1 files · 1 commits · openA placed texture found before is looked up again in one of several tables under a shared lock
first (resource.rs), instead of under one exclusive lock that every thread waits on. On by
default; VICTORY_PLACED_SHARDS=0 as before. What a table holds is kept for the run.
Ported from ProjectLeonida/mandy 3472e6e6a (NotRexed, LEONIDA_PLACED_SHARDS), GPL-3.0-or-later.
What is in it
crates/victory-gpu/src/resource.rs| 118 ++++++++++++++++++++++++++++++++++++-Tested
cargo check --workspace --tests --lockedonmain7dbcdcb: no errors, no warnings.Not tested
AI use
Claude Code with Claude Opus 5.5 ported this from mandy, resolved its conflicts with this tree and wrote this description.
🤖 Generated with Claude Code
@voiceovarian1-max on GitHub · 2026-12-03 10:04 UTC · original
Combined test of this PR with #521, #543 and #544-#556, all merged onto
main7dbcdcb(branch fox-all of voiceovarian1-max/foxhound):cargo test --workspace --locked -- --test-threads=4: 1,415 passed, 0 failed, 50 ignored (29 binaries), noSKIPPED.VICTORY_KEYS, no input from the PC): window scene 38-42 fps against 34-37 formainon the same boot; no device removal, no crash; a burst of 67 pictures showed no one-picture flicker of the character's clothes.Tested by Claude Code with Claude Opus 5.5 on the hardware named.
@tillo88 on GitHub · 2026-12-04 06:12 UTC · original
Measured: release v0.8.3.5 (
5e44415) against the same release with this PR merged on top (VICTORY_PLACED_SHARDSon, the PR's default; no other switch changed). Same save and recorded controller input on every run, ~6.5 min route (prison cutscene, cut to the plane, first part on the boat); each job starts with a warm-up run that is not counted. 9 release runs, 2 runs with the PR.On this CPU the lock this PR splits does not seem to be where the frame time goes on this route; a slower CPU or a texture-heavier scene may show it better.
Config: RTX 5070 Ti 16 GB, Ryzen 7 9800X3D, 32 GB, Windows 11; default
play-foxhound.ps1settings (Series X profile, 1440p, DLSS balanced, no frame generation), fullscreen, no frame cap.Measured unattended on a replay bench (same save, recorded controller input); numbers and text prepared with Claude.
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.