Palworld (PPSA23126): abort at compute shader 0x15c1486e00, "storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented" #7017
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 boykopovar/AnyPS5. Originally posted by MadanRaj04 on 2026-10-17T05:45:24Z.
Palworld (PPSA23126, content version
<check param.json>), in game after character creation, about 800 s into the run. The title aborts with an uncaughtstd::runtime_errorthrown fromRequire(!unsavedOutsideWatch, ...)inlibSceAgcDriver/Graphics/src/Texture.cpp(lines 4685 and 4862 on current main). It also runs at 0.3–0.6 FPS for most of the session.Log
The exception goes out of the presentation path and nothing catches it, so the whole process aborts. The last imports before it were:
What I see in the code. In the write-back path, a layer that is pending but not in the write watch sets
unsavedOutsideWatch, becausetrackedis false andcompared[layer]is false. TheRequirethen throws. As far as I can tell, the emulator has no saved copy of the old guest bytes there to diff against. I haven't tried to change it.Performance before the crash (
APS5_PROFILE_DRAW=1, 54 ten-second windows)[dispatch]summary also shows "hook waits" at 70 s.APS5_STALL_WATCHDOG_SECS=30fired three times:queue 0x20 order behind queue 0 for event 0x3107b / 0x4888b / 0x508b7 has not progressed for 30 s.Setup
<version>, AMD Ryzen 7 5800H, NVIDIA GeForce RTX 3070 Laptop GPU (8 GB, Vulkan device reported subgroup 32), driver<version><commit hash or release version>.\eboot.exe 2>&1 | Tee-Object run2.logwithAPS5_PROFILE_DRAW=1,APS5_TRACE_HOST_IMPORT=1,APS5_STALL_WATCHDOG_SECS=30Related
GameThread timed out waiting for RenderThread after 120.00 secs. The slowness may be the same one that causes that.AI-assisted: yes (log analysis).
Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-17T07:32:54Z.
This is the abort #6308 addresses, and it would be useful to know whether it holds on Palworld. In the case it fixes, a pending storage image loses the write watch when an overlapping import is unwatched without the unwatch hook running, so its guest bytes are never saved and the write-back later hits this
Require. I can't tell from the log whether Palworld takes that path. On Minecraft Dungeons II, parl0v ran 151 world loads with #6308 on Windows (RTX 4060) and none stopped on this message (comment); ProsperoPuzzles (#6301) stops on it onmaintoo.If you can, a run of the same save on your build with #6308 merged in would show whether it is the same path. #7048 covers another exit to the same refusal (a unit that becomes pending again after its surface left the watch while it was idle), so a run with both #6308 and #7048 would cover both; they merge together cleanly (check). #6455 touches the same write-back, for stores into partly watched memory.
AI-assisted: yes (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by plokmklo on 2026-10-18T05:45:53Z.
The comment is right that this refusal is what open PR #6308 addresses, but reviewing the write-back paths found a second way to reach it, fixed on
https://github.com/plokmklo/AnyPS5/tree/contrib/7017-palworld(commitdb911fb52+ debt note83fedb709):MarkWrittenover a span whose fresh write-watch collect fails (for example a no-access page inside its 64 KiB block span) removed the span from the watch without running the unwatch hook, so results pending over it kept no saved guest bytes and their store hit thisRequireand killed the process from the present path. That exit now runs the hook over the block span before the blocks leave the watch, with the tracker lock released for it as the import fallback does, plus a Windows-only check in the write-tracking test that fails a collect over a no-access page and requires the hook to have covered the block.Separately, open PR #7048 implements the write-back side this issue names: results that become pending over a surface no longer fully watched, whose units have a generation but no saved bytes, capture a trusted baseline instead of refusing. Palworld's log doesn't say which path it takes, so a build with #6308, #7048 and the
MarkWrittenfix together is the right thing to test; if it still aborts, the remaining cases are listed indocs/dev/debt/libSceAgcDriver.md. The new test needs Windows CI to run (the collect failure it forces comes from the WindowsMappings protection path), and none of this has been validated against the title itself yet.Imported from boykopovar/AnyPS5. Originally posted by MadanRaj04 on 2026-10-18T07:39:43Z.
Thanks @LeandroLP23 and @plokmklo. I tested the combination you suggested on Palworld.
Build: main
1b0c7cfa0with #6308, #7048 and #7432 merged locally one after another (all three merged cleanly, no conflicts). I did not test plokmklo's branch directly. I used the #7432 head (d51681789). I built it but did not run the repo's tests.Result for the abort: it did not recur in two runs on that build.
0x14813ec900). The original report aborted at about 13 min (0x15c1486e00).That is a short exposure, so I can't say which of the three PRs matters, or whether any of them does, since the original abort took minutes to reproduce. I'll keep running it and report back if it comes back.
Correction to my first post: the 120 s
GameThread timed out waiting for RenderThreadwatchdog kill happened on a cold shader cache (a new build starts with an empty cache: 0 hits, 940 misses, 0 pipelines in the journal). With warm caches, the same route ran without the watchdog.Performance (separate from the abort). With warm caches (shader cache 870 hits / 120 misses, journal replayed 463 pipelines in 426 ms), the world still runs at 0.4–0.7 fps. RAM is not the limit (about 5 GB free at 0.45 fps). A typical 10 s window with
APS5_PROFILE_DRAW=1:[draws], resources=4649.8 ms of which upload=3557.4 ms, with only about 119 MiB staged.keepsDrawPipeline,EVENT_WRITEevent 0x39 (sample dump) returns false, so it looks like every occlusion-counter dump (about one per draw) drains the draw pipeline. "Enqueued behind" averaged 0.98 at depth 8.Setup: Windows 11, Ryzen 7 5800H, RTX 3070 Laptop 8 GB, 16 GB RAM. Palworld content version 01.102.999. Dump from my own copy of the game.
AI-assisted: yes (log analysis).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T06:52:28Z.
#7432 (
a01b3287c) fixes the failed-collect path behind this abort: pending storage-image bytes are now saved before the range becomes inaccessible to the write tracker. Could you retry it on current main? If it still stops at that compute shader with the same message, please attach the log; otherwise we'll close this. #8052 reports the same message on a different title, so that one may need its own look.Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-20T07:18:39Z.
A homebrew data point for the same message, since I can't run Palworld here. On current
main(e9cc4a8ef, which includes #7432), ProsperoPuzzles (PPSA99006) still stops with this exact refusal:storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented. It stops about 4 s in, in 2 of 2 runs.maine9cc4a8efmain+ #7048 (2dd51172f, one trivial conflict inStorageTexture::writeBackresolved by keeping both sides)main+ #6308 (48a1d3453, clean merge)In ProsperoPuzzles the bytes go unsaved through
ImportWatchedwithstaysWatched. When the range was only partly watched, that path still unwatches it, but it skipped the unwatch hook (#6301). #7432 covers the failed-collect path, which is a different one. So the message alone doesn't tell which path Palworld takes. If it still aborts on currentmain, #6308 is worth a try on top.Windows 11 Home 26300, AMD Radeon 860M (driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release,
relinker --windows, new run folder each time, 60 s, no input.Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-20T11:53:02Z.
Update to my comment above: #8172, merged today, fixes the same refusal in ProsperoPuzzles (0 of 2 runs alive at 60 s on its parent
e9cc4a8ef; 3 of 3 on currentmaind50ec76da). So a retry on currentmainis the useful one now. #6308 is closed as superseded.