Tester report: Apple M5, 24 GB: through all setup screens by keyboard, stalls on the loading screen after Confirm; no GPU timeout #13

Closed
opened 2026-11-26 08:59:15 +00:00 by Sandile-0511 · 2 comments
Sandile-0511 commented 2026-11-26 08:59:15 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Sandile-0511 on 2026-11-26T08:59:15Z.


Mac

MacBook Pro, Apple M5 (base chip), 24 GB, macOS 26.5.1

Commit

00ba7c4 for the first two runs, bb27f19 for the scripted-key runs, c96c82a for the live-keyboard runs

How far did it get?

Furthest point: past every setup screen, by keyboard, to the loading screen after Confirm on the legal terms screen, where it stays (details under "What happened"). No GPU timeout in any of seven runs, the longest 237 seconds. The runs in order:

First run: it ran until my 90-second timer stopped it: 86 seconds of log, frame 2,304, about 30 frames per second throughout. It did not hit the Metal GPU timeout from #2. Frame 1,408 was logged at about 57 seconds and frames kept coming at the same rate until the end.

The window was not black: the game's menus were visible in it. It got as far as the legal notice screen and stayed there. Frames kept being drawn at the same rate while it sat on that screen, so this looked like the game waiting, not a hang.

I checked whether the scripted input simply ran out. A third run at bb27f19 with VICTORY_KEYS extended to an Enter press every 2 seconds up to 300 seconds stayed on the same LEGAL NOTICES screen. I closed the window after about 102 seconds, at frame 2,880 (exit code 0); the log has no errors and no timeout, and the draw count per 64 frames is constant (2,496) from about frame 1,800 on, which fits a static screen. So Enter (A) alone does not advance it.

The reason is focus: LEGAL NOTICES opens with the highlight on a list entry, and "Next" is two rows down. Scripted arrow keys get through. With VICTORY_KEYS set to Enter every 2 s until 80 s and then Down, Down, Enter every 6 s from 84 s to 234 s, the game went past LEGAL NOTICES and the photosensitivity warning and reached the legal terms and policies screen (two unticked checkboxes and a greyed-out Confirm). It stays there because the highlight starts on Confirm, which is disabled until the boxes are ticked, and the script never presses Up. I did this twice; one of those runs lasted the full 237 seconds, 6,848 frames, with no errors and no timeout.

One thing a fixed key script gets wrong: load time varies between runs. In one run the opening phase took 56 seconds instead of 32, FINISH SETUP appeared after the last scripted press, and the game sat there waiting for A.

What happened

Numbers from the log:

  • Draws: 38,210 recorded and 38,210 encoded by the last counter line; no_pipeline=0, no_texture=0.
  • Log levels: 465 INFO, 253 WARN, no ERROR lines. The string "timeout" does not appear.
  • 13 guessed pipelines were built. 22 warnings say a guessed graphics piece is no program stage="pixel" error=GFX10 code at 0x0: copies that do not settle is not supported.
  • 230 DirectStorage warnings, a status entry is still pending, between 4 s and 44 s into the run. None after that.
  • DirectStorage served 18,795 requests across four reporting intervals, peaking at 70.3 MB/s.
  • Build line: Series 1.0.2.1.

Furthest point, at c96c82a with the live keyboard: I went through the start screen, FINISH SETUP, LEGAL NOTICES, the photosensitivity warning and the legal terms screen by keyboard and pressed Confirm, about 76 seconds into the run. The game then shows a loading screen and stays on it.

What the log shows for that stage:

  • At Confirm the title opens its story packs through DirectStorage (story000.rpf, story000_script.rpf, story000_restofworld.rpf, story000_bvh4.rpf and several .ttpf files).
  • It reads for about 14 seconds: requests=5249 mb_per_s=17.0 ... waiting=0. The last "still pending" warning is at the same moment.
  • After that there is no DirectStorage line at all. Frames keep coming at 30 per second with exactly 320 draws per 64 frames (5 a frame) for more than 3 minutes (91 consecutive 64-frame intervals), and it was still doing that when I wrote this.
  • No first-chance exception, no error, no GPU timeout in that stage. 137 a descriptor was not mirrored ... is not in a mapped pool INFO lines appear around the transition.

So file reads finish with nothing waiting, and the title keeps drawing its loading screen. I don't know what it is waiting for. I can rerun with VICTORY_DUMP_THREADS if a thread dump from the stall would help.

Separate finding from the same build: with VICTORY_KEYS set so no Enter is scripted, the title hit its int3 at image+0x4dcbc9d at 57 seconds, about 7 seconds after the start screen became visible, then 0xc0000005 at image+0x55e56f8 in its crash handler. That is the engagement-screen int3 from native-host.md. With the live keyboard and no scripted Enter, a person has very little time to press A after the screen appears.

