RTX 3080 (10 GB) + i5-10400F on 4e17478: lit prologue with pad movement on Series X, 9 min no device loss; Series S (+#32) ~2x faster but black #176

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

@⁠HenriqueSBueno on GitHub · 2026-11-24 22:13 UTC · original

RTX 3080 (10 GB) + i5-10400F on 4e17478: lit prologue with pad movement on Series X, 9 min with no device loss; Series S (with #32) runs about twice as fast but stays black. Numbers only; no assets.

Setup

  • NVIDIA GeForce RTX 3080 10 GB, driver 616.92; Intel Core i5-10400F (6 cores); 32 GB DDR4; Windows 11 Pro build 26200; native D3D12.
  • TdrDelay/TdrDdiDelay = 60, page file on an NVMe SSD; game files on an NVMe SSD.
  • This fork at 4e17478, cargo build --profile diag -p victory --features diagnostics (toolchain from rust-toolchain.toml).
  • Menus driven by VICTORY_KEYS with Enter every 4 frames from frame 55 to 220; after loading, a physical pad was used to move.
  • Switches for both runs: VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_SHADER_LOOP_LIMIT=256; Series X also had VICTORY_DISPLAY_MODE=1920x1080.

Results (last frame-line report of each 9-minute run)

profile picture fps ms/frame preparing (copies, textures) on the GPU copying back draws/frame device loss
Series X lit prologue gameplay: cell interior, bunks, the character with rim-lit hair, the "approach a cellmate" hint; the character responds to the pad 1.4 (0.7–2 over the run) 738 176 (105 ms / 112 MB; 4 ms / 5 MB) 109 201 ms / 56 MB 6,103 none
Series S (+ #32 merged locally) black from about frame 3300 on (internal captures and window), audio plays 1.9 (up to 4 over the run) 518 157 (102 ms / 99 MB; 8 ms / 14 MB) 25 121 ms / 32 MB 4,062 none

Observations

  • On this CPU the frame is CPU-bound in both profiles: the GPU accounts for 109 ms of 738 (X) and 25 of 518 (S). copying back alone exceeds the GPU time, and the remainder of the frame is outside the listed terms.
  • Series X picture issues, as reported by others: the start screen's animation shakes (#39). Anything not directly lit is black (ray-traced light not running yet). Hair shows long streaks, possibly the loop limit (#62 mentions it at 32; this run used 256).
  • Series S: #32 fixes the device removal from #13 here too, but the picture stays black, like @⁠rocobalt1 reports in #13. With GPU time this low, the black frames come from dropped or wrong passes rather than from load. We'll try a target dump next to find which pipelines.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 22:13 UTC · [original](https://github.com/fxceless/victory-fork/issues/176) **RTX 3080 (10 GB) + i5-10400F on `4e17478`: lit prologue with pad movement on Series X, 9 min with no device loss; Series S (with #32) runs about twice as fast but stays black.** Numbers only; no assets. **Setup** - NVIDIA GeForce RTX 3080 10 GB, driver 616.92; Intel Core i5-10400F (6 cores); 32 GB DDR4; Windows 11 Pro build 26200; native D3D12. - `TdrDelay`/`TdrDdiDelay` = 60, page file on an NVMe SSD; game files on an NVMe SSD. - This fork at `4e17478`, `cargo build --profile diag -p victory --features diagnostics` (toolchain from `rust-toolchain.toml`). - Menus driven by `VICTORY_KEYS` with `Enter` every 4 frames from frame 55 to 220; after loading, a physical pad was used to move. - Switches for both runs: `VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_SHADER_LOOP_LIMIT=256`; Series X also had `VICTORY_DISPLAY_MODE=1920x1080`. **Results** (last frame-line report of each 9-minute run) | profile | picture | fps | ms/frame | preparing (copies, textures) | on the GPU | copying back | draws/frame | device loss | |---|---|---|---|---|---|---|---|---| | Series X | **lit prologue gameplay**: cell interior, bunks, the character with rim-lit hair, the "approach a cellmate" hint; the character responds to the pad | 1.4 (0.7–2 over the run) | 738 | 176 (105 ms / 112 MB; 4 ms / 5 MB) | 109 | 201 ms / 56 MB | 6,103 | none | | Series S (+ #32 merged locally) | black from about frame 3300 on (internal captures and window), audio plays | 1.9 (up to 4 over the run) | 518 | 157 (102 ms / 99 MB; 8 ms / 14 MB) | **25** | 121 ms / 32 MB | 4,062 | none | **Observations** - On this CPU the frame is CPU-bound in both profiles: the GPU accounts for 109 ms of 738 (X) and 25 of 518 (S). `copying back` alone exceeds the GPU time, and the remainder of the frame is outside the listed terms. - Series X picture issues, as reported by others: the start screen's animation shakes (#39). Anything not directly lit is black (ray-traced light not running yet). Hair shows long streaks, possibly the loop limit (#62 mentions it at 32; this run used 256). - Series S: #32 fixes the device removal from #13 here too, but the picture stays black, like @⁠rocobalt1 reports in #13. With GPU time this low, the black frames come from dropped or wrong passes rather than from load. We'll try a target dump next to find which pipelines. AI-assisted (Claude Code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:37:36 +00:00
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 22:46 UTC · original

Update: the hair streaks were the loop limit. With VICTORY_SHADER_LOOP_LIMIT=4096 instead of 256 (same build, save and switches, Series X), the character's hair renders correctly (a curly, rim-lit ponytail instead of long streaks), and the sunset exterior shows the watchtower and people in the yard. The run is still going with no device loss so far, so 4096 looks safe on this card. #62's note about 32 smearing hair fits: anything below a few thousand seems to cut the hair shading loops short.

Separately, merging #32 (for Series S) blacks out the Series X picture here. Details on #32.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 22:46 UTC · [original](https://github.com/fxceless/victory-fork/issues/176#issuecomment-7146630329) Update: the **hair streaks were the loop limit**. With `VICTORY_SHADER_LOOP_LIMIT=4096` instead of 256 (same build, save and switches, Series X), the character's hair renders correctly (a curly, rim-lit ponytail instead of long streaks), and the sunset exterior shows the watchtower and people in the yard. The run is still going with no device loss so far, so 4096 looks safe on this card. #62's note about 32 smearing hair fits: anything below a few thousand seems to cut the hair shading loops short. Separately, merging #32 (for Series S) blacks out the Series X picture here. Details on #32. AI-assisted (Claude Code)
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-24 22:50 UTC · original

Best run so far on this machine (RTX 3080 10 GB, i5-10400F, 32 GB), for the record:

  • Build: 4e17478 (without #32), Series X profile, diag build.
  • Switches: VICTORY_DISPLAY_MODE=1920x1080 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_SHADER_LOOP_LIMIT=4096.
  • Result: lit prologue and sunset exterior, correct hair, pad movement, 3.2 fps (308 ms/frame) at ~6,900 draws/frame, 8 minutes, no device loss. The third run on this build; the first was 1.4 fps while the pipeline library filled.
  • Frame line: 215 ms preparing (copies 115 ms / 121 MB, textures 17 ms / 32 MB), 69 ms on the GPU, 242 ms copying back (60 MB), 329 dropped without a host pipeline (396 being made).

On this 6-core CPU the frame is bound by title-memory traffic, not the GPU: copy-back alone is 3.5x the GPU time. That fits the copy-path points in #118 (ReadProcessMemory/WriteProcessMemory per piece, union ranges, eager copy-back) as the next lever for slower CPUs.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-24 22:50 UTC · [original](https://github.com/fxceless/victory-fork/issues/176#issuecomment-7146705054) Best run so far on this machine (RTX 3080 10 GB, i5-10400F, 32 GB), for the record: - **Build:** `4e17478` (without #32), Series X profile, diag build. - **Switches:** `VICTORY_DISPLAY_MODE=1920x1080 VICTORY_RELAY=2 VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_SHADER_LOOP_LIMIT=4096`. - **Result:** lit prologue and sunset exterior, correct hair, pad movement, **3.2 fps (308 ms/frame)** at ~6,900 draws/frame, 8 minutes, no device loss. The third run on this build; the first was 1.4 fps while the pipeline library filled. - **Frame line:** 215 ms preparing (copies 115 ms / 121 MB, textures 17 ms / 32 MB), **69 ms on the GPU**, **242 ms copying back (60 MB)**, 329 dropped without a host pipeline (396 being made). On this 6-core CPU the frame is bound by title-memory traffic, not the GPU: copy-back alone is 3.5x the GPU time. That fits the copy-path points in #118 (`ReadProcessMemory`/`WriteProcessMemory` per piece, union ranges, eager copy-back) as the next lever for slower CPUs. AI-assisted (Claude Code)
Author
Owner

@⁠HenriqueSBueno on GitHub · 2026-11-25 00:19 UTC · original

Texture finding on the 10 GB card: about a third of the textures shaders pick by index never get uploaded, because resource::room() stops making host copies once this process uses 90 % of the card budget the system grants. From the frame line's "textures picked by index" counters, same save and switches (Series X, loop limit 4096):

run CARD_BUFFERS_MB VICTORY_TEXTURE_BUDGET_MB uploaded waiting passed over unmapped peak VRAM fps
best run 1024 — (90 % rule) 21,050 (6.3 GB) 10,441 5,254 ~9.0 GB 3.2
T1 512 — 21,832 (7.0 GB) 8,467 14,408 9.0 GB 3.0
T2 512 8000 28,533 (10.3 GB) 2,614 9,215 9.7 GB 2.5–3

With T2 the scene gains a lot of detail that was missing (window mesh, clouds, wall textures, people and chairs in the yard). It also shows blocky corrupted tiles on hair, clothing and some edges. They look like textures uploaded while only part of their pages were mapped, or a wrong mip, consistent with the "uploaded with what is there and looked at again" shortcut in heap_textures. So on 8–10 GB cards the missing-texture look is a VRAM budget effect more than a translation one. An LRU eviction of host texture copies (upstream #458 tried one for PLACED_TEXTURES) would let the budget hold the textures actually in use, instead of all ever uploaded.

AI-assisted (Claude Code)

**@⁠HenriqueSBueno** on GitHub · 2026-11-25 00:19 UTC · [original](https://github.com/fxceless/victory-fork/issues/176#issuecomment-7148381295) Texture finding on the 10 GB card: **about a third of the textures shaders pick by index never get uploaded**, because `resource::room()` stops making host copies once this process uses 90 % of the card budget the system grants. From the frame line's "textures picked by index" counters, same save and switches (Series X, loop limit 4096): | run | `CARD_BUFFERS_MB` | `VICTORY_TEXTURE_BUDGET_MB` | uploaded | waiting | passed over unmapped | peak VRAM | fps | |---|---|---|---|---|---|---|---| | best run | 1024 | — (90 % rule) | 21,050 (6.3 GB) | **10,441** | 5,254 | ~9.0 GB | 3.2 | | T1 | 512 | — | 21,832 (7.0 GB) | 8,467 | 14,408 | 9.0 GB | 3.0 | | T2 | 512 | 8000 | 28,533 (10.3 GB) | **2,614** | 9,215 | 9.7 GB | 2.5–3 | With T2 the scene gains a lot of detail that was missing (window mesh, clouds, wall textures, people and chairs in the yard). It also shows **blocky corrupted tiles** on hair, clothing and some edges. They look like textures uploaded while only part of their pages were mapped, or a wrong mip, consistent with the "uploaded with what is there and looked at again" shortcut in `heap_textures`. So on 8–10 GB cards the missing-texture look is a VRAM budget effect more than a translation one. An LRU eviction of host texture copies (upstream #458 tried one for `PLACED_TEXTURES`) would let the budget hold the textures actually in use, instead of all ever uploaded. AI-assisted (Claude Code)
Author
Owner

@⁠MoonYueya on GitHub · 2026-11-25 01:20 UTC · original

Same card model here (RTX 3080 10 GB), at 2119b0e. With VICTORY_SHADER_LOOP_LIMIT=4096 the worst world frame drops from 6,070.6 to 2,803.3 ms, but the two material pixel programs (2fd01fca16993001, 6b6db9f1a526daeb) still do not translate, and on this machine the character's skin and torso stay black while the hair is correct. So the loop limit alone does not bring the skin back here. Numbers are in my comments on #279 and #62.

AI-assisted test and write-up.

**@⁠MoonYueya** on GitHub · 2026-11-25 01:20 UTC · [original](https://github.com/fxceless/victory-fork/issues/176#issuecomment-7149451316) Same card model here (RTX 3080 10 GB), at `2119b0e`. With `VICTORY_SHADER_LOOP_LIMIT=4096` the worst world frame drops from 6,070.6 to 2,803.3 ms, but the two material pixel programs (`2fd01fca16993001`, `6b6db9f1a526daeb`) still do not translate, and on this machine the character's skin and torso stay black while the hair is correct. So the loop limit alone does not bring the skin back here. Numbers are in my comments on #279 and #62. *AI-assisted test and write-up.*
Author
Owner

@⁠Mate120 on GitHub · 2026-11-25 06:05 UTC · original

Additional RTX 3080 10 GB report: prologue input and warm-cache observations

I tested commit 310c6eb6c1 in the diagnostics build on a Ryzen 5 9600X with 32 GB of host RAM and a GeForce RTX 3080 10 GB. Windows Sandbox exposed the RTX 3080 as the default D3D12 adapter and had 20 GiB of guest RAM. The guest ran Windows 11 build 26100. Both runs used the Series X profile at 1920×1080.

Settings: VICTORY_RELAY=2, VICTORY_LATE_WAIT=3, VICTORY_WIDE_BACK=1, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_SHADER_LOOP_LIMIT=4096. The warm run used VICTORY_TEXTURE_ROOM_PERCENT=90, the default. This is a virtualized run.

Cold run: I reached the prologue and could move Lucia. Audio was mostly clear. There was a temporary black screen with silence while the process was still active, followed by recovery. The run reached the 900-second test limit from launch. The harness terminated it and no crash log was produced. The final four performance samples were 2.6, 3.0, 2.0, and 2.2 FPS.

Warm run: VIctory loaded a 220,537,206-byte host pipeline library from the cold run. I reused a copy of the saved data as well. The first loading screen stuttered and the second looked smooth. In the prologue I could see palm trees and distant buildings. Lucia's hair, eyes, and body skin looked correct to me, and the face skin still had a color issue at the earlier visual check. The sampled performance was 0.7, 2.9, and 0.5 FPS. At the last of those samples the log showed 12,406 indexed textures uploaded so far, 27,275 waiting, and 3,380 passed over while unmapped.

Selected log evidence (UTC)
05:46:14 — 3.0 FPS, 329.4 ms/frame, cold run.
05:46:26 — 2.2 FPS, 455.6 ms/frame, cold run.
05:49:08 — host pipeline library loaded, 220537206 bytes, mapped=true.
05:52:08 — 0.5 FPS, 2144.0 ms/frame, 12406 textures uploaded, 27275 waiting, 3380 passed over unmapped.

I am sharing this as an additional hardware observation, with a different commit, Windows Sandbox and manual input. The warm-run notes are an interim snapshot. A matched-scene comparison at 90% and 92% is still pending.s

**@⁠Mate120** on GitHub · 2026-11-25 06:05 UTC · [original](https://github.com/fxceless/victory-fork/issues/176#issuecomment-7154438657) Additional RTX 3080 10 GB report: prologue input and warm-cache observations I tested commit 310c6eb6c16822ab95076aad61fce19bba86bb98 in the diagnostics build on a Ryzen 5 9600X with 32 GB of host RAM and a GeForce RTX 3080 10 GB. Windows Sandbox exposed the RTX 3080 as the default D3D12 adapter and had 20 GiB of guest RAM. The guest ran Windows 11 build 26100. Both runs used the Series X profile at 1920×1080. Settings: VICTORY_RELAY=2, VICTORY_LATE_WAIT=3, VICTORY_WIDE_BACK=1, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1024, VICTORY_SHADER_LOOP_LIMIT=4096. The warm run used VICTORY_TEXTURE_ROOM_PERCENT=90, the default. This is a virtualized run. Cold run: I reached the prologue and could move Lucia. Audio was mostly clear. There was a temporary black screen with silence while the process was still active, followed by recovery. The run reached the 900-second test limit from launch. The harness terminated it and no crash log was produced. The final four performance samples were 2.6, 3.0, 2.0, and 2.2 FPS. Warm run: VIctory loaded a 220,537,206-byte host pipeline library from the cold run. I reused a copy of the saved data as well. The first loading screen stuttered and the second looked smooth. In the prologue I could see palm trees and distant buildings. Lucia's hair, eyes, and body skin looked correct to me, and the face skin still had a color issue at the earlier visual check. The sampled performance was 0.7, 2.9, and 0.5 FPS. At the last of those samples the log showed 12,406 indexed textures uploaded so far, 27,275 waiting, and 3,380 passed over while unmapped. Selected log evidence (UTC) 05:46:14 — 3.0 FPS, 329.4 ms/frame, cold run. 05:46:26 — 2.2 FPS, 455.6 ms/frame, cold run. 05:49:08 — host pipeline library loaded, 220537206 bytes, mapped=true. 05:52:08 — 0.5 FPS, 2144.0 ms/frame, 12406 textures uploaded, 27275 waiting, 3380 passed over unmapped. I am sharing this as an additional hardware observation, with a different commit, Windows Sandbox and manual input. The warm-run notes are an interim snapshot. A matched-scene comparison at 90% and 92% is still pending.s
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#176
No description provided.