Guide: Windows 10 and GPUs without mesh shaders, where things stand (24 Nov) #1611

Open
opened 2026-11-24 19:46:01 +00:00 by EduBertozzi · 29 comments
EduBertozzi commented 2026-11-24 19:46:01 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by EduBertozzi on 2026-11-24T19:46:01Z.


The setup questions from Windows 10 users and GPUs without mesh shaders are spread over dozens of issues. This gathers where things stand today (24 Nov) in one place, with links. Most of what helps here is still in open pull requests, so this describes those PRs, not main. I'll keep it current as they land. Corrections are welcome.

1. Check your PC first

victory config prints the paths. The double-click menu proposed in #959 (option 3, Check this PC) also shows, in one screen:

  • the Windows build;
  • AVX2;
  • the GPU and driver;
  • shader model 6.6;
  • mesh shaders;
  • the wave size.

2. Windows 10: you need a newer D3D12 runtime

Windows 10's built-in D3D12 stops at shader model 6.5 and refuses the root signatures every translated pipeline uses. The log shows root signature flags c01 / host root signature refused, then the title stops at Game Init (+0xb5a5f8, #741). Windows 11 needs nothing. The fix is Microsoft's D3D12 Agility SDK runtime (D3D12Core.dll, NuGet package Microsoft.Direct3D.D3D12). The open PRs offer two ways to load it:

  • #175: cargo xtask agility fetches the pinned package into target\<profile>\D3D12\, and victory.exe exports what makes D3D12 load it from there. Testers report it gets past Game Init into the menus and the world (#741). On a GTX 1060 it reaches shader model 6.6 (test).
  • #969: set VICTORY_D3D12_AGILITY to the folder holding D3D12Core.dll. No exe exports are needed, so test binaries get SM 6.6 from that variable too (A/B on Windows 10).

#463, #968 and #1518 are other takes on the same fix.

3. GPUs without mesh shaders (GTX 10 series, RX 400–5000, older Intel)