Setup notes:

  • At 00ba7c4, tools/macos/run-native.sh failed on the stock /bin/bash 3.2 with headless[@]: unbound variable. That is already fixed in bb27f19. For this run I started the binary directly with the script's own settings: VICTORY_GUESS_GRAPHICS=1, the default VICTORY_KEYS (Enter every 2 s from 4 s to 80 s), and run --execute --unimplemented zero. No other VICTORY_* variables were set.
  • My global Cargo config sets target-dir to a shared folder, so native-setup.sh reported a successful build but run-native.sh could not find target/x86_64-apple-darwin/release/victory. A symlink named target worked around it. Reading the path from cargo metadata, or saying so in the error message, would help anyone with that setup.
  • Metal Shader Converter 4.0 beta 3, installed by Apple's package. Rust 1.98.1 as pinned.

A second run, started by hand with the same settings and no timer, was still going at frame 4,160 (about 139 seconds of frames at 30 per second) with the same steady counters and no timeout in the output I kept. That run was to the terminal only, so there is no saved log for it. Two runs on one machine both passed the 53-second mark.

Log

The GitHub CLI can't attach files, so here is the part of the c96c82a log from Confirm onwards, with the repeated draw-counter, "not mirrored" and "still pending" lines left out. I have full logs for every run mentioned (colour codes stripped, home path and host name redacted) and can add them as attachments.

Log excerpt from Confirm onwards
2026-11-26T08:54:56.206564Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\shared_minigame000\\data\\ttdb\\maps\\ttdb_maps.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.207635Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\shared_minigame000\\data\\ttdb\\terrain\\ttdb_terrain_image_based.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.213533Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000_restofworld\\story000_restofworld.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.281143Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000_bvh4\\story000_bvh4.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.359962Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\story000_script.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.360773Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\story000.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:56.868995Z  INFO victory_gpu::native::glue: native draws so far frame=2112 recorded=37905 encoded=37905 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0
2026-11-26T08:54:57.010668Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\maps\\ttdb_maps.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:57.011718Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\terrain\\ttdb_terrain_image_based.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:57.012197Z  INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\vfx\\ttdb_vfx.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4"
2026-11-26T08:54:59.033744Z  INFO victory_gpu::native::glue: native draws so far frame=2176 recorded=38230 encoded=38230 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0
2026-11-26T08:55:01.170200Z  INFO victory_gpu::native::glue: native draws so far frame=2240 recorded=38550 encoded=38550 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0
2026-11-26T08:55:09.984263Z  INFO victory_hle::modules::dstorage: dstorage: last 14.1 s requests=5249 mb_per_s=17.0 busy_workers=0.08 reading_workers=0.05 staging_waits=0 bcpack_mb=0 bcpack_workers=0.00 page_destinations=203 waiting=0
2026-11-26T08:56:03.032621Z  INFO victory_gpu::queue: frame presented (since the last line: draws and dispatches, and those run on the host) frame=4096 draws=11109 drawn=0 dispatches=2050 dispatched=0
2026-11-26T08:58:13.161628Z  INFO victory_gpu::native::glue: native draws so far frame=8000 recorded=67350 encoded=67350 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0
2026-11-26T08:58:15.299522Z  INFO victory_gpu::native::glue: native draws so far frame=8064 recorded=67670 encoded=67670 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0

