Metal GPU timeout at about 53 s stops presents #2
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#2
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?
@LakshanSivakumar on GitHub · 2026-11-26 06:57 UTC · original
At about 1,400 frames a Metal command buffer fails with kIOGPUCommandBufferCallbackErrorTimeout; a fence is left behind (signal 2836, GPU at 2832) and presents stop. Not investigated yet. See docs/ROADMAP.md section 2. Attach a run-native.sh log if you hit it.
@LakshanSivakumar on GitHub · 2026-11-26 10:53 UTC · original
Triage note: two recent tester reports passed the 53 s / 1,400-frame mark with no Metal GPU timeout:
Keeping #2 open until we confirm whether the timeout still reproduces on current
main(or only on specific scenes/hardware). If anyone hitskIOGPUCommandBufferCallbackErrorTimeouton latestmain, please attach the log here.@LakshanSivakumar on GitHub · 2026-11-26 13:28 UTC · original
Update: #60 has merged to
main, keeping all unsatisfied queueWaits on the CPU pump until observed backend completion (avoiding the ~5 sMTLSharedEventwait timeout) and preservingPresentordering behind held work. Keeping #2 open until confirmed on a live run.@LakshanSivakumar on GitHub · 2026-11-26 15:56 UTC · original
Status: #60 is merged (no more unsignalled waits). Still open until a live run past ~1,400 frames confirms no timeout; the later timeouts are tracked in #79. Needed: a run on current main.
@derz92 on GitHub · 2026-11-26 16:23 UTC · original
Live runs on current
main(3fd73fd, which includes #60): no Metal command buffer timeout on this Mac.Setup: Apple M5 Max, 36 GB, macOS 26.5, windowed,
--console series-x,VICTORY_GUESS_GRAPHICS=1, the defaultrun-native.shEnter presses. Two local changes that don't touch the GPU path: one zeroes the CoreAudio buffers, and one moves the window to another screen. Caveat: another GPU-heavy process (a second game) was running on the same GPU during both runs, so frame rates are lower than they would be alone.command buffer failed/kIOGPUCommandBufferCallbackErrorTimeoutBoth runs went well past the old stop at about 53 s and 1,400 frames. In run 1
native draws so farends withrecorded=53856 encoded=53856. Run 2 ended the way #15 describes: the watchdog's write to 0 atimage+0x23cf683, then the unhandled fault atimage+0x55e56f8, about 25 s into the story000 load.From this Mac, the 53 s timeout no longer reproduces on
main. I'll keep watching for it in longer runs and will post here if it comes back.@LakshanSivakumar on GitHub · 2026-11-26 17:13 UTC · original
Thanks @derz92. #110 shows the same on two more Macs: on current main nothing stops at ~53 s anymore. The later command-buffer failures are tracked in #79 (memory) and #80 (lost fence signals).