On main the world's mesh pipelines are refused (the host GPU has no mesh shaders), so the world doesn't draw. #961 adds a compute fallback: each mesh program runs as a compute shader that writes its triangles, and a vertex shader draws them. It turns on by itself when the GPU has no mesh shaders (VICTORY_MESH_FALLBACK=1 forces it elsewhere). With the title so far:

  • RX 470 (Polaris): the fallback takes 852–904 mesh programs, runs 5 minutes or more, and shows real output in the opening sequence (report).
  • GTX 1070 Ti (Pascal): draws the world's geometry, 900–1,970 draws per frame at 0.2–0.6 fps, stacked with #189, #940 and #737 (report).
  • The final image is still black on both. That comes from the programs that don't translate yet (about 470–480 in those runs), not from the fallback. Those dropped draws also fill the title's instance pool, so it stops itself after a few minutes (+0x5149aec, #698).

4. NVIDIA (any generation): 32-lane waves

Every mesh program in the title is written for 64-lane waves, and NVIDIA runs 32. That is where most NVIDIA world hangs (DXGI_ERROR_DEVICE_HUNG) have been traced (#778). Work in progress: #587 and #578, #189 (wave64 emulation, VICTORY_WAVE64_EMULATE) and #940 (mesh lane numbering). On a GTX 10 card you meet both this and section 3, which is why the GTX 1070 Ti run above stacks #189 and #940 with #961.

5. Memory

  • 8 GB cards: the world needs more video memory than many of them have (E_OUTOFMEMORY). #737 proposes a lower texture quality switch, and #1086 needed it on 12 GB. #961 now keeps its own buffers small.
  • Windows commit: if crashes.log says os error 1455, close other applications or make the paging file larger (README, Getting started).

6. When a run stops

victory doctor (#1609, stacked on #959) names the known problems a run's log or crash log shows, in plain words, with links to the issues above. The double-click menu shows the same right after a run.

7. Reporting

The Hardware Atlas collects 1,462 reported runs by GPU (#49), so you can see how far others with your card got. If you report a run, give the GPU, driver, Windows build, the VIctory commit and the PRs merged on top, how far it got and how it ended. The menu's check (3, then C) copies most of that for you.

AI-assisted (Claude Code). Every number and claim links to the report it comes from.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6590021797 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612). Originally posted by [EduBertozzi](https://github.com/EduBertozzi) on 2026-11-24T19:46:01Z. --- The setup questions from Windows 10 users and GPUs without mesh shaders are spread over dozens of issues. This gathers where things stand **today (24 Nov)** in one place, with links. Most of what helps here is still in open pull requests, so this describes those PRs, not `main`. I'll keep it current as they land. Corrections are welcome. ### 1. Check your PC first `victory config` prints the paths. The double-click menu proposed in #959 (option 3, *Check this PC*) also shows, in one screen: - the Windows build; - AVX2; - the GPU and driver; - shader model 6.6; - mesh shaders; - the wave size. ### 2. Windows 10: you need a newer D3D12 runtime Windows 10's built-in D3D12 stops at shader model 6.5 and refuses the root signatures every translated pipeline uses. The log shows `root signature flags c01` / `host root signature refused`, then the title stops at Game Init (`+0xb5a5f8`, #741). Windows 11 needs nothing. The fix is Microsoft's D3D12 Agility SDK runtime (`D3D12Core.dll`, NuGet package `Microsoft.Direct3D.D3D12`). The open PRs offer two ways to load it: - **#175**: `cargo xtask agility` fetches the pinned package into `target\<profile>\D3D12\`, and `victory.exe` exports what makes D3D12 load it from there. Testers report it gets past Game Init into the menus and the world (#741). On a GTX 1060 it reaches shader model 6.6 ([test](https://github.com/Marvisak/VIctory/pull/175#issuecomment-7134251225)). - **#969**: set `VICTORY_D3D12_AGILITY` to the folder holding `D3D12Core.dll`. No exe exports are needed, so test binaries get SM 6.6 from that variable too ([A/B on Windows 10](https://github.com/Marvisak/VIctory/pull/969#issuecomment-7134712938)). #463, #968 and #1518 are other takes on the same fix. ### 3. GPUs without mesh shaders (GTX 10 series, RX 400–5000, older Intel) On `main` the world's mesh pipelines are refused (`the host GPU has no mesh shaders`), so the world doesn't draw. **#961** adds a compute fallback: each mesh program runs as a compute shader that writes its triangles, and a vertex shader draws them. It turns on by itself when the GPU has no mesh shaders (`VICTORY_MESH_FALLBACK=1` forces it elsewhere). With the title so far: - **RX 470 (Polaris)**: the fallback takes 852–904 mesh programs, runs 5 minutes or more, and shows real output in the opening sequence ([report](https://github.com/Marvisak/VIctory/pull/961#issuecomment-7141682786)). - **GTX 1070 Ti (Pascal)**: draws the world's geometry, 900–1,970 draws per frame at 0.2–0.6 fps, stacked with #189, #940 and #737 ([report](https://github.com/Marvisak/VIctory/pull/961#issuecomment-7139557265)). - The final image is still black on both. That comes from the programs that don't translate yet (about 470–480 in those runs), not from the fallback. Those dropped draws also fill the title's instance pool, so it stops itself after a few minutes (`+0x5149aec`, #698). ### 4. NVIDIA (any generation): 32-lane waves Every mesh program in the title is written for 64-lane waves, and NVIDIA runs 32. That is where most NVIDIA world hangs (`DXGI_ERROR_DEVICE_HUNG`) have been traced (#778). Work in progress: #587 and #578, #189 (wave64 emulation, `VICTORY_WAVE64_EMULATE`) and #940 (mesh lane numbering). On a GTX 10 card you meet both this and section 3, which is why the GTX 1070 Ti run above stacks #189 and #940 with #961. ### 5. Memory - **8 GB cards:** the world needs more video memory than many of them have (`E_OUTOFMEMORY`). #737 proposes a lower texture quality switch, and #1086 needed it on 12 GB. #961 now keeps its own buffers small. - **Windows commit:** if `crashes.log` says `os error 1455`, close other applications or make the paging file larger (README, *Getting started*). ### 6. When a run stops `victory doctor` (#1609, stacked on #959) names the known problems a run's log or crash log shows, in plain words, with links to the issues above. The double-click menu shows the same right after a run. ### 7. Reporting The [Hardware Atlas](https://claude.ai/artifact/FDZoCTLSfg26aPU7Y8XtSP) collects 1,462 reported runs by GPU (#49), so you can see how far others with your card got. If you report a run, give the GPU, driver, Windows build, the VIctory commit and the PRs merged on top, how far it got and how it ended. The menu's check (*3*, then *C*) copies most of that for you. AI-assisted (Claude Code). Every number and claim links to the report it comes from.
Elensito commented 2026-11-24 21:03:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Elensito on 2026-11-24T20:35:09Z.


I added a dated compatibility guide in #1665. It distinguishes the ffe310e main baseline from the still-open Agility SDK, mesh fallback, and Wave64 PRs, and links the reporting/asset-policy guidance.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143772722 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7143772722). Originally posted by [Elensito](https://github.com/Elensito) on 2026-11-24T20:35:09Z. --- I added a dated compatibility guide in #1665. It distinguishes the `ffe310e` main baseline from the still-open Agility SDK, mesh fallback, and Wave64 PRs, and links the reporting/asset-policy guidance.
otaviosza commented 2026-11-25 00:06:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by otaviosza on 2026-11-24T23:21:57Z.


Test report: RTX 3060 12 GB on Windows 10 22H2: menus work, the world hangs the GPU

Setup: RTX 3060 12 GB (driver 610.88), Intel i5-14600K, 32 GB RAM, Windows 10 Pro 22H2 (19045), two 1080p monitors. Base 70564ae, release build, Series X mode, keyboard as pad. Shaders pre-translated with translate --cache (25,669 translated, 316 refused).

What I hit, in order:

# Symptom Fix tried Result
1 Every root signature refused (flags c01), nothing drawn, then 0xc0000005 at +0xb5a5f8 about 8 s in (same as #998) #463 (Agility SDK) ✅ Root signatures serialize, draws run. Note: SDK version 614 is hardcoded in build.rs and main.rs; with NuGet 1.620.2 the device fails (0x887E0003) until both are changed.
2 Commit exhausted (paging file too small), title exits during world load Larger page file ✅ Peak private memory ~22 GB, no more allocation failures.
3 Device removed at ~19 s (DXGI_ERROR_INVALID_CALL); debug layer: CreateUnorderedAccessView with B5G5R5A1_UNORM #1775 ✅ Fixed. Boot, first-boot screens, start screen and profile selection run at a steady 30 fps for several minutes.
4 View heap capped at 1,000,000; shader indices clamped to HEAP_VIEWS - 1 (2^21) can point past it Local patch: HEAP_VIEWS = 1_000_000, last 3 slots kept out of the dynamic range (#1133 conflicts with main's clamp) Heap created at 1,000,000; no visible change on its own.
5 Entering the world: DXGI_ERROR_DEVICE_HUNG, 30–120 s after start, while mesh pipelines are being made, with a driver reset #1546 ❌ Still hangs.
— — #1281 ❌ Doesn't build on 70564ae (strip_rtv not in scope in make_texture). After a one-line fix, the intro video texture is created but the device is removed at ~69 s (INVALID_CALL). Its wave64 part is comment-only in the current diff.

Where it stands: with #463 + #1775 the title is stable in the menus at 30 fps on this GPU. Entering the world hangs it every time (4 of 4 runs), which looks like #1216. I couldn't get a breadcrumb: the debug-layer build runs at about 0.1 fps and doesn't reach the world in reasonable time.

Also seen: device slots 0x218 and 0x1c8 not implemented, and texture to buffer copies not implemented.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7147316861 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7147316861). Originally posted by [otaviosza](https://github.com/otaviosza) on 2026-11-24T23:21:57Z. --- **Test report: RTX 3060 12 GB on Windows 10 22H2: menus work, the world hangs the GPU** **Setup:** RTX 3060 12 GB (driver 610.88), Intel i5-14600K, 32 GB RAM, Windows 10 Pro 22H2 (19045), two 1080p monitors. Base `70564ae`, release build, Series X mode, keyboard as pad. Shaders pre-translated with `translate --cache` (25,669 translated, 316 refused). **What I hit, in order:** | # | Symptom | Fix tried | Result | |---|---|---|---| | 1 | Every root signature refused (`flags c01`), nothing drawn, then `0xc0000005` at `+0xb5a5f8` about 8 s in (same as #998) | #463 (Agility SDK) | ✅ Root signatures serialize, draws run. Note: SDK version 614 is hardcoded in `build.rs` and `main.rs`; with NuGet 1.620.2 the device fails (`0x887E0003`) until both are changed. | | 2 | Commit exhausted (`paging file too small`), title exits during world load | Larger page file | ✅ Peak private memory ~22 GB, no more allocation failures. | | 3 | Device removed at ~19 s (`DXGI_ERROR_INVALID_CALL`); debug layer: `CreateUnorderedAccessView` with `B5G5R5A1_UNORM` | #1775 | ✅ Fixed. Boot, first-boot screens, start screen and profile selection run at a steady 30 fps for several minutes. | | 4 | View heap capped at 1,000,000; shader indices clamped to `HEAP_VIEWS - 1` (2^21) can point past it | Local patch: `HEAP_VIEWS = 1_000_000`, last 3 slots kept out of the dynamic range (#1133 conflicts with `main`'s clamp) | Heap created at 1,000,000; no visible change on its own. | | 5 | Entering the world: `DXGI_ERROR_DEVICE_HUNG`, 30–120 s after start, while mesh pipelines are being made, with a driver reset | #1546 | ❌ Still hangs. | | — | — | #1281 | ❌ Doesn't build on `70564ae` (`strip_rtv` not in scope in `make_texture`). After a one-line fix, the intro video texture is created but the device is removed at ~69 s (`INVALID_CALL`). Its wave64 part is comment-only in the current diff. | **Where it stands:** with #463 + #1775 the title is stable in the menus at 30 fps on this GPU. Entering the world hangs it every time (4 of 4 runs), which looks like #1216. I couldn't get a breadcrumb: the debug-layer build runs at about 0.1 fps and doesn't reach the world in reasonable time. Also seen: device slots `0x218` and `0x1c8` not implemented, and `texture to buffer copies not implemented`.
Marvisak commented 2026-11-25 13:02:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:49:09Z.


Automated triage for the maintainers.

A community guide that collects open work for Windows 10 hosts and GPUs without mesh shaders; it stays open as a pointer thread. As of main 940d32f its premise still holds: none of the PRs it describes (#175 and #969 for the Agility SDK runtime, #961 for the mesh fallback, #189 and #940 for wave64) has been merged, and the README states the requirement as shader model 6.6 and mesh shaders for the world. The Windows 10 SM 6.5 limit is tracked in #84, the root signature flags c01 refusal in #598, and the NVIDIA world hang in #71.

The RTX 3060 / Windows 10 report in the comments (menus stable at 30 fps with #463 + #1775, world DEVICE_HUNG in 4 of 4 runs) is a data point for #71. Readers should note that the guide describes open PRs, not main, so its steps may change before they land.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7162900406 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7162900406). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T12:49:09Z. --- <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T23:21:57Z at=2026-11-25T12:48:58Z --> Automated triage for the maintainers. A community guide that collects open work for Windows 10 hosts and GPUs without mesh shaders; it stays open as a pointer thread. As of `main` `940d32f` its premise still holds: none of the PRs it describes (#175 and #969 for the Agility SDK runtime, #961 for the mesh fallback, #189 and #940 for wave64) has been merged, and the README states the requirement as shader model 6.6 and mesh shaders for the world. The Windows 10 SM 6.5 limit is tracked in #84, the `root signature flags c01` refusal in #598, and the NVIDIA world hang in #71. The RTX 3060 / Windows 10 report in the comments (menus stable at 30 fps with #463 + #1775, world `DEVICE_HUNG` in 4 of 4 runs) is a data point for #71. Readers should note that the guide describes open PRs, not `main`, so its steps may change before they land. --- _Generated by [Claude Code](https://claude.ai/code)_
vorgales commented 2026-11-27 05:15:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T05:15:54Z.


Polaris (RX 580 2048SP 8GB) Compatibility & D3D12 Profiling Report (LogicOpEnable: BOOL(8) & mesh_shaders Gating)

Comprehensive Compatibility & Profiling Report: AMD Polaris (RX 580 2048SP 8GB) on VIctory

1. Test Environment & Hardware Specifications

  • GPU: AMD Radeon RX 580 2048SP 8GB GDDR5 (Polaris / Ellesmere architecture, DirectX 12 Feature Level 12_0, no hardware Mesh Shaders, no DXR)
  • CPU: AMD Ryzen 5 5500 (6 Cores / 12 Threads)
  • System Memory: 32 GB DDR4 RAM + 38 GB Windows Virtual Memory (Page File)
  • OS & Runtime Configuration: Windows 10/11 x64, Registry TdrDelay = 60 (Decimal), launched with --console series-s
  • Build Target: victory.exe compiled locally via cargo build --release from VIctory-Belobog-AMD

2. Critical Thresholds & Bottlenecks Identified

A. System Memory (Commit Charge) Threshold (~35.3 GB Peak)

  • Observation: During initial DirectStorage asset streaming and compilation of ~2,500 shaders, total system Commit Charge peaks at ~35.3 GB.
  • Failure Mode: On systems with 16 GB RAM or 32 GB RAM without a large Windows Page File, the process crashes immediately during loading with STATUS_ACCESS_VIOLATION (0xc0000005).
  • Mitigation: Enforcing a 38–40 GB Page File completely eliminates loading-screen memory crashes and allows the menu and initial frame loop to initialize cleanly.
  • Optimization Opportunity: Aggressive texture mip-dropping (VICTORY_TEXTURE_MIP_DROP) and culling unused high-resolution buffers during Series S execution would bring peak commit charge down to the 14–18 GB range, making the project accessible to 16 GB RAM / 8 GB VRAM users.

B. Windows TDR Timeout During Bulk Shader Compilation (0x887A0005)

  • Observation: Compiling ~2,500 translated shaders on older GCN4 / Polaris hardware exceeds Windows' default 2-second GPU response window.
  • Failure Mode: DXGI_ERROR_DEVICE_REMOVED (0x887A0005) mid-compilation.
  • Mitigation: Setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\TdrDelay to 60 prevents false-positive driver resets and allows full shader cache generation.

C. Console-to-PC D3D12_BLEND_DESC Translation Bug (LogicOpEnable: BOOL(8))

  • Location: crates/victory-gpu/src/pipeline/host.rs (CreateGraphicsPipelineState)
  • Observation: When translating raw Xbox D3D12_BLEND_DESC structures into host PC D3D12_RENDER_TARGET_BLEND_DESC, non-standard bit flags from the console descriptor bleed into LogicOpEnable, passing LogicOpEnable: BOOL(8) (or other non-0/1 values) to the host D3D12 driver.
  • Failure Mode: Strict D3D12 drivers and the D3D12 Debug Layer reject CreateGraphicsPipelineState with E_INVALIDARG / DXGI_ERROR_UNSUPPORTED because PC D3D12 requires LogicOpEnable to strictly be 0 (FALSE) or 1 (TRUE) and mutually exclusive with BlendEnable.
  • Fix Applied & Verified: Explicitly sanitizing rt.LogicOpEnable = false.into(); (or normalizing non-zero/invalid bit patterns) in pipeline/host.rs resolved early pipeline creation failures and allowed execution to progress smoothly up to frame 512.

D. Hardware Mesh Shader Capability False-Positive (host.rs)

  • Location: crates/victory-gpu/src/host.rs (pub(crate) fn mesh_shaders(&self) -> bool)
  • Observation: On Polaris (Feature Level 12_0), driver capability queries can report Shader Model 6.x support without actual hardware Mesh/Amplification Shader execution units, causing host.mesh_shaders() to evaluate to true.
  • Fix Applied & Verified: Forcing mesh_shaders(&self) -> bool to return false triggers VIctory's internal fallback path ("The host GPU has no mesh shaders"), advancing frame execution from frame=512 to frame=618.

E. Scene Entry Barrier (frame=512 to frame=618 — 0x887A0004)

  • Observation: Immediately after binding amd_fidelityfx_upscaler_xbox.dll (7 hle, 79 host, 0 title, 0 missing) and compiling scene shaders (vertex ce57291b5a1750ca, pixel a467d848ace5810d with HDR10 DXGI_FORMAT(26)), command list submission fails at scene entry (frame=512 / frame=618) with DXGI_ERROR_UNSUPPORTED (0x887A0004).
  • Root Cause:
    1. Scene geometry relies on Xbox Mesh/Amplification shaders that require full Compute Shader fallback translation (DispatchMesh -> Dispatch + DrawIndexedInstanced, as prototyped in PR #961 / proto/mesh-compute-fallback).
    2. Additional host capability checks in crates/victory-gpu/src/host.rs (such as Wave Intrinsics / SM 6.0+ subgroup operations or FP16 features used by amd_fidelityfx_upscaler_xbox.dll) need explicit refuse / fallback gating for Feature Level 12_0 GPUs (Polaris / Pascal).

3. Summary of Actionable Recommendations for Upstream

  1. Sanitize LogicOpEnable in pipeline/host.rs: Normalize LogicOpEnable from console blend descriptors so invalid BOOL values never reach CreateGraphicsPipelineState.
  2. Strict Feature Level 12_0 Gating in host.rs: Gate mesh_shaders, wave_ops, and fp16 flags explicitly on Polaris/Pascal hardware so unsupported pipelines cleanly hit the refuse path rather than triggering 0x887A0004.
  3. Prioritize Merging Compute Mesh Fallback (PR #961) & Mip-Drop (PR #737): Polaris hardware (RX 470 / RX 580 8GB) has sufficient raw compute and VRAM bandwidth to render the opening scene once Mesh Shaders are translated to Compute Shaders and peak VRAM/RAM footprint is reduced.
<!-- greyfinch-sync:Marvisak/VIctory:comment:7210488291 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7210488291). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T05:15:54Z. --- ### Polaris (RX 580 2048SP 8GB) Compatibility & D3D12 Profiling Report (`LogicOpEnable: BOOL(8)` & `mesh_shaders` Gating) # Comprehensive Compatibility & Profiling Report: AMD Polaris (RX 580 2048SP 8GB) on VIctory ## 1. Test Environment & Hardware Specifications - **GPU:** AMD Radeon RX 580 2048SP 8GB GDDR5 (Polaris / Ellesmere architecture, DirectX 12 Feature Level `12_0`, no hardware Mesh Shaders, no DXR) - **CPU:** AMD Ryzen 5 5500 (6 Cores / 12 Threads) - **System Memory:** 32 GB DDR4 RAM + **38 GB Windows Virtual Memory (Page File)** - **OS & Runtime Configuration:** Windows 10/11 x64, Registry `TdrDelay = 60` (Decimal), launched with `--console series-s` - **Build Target:** `victory.exe` compiled locally via `cargo build --release` from `VIctory-Belobog-AMD` --- ## 2. Critical Thresholds & Bottlenecks Identified ### A. System Memory (Commit Charge) Threshold (~35.3 GB Peak) - **Observation:** During initial DirectStorage asset streaming and compilation of ~2,500 shaders, total system Commit Charge peaks at **~35.3 GB**. - **Failure Mode:** On systems with 16 GB RAM or 32 GB RAM without a large Windows Page File, the process crashes immediately during loading with `STATUS_ACCESS_VIOLATION (0xc0000005)`. - **Mitigation:** Enforcing a **38–40 GB Page File** completely eliminates loading-screen memory crashes and allows the menu and initial frame loop to initialize cleanly. - **Optimization Opportunity:** Aggressive texture mip-dropping (`VICTORY_TEXTURE_MIP_DROP`) and culling unused high-resolution buffers during Series S execution would bring peak commit charge down to the **14–18 GB** range, making the project accessible to 16 GB RAM / 8 GB VRAM users. ### B. Windows TDR Timeout During Bulk Shader Compilation (`0x887A0005`) - **Observation:** Compiling ~2,500 translated shaders on older GCN4 / Polaris hardware exceeds Windows' default 2-second GPU response window. - **Failure Mode:** `DXGI_ERROR_DEVICE_REMOVED (0x887A0005)` mid-compilation. - **Mitigation:** Setting `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\TdrDelay` to `60` prevents false-positive driver resets and allows full shader cache generation. ### C. Console-to-PC `D3D12_BLEND_DESC` Translation Bug (`LogicOpEnable: BOOL(8)`) - **Location:** `crates/victory-gpu/src/pipeline/host.rs` (`CreateGraphicsPipelineState`) - **Observation:** When translating raw Xbox `D3D12_BLEND_DESC` structures into host PC `D3D12_RENDER_TARGET_BLEND_DESC`, non-standard bit flags from the console descriptor bleed into `LogicOpEnable`, passing `LogicOpEnable: BOOL(8)` (or other non-`0`/`1` values) to the host D3D12 driver. - **Failure Mode:** Strict D3D12 drivers and the D3D12 Debug Layer reject `CreateGraphicsPipelineState` with `E_INVALIDARG` / `DXGI_ERROR_UNSUPPORTED` because PC D3D12 requires `LogicOpEnable` to strictly be `0` (`FALSE`) or `1` (`TRUE`) and mutually exclusive with `BlendEnable`. - **Fix Applied & Verified:** Explicitly sanitizing `rt.LogicOpEnable = false.into();` (or normalizing non-zero/invalid bit patterns) in `pipeline/host.rs` resolved early pipeline creation failures and allowed execution to progress smoothly up to **frame 512**. ### D. Hardware Mesh Shader Capability False-Positive (`host.rs`) - **Location:** `crates/victory-gpu/src/host.rs` (`pub(crate) fn mesh_shaders(&self) -> bool`) - **Observation:** On Polaris (`Feature Level 12_0`), driver capability queries can report Shader Model 6.x support without actual hardware Mesh/Amplification Shader execution units, causing `host.mesh_shaders()` to evaluate to `true`. - **Fix Applied & Verified:** Forcing `mesh_shaders(&self) -> bool` to return `false` triggers VIctory's internal fallback path (`"The host GPU has no mesh shaders"`), advancing frame execution from `frame=512` to `frame=618`. ### E. Scene Entry Barrier (`frame=512` to `frame=618` — `0x887A0004`) - **Observation:** Immediately after binding `amd_fidelityfx_upscaler_xbox.dll` (`7 hle, 79 host, 0 title, 0 missing`) and compiling scene shaders (`vertex ce57291b5a1750ca`, `pixel a467d848ace5810d` with HDR10 `DXGI_FORMAT(26)`), command list submission fails at scene entry (`frame=512` / `frame=618`) with `DXGI_ERROR_UNSUPPORTED (0x887A0004)`. - **Root Cause:** 1. Scene geometry relies on Xbox Mesh/Amplification shaders that require full **Compute Shader fallback translation** (`DispatchMesh` -> `Dispatch` + `DrawIndexedInstanced`, as prototyped in `PR #961` / `proto/mesh-compute-fallback`). 2. Additional host capability checks in `crates/victory-gpu/src/host.rs` (such as Wave Intrinsics / SM 6.0+ subgroup operations or FP16 features used by `amd_fidelityfx_upscaler_xbox.dll`) need explicit `refuse` / fallback gating for Feature Level `12_0` GPUs (Polaris / Pascal). --- ## 3. Summary of Actionable Recommendations for Upstream 1. **Sanitize `LogicOpEnable` in `pipeline/host.rs`:** Normalize `LogicOpEnable` from console blend descriptors so invalid `BOOL` values never reach `CreateGraphicsPipelineState`. 2. **Strict Feature Level `12_0` Gating in `host.rs`:** Gate `mesh_shaders`, `wave_ops`, and `fp16` flags explicitly on Polaris/Pascal hardware so unsupported pipelines cleanly hit the `refuse` path rather than triggering `0x887A0004`. 3. **Prioritize Merging Compute Mesh Fallback (`PR #961`) & Mip-Drop (`PR #737`):** Polaris hardware (RX 470 / RX 580 8GB) has sufficient raw compute and VRAM bandwidth to render the opening scene once Mesh Shaders are translated to Compute Shaders and peak VRAM/RAM footprint is reduced.
ColorMeBoom commented 2026-11-27 06:10:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-27T06:10:27Z.


Update for section 3 (GPUs without mesh shaders): #961, the compute fallback, merges with current main now, and it runs on an RDNA1 card.

  • At its own head, #961 conflicts with main (12 files) and is waiting for a rebase. A merge of main 63bcca4 into it is on ColorMeBoom:pr961-rebase, one commit the PR can fast-forward to (details). It also fixes a clash the merge would otherwise bring: the fallback's output buffers used register space 2, which main now uses for title memory.
  • On an RX 5700 XT (RDNA1, no mesh shader tier, Windows 11): cargo test --workspace passes (891 tests). The fallback's image matches WARP's real mesh-shader image, and the fallback costs 0.5–1.7 ms of GPU time a frame when batched. Per-draw recording, as the PR records it today, costs ~2.3 µs a draw (16 ms at 7,000 draws), which is the "cost per draw" item still open on #961.
  • That's synthetic tests only, not a run of the title, so it adds nothing about the world rendering itself.

Not on main yet either way: the guide's point that these are open PRs still holds.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7211282991 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7211282991). Originally posted by [ColorMeBoom](https://github.com/ColorMeBoom) on 2026-11-27T06:10:27Z. --- **Update for section 3 (GPUs without mesh shaders):** #961, the compute fallback, merges with current `main` now, and it runs on an RDNA1 card. - At its own head, #961 conflicts with `main` (12 files) and is waiting for a rebase. A merge of `main` `63bcca4` into it is on [`ColorMeBoom:pr961-rebase`](https://github.com/ColorMeBoom/VIctory/tree/pr961-rebase), one commit the PR can fast-forward to ([details](https://github.com/Marvisak/VIctory/pull/961#issuecomment-7208817062)). It also fixes a clash the merge would otherwise bring: the fallback's output buffers used register space 2, which `main` now uses for title memory. - On an **RX 5700 XT** (RDNA1, no mesh shader tier, Windows 11): `cargo test --workspace` passes (891 tests). The fallback's image matches WARP's real mesh-shader image, and the fallback costs 0.5–1.7 ms of GPU time a frame when batched. Per-draw recording, as the PR records it today, costs ~2.3 µs a draw (16 ms at 7,000 draws), which is the "cost per draw" item still open on #961. - That's synthetic tests only, not a run of the title, so it adds nothing about the world rendering itself. Not on `main` yet either way: the guide's point that these are open PRs still holds. AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-27 06:51:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T06:51:37Z.


Summary of Milestones Achieved on Polaris (RX 580 2048SP 8GB, Windows 11, DX12 FL 12_0)

Here is a complete recap of what we have successfully bypassed and verified so far on 2017 Polaris hardware:

  1. System & Shader Baseline:
    • Resolved initial commit-limit OOM (26.9 GB private working set) and TDR timeouts via Page File expansion + TdrDelay + VICTORY_SHADER_LOOP_LIMIT=65536.
  2. Feature Level 12_0 Compatibility (LogicOpEnable & mesh_shaders):
    • Refused unsupported LogicOpEnable and hardware mesh shader queries cleanly, allowing the title to boot past initial frames and reach 63 FPS through the intro/menu sequence into lua_story initialization.
  3. Eliminated GPU Driver Hangs (0x887A0001 & 0x887A0005):
    • Identified that create_at_address calls for 33x33x33 / 17x17x17 Texture3D (dimension == 4) resources with R16G16B16A16_FLOAT (Format 10) and ALLOW_UNORDERED_ACCESS (flags & 4 != 0) caused DXGI_ERROR_INVALID_CALL (0x887A0001) and device removal on Polaris drivers. Filtering those out completely stopped the driver hangs.
  4. Prevented Null-Pointer Crashes (0xc0000005 - write 0x0: nothing mapped there):
    • Found that when list::upload (failed to upload buffer) or texture_memory (no host texture) refuses/skips an allocation, returning an unmapped 0x0 pointer triggers an immediate write 0x0 crash when the title initializes the resource.
    • Added aligned system-RAM fallback buffers for both upload buffers and skipped textures, keeping the process alive past the driver-lock barrier.
  5. VRAM Budget Control (VICTORY_TEXTURES=never):
    • Confirmed that default Textures::Stream bursts past 4.6 GB VRAM on 8 GB cards during world transition; running with VICTORY_TEXTURES=never at 1280x720 isolates geometry/compute behavior cleanly.

Next step: Running the updated texture_memory fallback build and integrating ColorMeBoom:pr961-rebase to test compute mesh shader world rendering on RX 580!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7211913731 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7211913731). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T06:51:37Z. --- ### Summary of Milestones Achieved on Polaris (RX 580 2048SP 8GB, Windows 11, DX12 FL 12_0) Here is a complete recap of what we have successfully bypassed and verified so far on 2017 Polaris hardware: 1. **System & Shader Baseline:** - Resolved initial commit-limit OOM (`26.9 GB` private working set) and TDR timeouts via Page File expansion + `TdrDelay` + `VICTORY_SHADER_LOOP_LIMIT=65536`. 2. **Feature Level 12_0 Compatibility (`LogicOpEnable` & `mesh_shaders`):** - Refused unsupported `LogicOpEnable` and hardware mesh shader queries cleanly, allowing the title to boot past initial frames and reach **63 FPS** through the intro/menu sequence into `lua_story` initialization. 3. **Eliminated GPU Driver Hangs (`0x887A0001` & `0x887A0005`):** - Identified that `create_at_address` calls for `33x33x33` / `17x17x17` `Texture3D` (`dimension == 4`) resources with `R16G16B16A16_FLOAT` (`Format 10`) and `ALLOW_UNORDERED_ACCESS` (`flags & 4 != 0`) caused `DXGI_ERROR_INVALID_CALL (0x887A0001)` and device removal on Polaris drivers. Filtering those out completely stopped the driver hangs. 4. **Prevented Null-Pointer Crashes (`0xc0000005 - write 0x0: nothing mapped there`):** - Found that when `list::upload` (`failed to upload buffer`) or `texture_memory` (`no host texture`) refuses/skips an allocation, returning an unmapped `0x0` pointer triggers an immediate `write 0x0` crash when the title initializes the resource. - Added aligned system-RAM fallback buffers for both upload buffers and skipped textures, keeping the process alive past the driver-lock barrier. 5. **VRAM Budget Control (`VICTORY_TEXTURES=never`):** - Confirmed that default `Textures::Stream` bursts past `4.6 GB` VRAM on 8 GB cards during world transition; running with `VICTORY_TEXTURES=never` at `1280x720` isolates geometry/compute behavior cleanly. Next step: Running the updated `texture_memory` fallback build and integrating `ColorMeBoom:pr961-rebase` to test compute mesh shader world rendering on RX 580!
vorgales commented 2026-11-27 08:01:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T08:01:32Z.


First Real-World Test of ColorMeBoom:pr961-rebase on Polaris (RX 580 2048SP 8GB, DX12 FL 12_0)!

Huge milestone: With pr961-rebase, the title completely cleared the menu barrier on RX 580 (VICE CITY, TWO YEARS AGO title card rendered cleanly and audio/subtitles played live inside the opening scene!).

However, 3D world/character geometry rendered as a black screen (with live audio/subtitles) because the compute mesh shader fallback pipelines failed PSO creation on DX12 Feature Level 12_0 with hr=0x80070057 (E_INVALIDARG):

  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_21' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_23' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_25' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_29' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_31' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_MS2' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS5_AUTOSCHEDULER_MS55' -- falling back to Rms0
  • title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_SC15_MS55' -- falling back to Rms0

Also observed on 8 GB VRAM during scene streaming (when VICTORY_TEXTURES=never is not set):

  • WARN [victory_gpu::gpu]: no shader-writable buffer / no host command list did not close (0x8007000E - E_OUTOFMEMORY)

The compute fallback architecture works to get past the menu and into live scene execution on GCN 4.0 / Polaris—once those MS55 compute PSOs pass validation on FL 12_0 (or VICTORY_D3D12_DEBUG=1 identifies which root signature / shader flag triggers 0x80070057), Polaris will draw its first 3D frame!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7213055786 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7213055786). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T08:01:32Z. --- ### First Real-World Test of `ColorMeBoom:pr961-rebase` on Polaris (RX 580 2048SP 8GB, DX12 FL 12_0)! Huge milestone: With `pr961-rebase`, the title **completely cleared the menu barrier** on RX 580 (`VICE CITY, TWO YEARS AGO` title card rendered cleanly and audio/subtitles played live inside the opening scene!). However, 3D world/character geometry rendered as a black screen (with live audio/subtitles) because the compute mesh shader fallback pipelines failed PSO creation on DX12 Feature Level 12_0 with `hr=0x80070057 (E_INVALIDARG)`: - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_21' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_23' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_25' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_29' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_31' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS55_MS2' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_MS5_AUTOSCHEDULER_MS55' -- falling back to Rms0` - `title sub: PPs::PS64::102: DeserializeComputePipelineState1 FAILED hr=0x80070057 for 'PPs_PS64_SC15_MS55' -- falling back to Rms0` Also observed on 8 GB VRAM during scene streaming (when `VICTORY_TEXTURES=never` is not set): - `WARN [victory_gpu::gpu]: no shader-writable buffer` / `no host command list did not close (0x8007000E - E_OUTOFMEMORY)` The compute fallback architecture works to get past the menu and into live scene execution on GCN 4.0 / Polaris—once those `MS55` compute PSOs pass validation on FL 12_0 (or `VICTORY_D3D12_DEBUG=1` identifies which root signature / shader flag triggers `0x80070057`), Polaris will draw its first 3D frame!
abdellahgh01 commented 2026-11-27 09:59:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-27T09:59:08Z.


RX 580 (Polaris: no mesh shaders, 64-lane waves only): the world renders.

With #1648's mesh emulation merged onto current main, plus a few fixes for 64-lane-only cards, the world draws correctly (lit, textured, characters) on an RX 580 8 GB with a Ryzen 7 2700X and 20 GB RAM, in Series S mode, at about 1 fps (0.8–1.5 s per frame).

What it needed on top of #1648:

  • each 32-lane console wave in a larger group gets its own 64-lane host wave (those compute pipelines were refused, or the world came out washed out)
  • R9G9B9E5 render targets get an R11G11B10_FLOAT stand-in
  • dword 4 of root constants is a constant, not a root view offset (11 post-processing programs were dropped every frame)
  • two memory leaks fixed: view table entries for constant-buffer and placed-buffer views were never freed, and host command lists grew without bound
  • TdrDelay raised to 10 s: some world submissions take 3+ s on this card

Code, measurements and open problems: https://github.com/abdellahgh01/VIctory-RX580 (README-RX580.md). Help is welcome, especially on the GPU cost of wave32 padding and mesh emulation on GCN, and on cutting the ~5 GB of host copies on 8 GB cards.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7215336397 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7215336397). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-27T09:59:08Z. --- **RX 580 (Polaris: no mesh shaders, 64-lane waves only): the world renders.** With #1648's mesh emulation merged onto current main, plus a few fixes for 64-lane-only cards, the world draws correctly (lit, textured, characters) on an RX 580 8 GB with a Ryzen 7 2700X and 20 GB RAM, in Series S mode, at about 1 fps (0.8–1.5 s per frame). What it needed on top of #1648: - each 32-lane console wave in a larger group gets its own 64-lane host wave (those compute pipelines were refused, or the world came out washed out) - R9G9B9E5 render targets get an R11G11B10_FLOAT stand-in - dword 4 of root constants is a constant, not a root view offset (11 post-processing programs were dropped every frame) - two memory leaks fixed: view table entries for constant-buffer and placed-buffer views were never freed, and host command lists grew without bound - `TdrDelay` raised to 10 s: some world submissions take 3+ s on this card Code, measurements and open problems: https://github.com/abdellahgh01/VIctory-RX580 (README-RX580.md). Help is welcome, especially on the GPU cost of wave32 padding and mesh emulation on GCN, and on cutting the ~5 GB of host copies on 8 GB cards.
ColorMeBoom commented 2026-11-27 12:37:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-27T12:37:54Z.


@vorgales thanks for running pr961-rebase on Polaris. A few notes on reading that log, checked against the branch (14e9110):

  • The DeserializeComputePipelineState1 FAILED ... falling back to Rms0 lines are the game's own debug output, not VIctory's. VIctory logs everything the title sends to OutputDebugStringA/W under the title target (crates/victory-hle/src/modules/kernel.rs). So they show that some call the game made got 0x80070057 back, but not which call or why. VIctory's own pipeline refusals are victory_gpu warnings with their own text: host pipeline refused, host mesh fallback compute pipeline refused, host mesh fallback pipeline refused and host root signature refused, each with the error and the shader hashes. If any of those are in the same log, they're the useful lines to post.
  • mesh_shaders() already returns false on an RX 580. It requires MeshShaderTier != NOT_SUPPORTED and shader model 6.6, and logs host mesh shader support mesh=false once at startup. Polaris reports no mesh shader tier, so forcing it to false shouldn't change anything on pr961-rebase. If it did, the build was probably not plain pr961-rebase.
  • Polaris runs only 64-lane waves, and the console's shaders are written for 32. #961 doesn't deal with that; it only replaces mesh shaders. @abdellahgh01's report above (world rendering on an RX 580 with #1648 plus 64-lane fixes, https://github.com/abdellahgh01/VIctory-RX580) found that compute pipelines with 32-lane waves in larger groups were refused, or rendered wrong, until each console wave got its own 64-lane host wave. A black world on pr961-rebase on this card fits that.

Your builds also carry local changes (the VIctory-Belobog-AMD tree, the texture filters, the fallback buffers), so it isn't clear what came from pr961-rebase and what from those. If you push that tree as a branch, or post the victory_gpu warnings from a run of unmodified pr961-rebase (VICTORY_LOG=victory_gpu=debug,info), that would separate the two.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7218486171 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7218486171). Originally posted by [ColorMeBoom](https://github.com/ColorMeBoom) on 2026-11-27T12:37:54Z. --- @vorgales thanks for running `pr961-rebase` on Polaris. A few notes on reading that log, checked against the branch (`14e9110`): - **The `DeserializeComputePipelineState1 FAILED ... falling back to Rms0` lines are the game's own debug output, not VIctory's.** VIctory logs everything the title sends to `OutputDebugStringA/W` under the `title` target (`crates/victory-hle/src/modules/kernel.rs`). So they show that some call the game made got `0x80070057` back, but not which call or why. VIctory's own pipeline refusals are `victory_gpu` warnings with their own text: `host pipeline refused`, `host mesh fallback compute pipeline refused`, `host mesh fallback pipeline refused` and `host root signature refused`, each with the error and the shader hashes. If any of those are in the same log, they're the useful lines to post. - **`mesh_shaders()` already returns `false` on an RX 580.** It requires `MeshShaderTier != NOT_SUPPORTED` *and* shader model 6.6, and logs `host mesh shader support mesh=false` once at startup. Polaris reports no mesh shader tier, so forcing it to `false` shouldn't change anything on `pr961-rebase`. If it did, the build was probably not plain `pr961-rebase`. - **Polaris runs only 64-lane waves**, and the console's shaders are written for 32. #961 doesn't deal with that; it only replaces mesh shaders. @abdellahgh01's report above (world rendering on an RX 580 with #1648 plus 64-lane fixes, https://github.com/abdellahgh01/VIctory-RX580) found that compute pipelines with 32-lane waves in larger groups were refused, or rendered wrong, until each console wave got its own 64-lane host wave. A black world on `pr961-rebase` on this card fits that. Your builds also carry local changes (the `VIctory-Belobog-AMD` tree, the texture filters, the fallback buffers), so it isn't clear what came from `pr961-rebase` and what from those. If you push that tree as a branch, or post the `victory_gpu` warnings from a run of unmodified `pr961-rebase` (`VICTORY_LOG=victory_gpu=debug,info`), that would separate the two. AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-27 14:16:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T14:16:57Z.


thanks im beta testing

<!-- greyfinch-sync:Marvisak/VIctory:comment:7220584035 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7220584035). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T14:16:57Z. --- thanks im beta testing
abdellahgh01 commented 2026-11-27 14:50:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-27T14:50:51Z.


@vorgales if you try https://github.com/abdellahgh01/VIctory-RX580 (branch rx580) on your RX 580, could you post how much RAM your PC has and a few of the frame-rate lines from the log while in the world (the fps, ... ms/frame ones)? The same card with a different amount of RAM would show how much of the ~1 s frame is Windows paging memory to disk. Build and run steps are in README-RX580.md.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7221303407 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221303407). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-27T14:50:51Z. --- @vorgales if you try https://github.com/abdellahgh01/VIctory-RX580 (branch `rx580`) on your RX 580, could you post how much RAM your PC has and a few of the frame-rate lines from the log while in the world (the `fps, ... ms/frame` ones)? The same card with a different amount of RAM would show how much of the ~1 s frame is Windows paging memory to disk. Build and run steps are in README-RX580.md. AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-27 14:58:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T14:58:45Z.


Thanks for checking in! Here are the exact numbers from my RX 580 8GB rig on unmodified main (VIctory-RX580) before my local experiments:

  • System Specs: Ryzen 5 5500, AMD Radeon RX 580 8GB, 32 GB DDR4 RAM, NVMe SSD.
  • RAM Usage In-World: Peaks around 25.1 – 29.4 GB out of 32 GB once the scene reaches full draw count (~4,530 draws/frame), so with 32 GB RAM it avoids heavy Windows disk paging.
  • Frame Times In-World (no disk paging):
    • 2 fps | 422.8 ms/frame | 1401 draws/frame
    • 2 fps | 352.6 ms/frame | 4532 draws/frame
    • 2 fps | 348.0 ms/frame | 4536 draws/frame
    • 2 fps | 344.6 ms/frame | 912 draws/frame

(So your suspicion about disk paging on 16 GB systems causing the ~1 s/frame bottleneck is spot-on—with 32 GB RAM it settles around ~345–350 ms/frame, ~2.8 FPS.)

Right now, I am testing local "ultra-low / potato" modifications on top of your branch—trimming textures above 512px (stage_from_title) to drop RAM usage down to ~16.8 GB and pruning heavy compute dispatches (x * y * z > 2048) to see how much frame time we can shave off on Polaris.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7221470590 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221470590). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T14:58:45Z. --- Thanks for checking in! Here are the exact numbers from my RX 580 8GB rig on unmodified `main` (`VIctory-RX580`) before my local experiments: * **System Specs:** Ryzen 5 5500, AMD Radeon RX 580 8GB, **32 GB DDR4 RAM**, NVMe SSD. * **RAM Usage In-World:** Peaks around **25.1 – 29.4 GB** out of 32 GB once the scene reaches full draw count (~4,530 draws/frame), so with 32 GB RAM it avoids heavy Windows disk paging. * **Frame Times In-World (no disk paging):** * `2 fps | 422.8 ms/frame | 1401 draws/frame` * `2 fps | 352.6 ms/frame | 4532 draws/frame` * `2 fps | 348.0 ms/frame | 4536 draws/frame` * `2 fps | 344.6 ms/frame | 912 draws/frame` *(So your suspicion about disk paging on 16 GB systems causing the ~1 s/frame bottleneck is spot-on—with 32 GB RAM it settles around ~345–350 ms/frame, ~2.8 FPS.)* Right now, I am testing local "ultra-low / potato" modifications on top of your branch—trimming textures above 512px (`stage_from_title`) to drop RAM usage down to ~16.8 GB and pruning heavy compute dispatches (`x * y * z > 2048`) to see how much frame time we can shave off on Polaris.
vorgales commented 2026-11-27 15:02:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T15:02:27Z.


Also, one quick observation on why my screenshots showed a white 3D screen with only UI subtitles visible:

When setting $env:VICTORY_OUTPUT="1920x1080", the title initializes its built-in AMD FSR 4 (FFX_FSR4 SDK 2.0.0) passes (nativeResolution must be 1920x1080), while underneath all ~4,530 draws/frame, audio, and controls continue running normally. I am testing next without VICTORY_OUTPUT (default Series S output) to verify whether the 3D scene renders visibly on my RX 580.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7221547708 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221547708). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T15:02:27Z. --- Also, one quick observation on why my screenshots showed a white 3D screen with only UI subtitles visible: When setting `$env:VICTORY_OUTPUT="1920x1080"`, the title initializes its built-in **AMD FSR 4 (`FFX_FSR4` SDK 2.0.0)** passes (`nativeResolution must be 1920x1080`), while underneath all ~4,530 draws/frame, audio, and controls continue running normally. I am testing next without `VICTORY_OUTPUT` (default Series S output) to verify whether the 3D scene renders visibly on my RX 580.
abdellahgh01 commented 2026-11-27 15:06:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-27T15:06:12Z.


@vorgales thanks, that's very useful: same card, ~350 ms/frame with 32 GB against ~1,000–1,200 ms here with 20 GB, so most of my frame time is paging.

On the white 3D image: I run with VICTORY_UPSCALER=6 as well as VICTORY_OUTPUT=1920x1080 (and VICTORY_OVERLAP=1). 6 makes the title use its own upscaler instead of FidelityFX, and with that the world renders correctly on my RX 580 (README-RX580.md, "Build and run"). Could you try that? Your ms/frame may go up a little if passes that were skipped now run, so the dropped N without a host pipeline count from the same fps line would help compare.

On pruning big dispatches: some compute passes write data the game reads back (the BVH builder, for one), so skipping them can corrupt the title's own data or crash it. Texture trimming looks safer.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7221627515 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221627515). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-27T15:06:12Z. --- @vorgales thanks, that's very useful: same card, ~350 ms/frame with 32 GB against ~1,000–1,200 ms here with 20 GB, so most of my frame time is paging. On the white 3D image: I run with `VICTORY_UPSCALER=6` as well as `VICTORY_OUTPUT=1920x1080` (and `VICTORY_OVERLAP=1`). 6 makes the title use its own upscaler instead of FidelityFX, and with that the world renders correctly on my RX 580 (README-RX580.md, "Build and run"). Could you try that? Your ms/frame may go up a little if passes that were skipped now run, so the `dropped N without a host pipeline` count from the same fps line would help compare. On pruning big dispatches: some compute passes write data the game reads back (the BVH builder, for one), so skipping them can corrupt the title's own data or crash it. Texture trimming looks safer. AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-27 15:10:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T15:10:41Z.


image
<!-- greyfinch-sync:Marvisak/VIctory:comment:7221726122 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221726122). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T15:10:41Z. --- <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/1a432b79-1eda-4426-bd87-3564885ab4f7" />
vorgales commented 2026-11-27 15:12:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T15:12:00Z.


image cpu is big problem

<!-- greyfinch-sync:Marvisak/VIctory:comment:7221755588 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7221755588). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T15:12:00Z. --- <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/1c2a6132-9e31-4c91-99b4-18a91dd870ec" /> cpu is big problem
vorgales commented 2026-11-27 15:25:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T15:25:55Z.


image That did the trick! With $env:VICTORY_UPSCALER="6" alongside $env:VICTORY_OUTPUT="1920x1080" and $env:VICTORY_OVERLAP="1", the white screen is completely gone and Lucia + the prison scene render properly (lit, textured, hair/cloth details intact) on my RX 580 8GB!

Here is the exact frame timing & dropped pipeline line from the log once the prison scene settled at ~5,858 draws/frame:

1 fps, 703.3 ms/frame (71.6 preparing, copies 346.9 ms 375.6 MB, dispatches 2.6 ms 5.4 MB, 151.0 ms on the GPU, 56.2 copying back 6.4 MB), 5858 draws/frame, dropped 75 without a host pipeline (0 being no-op) and 1 indirect, 1303 root-view slots/frame

Also noticed how the actual GPU time is only 151.0 ms, while 346.9 ms (375.6 MB) is spent on copies per frame!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7222049481 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7222049481). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T15:25:55Z. --- <img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/d9460e7a-09a5-4253-8a57-5c8f0d956259" /> That did the trick! With `$env:VICTORY_UPSCALER="6"` alongside `$env:VICTORY_OUTPUT="1920x1080"` and `$env:VICTORY_OVERLAP="1"`, the white screen is completely gone and **Lucia + the prison scene render properly (lit, textured, hair/cloth details intact)** on my RX 580 8GB! Here is the exact frame timing & `dropped` pipeline line from the log once the prison scene settled at ~5,858 draws/frame: `1 fps, 703.3 ms/frame (71.6 preparing, copies 346.9 ms 375.6 MB, dispatches 2.6 ms 5.4 MB, 151.0 ms on the GPU, 56.2 copying back 6.4 MB), 5858 draws/frame, dropped 75 without a host pipeline (0 being no-op) and 1 indirect, 1303 root-view slots/frame` Also noticed how the actual GPU time is only **151.0 ms**, while **346.9 ms (375.6 MB)** is spent on `copies` per frame!
abdellahgh01 commented 2026-11-27 15:36:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-27T15:36:10Z.


@vorgales great, thanks for confirming the world renders on a second RX 580: 703 ms/frame with 32 GB, against 1.0–1.7 s here with 20 GB.

Copies being the biggest part matches what I see. I just pushed a change to rx580 (8907013) that stops copying whole withheld ranges again when the GPU wrote only a few pages of them: in one run alternating both ways on my card, copies went from 382 to 215–270 MB a frame (290–317 → 195–240 ms). If you pull it, I'd be curious what your copies line shows; VICTORY_DROP_WHOLE=1 brings back the old behaviour for an A/B.

image

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7222257316 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7222257316). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-27T15:36:10Z. --- @vorgales great, thanks for confirming the world renders on a second RX 580: 703 ms/frame with 32 GB, against 1.0–1.7 s here with 20 GB. Copies being the biggest part matches what I see. I just pushed a change to `rx580` (8907013) that stops copying whole withheld ranges again when the GPU wrote only a few pages of them: in one run alternating both ways on my card, copies went from 382 to 215–270 MB a frame (290–317 → 195–240 ms). If you pull it, I'd be curious what your copies line shows; `VICTORY_DROP_WHOLE=1` brings back the old behaviour for an A/B. <img width="1264" height="681" alt="image" src="https://github.com/user-attachments/assets/d1d65b65-536d-410f-a1d5-a8414ad620bd" /> AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-27 15:45:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-27T15:45:39Z.


