RTX 5060 Ti 16 GB + i7-14700KF, Windows 10 (#22): ceiling and walls drawn on a26859f, 2.9–3.5 fps in the cell, stable with the BVH builder off #148

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

@⁠oz-stanislav-zhukov on GitHub · 2026-11-24 21:52 UTC · original

Setup

  • GPU: NVIDIA GeForce RTX 5060 Ti 16 GB (Blackwell, 32-lane waves), driver 621.24 (32.0.16.2124)
  • CPU / RAM: Intel Core i7-14700KF, 64 GB
  • OS: Windows 10 Pro 22H2 (19045), native D3D12, default TDR
  • Fork: 4e17478 (main) + #22 merged locally (77aebdd), D3D12 Agility SDK 1.620.2 via cargo xtask agility
  • Build: release (cargo build --release -p victory), no diagnostics
  • Title: own copy of 1.0.2.1, Series X profile
  • Window: 3840x2160, SDR

Windows 10 without #22: crash at world load

Plain main crashes about 2 s after boot, exactly as in Marvisak/VIctory#598 / #34 here:

root signature: Unsupported bit-flag set (root signature flags c01)
host root signature refused error=The parameter is incorrect. (0x80070057)
unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)

With #22 and the Agility SDK beside the exe: 0 root signature refusals, 0 exceptions. Confirms #22 fixes Windows 10.

Run 1: default (no switches), fresh shader cache

  • Menus and loading: 30–38 fps (28–33 ms/frame)
  • First world frame ~1 min 45 s after launch; 0.5–1.2 fps while 2967 shaders were translated
  • Warmed up (min 13–16), ~6.5k draws/frame: 2.1–2.3 fps, 444–527 ms/frame
    • GPU 222–250 ms, preparing 126–179 ms, copying back 70–92 ms
    • card ~45–49% busy; ~220 ms/frame idle behind the submitting thread; submitting thread waits for the card ~205 ms
  • 16 min, stopped by me. No device removal.

Run 2: speed switches, warm cache

VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 (no relay)

  • Shader cache: 2959 hits, 19 misses; first world frame ~1 min after launch
  • Comparable load (~5.5–6.9k draws/frame): 2.6–3.3 fps, 307–390 ms/frame
  • Prison cutscene (~4k draws/frame): 3.8–4.0 fps, 251–263 ms/frame
  • Average over the first ~5 min in the world: 2.7 fps, 388 ms/frame (251–622)
  • Typical late frame:
4.0 fps, 251.3 ms/frame (82.7 preparing: copies 46.7 ms 114.0 MB, textures 6.5 ms 25.4 MB; 121.5 on the GPU; 31.9 copying back 54.4 MB), 4030 draws/frame, dropped 443 without a host pipeline (0 being made) and 1 indirect
the card's clock per frame: nothing of ours queued 45.8 ms (the card about 82% busy by this count) ... the submitting thread stood waiting for the card 136.6 ms
host copies in the card's memory: 98 copies 945 MB ... per frame: 131.1 MB sent up in 932 ranges, 14106 pieces compared on the card
  • 20+ min, still running. No device removal, no slow host submissions (run 1 had 6, 361–801 ms).

Default vs switches (comparable scenes)

default switches
fps 2.1–2.3 2.6–3.3 (4.0 in the cutscene)
ms/frame 444–527 307–390
on the GPU 222–250 ms 145–175 ms
copying back 70–92 ms 33–55 ms
card busy 45–49% ~82–83%
card idle behind us ~220 ms ~45 ms

With the switches the card is no longer starved; the frame is now GPU work (~120–170 ms) plus host preparation (~80–140 ms).

