dstorage: one status entry never completes at the story000_restofworld load, and presents stop for minutes #654
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 AnastasisKon on 2026-11-29T13:53:44Z.
The picture is fine; the game stops presenting when the first world pack is read, and the window is left frozen on the last frame — which reads as "bad graphics, not playable".
Measured
VICTORY_FRAME_DUMP(added by the branch behind this report) writes the presented drawable as BMP, andVICTORY_FRAME_GRIDlogs it as a grid. On the current main withVICTORY_PAIRED_WAVES=1, a 290 s run:VICTORY_PAIRED_WAVES=1takes shader refusals from 283 to 0 in this run, and dropped draws from 18% to 0);G:\pack\story000_restofworld\story000_resto...) and the log fills with:So one status entry never completes while every lane is idle:
unsubmitted 0,held 0, ~1 MiBstaged, no failures, and the title polls it six million times. That is the block the world load is waiting on — the render thread stops with it.What would answer it
The staged byte count (
staged=1048575, one byte short of a full MiB) suggests a chunk whose completion is owed but never counted down: either the staged copy finished without decrementing, or the lane's read loop left its last chunk instagedwhen the read returned EOF-sized.unsubmitted 0rules out "a command nobody submitted", which is what the lane state used to be for.A run with
VICTORY_TRACE_DSTORAGE_FILES=1beside the status warning names the file and offsets involved; thereads/statusescounters per lane show which lane owes the count.Not a Metal, MetalFX or translator issue: the same freeze happens with
VICTORY_METALFXoff and with the title's own upscaler, and the frames before it are correct.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by daidalos4 on 2026-11-29T15:40:08Z.
A data point from an M1 with 16 GB (Series S profile), in case it helps separate two causes.
Same stall at the same load here, with the same "status entry still pending" warnings. But on this Mac it was GPU memory, not a lost read:
POLLScounter inis_completeis global, so a large count is spread over every entry, not one.stagedmatched the source sizes of the reads still running, and reads kept finishing (about 1600 requests in 44 s). The pending warnings had nearly stopped before presents stopped.VICTORY_METAL_TEXTURE_BUDGET_MB=4348(the suggested figure: 12124 working set minus 7776 title memory), Metal reached about 12.2 GB and 197 command buffers failed withkIOGPUCommandBufferCallbackErrorOutOfMemory. After that, work stayed held behind fences that never signalled, and the frame count crawled.So the suggested budget leaves no room for the host's other GPU allocations. The fix on our side keeps an eighth of the working set out of it. If your logs show no OOM failures, it is probably a different cause.