NVIDIA 32-lane: the paired form (fxceless#854) runs all 8 refused wave64 compute shaders; the heap-defrag shader 02384a60 then causes a rainbow grid #424
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#424
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Jesper-Andersson on GitHub · 2026-11-27 03:19 UTC · original
On an RTX 2070 SUPER, 8 of the title's compute pipelines are refused because they need 64-lane waves (#182). Ported from fxceless/victory-fork#854 onto this repo's tree, the "paired form" makes all 8 run. That brings trees back, at no measurable frame-time cost. One of the 8, the heap defragmentation pass
02384a60fda6f2d0, then causes a rainbow grid on faces while textures load. The other 7 look right.Setup
host wave lanes min=32 max=32), driver 621.14; Ryzen 7 5800X, 32 GB RAM, Windows 11. Series S + DLSS, diag build.main014d52dplus other merged PRs. Defaults:VICTORY_SUBMIT_FRAMES=2, port 1 off,VICTORY_CARD_ROOM_FOR_TARGETS_MB=1280(#407),VICTORY_EARLY_TABLES=0.VICTORY_FRAME_HEALTHCSV, ported locally.The port
VICTORY_WAVE_PAIRS=1, off by default. It ports only the paired form of fxceless#854 (26600c6,805a455) and theds_bpermutehalf fix from #1419; the PR's mesh linking, float64 and descriptor work are left out.emit/mod.rs) it's tried after the exact forms and before the approximate per-half ones, and last for anything still refused. The code is in a newemit/paired.rs.1.What the 8 are and why they're refused
VICTORY_WAVE_WHYsays all 8 have "LDS in a group over 32, an LDS read and write in one lane-branch region", and most also use masks as data,v_mbcntorv_readlane. Six run in groups of 64 threads, one in 128 and one in 1024. WithVICTORY_WAVE_WIDE=1, 6 of 8 translate; the multi-wave groups still don't.55679a0547649d0b,89d08e561897d4e5walls_censusin draw.rs)5dc3b25986622949,6f225b641c5b07086b82bc7d22016cb502384a60fda6f2d0caf96a3229145fa6,369cbe906ea72764Results
victory translate --warmof the 8 with the switch on: 8 of 8 takepaired lanes, before an approximate form: wave Some(32). In game, every pipeline gets made (0 have no host pipeline), and there's no device loss in four runs.Same build, same route, about 4 minutes each. Gameplay frames are those with 500 draws or more.
VICTORY_WAVE_PAIRS=1VICTORY_WAVE_PAIRS=1+VICTORY_SKIP_PIPELINES=02384a60fda6f2d002384a60. Q3 skips only that shader, and the grid goes. The other 7 run in the paired form with no visible problem.02384a60is wrong, or whether running it correctly lets the title move GPU heap memory under textures we already made, which then show the wrong bytes until refreshed. It's the only one of the 8 that writes where the title keeps resources.Questions
02384a60correctly on a 64-lane host (RDNA) and seen whether the title's texture memory moves afterwards? That would tell a translation problem from one in our texture tracking.Refs #182, fxceless/victory-fork#854, fxceless/victory-fork#1419, fxceless/victory-fork#1415.
AI use: port, diagnostics, log reading and write-up with AI assistance (Claude Code). The runs are my own.