nice Thank you so much for the help and for pushing that copies optimization (2907013) so quickly!

I am currently pulling the update and working on further FPS optimizations alongside a minimal-RAM ("ultra-low / potato") configuration on my end. Once I finish testing and dialing in the numbers, I will share the exact copies line and results right here!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7222448452 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7222448452). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-27T15:45:39Z. --- nice Thank you so much for the help and for pushing that `copies` optimization (`2907013`) so quickly! I am currently pulling the update and working on further FPS optimizations alongside a minimal-RAM ("ultra-low / potato") configuration on my end. Once I finish testing and dialing in the numbers, I will share the exact `copies` line and results right here!
Aikiu7068 commented 2026-11-28 00:46:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Aikiu7068 on 2026-11-28T00:46:43Z.


Hello I had pretty much given up on the idea of playing GTA 6 because of my GTX 1070 Ti, but thanks to your work, you've genuinely given me hope again!

I'd really like to help in any way I can. I'm currently reinstalling the game files so I can start testing.

My PC specs are:

CPU: Ryzen 7 9800X3D

GPU: GTX 1070 Ti

RAM: 32 GB DDR5

As soon as everything is ready, I'll try to run tests, check CPU bottleneck

(i'm new to gitub so if its the wrong spot to say thas mb just tel me or delete my message)

<!-- greyfinch-sync:Marvisak/VIctory:comment:7231184278 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7231184278). Originally posted by [Aikiu7068](https://github.com/Aikiu7068) on 2026-11-28T00:46:43Z. --- Hello I had pretty much given up on the idea of playing GTA 6 because of my GTX 1070 Ti, but thanks to your work, you've genuinely given me hope again! I'd really like to help in any way I can. I'm currently reinstalling the game files so I can start testing. My PC specs are: CPU: Ryzen 7 9800X3D GPU: GTX 1070 Ti RAM: 32 GB DDR5 As soon as everything is ready, I'll try to run tests, check CPU bottleneck (i'm new to gitub so if its the wrong spot to say thas mb just tel me or delete my message)
ColorMeBoom commented 2026-11-28 01:29:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-28T01:29:33Z.


@Aikiu7068 Welcome. This is a fine place to ask. Where things stand for a GTX 1070 Ti:

  • Pascal has no mesh shaders, so main can't draw the world's mesh pipelines. The compute fallback that covers them is #961, still an open PR. Section 3 above links a GTX 1070 Ti report with it: world geometry drawn, at well under 1 fps. #961 no longer merges cleanly with main. ColorMeBoom:pr961-rebase is the same PR with current main merged in.
  • Before running, victory config prints the paths it uses. The run log has a host mesh shader support line saying whether D3D12 reports mesh shaders on your card.
  • When you report, include the run log (victory writes one per run) and say which branch or commit you built. Note where it stops: the menu, a cutscene or the world. Lines like host pipeline refused or dropped N without a host pipeline are the useful ones.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7231703014 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7231703014). Originally posted by [ColorMeBoom](https://github.com/ColorMeBoom) on 2026-11-28T01:29:33Z. --- @Aikiu7068 Welcome. This is a fine place to ask. Where things stand for a GTX 1070 Ti: - **Pascal has no mesh shaders, so `main` can't draw the world's mesh pipelines.** The compute fallback that covers them is #961, still an open PR. Section 3 above links a [GTX 1070 Ti report](https://github.com/Marvisak/VIctory/pull/961#issuecomment-7139557265) with it: world geometry drawn, at well under 1 fps. #961 no longer merges cleanly with `main`. [`ColorMeBoom:pr961-rebase`](https://github.com/ColorMeBoom/VIctory/tree/pr961-rebase) is the same PR with current `main` merged in. - **Before running, `victory config` prints the paths it uses.** The run log has a `host mesh shader support` line saying whether D3D12 reports mesh shaders on your card. - **When you report, include the run log** (`victory` writes one per run) and say which branch or commit you built. Note where it stops: the menu, a cutscene or the world. Lines like `host pipeline refused` or `dropped N without a host pipeline` are the useful ones. AI use: Claude Code (Claude Opus 5.5).
abdellahgh01 commented 2026-11-28 14:00:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-28T14:00:21Z.


@vorgales I pushed a faster build to rx580 (now at 6072d2c). Since the copies change you pulled:

  • Each submission now marks its GPU writes in a table of its own. This changed the shader translator, so run translate --cache --pipelines from README.md once (about 30 minutes here); until then the first runs are slow and can show a black stretch.
  • With VICTORY_OVERLAP=1, submissions sent ahead wait for each other only where they really share memory (docs/stage2-overlap.md). In a 21-minute run alternating both ways on my RX 580: 890 vs 1,022 ms/frame median.
  • A fix for GPU writes that could be lost when submissions overlapped.

VICTORY_WAIT_LESS=0 brings back the old waits if something looks wrong. If you can, I'd like to see your ms/frame and copies line with it on your 32 GB PC.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7240342791 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7240342791). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-28T14:00:21Z. --- @vorgales I pushed a faster build to `rx580` (now at 6072d2c). Since the copies change you pulled: - Each submission now marks its GPU writes in a table of its own. This changed the shader translator, so run `translate --cache --pipelines` from README.md once (about 30 minutes here); until then the first runs are slow and can show a black stretch. - With `VICTORY_OVERLAP=1`, submissions sent ahead wait for each other only where they really share memory (docs/stage2-overlap.md). In a 21-minute run alternating both ways on my RX 580: 890 vs 1,022 ms/frame median. - A fix for GPU writes that could be lost when submissions overlapped. `VICTORY_WAIT_LESS=0` brings back the old waits if something looks wrong. If you can, I'd like to see your ms/frame and copies line with it on your 32 GB PC. AI use: Claude Code (Claude Opus 5.5).
vorgales commented 2026-11-28 18:19:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-28T18:19:21Z.


@abdellahgh01 Huge thanks for the update and the victory_barrier=1 work! Here are my results on my 32 GB DDR4 RAM + Ryzen 5 5500 + RX 580 2048SP (8 GB) system from my prison scene run:
• Frame time: 614.7 ms/frame (~2 FPS) with 3,860 draws/frame
• Memory & GPU: 24.5 / 31.9 GB system RAM used, full 8.0 GB VRAM, GPU at 66% load / 57°C
• Config / Copies tier: Used the lowest copies tier (2x) alongside VICTORY_HOIST_CLAMPS=7 and -C target-cpu=native to keep RAM pressure under control on 32 GB.
I am upgrading to an RX 7600 (RDNA 3) tomorrow, so I'm retiring my RX 580 on a high note—hope these numbers help everyone still optimizing Polaris / non-mesh-shader builds!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7243702034 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7243702034). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-28T18:19:21Z. --- @abdellahgh01 Huge thanks for the update and the victory_barrier=1 work! Here are my results on my 32 GB DDR4 RAM + Ryzen 5 5500 + RX 580 2048SP (8 GB) system from my prison scene run: • Frame time: 614.7 ms/frame (~2 FPS) with 3,860 draws/frame • Memory & GPU: 24.5 / 31.9 GB system RAM used, full 8.0 GB VRAM, GPU at 66% load / 57°C • Config / Copies tier: Used the lowest copies tier (2x) alongside VICTORY_HOIST_CLAMPS=7 and -C target-cpu=native to keep RAM pressure under control on 32 GB. I am upgrading to an RX 7600 (RDNA 3) tomorrow, so I'm retiring my RX 580 on a high note—hope these numbers help everyone still optimizing Polaris / non-mesh-shader builds!
vorgales commented 2026-11-28 18:21:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-28T18:21:35Z.


@abdellahgh01 @ColorMeBoom Huge thanks for all the hard work and for the victory_barrier=1 update!

Before I step back from Polaris testing—I'm upgrading to an RX 7600 (RDNA 3) tomorrow—I wanted to leave behind the exact combination of flags and settings that gave me my best stable results on a 32 GB DDR4 RAM + Ryzen 5 5500 + RX 580 2048SP (8 GB) setup, in case it helps anyone still pushing non-mesh-shader / Polaris GPUs:

Best Recorded Results (In-Game Prison Scene)

  • Frame Time & FPS: 614.7 ms/frame (~2 FPS) at 3,860 draws/frame (reaching Lucia's cell without crashes)
  • Memory & Thermals: 24.5 / 31.9 GB system RAM used, full 8.0 GB VRAM utilized, GPU sitting comfortably at 66% load / 57°C and 5 fps cinematic dont stabilize 1 3 fps open world rx580

Key Settings & Build Flags That Made It Possible

  1. Lowest copies Tier (2x): Essential for keeping total RAM usage around ~24.5 GB on a 32 GB system and preventing out-of-memory crashes during world/cell streaming.
  2. VICTORY_HOIST_CLAMPS=7: Significantly reduced memory spikes and stabilized frame pacing on 8 GB Polaris.
  3. Native CPU Compilation (RUSTFLAGS="-C target-cpu=native"): Since software compute fallback shifts heavy geometry/shader translation onto the CPU (pushing my 6-core Ryzen 5 5500 up to ~99% during peak translation), compiling with native CPU instructions noticeably cut down frame times.
  4. Pre-cached Shader Translation: Running full shader translation ahead of time avoided mid-scene stalls and black screens on Polaris.

Retiring my RX 580 on a high note—best of luck to everyone continuing the Polaris & Pascal compute-fallback work!

<!-- greyfinch-sync:Marvisak/VIctory:comment:7243730378 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7243730378). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-28T18:21:35Z. --- @abdellahgh01 @ColorMeBoom Huge thanks for all the hard work and for the `victory_barrier=1` update! Before I step back from Polaris testing—I'm upgrading to an **RX 7600 (RDNA 3)** tomorrow—I wanted to leave behind the exact combination of flags and settings that gave me my best stable results on a **32 GB DDR4 RAM + Ryzen 5 5500 + RX 580 2048SP (8 GB)** setup, in case it helps anyone still pushing non-mesh-shader / Polaris GPUs: ### Best Recorded Results (In-Game Prison Scene) * **Frame Time & FPS:** **614.7 ms/frame (~2 FPS)** at **3,860 draws/frame** (reaching Lucia's cell without crashes) * **Memory & Thermals:** **24.5 / 31.9 GB** system RAM used, full **8.0 GB VRAM** utilized, GPU sitting comfortably at **66% load / 57°C** and 5 fps cinematic dont stabilize 1 3 fps open world rx580 ### Key Settings & Build Flags That Made It Possible 1. **Lowest `copies` Tier (`2x`):** Essential for keeping total RAM usage around ~24.5 GB on a 32 GB system and preventing out-of-memory crashes during world/cell streaming. 2. **`VICTORY_HOIST_CLAMPS=7`:** Significantly reduced memory spikes and stabilized frame pacing on 8 GB Polaris. 3. **Native CPU Compilation (`RUSTFLAGS="-C target-cpu=native"`):** Since software compute fallback shifts heavy geometry/shader translation onto the CPU (pushing my 6-core Ryzen 5 5500 up to ~99% during peak translation), compiling with native CPU instructions noticeably cut down frame times. 4. **Pre-cached Shader Translation:** Running full shader translation ahead of time avoided mid-scene stalls and black screens on Polaris. Retiring my RX 580 on a high note—best of luck to everyone continuing the Polaris & Pascal compute-fallback work!
vorgales commented 2026-11-28 21:35:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by vorgales on 2026-11-28T21:35:14Z.


