Skip to content

docs(usage): name PPSA10112 as a title that needs APS5_STORE_AT_FLIP - #7358

Closed
klosixgaming-arch wants to merge 1 commit into
boykopovar:mainfrom
klosixgaming-arch:docs/store-at-flip-ppsa10112
Closed

klosixgaming-arch wants to merge 1 commit into
boykopovar:mainfrom
klosixgaming-arch:docs/store-at-flip-ppsa10112

Conversation

@klosixgaming-arch

Copy link
Copy Markdown
Contributor

What

SILENT HILL: The Short Message (PPSA10112, 01.000.001, Unreal Engine 5) stops at its title menu on current main:

FATAL: unhandled exception 0xc0000005 on thread 50116 'FAsyncLoadingThread'
  rip 0x0000000141515c2f app.exe+0x1515c2f
  read of 0x0000000000000000

app.exe+0x1515c2f is in the title's package loader. It reads the package header through r15 (0x206dd30000 in the run with the event recorder below). The whole header there is zero, so the loader skips building the package's name map and then reads through the null name-map pointer.

With APS5_STORE_AT_FLIP=1 the title gets past the menu, starts a new game and reaches gameplay. This adds one sentence to the existing "Storing GPU results at each flip" section of USAGE.md that names the title and the stop, so users who hit it find the setting.

Why I think this is the late store that section describes (#1970) and not a file read problem: I recorded the last 16,384 APR events (reads with offset, size and destination, completion writes, kernel events) in a local diagnostic build and printed them in the crash report. None of the APR reads in that window wrote to the zeroed header. The title reads the compressed chunk with APR into a different buffer 16 ms before the crash (0xad236 bytes from pakchunk0-ps5.ucas), and Oodle is linked into the eboot, so I take the zeroed header to be the title's own decompression output, written by the CPU into memory that a late GPU store then overwrites. I have not traced which storage image owned that memory. #6926, which waits for GPU writes before a host write, does not change this: with it applied, the title still stopped in FAsyncLoadingThread.

Tested

Windows 11, WinLibs GCC 15.2.0, RTX 5090 (NVIDIA 617.42), Ryzen 9 9950X3D. PPSA10112 01.000.001, eboot and the 40 bundled modules unwrapped with tools/unwrap_self.py, APS5_PLAYGO_UNLISTED_CHUNKS=absent (the dump has no PlayGo files), warm shader cache.

Build Setting Result
main 2788ed5 none stop at the title menu, app.exe+0x1515c2f, zero header
main 2788ed5 + local APR event recorder none same stop, same address
main f1af6c5 + #6926 none stop in FAsyncLoadingThread at the menu (libc.prx.guest.prx+0x13a36)
main f1af6c5 APS5_STORE_AT_FLIP=1 past the menu, new game, walking around in gameplay; left running for more than 70,000 frames, no stop

The first run of the title, with a cold shader cache on an older main (66702f1), stopped at the same address after the intro brightness screen. One run with APS5_STORE_AT_FLIP=1 is a small sample; the stop without it happened in every run on a warm cache.

tools/check_conventions.py --base main passes. Documentation only.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: PPSA10112 SILENT HILL: The Short Message (PPSA10112) #7305
  • GPUs tested: n/a (documentation)
  • AI-assisted: yes. Written with AI assistance and reviewed by me.

SILENT HILL: The Short Message (PPSA10112) stops at its title menu in
FAsyncLoadingThread on a package header that reads back as zeros, the
late storage-image store described under Storing GPU results at each
flip. With APS5_STORE_AT_FLIP=1 it reaches gameplay.
@klosixgaming-arch

Copy link
Copy Markdown
Contributor Author

Second run with APS5_STORE_AT_FLIP=1, same machine and main f1af6c5: past the title menu, into a new game and walking around, about two minutes, no stop. That makes 2 of 2 runs reaching gameplay with the setting, against stops at the title menu in every warm-cache run without it (between about 47 seconds and 4 minutes after start).

AI-assisted: yes. Written with AI assistance and reviewed by me.

@oneandonlydean

oneandonlydean commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for tracking this down, the APR event trace is a really useful piece of evidence. We don't name specific titles in the docs, though: USAGE.md describes the settings in general terms, and per-game findings live in the Game bring-up discussions.

Your bring-up thread is the right home for this: #7305. Please add the crash, the APS5_STORE_AT_FLIP=1 workaround and your analysis there, so anyone playing it finds the setting. Closing this one for that reason.

@github-actions

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 3998 docs/user/USAGE.md
PR 4891 docs/user/USAGE.md
PR 5021 docs/user/USAGE.md
PR 5925 docs/user/USAGE.md
PR 6111 docs/user/USAGE.md
PR 6171 docs/user/USAGE.md
PR 6788 docs/user/USAGE.md
PR 6946 docs/user/USAGE.md
PR 6947 docs/user/USAGE.md
PR 7332 docs/user/USAGE.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants