Repository navigation
The game which must not be named (PPSA38500) #27523
Replies: 5 comments 1 reply
|
Related pull requests and issues for this title — tracking comment, updated as work lands:
The CLZERO PR is the self-contained one and first in the dependency order — the memory-system investigation builds on runs that only reach deep initialization because of it. A fix for #27525 is in preparation following the analysis in the issue comments. |
|
Update: PR #27543 — Both pull requests are now in review:
Remaining known wall after both: the title's 30-second hang watchdog still fires because worker threads stall on a separate mechanism (not memory — under investigation; crash-report thread states are inconclusive because the reporter's multithreaded output interleaves). That is the next diagnosis target. |
|
Boot progress update on PPSA38500 — the title now reaches a live rendering loop. Boot depth achievedPast all memory walls, GPU init, save-data enumeration and trophy-system parsing ( Frame times (window-title FPS counter, sampled every 20 s)
The registration-time shader deferrals (462) all resolve at use time — zero use-time failures — so the recompiler defer-and-retry path works as designed. The plateau's constant per-frame cost is consistent with MWAITX sites trapping through the vectored exception handler in hot loops; the static Current known gaps (both root-caused, fixes in flight)
Walls cleared to get here
AI-assisted: yes. |
|
Update — frame-rate root cause solved, plus the boot read profile and the black-screen RCA for anyone else working on this title. Frame times, final comparison
The constant ~1.1 s/frame was MWAITX sites in the frame-pacing loops faulting on every iteration. Static lowering eliminates it entirely — the title runs at its natural 30 fps cap with no other changes. Conversion of this binary requires both PRs: #27560 alone dies at Boot read profile (full APR trace of the boot path, ~3500 reads)Useful for anyone building a minimal bootable dump. Reads during boot reach deep into the large archives but touch little unique data:
Total unique data read during boot: ~642 MB, dominated by small scattered index/table reads in the big archives. The boot does not stream bulk level/world data — deep reads are metadata. Black-screen RCA — check your dump before suspecting renderingThe presentation loop ran live for 200+ frames (FLIPs, PM4 ring active) with a completely black output. The cause was not emulation: this dump's large archives are sparse-backed beyond small head regions, so every deep read silently returned zeros — the renderer correctly composited zero-filled assets. If you reproduce this boot and see black frames with a healthy game loop, verify what your reads actually return before investigating the GPU path — the emulation was never at fault. Shader pipeline evidence agreed: 462 registration-time deferrals, zero use-time compilation failures; the defer-and-retry mechanism works as designed on this title. Boot depth summary for the recordPast memory walls (arena carve semantics — nested FIXED|NO_OVERWRITE reservations inside the title's own 288 GB arena, evidence on #27543), past MONITORX, through save-data enumeration and trophy parsing, into a stable presentation loop at frame cap. Remaining boot milestones are asset-population-dependent, not emulation-dependent. AI-assisted: yes. |
|
Update — the frame-freeze root cause is now fully traced and escalated upstream as a recompiler design question. Summary of the investigation arc since the 29.97 fps milestone: The freeze mechanism, end to endThe freeze that kills boots deep into gameplay (frame counter stops, then the title's own 30-second watchdog force-crashes the process) is caused by shader compilation failures, not GPU queue mechanics:
Evidence qualityAll 312 failing shader preparations were captured standalone ( Why this is hard — the helper-lane problemEvery failing shader in this title is a pixel shader with helper lanes live (verified across all 312 captures). Helper lanes participate in ballots, so the scan keys are genuinely data-dependent in ways the host subgroup cannot reproduce — this is not a proof-strength gap that more budget or a narrower rule can close; it is a recompiler design question about how guest helper lanes and cross-subgroup lane access map onto host subgroup operations. The upstream maintainer has taken exactly that question to the other maintainers (see #27758 for the full technical thread, including a stage-numbering correction: the interface Current boot statusUnchanged from the last update: with the static AI-assisted: yes. |
Uh oh!
There was an error while loading. Please reload this page.
Existing thread
viat vi #27329 has no content; searches forPPSA38500in discussions, issues and PRs found nothing.)Title
PPSA38500
Content version tested
01.002.001
AnyPS5 commit
commit 97319cf (upstream main, 2026-11-26), locally built with the Windows relinker path
System tested
Furthest point
Engine initialization: asset streaming active, GPU command submission active, no frames yet.
Status
The import audit against current main is unusually clean for a title this size: 881 unique imports across eboot and the two bundled modules, zero absent, zero stub, 650 implemented, 41 partial (the bulk being
sce::Jsoninternals plus small clusters in AjM, Http2, Net, VideoOut flip-master, PSML MFSR2, Ampr). Every needed library has a built.prx.The boot sequence, established with
--trace-importsconversions plusAPS5_TRACE_CALLS=all,APS5_TRACE_APR=1andAPS5_TRACE_MEMORY=1:data//download0/created.scePlayGoInitialize/Open/GetChunkId) and resolves its resource archives one at a time throughsceKernelAprResolveFilepathsWithPrefixToIdsAndFileSizes. Resolution is existence-based, so every archive path must exist in the runtime layout.sceAmprAprCommandBufferReadFile) and registers resources; after registration it streams real content (deep reads indata.rpf,common.rpf, audio concat)./download0/cloudcache/,/temp0/telemetrycache.dat). Runs of 20-60+ seconds with thousands of archive reads.Layout notes for anyone reproducing
.rpfthe game resolves must exist, including the_concat.rpfbulk companions. Resolution only stats the files, so sparse files with the correct logical size satisfy it; boot-time index parsing only reads the first few KB-MB of each concat, so a real head plus a sparse tail is enough for this stage (full content is needed once streaming reaches deep offsets)..rpffiles and thepack/*hierarchy are all required and cheap.app0/sce_sys/playgo-*.datmust be present; PlayGo queries precede resolution.Walls hit and cleared
int 0x41); root-caused through traced calls to APR resolution failing on absent files. Cleared by completing the layout as above.STATUS_ILLEGAL_INSTRUCTION.--to-intelconversion fails on this binary (Branch enters an AMD-only instruction, offset 0x22e111) because a branch target lands inside the instruction region the trampoline overwrite would move. Cleared locally by emulating CLZERO in the crash handler the same way SSE4a EXTRQ/INSERTQ are already emulated (decode0f 01 fc, zero the 64-byte line atrax & ~63, resume). Works, but per-instruction fault handling is slow in bulk-zero loops.Current blocker
Nondeterministic, varies per run:
std::runtime_error: fixed mapping 0xf000000000+0xd00000 overlaps a registered guest allocation 0xb617000000+0x41e9000000— the game fixed-maps inside its own large virtual reservation; the allocation bookkeeping rejects the overlap and the host exception escapes across the library boundary asterminate. Memory traces show the reserve+remap-fixed arena pattern otherwise working repeatedly, so this is a specific interaction (NoOverwrite flag path or GPU pinning preventing the unmap).app.exe+0x848c55a, write of 0x0), timing-dependent — looks like thread-startup state racing.How it was run
with the audit-assembled runtime layout, and observability env
APS5_TRACE_CALLS=all APS5_TRACE_APR=1 APS5_TRACE_MEMORY=1.Two small local patches were needed for the above and are being upstreamed: CLZERO emulation in the Windows crash handler, and resolve-failure logging under the existing
APS5_TRACE_APR(the resolution failure was invisible before; only reads were traced). The memory-mapping overlap is still being diagnosed.All reactions