@abdellahgh01 # 🏆 RX 580 2048SP — VIctory-RX580 (Commit 6072d2c) Milestone & Performance Report

Tester: vorgales
GPU: AMD Radeon RX 580 2048SP (8 GB VRAM — Polaris, NO hardware Mesh Shaders / NO RT Cores)
CPU: AMD Ryzen 5 5500 (6C/12T @ ~4.17 GHz)
RAM: 32 GB DDR4


1. Key Milestones Achieved (Zero Driver Crashes Through C-Block!)

  • Software RTGI & Full Character Rendering: Rendered volumetric sunbeams, outdoor golden-hour RTGI lighting, strand hair, and close-up facial/skin textures without white HDR blowout or missing character meshes.
  • Playable Movement & Multi-Stage Progression:
    1. Cell interior & interaction (Hold LT to interact) — 2 FPS / 460.4–495.3 ms/frame (Fullscreen)
    2. Active player movement ("Go with the prison guard") & cell door exit — 3 FPS / 364.6–383.6 ms/frame (3642–3757 draws/frame)
    3. Long corridor & multi-character rendering — 2 FPS / 435.1–477.1 ms/frame (3932–5285 draws/frame)
    4. Crowded C-Block common room ("They want you over on C block") — 1–2 FPS / 612.3–964.3 ms/frame (7690–8848 draws/frame)
    5. Outdoor parking lot & open street cutscene — 3–4 FPS / 227.1–362.2 ms/frame (1066–1260 draws/frame) [Peak Speed: 227.1 ms/frame]
    6. Reached Stefanie Gates' office entrance ("Send her in. Lucia Caminos here.") at 3 FPS / 375.0 ms/frame (3386 draws/frame).

