[Tester] M3 Max, 36 GB: reaches story load, world at ~1 fps, Metal compiler XPC failures on macOS 27.2.1 #313

Closed
opened 2026-11-27 10:59:45 +00:00 by alexballvideos-netizen · 3 comments
alexballvideos-netizen commented 2026-11-27 10:59:45 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by alexballvideos-netizen on 2026-11-27T10:59:45Z.


Mac

Apple M3 Max, 36 GB, macOS 27.2.1 (26B131)

Commit

8fe4b63

How far did it get?

Further than that

What happened

What happened

Ran tools/macos/run-native.sh --seconds 240 with the default settings (console=series-x, residency "a set per heap", no extra VICTORY_* variables). Game build: Series 1.0.2.1. This was the first run, so the shader cache started empty. A DualSense controller was connected and the log shows it was picked (controller: drives the pad).

Boot movie and menus: frames 1 to 2048 presented in about 75 s, close to 30 fps.
Story load: the story000 packs were opened at about 89 s (pack\story000\story000.rpf and related files).
In the world: run-summary.sh reports 1.3 fps for frames 3072 to 3200 (99 s). Frame 3114 alone had 1,742 first binds, which is the cold-cache world stall. There was no crash and no GPU time-out. The run was still going when the 240 s timer stopped it (exit 143 is the script's timer).
755 title shader refused lines (from run-summary.sh). The largest groups:
203 × translation: descriptor heap address with an untracked high half
179 × conversion: floatN output not compatible with an RNUint color attachment
96 × conversion: XPC_ERROR_CONNECTION_INTERRUPTED after multiple retries. This looks like the Metal compiler crash in #181, here on macOS 27.2.1 on an M3 Max.
84 × translation: a descriptor neither loaded nor built
26 × "Metal's compiler crashed on it on an earlier run"
the rest: smaller GFX10 translation groups (lane-mask joins, cross-lane ops in divergent code, s_lshr)
At frame 3200: recorded=314377, encoded=194683, no_pipeline=221211.
Many a descriptor was not mirrored … is not in a mapped pool lines, and native host drops a value write … not in a mapped pool in the world.
What was on screen: boot movie and menus looked right; after the story load the world was black/grey, as described in the README.

Log

victory-redacted.log

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6645091545 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/313). Originally posted by [alexballvideos-netizen](https://github.com/alexballvideos-netizen) on 2026-11-27T10:59:45Z. --- ### Mac Apple M3 Max, 36 GB, macOS 27.2.1 (26B131) ### Commit 8fe4b63 ### How far did it get? Further than that ### What happened What happened Ran tools/macos/run-native.sh --seconds 240 with the default settings (console=series-x, residency "a set per heap", no extra VICTORY_* variables). Game build: Series 1.0.2.1. This was the first run, so the shader cache started empty. A DualSense controller was connected and the log shows it was picked (controller: drives the pad). Boot movie and menus: frames 1 to 2048 presented in about 75 s, close to 30 fps. Story load: the story000 packs were opened at about 89 s (pack\story000\story000.rpf and related files). In the world: run-summary.sh reports 1.3 fps for frames 3072 to 3200 (99 s). Frame 3114 alone had 1,742 first binds, which is the cold-cache world stall. There was no crash and no GPU time-out. The run was still going when the 240 s timer stopped it (exit 143 is the script's timer). 755 title shader refused lines (from run-summary.sh). The largest groups: 203 × translation: descriptor heap address with an untracked high half 179 × conversion: floatN output not compatible with an RNUint color attachment 96 × conversion: XPC_ERROR_CONNECTION_INTERRUPTED after multiple retries. This looks like the Metal compiler crash in #181, here on macOS 27.2.1 on an M3 Max. 84 × translation: a descriptor neither loaded nor built 26 × "Metal's compiler crashed on it on an earlier run" the rest: smaller GFX10 translation groups (lane-mask joins, cross-lane ops in divergent code, s_lshr) At frame 3200: recorded=314377, encoded=194683, no_pipeline=221211. Many a descriptor was not mirrored … is not in a mapped pool lines, and native host drops a value write … not in a mapped pool in the world. What was on screen: boot movie and menus looked right; after the story load the world was black/grey, as described in the README. ### Log [victory-redacted.log](https://github.com/user-attachments/files/35509296/victory-redacted.log)
LakshanSivakumar commented 2026-11-27 11:54:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T11:54:25Z.


Thank you, this is a good report, with the numbers I need. It matches what other Macs show: the world at about 1 fps and black, and the compiler crash of #181 on macOS 27.2.1.

I have not opened your log. Two requests: was the game folder on the internal disk or an external one, and did you run with the heap residency mode on purpose (your text says the default)? If you can, run once more now that the cache is warm and post the same summary; the cold-cache frame with 1,742 first binds should be gone.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7217611847 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/313#issuecomment-7217611847). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T11:54:25Z. --- Thank you, this is a good report, with the numbers I need. It matches what other Macs show: the world at about 1 fps and black, and the compiler crash of #181 on macOS 27.2.1. I have not opened your log. Two requests: was the game folder on the internal disk or an external one, and did you run with the `heap` residency mode on purpose (your text says the default)? If you can, run once more now that the cache is warm and post the same summary; the cold-cache frame with 1,742 first binds should be gone.
alexballvideos-netizen commented 2026-11-27 12:25:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by alexballvideos-netizen on 2026-11-27T12:25:31Z.


Thanks! Answers and the warm-cache run:

  • Disk: the game folder is on the internal SSD.
  • Residency: I didn't set it. The log has switch="unset" with mode="a set per heap" memory_gb=36, so that's the automatic choice for a Mac with 32 GB or more. No VICTORY_* variables were set in either run.

Warm-cache run (same commit 8fe4b63, same settings, --seconds 240, run-summary.sh output):

Cold (first run) Warm (this run)
Prewarm 16,384 shaders, t=+6.1 to +82.5 s 16,384 shaders, t=+1.8 to +16.1 s
Metal library conversions not from the cache 578 28
Menus ~30 fps ~30 fps
World reached (big first-bind frame) frame 3114, ~t=+123 s frame 1962, ~t=+77 s
First binds in that frame 1,742 1,760
How long that frame took 12.5 s (3114→3115) 16.4 s (1962→1963)
World fps 1.3 (frames 3072–3200) 1.4 (1920–1984), then 0.6 (1984–2048)
Refused shaders 755 743
XPC_ERROR_CONNECTION_INTERRUPTED 96 17 (plus 94 "Metal's compiler crashed on it on an earlier run")
End still running at the 240 s timer still running at the 240 s timer

The cache works for the DXIL and Metal libraries (prewarm went from about 76 s to about 14 s), but the first world frame still has about 1,760 first binds and still stalls for more than 12 s. On screen this time was different from the first run: after the menus the opening slides with artwork of the main characters showed correctly, then the screen went black while the opening credits and audio carried on. In the first run I only saw a black/grey world after the story load.

Log attached (username replaced with USER).

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7218227342 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/313#issuecomment-7218227342). Originally posted by [alexballvideos-netizen](https://github.com/alexballvideos-netizen) on 2026-11-27T12:25:31Z. --- Thanks! Answers and the warm-cache run: - **Disk:** the game folder is on the internal SSD. - **Residency:** I didn't set it. The log has `switch="unset"` with `mode="a set per heap" memory_gb=36`, so that's the automatic choice for a Mac with 32 GB or more. No `VICTORY_*` variables were set in either run. **Warm-cache run** (same commit 8fe4b63, same settings, `--seconds 240`, `run-summary.sh` output): | | Cold (first run) | Warm (this run) | | --- | --- | --- | | Prewarm | 16,384 shaders, t=+6.1 to +82.5 s | 16,384 shaders, t=+1.8 to +16.1 s | | Metal library conversions not from the cache | 578 | 28 | | Menus | ~30 fps | ~30 fps | | World reached (big first-bind frame) | frame 3114, ~t=+123 s | frame 1962, ~t=+77 s | | First binds in that frame | 1,742 | 1,760 | | How long that frame took | 12.5 s (3114→3115) | 16.4 s (1962→1963) | | World fps | 1.3 (frames 3072–3200) | 1.4 (1920–1984), then 0.6 (1984–2048) | | Refused shaders | 755 | 743 | | XPC_ERROR_CONNECTION_INTERRUPTED | 96 | 17 (plus 94 "Metal's compiler crashed on it on an earlier run") | | End | still running at the 240 s timer | still running at the 240 s timer | The cache works for the DXIL and Metal libraries (prewarm went from about 76 s to about 14 s), but the first world frame still has about 1,760 first binds and still stalls for more than 12 s. On screen this time was different from the first run: after the menus the opening slides with artwork of the main characters showed correctly, then the screen went black while the opening credits and audio carried on. In the first run I only saw a black/grey world after the story load. Log attached (username replaced with USER).
LakshanSivakumar commented 2026-11-28 00:36:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:36:40Z.


Thank you for the report and the log. This is the same fault as #181 (compiler failures) and #258 (black world), so I am closing this one and tracking it there. Main moved a lot today (a6a58361): if you can, please retest on it and add what you see to that issue.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7231049350 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/313#issuecomment-7231049350). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-28T00:36:40Z. --- Thank you for the report and the log. This is the same fault as #181 (compiler failures) and #258 (black world), so I am closing this one and tracking it there. Main moved a lot today (a6a58361): if you can, please retest on it and add what you see to that issue.
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#313
No description provided.