Windows 10 + RTX 3060 Laptop 12 GB: the world renders correctly at 3-4 fps - and why that differs from #9 and #15 #49

Open
opened 2026-11-26 03:34:30 +00:00 by github-bot · 1 comment
Owner

@⁠chazi123 on GitHub · 2026-11-25 13:01 UTC · original

The README says "Nothing here has been run on an NVIDIA card", and #9's most recent comment asks whether this fork is Radeon-only. The D3D12 translator core underneath is not, and here is a run that reaches a correct picture.

This is not a report on this fork. It is a run on the sibling fork JoshuuDev/victory-amd — same lineage, same translator core, without the doubled dynamic slots. I am posting it here because #9 and #15 are the two NVIDIA reports and both stop one step short of a usable image, and because ambient.rs from this repository is what made my run readable.

Single machine, self-reported. Treat it as a data point.

Environment

  • Windows 10 19045 (not 11), Xeon W-1250 6C/12T, 32 GB RAM
  • RTX 3060 Laptop 12,288 MiB, driver 32.0.16.1714
  • retail GTA VI 1.0.2.1 Xbox dump, --console series-x
  • tree: JoshuuDev/victory-amd, no build-script changes

What I get

  • menus: 30 fps / 33 ms
  • world: loads, 2.9-4.2 fps, 239-340 ms/frame, ~1,890 draws, correctly lit at 2560x1440, HUD and subtitles on top
  • no device removal for 8+ minutes
  • frame shape: preparing 111 ms / on the GPU 122-150 ms / copying back 175 ms for 57 MB

Where this differs from #9 (RTX 5060, also Windows 10)

Same OS, same family of card, opposite outcome. Two differences I can name:

  1. Agility 620, not 614. #9 uses a shim with D3D12SDKVersion=614. I load 620 and get host mesh shader support mesh=true on this 3060, so 614 does not look like the floor.
  2. The dynamic slots are not doubled. #9's log and #15's both show host view heap capped at 1000000 with wanted=1245184 lost=310720. My tree does not double them, so it does not hit the cap, and the presented frame is complete.

#9 stops on the loading spinner on compute translation (89 of 120 refusals are the wave64 gap) — that is a shader-lowering problem and independent of the two above. I did not fix it, and I am not claiming it is fixed; I only note that the heap difference means #9 and #15 are not stopping at the same wall.

On #15's black screen, for accuracy

My first assumption was that the 310,720 missing slots were the cause of the black image. #15's third comment already shows that is not the story: applying the legal_state patch from #13 clears the black, and the colour is merely wrong afterwards. So the heap shortfall and the black screen are two separate things and should be kept apart.

ambient.rs holds up on a third tree

Ported ambient.rs (0603123, 4d63a09, 4f45ab8) onto victory-amd with the same container match (CS_ScreenProbes_TemporalResolve), the same (1,176) light slot and the same D3DCompile cs_5_1 shader. The log reads ambient light level=0.6 width=2560 height=1440 on every frame, with no device loss, no magenta and no overexposure at 0.6.

Before it, everything the sun did not hit directly was pure black and the prologue interior was unreadable. This is the single change that made the run watchable, so thank you for it.

That makes three trees and two vendors: your 9070 XT, #11's 4070 on fxceless/victory-fork, and this 3060 Laptop.

Relevant to #44 as well

Independently of the PR there: on NVIDIA Windows 10 the runtime path works too.

D3D12GetInterface(CLSID_D3D12SDKConfiguration)
  -> CreateDeviceFactory(620, "<exe>\D3D12")
  -> SetFlags(ALLOW_RETURNING_EXISTING_DEVICE)
  -> ApplyToGlobalState()

called from host::create() immediately before D3D12CreateDevice — no /EXPORT, no build.rs change, which is handy for trees where apps/victory/build.rs is not yours to edit. D3D12Core.dll still has to be placed in <exe>\D3D12\; only the wiring differs. Posted in #44 so the details stay in one place.

The GPU hang (I could not find it reported anywhere)

The sibling fork had a separate failure: 0x887A0006 device removal after 2m57s, 4m21s and 57m42s, with TdrDelay/TdrDdiDelay already at 60 s — so a genuine hang, not one long frame. A --profile diag --features diagnostics run with VICTORY_D3D12_DRED=1 produced a 20,469-character dump naming two indirect compute dispatches:

hash container samplers first bound
cabb87599722e59a 16,336 B 3 frame 1405
2561af9577c47289 24,664 B 5 frame 1407

each with

Uav  s1+96:  uav resource 0x0 buffer None
Cbv  s1+112: Constant(0x165950e0, 384) [NaN, NaN, 3.6e-34, 2.24e-43]

A 384-byte constant buffer arriving with NaN in its first floats looks like a loop bound that is never reached. Dropping those two dispatches by shader name (VICTORY_SKIP_DISPATCH=cabb87599722e59a,2561af9577c47289) gets 8+ minutes past the previous crash point, at the cost of their output being missing.

One warning for anyone chasing the same thing: I first added a "skip null UAV" guard and it never fired once in a full run — the uav resource 0x0 in the dump is a post-mortem read-back parsed from the title's descriptors, not the state at bind time.

Files

Patch (713 lines, applies with git apply --ignore-whitespace), both new source files, launcher, log excerpts:
https://github.com/chazi123/xcl-chazi/tree/main/victory-amd-win10-nvidia

ambient.rs is credited to you in the file header and the directory README, and that directory is GPL-3.0-or-later like the lineage it comes from.

