Port face-relocation Wave32 per-wave meetings from cool_fox #378
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/trustno1-coder--VIctory-NVIDIA!378
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-378"
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?
@liuhVIP on GitHub · 2026-11-27 21:42 UTC · original
liuhVIP:codex/port-face-relocation-wave32→main· +905 −32 · 17 files · 2 commits · openWhat this does
Ports the face-relocation Wave32 work from
DoubleGhosty/cool_foxinto the current NVIDIA fork, adapted to latestmain(df2daaf, including PR #58).The source changes are from:
c36f9f4— lower the face-relocation compute to Wave32 by meeting each console wave on its own.ca7e21a— publish each meet from a single lane, use a volatile wait, and add diagnostics.The original code is GPL-3.0-or-later and remains under this repository's GPL-3.0-or-later licence.
Why
CS_DefragHeap_ComputeRelocationsuses a 128-thread group holding two 64-thread console waves. Its divergent LDS region previously required group-wide synchronization even when only one console wave reached it. That made the default launcher skip the face-relocation compute for performance, which left the face mesh missing while eyes, teeth and hair still rendered.This change gives each 32-lane host wave its own meet pair:
A diagnostic
SLOT_MEETUAV records meetings and wait iterations, andVICTORY_DEFRAG=0provides an off switch for A/B testing.Integration with current NVIDIA main
The port preserves the fork's existing multi-console-wave pair meetings. The new path is selected only for the known 128-thread face-relocation program, so other shaders keep their current lowering.
Also included:
FaceMeshFixlauncher option;PLAY_FACES_FIX.cmd [mode 1-6];VICTORY_DEFRAG=0for comparison runs.Validation
Merged and tested on top of
origin/mainatdf2daaf.cargo check --workspace— passed.cargo test -p victory-shader --lib— 289 passed, 0 failed, 4 ignored.cargo test -p victory-gpu --lib descriptor— 61 passed, 0 failed, 1 ignored.cargo build --release --locked -p victory— passed.The GPU timing difference against the old group-barrier path still needs independent measurement on other RTX cards. The PR focuses on correctness and removing the previous need to skip the compute.
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.Merge
Merge the changes and update on Forgejo.