Update GPU and async internals #915

Open
github-bot wants to merge 1 commit from github-bot/gh-915 into main AGit
Owner

@⁠saif78642 on GitHub · 2026-11-28 09:02 UTC · original
saif78642:main → main · +270 −56 · 10 files · 1 commits · open

Graphics / VRAM leaks fixed

pool.rs: a failed SetPrivateDataInterface no longer mem::forgets the reclaim object — the texture piece returns to the pool instead of permanently losing part of a 64 MiB block.
host/menu.rs, host/panel.rs: old overlay buffers are now retired through the fence-delayed retire path instead of being forgotten on every format/scale change.
list/thin.rs: resetting or dropping an unsubmitted recording now reclaims the boxed upload/external work inside it.

Memory retention fixed

book.rs: notice objects drop cleanly on attach failure, and the slot-check said map is pruned (120 s retention, 65,536 cap).
watch.rs: the journal forgets pages when title memory is freed or remapped.
object.rs: final plain release clears private data.
replay/record.rs: recorder notice no longer leaks on attach failure.

Scheduling leaks fixed

fence.rs: releasing a fence now wakes pending waiters (no silent hang), duplicate waiters are deduped, and the fence value is monotonic.
xasync.rs: the thread pool is capped at 256 workers and idle workers past 4 exit after 30 s.
**@⁠saif78642** on GitHub · 2026-11-28 09:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/915) `saif78642:main` → `main` · +270 −56 · 10 files · 1 commits · open Graphics / VRAM leaks fixed pool.rs: a failed SetPrivateDataInterface no longer mem::forgets the reclaim object — the texture piece returns to the pool instead of permanently losing part of a 64 MiB block. host/menu.rs, host/panel.rs: old overlay buffers are now retired through the fence-delayed retire path instead of being forgotten on every format/scale change. list/thin.rs: resetting or dropping an unsubmitted recording now reclaims the boxed upload/external work inside it. Memory retention fixed book.rs: notice objects drop cleanly on attach failure, and the slot-check said map is pruned (120 s retention, 65,536 cap). watch.rs: the journal forgets pages when title memory is freed or remapped. object.rs: final plain release clears private data. replay/record.rs: recorder notice no longer leaks on attach failure. Scheduling leaks fixed fence.rs: releasing a fence now wakes pending waiters (no silent hang), duplicate waiters are deduped, and the fence value is monotonic. xasync.rs: the thread pool is capped at 256 workers and idle workers past 4 exit after 30 s.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:30:10 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/fence.rs
  • crates/victory-gpu/src/host/menu.rs
  • crates/victory-gpu/src/host/panel.rs
  • crates/victory-gpu/src/list/thin.rs
  • crates/victory-gpu/src/object.rs
  • crates/victory-gpu/src/pool.rs
  • crates/victory-gpu/src/watch.rs
  • crates/victory-hle/src/modules/xasync.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/915/head:github-bot/gh-915'
git switch 'github-bot/gh-915'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-915'
git switch 'github-bot/gh-915'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-915'
git switch 'github-bot/gh-915'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-915'
git switch 'main'
git merge --squash 'github-bot/gh-915'
git switch 'main'
git merge --ff-only 'github-bot/gh-915'
git switch 'main'
git merge 'github-bot/gh-915'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/trustno1-coder--VIctory-NVIDIA!915
No description provided.