[Tester] Apple M2 Pro, 16 GB: Further than that (reached frame 1678, segfault at 122s) #392
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by froziiik on 2026-11-27T16:17:20Z.
Mac
Apple M2 Pro, 16 GB, macOS 27.0
Commit
728845d1How far did it get?
Further than that
What happened
Headless run via
tools/macos/run-native.sh --headless --seconds 180(using existing saved setup storage in~/.cache/victory/data/7952987A/storageand defaultVICTORY_KEYSEnter every 2 s from 4 s to 80 s).OutOfMemoryand 5OtherMetal GPU errors starting at t=+67.8s (frame ~1536;title_memory_mib=7776,recommended_working_set_mib=12124).Segmentation fault: 11(exit code 139) at frame 1678 (122.3s log span). Audio kept playing until the crash.Console: series-s
Shader converter: /usr/local/lib/libmetalirconverter.dylib 60073520 Some(SystemTime { tv_sec: 1792438727, tv_nsec: 0 }) (from the installed default)
VICTORY_* variables in this shell: none
run-summary.sh
Log
victory-20261127-181533-19191.log.gz (sha256 eaee96b195a0abab098c239072cfb0f33779949295a9e35d83a47414ee3a8f0d), scrubbed by tools/macos/tester-report.sh
victory-20261127-181533-19191.log.gz
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T16:28:44Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T16:28:58Z.
Claimed by @AnastasisKon. Open a draft pull request with
Refs #392in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by froziiik on 2026-11-27T16:35:39Z.
Follow-up windowed run after syncing to
4cf84c83withVICTORY_TEXTURE_DROP_TOP_MIP=1on the same 16 GB Apple M2 Pro:kIOGPUCommandBufferCallbackErrorOutOfMemoryand 5OtherMetal errors starting att=+83.7s(frame ~1861;title_memory_mib=7776,recommended_working_set_mib=12124).XPC_ERROR_CONNECTION_INTERRUPTED.work held for a wait that does not hold, up to 301 held submissions,head for 37.7s) while audio kept playing, and the Mac rebooted.Console: series-s
Shader converter: /usr/local/lib/libmetalirconverter.dylib 60073520 Some(SystemTime { tv_sec: 1792438727, tv_nsec: 0 }) (from the installed default)
VICTORY_* variables in this shell:
VICTORY_TEXTURE_DROP_TOP_MIP=1run-summary.sh
Log:
victory-20261127-183522-1760.log.gz(sha256957f42a1152a2e985b1701ac7008fb5e9b41dd1b16bd44199cd7419d73cfdd86), scrubbed bytools/macos/tester-report.shvictory-20261127-183522-1760.log.gz
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T21:56:41Z.
The segfault with no crash line this report hits is now addressed in #474: SIGSEGV, SIGBUS, SIGILL and SIGFPE write one line to stderr — signal,
si_codeandsi_addr()— before the process dies by the fault, through async-signal-safe calls only, then re-raise withSA_RESETHANDso the exit status and the crash report stay as they are. So a run that ends this way leavesvictory: fatal signal 11 (code …) at address 0x…invictory.loginstead of nothing.If you can run #474 on the M2 Pro, the useful evidence is that log line from a run that dies the way this one did. Everything else in this report — the frame it reached, the GPU errors before it — still points at the work on #15 and #79.
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:35:25Z.
Thank you for two runs and for the run-summary; it made the report easy to read.
What your log shows: Metal ran out of memory at frame ~1536 (and ~1861 in the second run), with title_memory_mib=7776 against a recommended working set of 12124 MiB. Then the frame rate fell to 3 to 5 fps and the run ended. That is the 16 GB memory problem in #8 and #79. I am sorry the second run ended in a reboot. That is a GPU hang I know about (#357), not your mistake.
The crash with no message is covered by #474, which is not merged yet, so a run still will not name the signal. On main
a6a58361I did merge a fix for heap views that kept stale pages (#513) and a stop that waits up to 20 s for the GPU. I do not know yet if they change your out-of-memory point. I have not tested on a 16 GB Mac.Please retest on
a6a58361withVICTORY_METAL_RESIDENCY_SETS=1 VICTORY_TEXTURE_DROP_TOP_MIP=1 VICTORY_OUTPUT=1280x720. Another tester on a 36 GB Mac had no GPU timeouts and no out-of-memory with those three, but the picture stayed broken. Please tell me the frame of the first out-of-memory. I will keep this open under #8.