AMM virtual range is reserved in the path of the title's hinted maps: Ratchet & Clank maps over its own AMM command buffers #3146
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 fma-rc on 2026-10-10T23:11:26Z.
On
main91b13413Ratchet & Clank: Rift Apart (PPSA01474 v01.005.003, Linux, RTX 5080) segfaults about 40 s in, insidesceAmprAmmCommandBufferMap, writing through a command buffer object whose base is0xaaaaaaac00000000._ammBasereserves the 64 GiB AMM range wherever the next free address is, here0x12c3000000, straight after the title's last mapping. The title then keeps mapping its own heaps with non-fixed hints at 4 MiB steps (0x12c5000000, ...,0x12c6000000+0x104000). Those hints now fall inside the AMM reservation and, since #2907, are placed there. The title'sAmmCommandBufferobjects live at0x12c6100000. Its firstsceAmprAmmSubmitCommandBuffercarries a map of0x12c60b0000+0x60000, which replaces that memory, and the next map call uses the object at0x12c6100018.With the reservation in
_ammBasegiven a hint of0x4000000000and nothing else changed, the title's heaps land at the same addresses as plain maps, the AMM maps go to0x4000000000+, and the run gets to about 100 s, where it stops on theprepared shader artifact is missing for the requested static ABIerror.I don't know where the console puts the AMM range, so I have not picked an address for a fix.