**@⁠chazi123** on GitHub · 2026-11-25 13:01 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/49) The README says *"Nothing here has been run on an NVIDIA card"*, and #9's most recent comment asks whether this fork is Radeon-only. The D3D12 translator core underneath is not, and here is a run that reaches a correct picture. This is not a report on this fork. It is a run on the sibling fork **JoshuuDev/victory-amd** — same lineage, same translator core, without the doubled dynamic slots. I am posting it here because #9 and #15 are the two NVIDIA reports and both stop one step short of a usable image, and because `ambient.rs` from this repository is what made my run readable. Single machine, self-reported. Treat it as a data point. ## Environment - Windows 10 19045 (not 11), Xeon W-1250 6C/12T, 32 GB RAM - RTX 3060 Laptop 12,288 MiB, driver 32.0.16.1714 - retail GTA VI 1.0.2.1 Xbox dump, `--console series-x` - tree: JoshuuDev/victory-amd, no build-script changes ## What I get - menus: 30 fps / 33 ms - world: loads, **2.9-4.2 fps**, 239-340 ms/frame, ~1,890 draws, **correctly lit at 2560x1440**, HUD and subtitles on top - no device removal for 8+ minutes - frame shape: preparing 111 ms / on the GPU 122-150 ms / copying back 175 ms for 57 MB ## Where this differs from #9 (RTX 5060, also Windows 10) Same OS, same family of card, opposite outcome. Two differences I can name: 1. **Agility 620, not 614.** #9 uses a shim with `D3D12SDKVersion=614`. I load 620 and get `host mesh shader support mesh=true` on this 3060, so 614 does not look like the floor. 2. **The dynamic slots are not doubled.** #9's log and #15's both show `host view heap capped at 1000000` with `wanted=1245184 lost=310720`. My tree does not double them, so it does not hit the cap, and the presented frame is complete. #9 stops on the loading spinner on compute translation (89 of 120 refusals are the wave64 gap) — that is a shader-lowering problem and independent of the two above. I did not fix it, and I am not claiming it is fixed; I only note that the heap difference means #9 and #15 are not stopping at the same wall. ## On #15's black screen, for accuracy My first assumption was that the 310,720 missing slots were the cause of the black image. #15's third comment already shows that is not the story: applying the `legal_state` patch from #13 clears the black, and the colour is merely wrong afterwards. So the heap shortfall and the black screen are two separate things and should be kept apart. ## ambient.rs holds up on a third tree Ported `ambient.rs` (`0603123`, `4d63a09`, `4f45ab8`) onto victory-amd with the same container match (`CS_ScreenProbes_TemporalResolve`), the same `(1,176)` light slot and the same `D3DCompile` cs_5_1 shader. The log reads `ambient light level=0.6 width=2560 height=1440` on every frame, with no device loss, no magenta and no overexposure at 0.6. Before it, everything the sun did not hit directly was pure black and the prologue interior was unreadable. This is the single change that made the run watchable, so thank you for it. That makes three trees and two vendors: your 9070 XT, #11's 4070 on fxceless/victory-fork, and this 3060 Laptop. ## Relevant to #44 as well Independently of the PR there: on NVIDIA Windows 10 the runtime path works too. ```rust D3D12GetInterface(CLSID_D3D12SDKConfiguration) -> CreateDeviceFactory(620, "<exe>\D3D12") -> SetFlags(ALLOW_RETURNING_EXISTING_DEVICE) -> ApplyToGlobalState() ``` called from `host::create()` immediately before `D3D12CreateDevice` — no `/EXPORT`, no `build.rs` change, which is handy for trees where `apps/victory/build.rs` is not yours to edit. `D3D12Core.dll` still has to be placed in `<exe>\D3D12\`; only the wiring differs. Posted in #44 so the details stay in one place. ## The GPU hang (I could not find it reported anywhere) The sibling fork had a separate failure: `0x887A0006` device removal after 2m57s, 4m21s and 57m42s, with `TdrDelay`/`TdrDdiDelay` already at 60 s — so a genuine hang, not one long frame. A `--profile diag --features diagnostics` run with `VICTORY_D3D12_DRED=1` produced a 20,469-character dump naming two indirect compute dispatches: | hash | container | samplers | first bound | |---|---|---|---| | `cabb87599722e59a` | 16,336 B | 3 | frame 1405 | | `2561af9577c47289` | 24,664 B | 5 | frame 1407 | each with ``` Uav s1+96: uav resource 0x0 buffer None Cbv s1+112: Constant(0x165950e0, 384) [NaN, NaN, 3.6e-34, 2.24e-43] ``` A 384-byte constant buffer arriving with `NaN` in its first floats looks like a loop bound that is never reached. Dropping those two dispatches by shader name (`VICTORY_SKIP_DISPATCH=cabb87599722e59a,2561af9577c47289`) gets 8+ minutes past the previous crash point, at the cost of their output being missing. One warning for anyone chasing the same thing: I first added a "skip null UAV" guard and it **never fired once in a full run** — the `uav resource 0x0` in the dump is a post-mortem read-back parsed from the title's descriptors, not the state at bind time. ## Files Patch (713 lines, applies with `git apply --ignore-whitespace`), both new source files, launcher, log excerpts: https://github.com/chazi123/xcl-chazi/tree/main/victory-amd-win10-nvidia `ambient.rs` is credited to you in the file header and the directory README, and that directory is GPL-3.0-or-later like the lineage it comes from.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:34:30 +00:00
Author
Owner

@⁠ksmdmm on GitHub · 2026-11-25 13:24 UTC · original

It would be great if you could provide a video of you playing using this fork. Words can't fully express my experience. Sorry, I'm just a regular player.

**@⁠ksmdmm** on GitHub · 2026-11-25 13:24 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/49#issuecomment-7163726500) It would be great if you could provide a video of you playing using this fork. Words can't fully express my experience. Sorry, I'm just a regular player.
This discussion has been locked. Commenting is limited to contributors.
No description provided.