Test early recycling of completed relay command lists #144

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

@⁠TaynanGT on GitHub · 2026-11-27 04:14 UTC · original
TaynanGT:review/rdna2-landed-list-recycling → main · +87 −16 · 3 files · 1 commits · draft

Adds an opt-in path to recycle completed command lists and allocators at landing. The recorded objects still wait in the existing retirement queue, and dynamic descriptor slots still go back when their flight lands.

This adapts kyokyotosh’s change to the current descriptor retirement and pool limits. #93 and #138 identify relay as a lead on RDNA2.

On Windows, the three landed-flight tests, the switch documentation test and diagnostics Clippy passed. The RX 6700 XT comparison is pending. Use -More @{VICTORY_RECYCLE_LANDED_EARLY='1'} while keeping relay, revision, driver and save fixed.

**@⁠TaynanGT** on GitHub · 2026-11-27 04:14 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/144) `TaynanGT:review/rdna2-landed-list-recycling` → `main` · +87 −16 · 3 files · 1 commits · draft Adds an opt-in path to recycle completed command lists and allocators at landing. The recorded objects still wait in the existing retirement queue, and dynamic descriptor slots still go back when their flight lands. This adapts [kyokyotosh’s change](https://github.com/kyokyotosh/VIctory-6700XT/commit/f1733477dd84afa6bd4a96ca1615a19235fae666) to the current descriptor retirement and pool limits. #93 and #138 identify relay as a lead on RDNA2. On Windows, the three landed-flight tests, the switch documentation test and diagnostics Clippy passed. The RX 6700 XT comparison is pending. Use `-More @{VICTORY_RECYCLE_LANDED_EARLY='1'}` while keeping relay, revision, driver and save fixed.
Retire the recording resources independently while reusing the command list and allocator. Keep the path opt-in until it is tested on the affected Radeon drivers.

Adapted from kyokyotosh/VIctory-6700XT f1733477dd84afa6bd4a96ca1615a19235fae666. The DX12 descriptor-slot release at landing is preserved.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 04:15:46 +00:00
Author
Owner

@⁠Garu667 on GitHub · 2026-11-27 05:46 UTC · original

NVIDIA control for this switch: RTX 3080 10 GB, i5-13600K. I applied 0c9600f on main 93f3b5f, with a diag build, -Machine 4070 and Series S, in the prison cell, standing.

Each run started from a fresh copy of the same warmed cache and save, alternating off and on. FPS is the median of the last 18 frame lines, about 90 s:

VICTORY_RECYCLE_LANDED_EARLY FPS median lowest ms/frame copying back
off 14.5 14.3 69 34
on 15.4 14.8 65 27
off 14.8 14.1 67 32
on 14.1 4.1 (one dip) 71 34
  • No clear effect on this card. Off averages 14.65 and on 14.75, and the spread between runs is about ±0.4 fps.
  • No device loss and no visible issue in either mode.
  • So on NVIDIA it looks neutral: safe to keep opt-in, with nothing to gain here. The RX 6700 XT result is the one that matters.

🤖 Generated with Claude Code

**@⁠Garu667** on GitHub · 2026-11-27 05:46 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/144#issuecomment-7210928846) NVIDIA control for this switch: RTX 3080 10 GB, i5-13600K. I applied `0c9600f` on main `93f3b5f`, with a diag build, `-Machine 4070` and Series S, in the prison cell, standing. Each run started from a fresh copy of the same warmed cache and save, alternating off and on. FPS is the median of the last 18 frame lines, about 90 s: | `VICTORY_RECYCLE_LANDED_EARLY` | FPS median | lowest | ms/frame | copying back | |---|---:|---:|---:|---:| | off | 14.5 | 14.3 | 69 | 34 | | **on** | 15.4 | 14.8 | 65 | 27 | | off | 14.8 | 14.1 | 67 | 32 | | **on** | 14.1 | 4.1 (one dip) | 71 | 34 | - No clear effect on this card. Off averages 14.65 and on 14.75, and the spread between runs is about ±0.4 fps. - No device loss and no visible issue in either mode. - So on NVIDIA it looks neutral: safe to keep opt-in, with nothing to gain here. The RX 6700 XT result is the one that matters. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 05:49 UTC · original

Thanks for alternating the settings from the same cache and save, @⁠Garu667. The 14.65 FPS off and 14.75 FPS on averages are within the run-to-run spread in your RTX 3080 test. I’ll record that as a neutral NVIDIA control, including the one low dip with the switch on.

I’m keeping #144 experimental. The RX 6700 XT still reproduced the reset with early recycling, so the NVIDIA result is a separate control for this switch.

**@⁠TaynanGT** on GitHub · 2026-11-27 05:49 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/144#issuecomment-7210983241) Thanks for alternating the settings from the same cache and save, @⁠Garu667. The 14.65 FPS off and 14.75 FPS on averages are within the run-to-run spread in your RTX 3080 test. I’ll record that as a neutral NVIDIA control, including the one low dip with the switch on. I’m keeping #144 experimental. The RX 6700 XT still reproduced the reset with early recycling, so the NVIDIA result is a separate control for this switch.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host.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/144/head:github-bot/gh-144'
git switch 'github-bot/gh-144'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-144'
git switch 'github-bot/gh-144'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-144'
git switch 'github-bot/gh-144'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-144'
git switch 'main'
git merge --squash 'github-bot/gh-144'
git switch 'main'
git merge --ff-only 'github-bot/gh-144'
git switch 'main'
git merge 'github-bot/gh-144'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.