[GH #42] **Title:** Long run (~30 min, prologue → Chapter I → first Jason plane mission): ~2-3 fps, flat black lighting, corrupted textures, slow menu pages #42

Open
opened 2026-11-25 06:06:44 +00:00 by ToxicmaggotRP · 2 comments
ToxicmaggotRP commented 2026-11-25 06:06:44 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by ToxicmaggotRP on 2026-11-25T05:29:56Z.


7fe0Nuwo4K GQbpCHX1Df T4aWe8Pat1 victory_8xoNbiIJyM victory_CtmAzo0DAz victory_Knfb6smlaP victory_Lgche45z4X victory_mkbafajxUA victory_RtEe2GX9aT victory_tQgELNzxZ4 victory_uXNV2C3rwE

run3-lunga.log

Follow-up to #38 (same build, same machine), this time with screenshots from a long play session.

Environment

  • Windows 11, AMD Ryzen 7 5800X3D, 32 GB DDR4 (2133 MHz in Task Manager), NVIDIA GeForce RTX 4060 Ti 8 GB, driver 32.0.16.2124 (07/11/2026), DirectX 12 (FL 12.2)
  • victory build b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93; in-game build string shown in the Game menu: 930.048.020
  • Launched with scripts\play.ps1 and -Exe set explicitly (see "Launcher note" below)
  • Configuration: [A: default / B: VICTORY_RELAY=2 / C: VICTORY_LATE_WAIT=3 + VICTORY_WIDE_BACK=1 — fill in]
  • Cache: warm (same cache directory as the previous two runs)

Session

  • Start: 05:57 local (UTC+1), end: ~06:26-06:27 local, about 30 minutes
  • Path: prologue (cafeteria, cell block, robbery, police chase) → Chapter I (beach cutscene, truck cutscene) → first Jason mission with the plane
  • No crash, no hang, no black screen during the whole session
  • The window was closed by hand at the end
  • Full log: [attach run3 log] (the screenshots below are timed against it, local time = log UTC + 1 h)

1. Frame rate per scene (from the window title bar)

Scene fps ms/frame draws/frame
Cafeteria 3 316.9 4780
Cell block gate 3 302.1 3542
Robbery (pickup prompt) 3 288.3 4218
Police chase exterior 2 541.7 8826
Chapter I, beach cutscene 1 930.5 1653
Chapter I, truck cutscene 3 377.3 2715
Photo mode (two frames) 3 / 2 388.3 / 405.3 5184 / 5209
Pause menu / Game menu 30 33.3 140 / 111
Help menu 2 440.9 4973
Settings menu 3 371.7 5019

Notes:

  • 2-3 fps in the world is within the 1-3 fps range of the README.
  • The beach cutscene has the fewest draws and the slowest frame, so the cost is not simply proportional to draw count. I cannot tell from the title bar where the time goes; the log should show it.
  • The pause menu and the Game menu run at 30 fps with ~100-140 draws, but the Help and Settings pages drop to 2-3 fps with ~5000 draws, close to the cost of an in-game scene. This suggests the world may still be rendered under those pages, but this is only a hypothesis.

2. Rendering problems (screenshots attached)

  1. Flat black lighting. In the prologue interiors and exteriors, characters, buildings and the police car render as flat dark silhouettes. Sun-lit objects (sky, distant truck and van, windows) show correct colour and detail. This matches the known "anything in shadow is black" limitation, but I cannot tell from the images whether some textures are also missing behind the black.
  2. Overexposure. Windows and bright areas are blown out (cafeteria, robbery scene). Known limitation in the README.
  3. Blocky colour artifacts next to the "Prendi i contanti" prompt in the robbery scene (bright orange, pink, violet fragments with hard edges).
  4. Corrupted / low-detail textures in the Chapter I beach cutscene. Characters use very low-poly geometry, there are patches of noisy/garbled texture on legs and ground, blocky pixelated areas on heads, swimwear and the wall, and the lower half of the scene is black. Sky, bridge and the red swimwear render correctly.
  5. Truck cutscene (Chapter I). The character is a flat black silhouette, a large white surface in the centre is overexposed and nearly flat, and the ground on the right is posterised, with hard colour bands and green blotches.
  6. Photo mode. Two consecutive frames of the same view: in one, a horizontal band across the top is displaced and duplicated (the cap and background are cut and shifted); in the next frame the same view is clean. The artifact is intermittent. The text "Attualmente non disponibile" is shown at the bottom left; I do not know which feature it refers to.
  7. Menu background. The blurred background of the Pause and Game menus shows magenta/green fringes and dark patches.

3. System resources (Task Manager)

~06:01 local (early in the run) 06:26 local (end)
victory.exe working set ~9.9 GB (taken shortly after launch) ~7.3 GB
System RAM in use 25.4-25.8 GB (80-81%) n/a
Committed memory 47.6 / 54.9 GB n/a
GPU 3D 82-88% n/a
Dedicated VRAM 7.2 / 8.0 GB n/a
Shared GPU memory 6.2 / 16.0 GB n/a
GPU temperature 59-61 °C n/a
CPU 30-33% at ~4.33 GHz n/a
  • Disk at 2% (read < 1 MB/s) and network at 16 Kbps: I/O is not the limit.
  • The memory of victory.exe did not grow during the session; the highest value I saw was early on. I only have two readings, so I cannot exclude peaks in between.
  • VRAM is full and spills into shared memory, same as in #38.

4. Launcher note (possible bug)

On Windows PowerShell 5.1, scripts\play.ps1 fails with '\..\target\release\victory.exe' is not recognized, because $PSScriptRoot is empty in the default value of -Exe ("$PSScriptRoot\..\target\release\victory.exe"). Passing -Exe "C:\Projects\ztrx\target\release\victory.exe" works. The README launch command does not mention this.

5. Not yet available

  • Log analysis for this run (warnings, pipeline library stats, slow submissions). I will add it as a comment when done, or attach the file now.
  • A clean A/B/C comparison of the optional settings (VICTORY_RELAY=2, VICTORY_LATE_WAIT=3 + VICTORY_WIDE_BACK=1): this long run is not comparable with the earlier short ones.

Questions

  1. Are items 3-6 of section 2 known (texture corruption in the beach cutscene, intermittent displaced band in photo mode)?
  2. Is it expected that the Help and Settings pages render at ~5000 draws and 2-3 fps while the Pause and Game menus run at 30 fps?
  3. Is the early-launch peak of ~9.9 GB for victory.exe expected?
<!-- greyfinch-sync:Zettrox/ztrx:issue:6597902023 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/42). Originally posted by [ToxicmaggotRP](https://github.com/ToxicmaggotRP) on 2026-11-25T05:29:56Z. --- <img width="1920" height="1080" alt="7fe0Nuwo4K" src="https://github.com/user-attachments/assets/5aa045c5-c455-419f-b2b2-73296b556e34" /> <img width="1920" height="1080" alt="GQbpCHX1Df" src="https://github.com/user-attachments/assets/a45719d1-f7b2-45f6-a5cd-2d4d1b96e18f" /> <img width="1920" height="1080" alt="T4aWe8Pat1" src="https://github.com/user-attachments/assets/c2d3a696-1629-464b-960f-5ab5149c2741" /> <img width="1920" height="1032" alt="victory_8xoNbiIJyM" src="https://github.com/user-attachments/assets/d2b08443-5c52-415b-baea-8d21f0ed510b" /> <img width="1920" height="1009" alt="victory_CtmAzo0DAz" src="https://github.com/user-attachments/assets/8b13ad70-6d03-4f0d-85a7-80b29ce2f109" /> <img width="1920" height="1032" alt="victory_Knfb6smlaP" src="https://github.com/user-attachments/assets/9c6b0ac0-8546-4577-b747-a2b9512362cd" /> <img width="1920" height="1032" alt="victory_Lgche45z4X" src="https://github.com/user-attachments/assets/aac01e22-1ff2-4d8f-add8-8794b0d3b676" /> <img width="1920" height="1032" alt="victory_mkbafajxUA" src="https://github.com/user-attachments/assets/6ee1f82f-f395-4395-b638-0cbf555d811d" /> <img width="1920" height="1032" alt="victory_RtEe2GX9aT" src="https://github.com/user-attachments/assets/764bf634-54bf-473f-89b0-84e79ca99d91" /> <img width="1920" height="1009" alt="victory_tQgELNzxZ4" src="https://github.com/user-attachments/assets/394b7475-6e1c-40d5-aca8-babab2a1d768" /> <img width="1920" height="1032" alt="victory_uXNV2C3rwE" src="https://github.com/user-attachments/assets/33720dc0-b32f-45f6-aabb-5f6e57d27fe9" /> [run3-lunga.log](https://github.com/user-attachments/files/35395101/run3-lunga.log) Follow-up to #38 (same build, same machine), this time with screenshots from a long play session. ## Environment - Windows 11, AMD Ryzen 7 5800X3D, 32 GB DDR4 (2133 MHz in Task Manager), NVIDIA GeForce RTX 4060 Ti 8 GB, driver 32.0.16.2124 (07/11/2026), DirectX 12 (FL 12.2) - victory build `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`; in-game build string shown in the Game menu: `930.048.020` - Launched with `scripts\play.ps1` and `-Exe` set explicitly (see "Launcher note" below) - Configuration: **[A: default / B: VICTORY_RELAY=2 / C: VICTORY_LATE_WAIT=3 + VICTORY_WIDE_BACK=1 — fill in]** - Cache: warm (same cache directory as the previous two runs) ## Session - Start: 05:57 local (UTC+1), end: ~06:26-06:27 local, about 30 minutes - Path: prologue (cafeteria, cell block, robbery, police chase) → Chapter I (beach cutscene, truck cutscene) → first Jason mission with the plane - No crash, no hang, no black screen during the whole session - The window was closed by hand at the end - Full log: **[attach run3 log]** (the screenshots below are timed against it, local time = log UTC + 1 h) ## 1. Frame rate per scene (from the window title bar) | Scene | fps | ms/frame | draws/frame | |---|---|---|---| | Cafeteria | 3 | 316.9 | 4780 | | Cell block gate | 3 | 302.1 | 3542 | | Robbery (pickup prompt) | 3 | 288.3 | 4218 | | Police chase exterior | 2 | 541.7 | 8826 | | Chapter I, beach cutscene | **1** | **930.5** | **1653** | | Chapter I, truck cutscene | 3 | 377.3 | 2715 | | Photo mode (two frames) | 3 / 2 | 388.3 / 405.3 | 5184 / 5209 | | Pause menu / Game menu | 30 | 33.3 | 140 / 111 | | Help menu | 2 | 440.9 | 4973 | | Settings menu | 3 | 371.7 | 5019 | Notes: - 2-3 fps in the world is within the 1-3 fps range of the README. - The beach cutscene has the **fewest draws and the slowest frame**, so the cost is not simply proportional to draw count. I cannot tell from the title bar where the time goes; the log should show it. - The pause menu and the Game menu run at 30 fps with ~100-140 draws, but the **Help** and **Settings** pages drop to 2-3 fps with ~5000 draws, close to the cost of an in-game scene. This suggests the world may still be rendered under those pages, but this is only a hypothesis. ## 2. Rendering problems (screenshots attached) 1. **Flat black lighting.** In the prologue interiors and exteriors, characters, buildings and the police car render as flat dark silhouettes. Sun-lit objects (sky, distant truck and van, windows) show correct colour and detail. This matches the known "anything in shadow is black" limitation, but I cannot tell from the images whether some textures are also missing behind the black. 2. **Overexposure.** Windows and bright areas are blown out (cafeteria, robbery scene). Known limitation in the README. 3. **Blocky colour artifacts** next to the "Prendi i contanti" prompt in the robbery scene (bright orange, pink, violet fragments with hard edges). 4. **Corrupted / low-detail textures in the Chapter I beach cutscene.** Characters use very low-poly geometry, there are patches of noisy/garbled texture on legs and ground, blocky pixelated areas on heads, swimwear and the wall, and the lower half of the scene is black. Sky, bridge and the red swimwear render correctly. 5. **Truck cutscene (Chapter I).** The character is a flat black silhouette, a large white surface in the centre is overexposed and nearly flat, and the ground on the right is posterised, with hard colour bands and green blotches. 6. **Photo mode.** Two consecutive frames of the same view: in one, a horizontal band across the top is displaced and duplicated (the cap and background are cut and shifted); in the next frame the same view is clean. The artifact is intermittent. The text "Attualmente non disponibile" is shown at the bottom left; I do not know which feature it refers to. 7. **Menu background.** The blurred background of the Pause and Game menus shows magenta/green fringes and dark patches. ## 3. System resources (Task Manager) | | ~06:01 local (early in the run) | 06:26 local (end) | |---|---|---| | `victory.exe` working set | ~9.9 GB (taken shortly after launch) | ~7.3 GB | | System RAM in use | 25.4-25.8 GB (80-81%) | n/a | | Committed memory | 47.6 / 54.9 GB | n/a | | GPU 3D | 82-88% | n/a | | Dedicated VRAM | 7.2 / 8.0 GB | n/a | | Shared GPU memory | 6.2 / 16.0 GB | n/a | | GPU temperature | 59-61 °C | n/a | | CPU | 30-33% at ~4.33 GHz | n/a | - Disk at 2% (read < 1 MB/s) and network at 16 Kbps: I/O is not the limit. - The memory of `victory.exe` did not grow during the session; the highest value I saw was early on. I only have two readings, so I cannot exclude peaks in between. - VRAM is full and spills into shared memory, same as in #38. ## 4. Launcher note (possible bug) On Windows PowerShell 5.1, `scripts\play.ps1` fails with `'\..\target\release\victory.exe' is not recognized`, because `$PSScriptRoot` is empty in the default value of `-Exe` (`"$PSScriptRoot\..\target\release\victory.exe"`). Passing `-Exe "C:\Projects\ztrx\target\release\victory.exe"` works. The README launch command does not mention this. ## 5. Not yet available - Log analysis for this run (warnings, pipeline library stats, slow submissions). I will add it as a comment when done, or attach the file now. - A clean A/B/C comparison of the optional settings (`VICTORY_RELAY=2`, `VICTORY_LATE_WAIT=3` + `VICTORY_WIDE_BACK=1`): this long run is not comparable with the earlier short ones. ## Questions 1. Are items 3-6 of section 2 known (texture corruption in the beach cutscene, intermittent displaced band in photo mode)? 2. Is it expected that the Help and Settings pages render at ~5000 draws and 2-3 fps while the Pause and Game menus run at 30 fps? 3. Is the early-launch peak of ~9.9 GB for `victory.exe` expected?
bailu12300 commented 2026-11-25 06:06:47 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by bailu12300 on 2026-11-25T06:04:06Z.


Adding a clean experiment on the black-lighting part, plus the crash that comes with trying to switch the ray tracing on. RTX 5060 8 GB, Windows 10 19045, same tree 90b529f.

Three configurations, same cache and save:

result
default (builder off) alive; world reached (HUD tutorial "move with the left stick / look with the right stick", subtitles); 1212 shaders translated, 1 refused; everything black, 1-2 fps
VICTORY_BVH_BUILDER=1 after the intro: first-chance 0xc0000005 at ...+0x23cf683 (write 0x0: nothing mapped there), stack +0x23cf683 < +0x2215c35 < +0x2215eca
VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=1 alive past 1024 frames, no exception at all

So the crash is not the traversal, it is the builder's stores: with the stores kept out of title memory the same run is stable. That matches docs/fork-ray-tracing.md ("a partly working builder wrote garbage bounds into title memory and crashed the title").

The builder's refused programs in this run (8, all compute except the last two):

a first-lane read where not every lane runs            (3)
a descriptor's address or format read as data          (2)
v_permlanex16_b32 is not supported                     (1)
a lane mask exchanged where not every lane runs        (1)
a descriptor read only as data (pixel)                 (2)

crates/victory-shader/src/emit/lower.rs:7292 is the first-lane refusal: the "every lane is in EXEC" branch just below it is written and tested, only the not-all-lanes branch is missing. If #49 and that branch land, the builder should be able to write correct bounds, and the black interiors should start lighting.

Worth noting for whoever looks: the same address +0x2215eca is where three unrelated compatibility layers of this title die (this fork, Marvisak/VIctory, and xcl), i.e. the title takes the same bad pointer whenever its world data is built without the ray-traced passes.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7154407754 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/42#issuecomment-7154407754). Originally posted by [bailu12300](https://github.com/bailu12300) on 2026-11-25T06:04:06Z. --- Adding a clean experiment on the black-lighting part, plus the crash that comes with trying to switch the ray tracing on. RTX 5060 8 GB, Windows 10 19045, same tree 90b529f. Three configurations, same cache and save: | | result | |---|---| | default (builder off) | alive; world reached (HUD tutorial "move with the left stick / look with the right stick", subtitles); 1212 shaders translated, 1 refused; **everything black**, 1-2 fps | | `VICTORY_BVH_BUILDER=1` | after the intro: `first-chance 0xc0000005 at ...+0x23cf683 (write 0x0: nothing mapped there)`, stack `+0x23cf683 < +0x2215c35 < +0x2215eca` | | `VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=1` | alive past 1024 frames, no exception at all | So the crash is not the traversal, it is the builder's stores: with the stores kept out of title memory the same run is stable. That matches `docs/fork-ray-tracing.md` ("a partly working builder wrote garbage bounds into title memory and crashed the title"). The builder's refused programs in this run (8, all compute except the last two): ``` a first-lane read where not every lane runs (3) a descriptor's address or format read as data (2) v_permlanex16_b32 is not supported (1) a lane mask exchanged where not every lane runs (1) a descriptor read only as data (pixel) (2) ``` `crates/victory-shader/src/emit/lower.rs:7292` is the first-lane refusal: the "every lane is in EXEC" branch just below it is written and tested, only the not-all-lanes branch is missing. If #49 and that branch land, the builder should be able to write correct bounds, and the black interiors should start lighting. Worth noting for whoever looks: the same address `+0x2215eca` is where three unrelated compatibility layers of this title die (this fork, Marvisak/VIctory, and xcl), i.e. the title takes the same bad pointer whenever its world data is built without the ray-traced passes.
bailu12300 commented 2026-11-25 07:06:29 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by bailu12300 on 2026-11-25T06:15:09Z.


#49 + #36 on top of 90b529f change the picture completely. RTX 5060 8 GB, Windows 10 19045, VICTORY_BVH_BUILDER=1, nothing else.

Before the two patches, the same run died with 0xc0000005 write 0x0 at game+0x2215eca. With both applied:

survivors no exception, no device loss, 30 min of wall clock across title screens and the yard
refused shaders 8 -> 12 total but a different mix (interpolation halves, descriptor-as-data on pixel); no builder program is refused any more
picture lit: sunset sky, volumetric flare through the fence, guard tower, lit interior, character silhouette
world prison yard reached, HUD tutorial, subtitles, camera responds to input
frame 4983 draws/frame, 3 fps, GPU 63-89%, RSS 19 GB

So the builder's bad writes were the two things #36 touches (integer render target blending and LDS regions in waves of 32), and v_permlane16/x16 was the other builder input it needed. The black-interior problem in the original report is gone with the builder on.

Remaining refusals in this run, for whoever continues:

a descriptor read only as data (pixel)          (several)
the first half of an interpolation              (1)
host pipeline refused 0x80070057 (compute)      (1)
<!-- greyfinch-sync:Zettrox/ztrx:comment:7154599263 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/42#issuecomment-7154599263). Originally posted by [bailu12300](https://github.com/bailu12300) on 2026-11-25T06:15:09Z. --- **#49 + #36 on top of 90b529f change the picture completely.** RTX 5060 8 GB, Windows 10 19045, `VICTORY_BVH_BUILDER=1`, nothing else. Before the two patches, the same run died with `0xc0000005 write 0x0` at `game+0x2215eca`. With both applied: | | | |---|---| | survivors | no exception, no device loss, 30 min of wall clock across title screens and the yard | | refused shaders | 8 -> 12 total but a different mix (interpolation halves, descriptor-as-data on pixel); no builder program is refused any more | | picture | **lit**: sunset sky, volumetric flare through the fence, guard tower, lit interior, character silhouette | | world | prison yard reached, HUD tutorial, subtitles, camera responds to input | | frame | 4983 draws/frame, 3 fps, GPU 63-89%, RSS 19 GB | So the builder's bad writes were the two things #36 touches (integer render target blending and LDS regions in waves of 32), and `v_permlane16/x16` was the other builder input it needed. The black-interior problem in the original report is gone with the builder on. Remaining refusals in this run, for whoever continues: ``` a descriptor read only as data (pixel) (several) the first half of an interpolation (1) host pipeline refused 0x80070057 (compute) (1) ```
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
Zettrox/ztrx#42
No description provided.