Star Wars Jedi: Survivor (PPSA07783): table-call linking bakes callee addresses into compute shaders, so every boot rebuilds 1.2-2.6 M-word pipelines cold and Unreal's 120 s render-thread watchdog ends the title #24525
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 Dark3581 on 2026-11-20T18:50:06Z.
Update (summary): the stop comes from cold NVIDIA builds of 1.2-2.6 M-word compute pipelines on the queue-0 worker (106-1,633 s each), which hold queue 0 and the render thread past the watchdog. They repeat on every boot because AnyPS5's table-call linking (
LinkCalls) writes the callee addresses into the linked code, and the callees move between boots, so the module and the driver cache key change each time. The 14-17 MB shader further down is not the cause. Measurements are in https://github.com/boykopovar/AnyPS5/issues/24525#issuecomment-7053001434. The root cause and a fix direction are in https://github.com/boykopovar/AnyPS5/issues/24525#issuecomment-7059925123. #21708 and #24815 skip dispatches while a pipeline builds, but they do not make the module the same across boots. This issue is open for anyone to pick up.What happens
Between 5 and 10 minutes after boot, after the first level's HUD is shown over a black scene, the title stops with
LowLevelFatalError [File:Unknown] [Line: 1378] GameThread timed out waiting for RenderThread after 120.00 secs.Title, test or build step
PPSA07783 01.000.013
AnyPS5 commit
mainc8eb2aac70, no pull requests on top.System
Windows 10 19045, i5-11600K, RTX 3070 Ti (NVIDIA 621.14), MinGW GCC 15.2.0 (winlibs), Release.
Host report
Steps to reproduce
relinker --windowson the dump (viatools/audit_dump.py), thenAPS5_NO_WGI=1 APS5_LOG_TIMESTAMPS=1 APS5_PAD_INPUT_FILE=<file> jedi.exe, with a Cross press, a forward stick push or a screenshot every 15 s after the first minute. The title shows the intro movies and the loading screen and reaches the first level's HUD.Of 10 runs that were not stopped early, 8 end with the error above, with the title's last log line between +183 s and +477 s. Two runs reached their time limit (620 s and 700 s) without it, still on a black screen.
Log
What was checked
APS5_PROFILE_DRAW=1was set only in a run that did not build it, and its[dispatch] created a pipelinelines (up to 1,241,715 words) took 3-23 ms each.s_cmp_lg_u32 s14, <literal>(bf07ff0e <literal>), in a long series of compares whose literals step by0x10000(0x8f590000,0x8fc60000,0x8fc70000, ...). Between runs, the whole series is shifted by a constant (0x8fc60000,0x78360000,0x767c0000,0x7fc60000). So the title seems to write guest addresses into this program's code at run time. Each boot then gets a different key and recompiles it, and a warm cache never helps, unlike The Exit 9 in #12089.RenderThread 1is in a guest polling loop at0x26b0f80. That loop is called by the occlusion-query result function at0x26b1170(reached from vtable slot0x370, withbWait = 1andGPUIndex = 0xffffffff). The loop spins until bit0x4000000is set in the word at offset0x10of the object atquery + 0x38. That object is reference-counted at offset0x50and returned to a pool by0x272e230, which looks like an Unreal task-graph event. Only then does0x26b11d4sum the 16 slots of 16 bytes atquery + 0x28(end counts minus begin counts).RenderThread 1and all 11TaskGraphThreadHPworkers were in this loop. They waited on 12 different queries that all pointed to one event,0x13e17a08d0. Its word at offset0x10was 0, and none of the 12 queries' result slots held a count with bit 63 set. About two minutes later, the 12 waits were on another event,0x13e0e3f0d0, so the first one did complete.DRAW_INDEX_OFFSET_2and one flip each. Its NOPs took 8,881 ms of each 10 s.queue 0x28 WAIT_REG_MEM ... timed out after 1000msbefore the stall. WithAPS5_DRAIN_ALL=1(two runs), there is no timeout and the title still stops.APS5_STALL_WATCHDOG_SECS=5 APS5_PM4_RING=256(three runs) prints no stall report.NEEDED EXTRA STREAMING BUDGETwarning, printed before most stops, is related.AI-assisted: yes