2. Clean Working Configuration (No Core Engine Hacks)

Built with --features diagnostics and launched in Fullscreen with background apps closed:

\$env:RUST_LOG="error"
\$env:VICTORY_D3D12_DEBUG="1"
\$env:VICTORY_UPSCALER="6"
\$env:VICTORY_OVERLAP="1"
\$env:VICTORY_OUTPUT="1280x720"
\$env:VICTORY_RENDER_SCALE="0.5"
\$env:VICTORY_HOIST_CLAMPS="7"
cargo build --release --features diagnostics
.\target\release\victory.exe run --execute "\$env:USERPROFILE\Downloads\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe"

3. Hardware Telemetry & Next Target (host.rs:2243)

  • CPU / GPU Efficiency: CPU load dropped from 97% down to 58–72%; RX 580 ran cool at 51–67% utilization (52°C–57°C).
  • Memory Bottleneck: System RAM peaked at 30.2–31.1 / 31.9 GB (95–97%) during heavy scene transitions; closing background apps + Fullscreen mode eliminated the earlier 0x887A0005 (DXGI_ERROR_DEVICE_REMOVED) door transition crash.
  • Next Target (Stefanie Gates Office Entry): Immediately after "Lucia Caminos here.", command list submission fails at crates/victory-gpu/src/host.rs:2243 with:
    a host command list did not close (0x80070057 / E_INVALIDARG): a command recorded into it was invalid (not a GPU hang, strictly an invalid D3D12 argument on Polaris/RDNA1).