AI-assisted: runs, log analysis and text done with Claude Code on my own machine; I reviewed the text.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6623091732 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/13). Originally posted by [Sandile-0511](https://github.com/Sandile-0511) on 2026-11-26T08:59:15Z. --- ### Mac MacBook Pro, Apple M5 (base chip), 24 GB, macOS 26.5.1 ### Commit `00ba7c4` for the first two runs, `bb27f19` for the scripted-key runs, `c96c82a` for the live-keyboard runs ### How far did it get? **Furthest point: past every setup screen, by keyboard, to the loading screen after Confirm on the legal terms screen, where it stays (details under "What happened"). No GPU timeout in any of seven runs, the longest 237 seconds.** The runs in order: First run: it ran until my 90-second timer stopped it: 86 seconds of log, frame 2,304, about 30 frames per second throughout. It did not hit the Metal GPU timeout from #2. Frame 1,408 was logged at about 57 seconds and frames kept coming at the same rate until the end. The window was not black: the game's menus were visible in it. It got as far as the legal notice screen and stayed there. Frames kept being drawn at the same rate while it sat on that screen, so this looked like the game waiting, not a hang. I checked whether the scripted input simply ran out. A third run at `bb27f19` with `VICTORY_KEYS` extended to an Enter press every 2 seconds up to 300 seconds stayed on the same LEGAL NOTICES screen. I closed the window after about 102 seconds, at frame 2,880 (exit code 0); the log has no errors and no timeout, and the draw count per 64 frames is constant (2,496) from about frame 1,800 on, which fits a static screen. So Enter (A) alone does not advance it. The reason is focus: LEGAL NOTICES opens with the highlight on a list entry, and "Next" is two rows down. Scripted arrow keys get through. With `VICTORY_KEYS` set to Enter every 2 s until 80 s and then `Down, Down, Enter` every 6 s from 84 s to 234 s, the game went past LEGAL NOTICES and the photosensitivity warning and reached the legal terms and policies screen (two unticked checkboxes and a greyed-out Confirm). It stays there because the highlight starts on Confirm, which is disabled until the boxes are ticked, and the script never presses Up. I did this twice; one of those runs lasted the full 237 seconds, 6,848 frames, with no errors and no timeout. One thing a fixed key script gets wrong: load time varies between runs. In one run the opening phase took 56 seconds instead of 32, FINISH SETUP appeared after the last scripted press, and the game sat there waiting for A. ### What happened Numbers from the log: - Draws: 38,210 recorded and 38,210 encoded by the last counter line; `no_pipeline=0`, `no_texture=0`. - Log levels: 465 INFO, 253 WARN, no ERROR lines. The string "timeout" does not appear. - 13 guessed pipelines were built. 22 warnings say `a guessed graphics piece is no program stage="pixel" error=GFX10 code at 0x0: copies that do not settle is not supported`. - 230 DirectStorage warnings, `a status entry is still pending`, between 4 s and 44 s into the run. None after that. - DirectStorage served 18,795 requests across four reporting intervals, peaking at 70.3 MB/s. - Build line: `Series 1.0.2.1`. **Furthest point, at `c96c82a` with the live keyboard:** I went through the start screen, FINISH SETUP, LEGAL NOTICES, the photosensitivity warning and the legal terms screen by keyboard and pressed Confirm, about 76 seconds into the run. The game then shows a loading screen and stays on it. What the log shows for that stage: - At Confirm the title opens its story packs through DirectStorage (`story000.rpf`, `story000_script.rpf`, `story000_restofworld.rpf`, `story000_bvh4.rpf` and several `.ttpf` files). - It reads for about 14 seconds: `requests=5249 mb_per_s=17.0 ... waiting=0`. The last "still pending" warning is at the same moment. - After that there is no DirectStorage line at all. Frames keep coming at 30 per second with exactly 320 draws per 64 frames (5 a frame) for more than 3 minutes (91 consecutive 64-frame intervals), and it was still doing that when I wrote this. - No first-chance exception, no error, no GPU timeout in that stage. 137 `a descriptor was not mirrored ... is not in a mapped pool` INFO lines appear around the transition. So file reads finish with nothing waiting, and the title keeps drawing its loading screen. I don't know what it is waiting for. I can rerun with `VICTORY_DUMP_THREADS` if a thread dump from the stall would help. Separate finding from the same build: with `VICTORY_KEYS` set so no Enter is scripted, the title hit its int3 at `image+0x4dcbc9d` at 57 seconds, about 7 seconds after the start screen became visible, then `0xc0000005 at image+0x55e56f8` in its crash handler. That is the engagement-screen int3 from native-host.md. With the live keyboard and no scripted Enter, a person has very little time to press A after the screen appears. Setup notes: - At `00ba7c4`, `tools/macos/run-native.sh` failed on the stock `/bin/bash` 3.2 with `headless[@]: unbound variable`. That is already fixed in `bb27f19`. For this run I started the binary directly with the script's own settings: `VICTORY_GUESS_GRAPHICS=1`, the default `VICTORY_KEYS` (Enter every 2 s from 4 s to 80 s), and `run --execute --unimplemented zero`. No other `VICTORY_*` variables were set. - My global Cargo config sets `target-dir` to a shared folder, so `native-setup.sh` reported a successful build but `run-native.sh` could not find `target/x86_64-apple-darwin/release/victory`. A symlink named `target` worked around it. Reading the path from `cargo metadata`, or saying so in the error message, would help anyone with that setup. - Metal Shader Converter 4.0 beta 3, installed by Apple's package. Rust 1.98.1 as pinned. A second run, started by hand with the same settings and no timer, was still going at frame 4,160 (about 139 seconds of frames at 30 per second) with the same steady counters and no timeout in the output I kept. That run was to the terminal only, so there is no saved log for it. Two runs on one machine both passed the 53-second mark. ### Log The GitHub CLI can't attach files, so here is the part of the `c96c82a` log from Confirm onwards, with the repeated draw-counter, "not mirrored" and "still pending" lines left out. I have full logs for every run mentioned (colour codes stripped, home path and host name redacted) and can add them as attachments. <details><summary>Log excerpt from Confirm onwards</summary> ``` 2026-11-26T08:54:56.206564Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\shared_minigame000\\data\\ttdb\\maps\\ttdb_maps.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.207635Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\shared_minigame000\\data\\ttdb\\terrain\\ttdb_terrain_image_based.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.213533Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000_restofworld\\story000_restofworld.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.281143Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000_bvh4\\story000_bvh4.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.359962Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\story000_script.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.360773Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\story000.rpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:56.868995Z INFO victory_gpu::native::glue: native draws so far frame=2112 recorded=37905 encoded=37905 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0 2026-11-26T08:54:57.010668Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\maps\\ttdb_maps.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:57.011718Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\terrain\\ttdb_terrain_image_based.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:57.012197Z INFO victory_hle::modules::dstorage: dstorage: file opened path="G:\\pack\\story000\\data\\ttdb\\vfx\\ttdb_vfx.ttpf" iid="43704f9f-27c6-4a9f-8815-d16527894df4" 2026-11-26T08:54:59.033744Z INFO victory_gpu::native::glue: native draws so far frame=2176 recorded=38230 encoded=38230 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0 2026-11-26T08:55:01.170200Z INFO victory_gpu::native::glue: native draws so far frame=2240 recorded=38550 encoded=38550 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0 2026-11-26T08:55:09.984263Z INFO victory_hle::modules::dstorage: dstorage: last 14.1 s requests=5249 mb_per_s=17.0 busy_workers=0.08 reading_workers=0.05 staging_waits=0 bcpack_mb=0 bcpack_workers=0.00 page_destinations=203 waiting=0 2026-11-26T08:56:03.032621Z INFO victory_gpu::queue: frame presented (since the last line: draws and dispatches, and those run on the host) frame=4096 draws=11109 drawn=0 dispatches=2050 dispatched=0 2026-11-26T08:58:13.161628Z INFO victory_gpu::native::glue: native draws so far frame=8000 recorded=67350 encoded=67350 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0 2026-11-26T08:58:15.299522Z INFO victory_gpu::native::glue: native draws so far frame=8064 recorded=67670 encoded=67670 no_pipeline=0 no_texture=0 mesh=0 mesh_indirect=0 indirect=0 texture_copies=0 ``` </details> *AI-assisted: runs, log analysis and text done with Claude Code on my own machine; I reviewed the text.*
LakshanSivakumar commented 2026-11-26 10:53:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-26T10:53:01Z.


Thanks for the detailed multi-run report and keyboard walkthrough, @Sandile-0511!

A few notes on your findings:

  • Post-Confirm loading stall: This matches what we reproduced headless and is now tracked and actively investigated in #15 (three title threads deadlocking after DirectStorage finishes its ~5,200-request burst with waiting=0). No need to capture a VICTORY_DUMP_THREADS dump right away since we already have the deadlock isolated in #15, though we may ping if we need a second data point once a fix lands.
  • No GPU timeout: 7 runs up to 237 s / 6,848 frames with zero kIOGPUCommandBufferCallbackErrorTimeout is a great data point—noted on #2.
  • Global Cargo target-dir: Good catch on tools/macos/run-native.sh assuming ./target/... instead of querying cargo metadata or checking CARGO_TARGET_DIR. That's definitely worth cleaning up so shared target directories work out of the box.

Appreciate the thorough testing—tagged as tester report and linked with #15 and #2.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7189964760 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/13#issuecomment-7189964760). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-26T10:53:01Z. --- Thanks for the detailed multi-run report and keyboard walkthrough, @Sandile-0511! A few notes on your findings: - **Post-Confirm loading stall:** This matches what we reproduced headless and is now tracked and actively investigated in #15 (three title threads deadlocking after DirectStorage finishes its ~5,200-request burst with `waiting=0`). No need to capture a `VICTORY_DUMP_THREADS` dump right away since we already have the deadlock isolated in #15, though we may ping if we need a second data point once a fix lands. - **No GPU timeout:** 7 runs up to 237 s / 6,848 frames with zero `kIOGPUCommandBufferCallbackErrorTimeout` is a great data point—noted on #2. - **Global Cargo `target-dir`:** Good catch on `tools/macos/run-native.sh` assuming `./target/...` instead of querying `cargo metadata` or checking `CARGO_TARGET_DIR`. That's definitely worth cleaning up so shared target directories work out of the box. Appreciate the thorough testing—tagged as `tester report` and linked with #15 and #2.
LakshanSivakumar commented 2026-11-26 15:56:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-26T15:56:24Z.


Duplicate of #15: the stall on the loading screen after Confirm is the story-load prologue crash tracked there. Closing so the investigation stays in one place.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7196956987 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/13#issuecomment-7196956987). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-26T15:56:24Z. --- Duplicate of #15: the stall on the loading screen after Confirm is the story-load prologue crash tracked there. Closing so the investigation stays in one place.
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
LakshanSivakumar/Native-Victory-macOS#13
No description provided.