The same in both runs

  • shader does not translate: 10 (5 compute, 5 pixel); same count as #7 on an 8 GB 5060 Ti
  • host pipeline refused (0x80070057): 6 (5 compute, 1 mesh)
  • dropped without a host pipeline: 320–490 draws/frame (~7–11%)
  • pipeline creation methods not implemented: slots 0x1c8 and 0x218 (>16k calls)
  • host view heap capped at 1,000,000
  • depth bounds test left out in 4 pipelines
  • process memory: ~24–25 GB private (64 GB system, ~36 GB in use overall)
  • CPU ~25%

What it looks like

  • Sunlit exterior, sky, fog, characters, hair, subtitles render; prison yard with people and props renders once pipelines are built
  • Everything not in direct sun is near black (no ray-traced bounce light / shadows yet)
  • Interior ceiling is missing or broken into floating panels (sky visible through it), likely related to #62 or the dropped draws

No game files, keys or dumps included. AI-assisted (Claude Code, Claude Opus 5.5); all numbers from local runs, visuals confirmed by me.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-24 21:52 UTC · [original](https://github.com/fxceless/victory-fork/issues/148) ## Setup - GPU: NVIDIA GeForce RTX 5060 Ti 16 GB (Blackwell, 32-lane waves), driver 621.24 (32.0.16.2124) - CPU / RAM: Intel Core i7-14700KF, 64 GB - OS: **Windows 10 Pro 22H2 (19045)**, native D3D12, default TDR - Fork: `4e17478` (main) + #22 merged locally (`77aebdd`), D3D12 Agility SDK 1.620.2 via `cargo xtask agility` - Build: release (`cargo build --release -p victory`), no diagnostics - Title: own copy of 1.0.2.1, Series X profile - Window: 3840x2160, SDR ## Windows 10 without #22: crash at world load Plain `main` crashes about 2 s after boot, exactly as in Marvisak/VIctory#598 / #34 here: ``` root signature: Unsupported bit-flag set (root signature flags c01) host root signature refused error=The parameter is incorrect. (0x80070057) unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) ``` **With #22 and the Agility SDK beside the exe: 0 root signature refusals, 0 exceptions.** Confirms #22 fixes Windows 10. ## Run 1: default (no switches), fresh shader cache - Menus and loading: 30–38 fps (28–33 ms/frame) - First world frame ~1 min 45 s after launch; 0.5–1.2 fps while 2967 shaders were translated - Warmed up (min 13–16), ~6.5k draws/frame: **2.1–2.3 fps, 444–527 ms/frame** - GPU 222–250 ms, preparing 126–179 ms, copying back 70–92 ms - card ~45–49% busy; ~220 ms/frame idle behind the submitting thread; submitting thread waits for the card ~205 ms - 16 min, stopped by me. No device removal. ## Run 2: speed switches, warm cache `VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024` (no relay) - Shader cache: 2959 hits, 19 misses; first world frame ~1 min after launch - Comparable load (~5.5–6.9k draws/frame): **2.6–3.3 fps, 307–390 ms/frame** - Prison cutscene (~4k draws/frame): **3.8–4.0 fps, 251–263 ms/frame** - Average over the first ~5 min in the world: 2.7 fps, 388 ms/frame (251–622) - Typical late frame: ``` 4.0 fps, 251.3 ms/frame (82.7 preparing: copies 46.7 ms 114.0 MB, textures 6.5 ms 25.4 MB; 121.5 on the GPU; 31.9 copying back 54.4 MB), 4030 draws/frame, dropped 443 without a host pipeline (0 being made) and 1 indirect the card's clock per frame: nothing of ours queued 45.8 ms (the card about 82% busy by this count) ... the submitting thread stood waiting for the card 136.6 ms host copies in the card's memory: 98 copies 945 MB ... per frame: 131.1 MB sent up in 932 ranges, 14106 pieces compared on the card ``` - 20+ min, still running. No device removal, no slow host submissions (run 1 had 6, 361–801 ms). ## Default vs switches (comparable scenes) | | default | switches | |---|---|---| | fps | 2.1–2.3 | 2.6–3.3 (4.0 in the cutscene) | | ms/frame | 444–527 | 307–390 | | on the GPU | 222–250 ms | 145–175 ms | | copying back | 70–92 ms | 33–55 ms | | card busy | 45–49% | ~82–83% | | card idle behind us | ~220 ms | ~45 ms | With the switches the card is no longer starved; the frame is now GPU work (~120–170 ms) plus host preparation (~80–140 ms). ## The same in both runs - `shader does not translate`: **10** (5 compute, 5 pixel); same count as #7 on an 8 GB 5060 Ti - host pipeline refused (0x80070057): 6 (5 compute, 1 mesh) - dropped without a host pipeline: 320–490 draws/frame (~7–11%) - pipeline creation methods not implemented: slots `0x1c8` and `0x218` (>16k calls) - host view heap capped at 1,000,000 - depth bounds test left out in 4 pipelines - process memory: ~24–25 GB private (64 GB system, ~36 GB in use overall) - CPU ~25% ## What it looks like - Sunlit exterior, sky, fog, characters, hair, subtitles render; prison yard with people and props renders once pipelines are built - Everything not in direct sun is near black (no ray-traced bounce light / shadows yet) - Interior ceiling is missing or broken into floating panels (sky visible through it), likely related to #62 or the dropped draws No game files, keys or dumps included. AI-assisted (Claude Code, Claude Opus 5.5); all numbers from local runs, visuals confirmed by me.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:36:57 +00:00
Author
Owner

@⁠domints on GitHub · 2026-11-24 22:38 UTC · original

+1, #22 in fact fixes the thing for Win 10, got me through the starting video, menu screen etc

**@⁠domints** on GitHub · 2026-11-24 22:38 UTC · [original](https://github.com/fxceless/victory-fork/issues/148#issuecomment-7146470045) +1, #22 in fact fixes the thing for Win 10, got me through the starting video, menu screen etc
Author
Owner

@⁠domints on GitHub · 2026-11-25 00:28 UTC · original · edited 2026-11-25 00:30 UTC

Since @⁠justlovett0 constantly adds new unrelated fixes, I extracted his fix for Windows 10 (it was single commit), created fork and PR, also merged in current fxceless's main and resolved conflicts. I suggest merging in #402 as minimal fix for the issue.
It's clean commit merge, it won't break the rest of justlovett0's code with conflicts.

**@⁠domints** on GitHub · 2026-11-25 00:28 UTC · [original](https://github.com/fxceless/victory-fork/issues/148#issuecomment-7148554733) · edited 2026-11-25 00:30 UTC Since @⁠justlovett0 constantly adds new unrelated fixes, I extracted his fix for Windows 10 (it was single commit), created fork and PR, also merged in current fxceless's main and resolved conflicts. I suggest merging in #402 as minimal fix for the issue. It's clean commit merge, it won't break the rest of justlovett0's code with conflicts.
Author
Owner

@⁠oz-stanislav-zhukov on GitHub · 2026-11-25 12:17 UTC · original

Update (2026-11-25): same machine, newer trees

Ceiling and walls are drawn on a26859f. Our tree = this fork's main a26859f merged into our Windows 10 branch (#22 / Agility SDK). The prison cell's ceiling, lamps, walls and door now render; before (4e17478, and the #115 attempts) they were missing, or #115 crashed at world entry (the DirectStorage 0x800706f8 case diagnosed in #115). This confirms SantannaCarlos' result on a second GPU and on Windows 10. 0 DirectStorage request failures in 5 runs.

#854 on top: 0 untranslated programs (was 4: three builder prefix sums "a first-lane read where not every lane runs" plus one lane-mask exchange) and 0 refused host pipelines (was 7 compute pipelines refused with 0x80070057). Offline (VICTORY_HOST_WAVE=32 victory translate --list): 2729 of 2734 compute programs, every vertex, pixel and mesh program translate.

  • Side effect: with VICTORY_BVH_BUILDER=1 the builder now switches on ("all of its programs have host pipelines", 53) and the title crashes at world entry reading 0xffffffffffffffff (+0x4ede5a0, +0x4e9d265). That is the thread-dimension issue tracked in #16 (#646). With VICTORY_BVH_BUILDER=0 it is stable.

Numbers (warm cache, prison cell, ~6k draws/frame, LATE_WAIT=3 WIDE_BACK=1 RELAY=1 CARD_BUFFERS_*): 2.9-3.5 fps, ~285-330 ms/frame (preparing ~90-110, GPU ~175-210 (more passes run now), copying back ~185-205).

  • #857 and #853 on top change copy-back only from ~205 to ~185 ms here, within scene noise: #857's gain is per kernel write, which is cheap natively (it targets Wine's ~4 µs per write). Copy-back on Windows is spent elsewhere.

Still visible: a blocky band at the bottom of the screen; rainbow speckle on the waitress' face in the bar (also with Belobug's helper-lane quad-read fix); Lucia's eyes glow white in one close-up.

A warning for anyone cherry-picking from JMAN730/project-flamingo: da125a4 ("CreateSamplerX mip-none base level") forces MinLOD = MaxLOD = 0 for samplers without a mip filter. The title samples chosen levels of its bloom/DOF chain that way, so the whole image goes blurry with glowing blobs. Reverting that one commit fixes the picture.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-25 12:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/148#issuecomment-7162173259) ## Update (2026-11-25): same machine, newer trees **Ceiling and walls are drawn on `a26859f`.** Our tree = this fork's main `a26859f` merged into our Windows 10 branch (#22 / Agility SDK). The prison cell's ceiling, lamps, walls and door now render; before (4e17478, and the #115 attempts) they were missing, or #115 crashed at world entry (the DirectStorage 0x800706f8 case diagnosed in #115). This confirms SantannaCarlos' result on a second GPU and on Windows 10. 0 DirectStorage request failures in 5 runs. **#854 on top:** 0 untranslated programs (was 4: three builder prefix sums "a first-lane read where not every lane runs" plus one lane-mask exchange) and 0 refused host pipelines (was 7 compute pipelines refused with 0x80070057). Offline (`VICTORY_HOST_WAVE=32 victory translate --list`): 2729 of 2734 compute programs, every vertex, pixel and mesh program translate. - Side effect: with `VICTORY_BVH_BUILDER=1` the builder now switches on ("all of its programs have host pipelines", 53) and the title crashes at world entry reading `0xffffffffffffffff` (`+0x4ede5a0`, `+0x4e9d265`). That is the thread-dimension issue tracked in #16 (#646). With `VICTORY_BVH_BUILDER=0` it is stable. **Numbers** (warm cache, prison cell, ~6k draws/frame, `LATE_WAIT=3 WIDE_BACK=1 RELAY=1 CARD_BUFFERS_*`): 2.9-3.5 fps, ~285-330 ms/frame (preparing ~90-110, GPU ~175-210 (more passes run now), copying back ~185-205). - #857 and #853 on top change copy-back only from ~205 to ~185 ms here, within scene noise: #857's gain is per kernel write, which is cheap natively (it targets Wine's ~4 µs per write). Copy-back on Windows is spent elsewhere. **Still visible:** a blocky band at the bottom of the screen; rainbow speckle on the waitress' face in the bar (also with Belobug's helper-lane quad-read fix); Lucia's eyes glow white in one close-up. **A warning for anyone cherry-picking from JMAN730/project-flamingo:** `da125a4` ("CreateSamplerX mip-none base level") forces MinLOD = MaxLOD = 0 for samplers without a mip filter. The title samples chosen levels of its bloom/DOF chain that way, so the whole image goes blurry with glowing blobs. Reverting that one commit fixes the picture. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
Author
Owner

@⁠oz-stanislav-zhukov on GitHub · 2026-11-25 13:55 UTC · original

Update 2: the cell is lit, the blocks are gone (same machine)

A constant indirect light (#917 / Belobug's ambient) is the biggest visual change so far. Our tree: this fork's main up to 0b0074e + #854 + #857/#853 + #834, with Belobug's ambient pass ported (same idea as #917: the image CS_ScreenProbes_TemporalResolve_* writes is replaced by a constant, VICTORY_AMBIENT=0.6).

  • Prison cell: walls, ceiling, bunks and posters are lit; before, everything the sun did not reach was black (#512).
  • The bar: the room, the flag, the TVs and the posters are lit; the waitress' face was clean in that shot.
  • Most of the blocky pixel squares we reported are gone: on Lucia's ponytail, on the cell wall and poster, and the colour blocks indoors. They were what the resolve leaves without rays, as #917 says. Some blotches remain on clothing seen through the fence in one close-up.
  • Cost: none visible, 3.1-3.5 fps, 285-320 ms/frame in the cell (~6.7k draws), steady.

Other notes:

  • The blocky band at the bottom of the screen is gone with #834 (the lighting dispatch past 65,535 groups now runs in two parts).
  • With a253706/0b0074e and VICTORY_INDIRECT_WINDOW=1 VICTORY_COPY_PLAIN=1: 285-300 ms/frame against 320-340 before (prep ~108, GPU ~155, copy-back ~172), ~10%.
  • The ~320 draws/frame "dropped without a host pipeline (0 being made)" are all stages of the BVH builder, off with VICTORY_BVH_BUILDER=0 (diagnostics build). They are expected and are not missing lamps.
  • The shader optimisation passes are not to blame for the dark cell: with VICTORY_SHADER_OPT=0 it was just as dark before the ambient pass.

Still open: Lucia's eyes glow white/purple in close-ups, and there are some blotches through the fence.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-25 13:55 UTC · [original](https://github.com/fxceless/victory-fork/issues/148#issuecomment-7164498076) ## Update 2: the cell is lit, the blocks are gone (same machine) **A constant indirect light (#917 / Belobug's `ambient`) is the biggest visual change so far.** Our tree: this fork's main up to `0b0074e` + #854 + #857/#853 + #834, with Belobug's ambient pass ported (same idea as #917: the image `CS_ScreenProbes_TemporalResolve_*` writes is replaced by a constant, `VICTORY_AMBIENT=0.6`). - Prison cell: walls, ceiling, bunks and posters are lit; before, everything the sun did not reach was black (#512). - The bar: the room, the flag, the TVs and the posters are lit; the waitress' face was clean in that shot. - Most of the blocky pixel squares we reported are gone: on Lucia's ponytail, on the cell wall and poster, and the colour blocks indoors. They were what the resolve leaves without rays, as #917 says. Some blotches remain on clothing seen through the fence in one close-up. - Cost: none visible, 3.1-3.5 fps, 285-320 ms/frame in the cell (~6.7k draws), steady. **Other notes:** - The blocky band at the bottom of the screen is gone with #834 (the lighting dispatch past 65,535 groups now runs in two parts). - With `a253706`/`0b0074e` and `VICTORY_INDIRECT_WINDOW=1 VICTORY_COPY_PLAIN=1`: 285-300 ms/frame against 320-340 before (prep ~108, GPU ~155, copy-back ~172), ~10%. - The ~320 draws/frame "dropped without a host pipeline (0 being made)" are all stages of the BVH builder, off with `VICTORY_BVH_BUILDER=0` (diagnostics build). They are expected and are not missing lamps. - The shader optimisation passes are not to blame for the dark cell: with `VICTORY_SHADER_OPT=0` it was just as dark before the ambient pass. **Still open:** Lucia's eyes glow white/purple in close-ups, and there are some blotches through the fence. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#148
No description provided.