[PPSA34501] Unsupported DB_RENDER_CONTROL depth copy (0x84) causes fatal abort #6304
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 alexpournaras on 2026-10-15T10:29:45Z.
Description
When running Call of Duty: Black Ops (PPSA34501), AnyPS5 aborts on a graphics draw with
DB_RENDER_CONTROL = 0x00000084.Skipping the draw locally avoids the fatal error, but also skips the depth-copy operation. This is a temporary workaround, not a proper fix.
Error
Environment
0x9a4a8000Reproduction
main.Local workaround
In
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPrecheck.cpp:This prevents the immediate abort by discarding the draw. The condition also matches other register combinations and should not be treated as a safe general workaround.
Captured draw state
The captured draw uses:
DB_RENDER_CONTROL = 0x84appears to setDEPTH_COPY(0x4) andCOPY_CENTROID(0x80).The operation appears to copy depth values into the color output for the covered pixels. Skipping it may leave the destination without the expected data.
Expected behavior
Support this depth-copy operation while preserving draw coverage and scissor behavior, rather than skipping the draw. A register-based implementation could also benefit other titles using the same operation.
I don't currently have a validated implementation to submit. I'm experimenting with a local implementation, but haven't confirmed correct rendering or GPU output yet.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-15T14:53:25Z.
#5499 (open, by @codingreapermaps) implements this draw: it runs a
DB_RENDER_CONTROL.DEPTH_COPYdraw as a compute pass that copies one depth sample into an R32 float color target. Its PR body names Transport Fever 2 (PPSA12361) as the target, which uses the same0x84value.Going by its
DecodeDepthCopyPass, the state you captured matches what it accepts. It takes0x84(depth copy withCOPY_CENTROID, no stencil copy, clear, resummarize or decompress), no depth or stencil tests, aZ_32_FLOATdepth plane, writes to the red channel of color target 0 only, and a single-sample R32 float target the size of the depth surface. A single-sample source is allowed, and the copied sample is 0. It still throws when the viewport and scissor don't cover the whole surface or whenPA_SC_AA_MASKisn't full, and your capture doesn't show those two.I haven't run PPSA34501, so this is only from reading the code. It might be worth trying #5499 in place of the skip.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by alexpournaras on 2026-10-16T14:39:43Z.
@milescoviello, I tested PPSA34501 from
mainwith PR #5499 plus #5956, and successfully reached the game's main menu. This resolves the issue. Thanks!Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-16T14:46:57Z.
Great, thanks for testing! That is useful evidence for #5499 itself. If you can, post the same result there (title,
maincommit, that it needed #5956 too, and your RTX 2060 / Windows setup), since a second title helps it get merged. This issue can then close when #5499 lands.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by mehmetbayoglu on 2026-10-17T00:55:33Z.
I solved the same issue today I can play menu 30 fps cutscenes 60 fps kino der toten avrage 20-30 low 15 high 45
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T01:00:42Z.
Thanks for sharing the gameplay results. Does this refer to PPSA34501? If so, what code tree or PRs did you test? If #5499’s depth-copy implementation was included, could you add the exact main head, change commits, and system/build details to #5499? That would let reviewers connect the gameplay result to the proposed implementation. The earlier main-menu report is useful, and this could add further title evidence once the tested tree is clear.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-17T17:19:13Z.
The same stop shows up on another region of the title, and on Linux. Call of Duty: Black Ops (PPSA34502), Ubuntu 24.04, RTX 4070 Ti (NVIDIA 595.99.02),
main66702f1cfwith a local logging change only, cold cache, scripted pad input. It aborts 15 s after start, at the first draw with this register value:So this isn't specific to Windows or to PPSA34501. I haven't tried #5499 on it: that PR conflicts with
mainright now.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T17:34:43Z.
Thanks for the second title and Linux/NVIDIA reproduction. This confirms the unsupported
DB_RENDER_CONTROL=0x84stop is not limited to PPSA34501 or Windows. The existing implementation is still being worked through in PR #5499; its current review specifically calls out the single-sample D32 source in your report, because the existingsampler2DMSpath cannot safely handle it. I would not open a parallel patch while that PR is being updated. If you can, please add the exact game version and the full first-draw register state to #5499 when the single-sample handling is ready to test.AI-assisted: yes