RTX 4080 Super (Ada Lovelace, wave32): prologue renders with VICTORY_WAVE_WIDE=1 but settings crash; black without it #101
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/fxceless--victory-fork#101
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?
@kss306 on GitHub · 2026-11-24 21:29 UTC · original
Hardware
4e17478Findings
Without VICTORY_WAVE_WIDE=1: Runs like upstream main — prologue loads but the world does not render (black screen, GPU ~3% busy, 1 indirect mesh dispatch per frame, ~1–1.5 s per frame). Settings open and close without issues.
With VICTORY_WAVE_WIDE=1: World renders — prologue scene visible with geometry, sun, atmosphere (~448 ms/frame on a fresh pipeline cache; the fork's other speed switches were not tested yet).
Crash on settings: With VICTORY_WAVE_WIDE=1, opening the in-game settings menu after entering the prologue crashes the process with:
host GPU device removed after a submission of 1 lists (DXGI_ERROR_UNSUPPORTED 0x887A0004); device removed: DXGI_ERROR_DEVICE_HUNG 0x887A0006 a diagnostics build with VICTORY_D3D12_DEBUG=1 names the commandThe crash happens on the first list of a new submission triggered by opening the pause/settings menu. Without VICTORY_WAVE_WIDE=1, opening settings on the same machine runs fine.
The pipeline library log before the crash shows several pipelines refused with E_INVALIDARG (0x80070057) in the seconds leading up to it, suggesting wave64 shaders in the settings render path hit the same programs the README notes as hang-prone (ptfx_CS_lightAtlas_Sprite and _Trail?).
Summary table
Screenshots from the WAVE_WIDE=1 run attached.
AI-assisted (Kiro/Claude).
@Revens2 on GitHub · 2026-11-24 23:15 UTC · original
Measurements on a second card (RTX 5070 12 GB, driver 32.0.16.2124, wave32), tested on current main (
2119b0e) with a release build plus thediagnosticsfeature.VICTORY_WAVE_WIDE=1with the default compute loop cap (4096), earlier run on4e17478: device removed (DEVICE_HUNG) about 96 s in, submission of about 5 s of GPU time; the longest programs wereptfx_CS_lightAtlas_Spriteand_Trail, nested loops with group barriers.VICTORY_GROUP_SYNC=0also hung.VICTORY_WAVE_WIDE=1withVICTORY_SHADER_LOOP_LIMIT=256(what #66 makes the compute default), this run: 480 s, 0 device removals, 0 errors. The world renders (night street, then the character shot), at roughly 1 fps, 500 to 6000 draws per frame.VICTORY_SHADER_LOOP_LIMIT=64also held 200 s earlier.So #66 looks like a working mitigation for the hang on this card: the cap bounds the cost of loops that run to their limit. I did not find evidence of a translation fault in the wave-wide form (
wave_wide/exchange_halves): the group is one console wave, both host waves exchange the same decision, and the hang scales with the cap, which fits loops that never see their exit (data not there yet) rather than a mis-lowered exit. That is an inference; not verified with a unit test or a shader-level repro.Not tested: the settings menu from this report. The run stayed in the intro cutscene for all 480 s (ESC did nothing visible there), so the crash on opening settings is neither reproduced nor ruled out. Needs a longer run that reaches control of the character.
@ZSXWZ-1st on GitHub · 2026-11-25 09:32 UTC · original
Same fix on another wave32 card.
RTX 3070 Laptop 8 GB, i7-12700H, 32 GB RAM, Windows 11, build
9376fd6.Without VICTORY_WAVE_WIDE=1: world black until the car scene, characters flat red (skin and hair textures missing), ~0.5 fps.
With it: prologue renders, characters look right, ~1-3 fps. Still dark, which matches the missing ray-traced lighting.