AGC (Radeon 780M, Windows): agc_driver_depth_plane_partial_store_buffer_copy fails intermittently (22 of 80); the draw at 0.6 passes 64 texels short #13867
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 sharveshprabhu on 2026-10-31T10:19:31Z.
What happens
On a Radeon 780M,
agc_driver_depth_plane_partial_store_buffer_copyfails intermittently ata draw at depth 0.6 did not pass LESS exactly over the unit the guest wrote 0.75 into; when it fails, the draw passes 9152 texels instead of 9216.Title, test or build step
agc_driver_depth_plane_partial_store_buffer_copyAnyPS5 commit
maine8c25dd3ba, nothing merged on top, built with WinLibs GCC 15.2.0 r7 (thebuild.ymlpackage).System
Windows 11 Home 10.0.26300, AMD Ryzen 7 260, AMD Radeon 780M (
1002:1900, driver 32.0.32015.7029) and NVIDIA GeForce RTX 5060 Laptop GPU in the same machine, WinLibs GCC 15.2.0 r7, Release,BUILD_TESTING=ON.Steps to reproduce
ctest already sets
ANYPS5_NO_SHADER_CACHE=1andAPS5_NO_HOST_IMPORT=1for this test. The counts below are from separatectestruns, one test run each, not fromuntil-fail.Log
Run by run, first WinLibs batch (
.passed,Ffailed):Full
ctest -Voutput of a failing run (WinLibs build, paths shortened to<work>)With a temporary print of the draw's result before the
Require(local only), 25 runs on an MSYS2 GCC 16.2 build of the same commit:What was checked
mainonlymainplus a local change equivalent to #13668 (needed for that toolchain to start libkernel)agc_driver_depth_plane_partial_store,agc_driver_depth_plane_partial_store_unimported,agc_driver_depth_plane_cpu_write_after_page_unwatch,agc_driver_depth_plane_cpu_write_after_partial_unwatchandagc_driver_depth_plane_cpu_write_after_memo.RequireUnit(plane, 4, 0.75f, UnitTexels, ...)passes in every failing run. So the shortfall is on the GPU side (plane copy or draw), not in guest memory.DISABLE_VULKAN_OBS_CAPTURE=1: 13 of 40 failed (MSYS2 build).VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_KHRONOS_VALIDATION_VALIDATE_SYNC=true, layer 1.4.363 from MSYS2): 5 runs, 1 failed, noVUID-orSYNC-HAZARDlines. Loader insertion was checked withVK_LOADER_DEBUG=layerin a separate run.VK_ACCESS_TRANSFER_WRITE_BITto the barrier beforevkCmdCopyImageToBufferincopyPlane's buffer path (DepthSurface.cpp): 10 of 40 failed (MSYS2 build).AI-assisted: yes (Claude Code)