RTX 4080 Super (Ada Lovelace, wave32): prologue renders with VICTORY_WAVE_WIDE=1 but settings crash; black without it #101

Open
opened 2026-11-26 03:36:10 +00:00 by github-bot · 2 comments
Owner

@⁠kss306 on GitHub · 2026-11-24 21:29 UTC · original

Hardware

  • CPU: AMD Ryzen 7 7800X3D (8-core, AVX2)
  • GPU: NVIDIA GeForce RTX 4080 SUPER (Ada Lovelace, wave32-only, WaveLaneCountMin=Max=32), 16 GB VRAM, driver 32.0.16.2124
  • RAM: 32 GB DDR5
  • OS: Windows 11, WDDM 3.2
  • VIctory fork commit: 4e17478
  • Game: GTA VI Xbox Series X dump v1.0.2.1 (TitleID 7952987A), Series X mode

Findings

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 command

The 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

Setting World renders Settings open
default (no VICTORY_WAVE_WIDE) ❌ black ✅
VICTORY_WAVE_WIDE=1 ✅ ~2 fps ❌ crash on first open

Screenshots from the WAVE_WIDE=1 run attached.

grafik

AI-assisted (Kiro/Claude).

**@⁠kss306** on GitHub · 2026-11-24 21:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/101) ## Hardware - **CPU:** AMD Ryzen 7 7800X3D (8-core, AVX2) - **GPU:** NVIDIA GeForce RTX 4080 SUPER (Ada Lovelace, wave32-only, WaveLaneCountMin=Max=32), 16 GB VRAM, driver 32.0.16.2124 - **RAM:** 32 GB DDR5 - **OS:** Windows 11, WDDM 3.2 - **VIctory fork commit:** 4e17478 - **Game:** GTA VI Xbox Series X dump v1.0.2.1 (TitleID 7952987A), Series X mode ## Findings **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 command ` The 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 | Setting | World renders | Settings open | |---------|--------------|---------------| | default (no VICTORY_WAVE_WIDE) | ❌ black | ✅ | | VICTORY_WAVE_WIDE=1 | ✅ ~2 fps | ❌ crash on first open | Screenshots from the WAVE_WIDE=1 run attached. <img width="3689" height="2077" alt="grafik" src="https://github.com/user-attachments/assets/31d8fe78-3da2-42de-92b1-5fbec1eb718e" /> AI-assisted (Kiro/Claude).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:36:10 +00:00
Author
Owner

@⁠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 the diagnostics feature.

  • VICTORY_WAVE_WIDE=1 with the default compute loop cap (4096), earlier run on 4e17478: device removed (DEVICE_HUNG) about 96 s in, submission of about 5 s of GPU time; the longest programs were ptfx_CS_lightAtlas_Sprite and _Trail, nested loops with group barriers. VICTORY_GROUP_SYNC=0 also hung.
  • VICTORY_WAVE_WIDE=1 with VICTORY_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=64 also 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.

**@⁠Revens2** on GitHub · 2026-11-24 23:15 UTC · [original](https://github.com/fxceless/victory-fork/issues/101#issuecomment-7147199636) 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 the `diagnostics` feature. - `VICTORY_WAVE_WIDE=1` with the default compute loop cap (4096), earlier run on 4e17478: device removed (DEVICE_HUNG) about 96 s in, submission of about 5 s of GPU time; the longest programs were `ptfx_CS_lightAtlas_Sprite` and `_Trail`, nested loops with group barriers. `VICTORY_GROUP_SYNC=0` also hung. - `VICTORY_WAVE_WIDE=1` with `VICTORY_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=64` also 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.
Author
Owner

@⁠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.

**@⁠ZSXWZ-1st** on GitHub · 2026-11-25 09:32 UTC · [original](https://github.com/fxceless/victory-fork/issues/101#issuecomment-7158463215) 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.
This discussion has been locked. Commenting is limited to contributors.
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/fxceless--victory-fork#101
No description provided.