<!-- greyfinch-sync:Marvisak/VIctory:comment:7246126362 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7246126362). Originally posted by [vorgales](https://github.com/vorgales) on 2026-11-28T21:35:14Z. --- @abdellahgh01 # 🏆 RX 580 2048SP — VIctory-RX580 (Commit `6072d2c`) Milestone & Performance Report **Tester:** vorgales **GPU:** AMD Radeon RX 580 2048SP (8 GB VRAM — Polaris, NO hardware Mesh Shaders / NO RT Cores) **CPU:** AMD Ryzen 5 5500 (6C/12T @ ~4.17 GHz) **RAM:** 32 GB DDR4 --- ### 1. Key Milestones Achieved (Zero Driver Crashes Through C-Block!) - **Software RTGI & Full Character Rendering:** Rendered volumetric sunbeams, outdoor golden-hour RTGI lighting, strand hair, and close-up facial/skin textures without white HDR blowout or missing character meshes. - **Playable Movement & Multi-Stage Progression:** 1. Cell interior & interaction (`Hold LT to interact`) — **2 FPS / 460.4–495.3 ms/frame** (Fullscreen) 2. Active player movement (`"Go with the prison guard"`) & cell door exit — **3 FPS / 364.6–383.6 ms/frame** (`3642–3757 draws/frame`) 3. Long corridor & multi-character rendering — **2 FPS / 435.1–477.1 ms/frame** (`3932–5285 draws/frame`) 4. Crowded C-Block common room (`"They want you over on C block"`) — **1–2 FPS / 612.3–964.3 ms/frame** (`7690–8848 draws/frame`) 5. Outdoor parking lot & open street cutscene — **3–4 FPS / 227.1–362.2 ms/frame** (`1066–1260 draws/frame`) **[Peak Speed: 227.1 ms/frame]** 6. Reached **Stefanie Gates' office entrance** (`"Send her in. Lucia Caminos here."`) at **3 FPS / 375.0 ms/frame** (`3386 draws/frame`). --- ### 2. Clean Working Configuration (No Core Engine Hacks) Built with `--features diagnostics` and launched in Fullscreen with background apps closed: ```powershell \$env:RUST_LOG="error" \$env:VICTORY_D3D12_DEBUG="1" \$env:VICTORY_UPSCALER="6" \$env:VICTORY_OVERLAP="1" \$env:VICTORY_OUTPUT="1280x720" \$env:VICTORY_RENDER_SCALE="0.5" \$env:VICTORY_HOIST_CLAMPS="7" cargo build --release --features diagnostics .\target\release\victory.exe run --execute "\$env:USERPROFILE\Downloads\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe" ``` --- ### 3. Hardware Telemetry & Next Target (`host.rs:2243`) - **CPU / GPU Efficiency:** CPU load dropped from **97% down to 58–72%**; RX 580 ran cool at **51–67% utilization (52°C–57°C)**. - **Memory Bottleneck:** System RAM peaked at **30.2–31.1 / 31.9 GB (95–97%)** during heavy scene transitions; closing background apps + Fullscreen mode eliminated the earlier `0x887A0005` (`DXGI_ERROR_DEVICE_REMOVED`) door transition crash. - **Next Target (`Stefanie Gates Office Entry`):** Immediately after `"Lucia Caminos here."`, command list submission fails at `crates/victory-gpu/src/host.rs:2243` with: `a host command list did not close (0x80070057 / E_INVALIDARG): a command recorded into it was invalid` (not a GPU hang, strictly an invalid D3D12 argument on Polaris/RDNA1).
abdellahgh01 commented 2026-11-28 22:54:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-28T22:54:41Z.


@vorgales Thanks for the detailed report. Reaching Stefanie Gates' office on an RX 580 is further than I've been able to test here.

About the stop right after "Lucia Caminos here." (a host command list did not close (0x80070057)): since you ran with VICTORY_D3D12_DEBUG=1, your log should have Direct3D 12 debug-layer lines just before that one (they start with "D3D12 ERROR" and name the command). Could you paste the 10–20 lines before the "did not close" line? That says which command was invalid, and I can fix it from that.

Two notes: VICTORY_HOIST_CLAMPS isn't a switch in this branch, so it had no effect; and the debug layer itself slows frames down, so your numbers without it should be a bit better.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7247067456 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7247067456). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-28T22:54:41Z. --- @vorgales Thanks for the detailed report. Reaching Stefanie Gates' office on an RX 580 is further than I've been able to test here. About the stop right after "Lucia Caminos here." (`a host command list did not close (0x80070057)`): since you ran with `VICTORY_D3D12_DEBUG=1`, your log should have Direct3D 12 debug-layer lines just before that one (they start with "D3D12 ERROR" and name the command). Could you paste the 10–20 lines before the "did not close" line? That says which command was invalid, and I can fix it from that. Two notes: `VICTORY_HOIST_CLAMPS` isn't a switch in this branch, so it had no effect; and the debug layer itself slows frames down, so your numbers without it should be a bit better. AI use: Claude Code (Claude Opus 5.5).
Aikiu7068 commented 2026-11-29 18:05:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Aikiu7068 on 2026-11-29T18:05:09Z.


Hi! Thanks for the information.

I'm testing on a GTX 1070 Ti 8GB with a custom build based on ColorMeBoom:pr961-rebase (#961).

I've also integrated:

  • #189 – Wave64 emulation for 32-lane GPUs (c837294).
  • #940 – Mesh fallback lane-counting fix (59647e6).

The game runs at around 30 FPS during the loading screen, but once the loading screen finishes, the screen turns black and the game crashes.

Here is the error from my log:

host GPU device removed after a submission of 10 lists; no breadcrumbs
(0x887A0004)
device removed: (0x887A0006)

VIctory: host GPU failure

My system:

  • GPU: NVIDIA GTX 1070 Ti 8GB
  • CPU: AMD Ryzen 7 9800X3D
  • RAM: 32GB DDR5
  • OS: Windows 10.0.26300

I feel stuck here idk if i'm doing it wrong or if you guys have the same sorry for the pretty bad log explication like no frametime

<!-- greyfinch-sync:Marvisak/VIctory:comment:7260198769 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7260198769). Originally posted by [Aikiu7068](https://github.com/Aikiu7068) on 2026-11-29T18:05:09Z. --- Hi! Thanks for the information. I'm testing on a **GTX 1070 Ti 8GB** with a custom build based on `ColorMeBoom:pr961-rebase` (#961). I've also integrated: - **#189** – Wave64 emulation for 32-lane GPUs (`c837294`). - **#940** – Mesh fallback lane-counting fix (`59647e6`). The game runs at around **30 FPS during the loading screen**, but once the loading screen finishes, the screen turns black and the game crashes. Here is the error from my log: ```text host GPU device removed after a submission of 10 lists; no breadcrumbs (0x887A0004) device removed: (0x887A0006) VIctory: host GPU failure ``` My system: - GPU: NVIDIA GTX 1070 Ti 8GB - CPU: AMD Ryzen 7 9800X3D - RAM: 32GB DDR5 - OS: Windows 10.0.26300 I feel stuck here idk if i'm doing it wrong or if you guys have the same sorry for the pretty bad log explication like no frametime
ColorMeBoom commented 2026-11-29 18:40:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-29T18:40:43Z.


@Aikiu7068 Thanks for the details. "Device removed" right after loading isn't something the branch does by itself on Pascal: the earlier GTX 1070 Ti report on #961 reached the world (well under 1 fps). So it's worth narrowing down. Two steps, in order:

  1. The branch on its own. Build ColorMeBoom:pr961-rebase (14e9110, #961 with main 63bcca4 merged in) without #189 and the lane-counting change, and run it the same way. If that gets past the loading screen, the crash comes from one of the additions or from how they combine with #961. Then add them back one at a time.

  2. What the GPU was doing when it died. The switches that name it only work in a diagnostics build:

    cargo build --release -p victory --features diagnostics
    $env:VICTORY_D3D12_DRED = "1"
    $env:VICTORY_GPU_TIMING = "1"
    target\release\victory.exe run <path to game_scarlett_master.exe> --execute
    
    • VICTORY_D3D12_DRED=1: on a GPU failure, it logs the commands that were in flight and the allocation that was hit.
    • VICTORY_GPU_TIMING=1: it runs each command list on its own, so a device removal names the list it happened in and logs all of that list's commands. It slows frames down; that's expected.
    • Posting the log: paste the 30–40 lines before host GPU device removed. A shader hash or a command name there usually points at the PR or pipeline responsible.

Also say which build you ran (release, or with --features diagnostics) and which --console setting. A frame time isn't needed for this.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7260671374 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7260671374). Originally posted by [ColorMeBoom](https://github.com/ColorMeBoom) on 2026-11-29T18:40:43Z. --- @Aikiu7068 Thanks for the details. "Device removed" right after loading isn't something the branch does by itself on Pascal: the earlier GTX 1070 Ti report on #961 reached the world (well under 1 fps). So it's worth narrowing down. Two steps, in order: 1. **The branch on its own.** Build `ColorMeBoom:pr961-rebase` (`14e9110`, #961 with `main` `63bcca4` merged in) without #189 and the lane-counting change, and run it the same way. If that gets past the loading screen, the crash comes from one of the additions or from how they combine with #961. Then add them back one at a time. 2. **What the GPU was doing when it died.** The switches that name it only work in a diagnostics build: ```powershell cargo build --release -p victory --features diagnostics $env:VICTORY_D3D12_DRED = "1" $env:VICTORY_GPU_TIMING = "1" target\release\victory.exe run <path to game_scarlett_master.exe> --execute ``` - **`VICTORY_D3D12_DRED=1`:** on a GPU failure, it logs the commands that were in flight and the allocation that was hit. - **`VICTORY_GPU_TIMING=1`:** it runs each command list on its own, so a device removal names the list it happened in and logs all of that list's commands. It slows frames down; that's expected. - **Posting the log:** paste the 30–40 lines before `host GPU device removed`. A shader hash or a command name there usually points at the PR or pipeline responsible. Also say which build you ran (`release`, or with `--features diagnostics`) and which `--console` setting. A frame time isn't needed for this. AI use: Claude Code (Claude Opus 5.5).
abdellahgh01 commented 2026-11-29 18:40:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by abdellahgh01 on 2026-11-29T18:40:54Z.


@Aikiu7068 0x887A0006 is DXGI_ERROR_DEVICE_HUNG: Windows reset the GPU because a submission took too long or faulted. Right when the world starts that is usually the first world frames being extremely heavy: the ray-tracing structure builder (XboxBvhBuilder) runs hundreds of passes a frame while the world loads, and on a card without ray tracing a single frame can run past Windows' 2-second GPU timeout.

Things to try:

  • Raise the GPU timeout: TdrDelay (DWORD, e.g. 10) under HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers, then reboot. It's your system setting, so only if you're comfortable changing it.
  • Run a diagnostics build with VICTORY_D3D12_DRED=1: the "device removed" report then names the command the GPU stopped at, which tells us whether it's a timeout or a fault.
  • My branch skips the BVH builder by default (VICTORY_SKIP_BVH), since nothing traces rays without hardware RT. On my RX 580 that took the first world minutes from 1.3–1.8 s to ~1.0 s a frame. It's tuned for AMD GCN (no mesh shaders, 64-lane waves) and uses PR #1648's mesh emulation rather than #961, so it isn't drop-in for a GTX 1070 Ti, but the skip itself is small to port: https://github.com/abdellahgh01/VIctory-RX580 (commit 4a8f66c).

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7260673841 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/1612#issuecomment-7260673841). Originally posted by [abdellahgh01](https://github.com/abdellahgh01) on 2026-11-29T18:40:54Z. --- @Aikiu7068 0x887A0006 is DXGI_ERROR_DEVICE_HUNG: Windows reset the GPU because a submission took too long or faulted. Right when the world starts that is usually the first world frames being extremely heavy: the ray-tracing structure builder (`XboxBvhBuilder`) runs hundreds of passes a frame while the world loads, and on a card without ray tracing a single frame can run past Windows' 2-second GPU timeout. Things to try: - Raise the GPU timeout: `TdrDelay` (DWORD, e.g. 10) under `HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers`, then reboot. It's your system setting, so only if you're comfortable changing it. - Run a diagnostics build with `VICTORY_D3D12_DRED=1`: the "device removed" report then names the command the GPU stopped at, which tells us whether it's a timeout or a fault. - My branch skips the BVH builder by default (`VICTORY_SKIP_BVH`), since nothing traces rays without hardware RT. On my RX 580 that took the first world minutes from 1.3–1.8 s to ~1.0 s a frame. It's tuned for AMD GCN (no mesh shaders, 64-lane waves) and uses PR #1648's mesh emulation rather than #961, so it isn't drop-in for a GTX 1070 Ti, but the skip itself is small to port: https://github.com/abdellahgh01/VIctory-RX580 (commit 4a8f66c). AI use: Claude Code (Claude Opus 5.5).
Sign in to join this conversation.
No labels
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.

Reference
Marvisak/VIctory#1611
No description provided.