Days Gone: Remastered (PPSA28180): boots to gameplay with local patches; CPU-bound at ~9 FPS in the menu and 0.2-2 FPS in game #11376
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 HabibUrRehmanBhattii on 2026-10-26T09:47:06Z.
Title
Days Gone: Remastered (PPSA28180): boots to gameplay with local patches; CPU-bound at ~9 FPS in the menu (GPU idle) and 0.2–2 FPS in game
Environment
0d14468ccon main @ 2026-10-25, with the openperf(agc)PRs #9884 #9897 #9899 #9858 #6340 #9287 #8716 #7484 #11368 stacked.--windows --to-intel --registry, automatic unwrap (SELF eboot + 5sce_modulePRXs → ELF), caches warm (shader_cache/~5.3 GB, pipeline cache 86 MB).savedata0/bendsavegame.ps5.sav, and reaches gameplay (in-game dialogue visible).Stops we had to patch locally to get this far
These are all in our local tree, not from main; listing them so you can tell us which are worth PRs:
sceAmprCommandBufferWriteAddressOnCompletionstill returns EBUSY (0x80020010) when the title plans a 64-byte APR buffer: 40-byte ReadFile + 24-byte WriteAddress completion. With #10936 applied the Nop record is right, butApr::WriteAddressCommandis still 32 bytes (8-byte header + address + value + two u32), so 40+32 > 64. Making the WriteAddress record 24 bytes lets our shader/asset streaming proceed; the other non-Nop records presumably have the same mismatch.libSceAudioOutAV (0xc0000005, "read of -1") is a stack misalignment, not a bad pointer:movaps %xmm3,0xf0(%rsp)atlibSceAudioOut.prx+0xd200fails because the guest→lib call enters withrsp ≡ 0 (mod 16). Same ABI class as #10945; local workaround buildslibSceAudioOutwith-mstackrealign.RuntimeImageModesentry. We addDim3D/Dim2Dwrite-only storage modes (store slice 0,CoordU32/EmitWriteOppad or checkz == 0), mirroring #11120.buffer specialization has an unsupported formatfrom a typed V# with FORMAT 0 (#10831 fixes the store path; a remaining load path still rejects).COMP_SWAP 0: #8563 decodes onlyCOMP_SWAP 2. Standard order decodes toR16_UINT, mapping0xe4, same packer.sceVideoOutGetEventIdthrows on a non-VideoOut event; the title probes it and compares the return toVIDEO_OUT_ERROR_INVALID_EVENT(0x8029000D; callereboot.exe+0x1d38742), so it must return the error code instead of throwing.OpAtomicIAddon the counter, capacity check, noOpAtomicISub), so any draw with more subgroups than slots exhausts withpixel function LDS subgroup slots exhausted. We emit a release from one elected lane in the fragment epilogue and keep the pool at the device'smaxStorageBufferRange(4095 slots, 1 MiB stride).vertex fetch exceeds descriptor record countwith OOB_SELECT 2/3 — fixed by #9915, required for this title as well.Performance profile (the open problem — same class as #10441/#6257)
APS5_PROFILE_DRAW=1, menu, 10 s window: 85 presents; GPU busy 76.6 ms per 10 s; graphics queue worker busy ~83 %.[packets] queue 0x010 s:DRAW_INDEX_2 ×61 238= 5.7 s,DISPATCH_DIRECT ×10 616= 0.7 s,DRAW_INDEX_INDIRECT ×5 950= 0.66 s,WAIT_REG_MEM ×636= 0.59 s.[draw] driver phases: 81 446 draw packets at 86 µs each (Graphics::Draw48 µs, capture 8.9 µs, recompile 9.2 µs, lock wait 8.8 µs).[buffers]: ~60 k GPU copies / 18.9 GB per 10 s out of imports and back (~180 MB per presented frame);[resources]~52 k builds per 10 s, stage B 8.9 s.APS5_DRAW_PIPELINE=1movesGraphics::Drawto 6 µs/packet but the committer becomes the limit (≈8.8 FPS);APS5_DRAW_INPUTS_IN_PLACE=1, larger texture/GPU-copy/DRAM-cache budgets and batch/draw-cache knobs are neutral or worse.So the ceiling here is the CPU draw-recording path, not GPU work.
#9508(APS5_GPU_HEAP) and#7642(APS5_GPU_PATH) are the branches we would try next, but they do not apply onto our tree without rebasing onto newermain.Happy to turn any of items 1–8 into PRs if you want them.