AGC: agc_driver_pixel_interlock drops one of 64 overlapping interlock writes on RDNA3 (RADV NAVI31) — ~90% of runs, passes on RDNA2 + lavapipe #18770
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 tablefrogpillow on 2026-11-12T07:27:47Z.
What happens
agc_driver_pixel_interlockfails on an AMD RDNA3 GPU (RADV NAVI31). On the non-fault draws, a pixel covered by 64 overlapping primitive-ordered (fragment-shader-interlock) read-modify-writes occasionally counts 63 instead of 64 — one interlocked write is not serialized. The check is exact (core/libs/prx/libSceAgcDriver/tests/execution/PixelInterlock.cpp:208,Require(Counters[pixel] == Layers)withLayers == 64, no tolerance), so one dropped write fails the test.The failing pixel and pass vary run to run, in both wave32 and wave64 passes, e.g.:
Frequency / isolation
This is a different failure from #2009 (closed, fixed by #5804), which was the killed-BDA-fault branch (
PixelInterlock.cpp:196, expected 0 RMWs after a fault). This one is the ordinary serialization branch (expected 64).Environment
radv, Mesa 26.2.6 (kisak-mesa PPA)3a0a54bbd8, Release build,ANYPS5_NO_SHADER_CACHE=1Reproduce
Repeat a few times; roughly 9 in 10 runs print
counted 63 of 64.Note
I have not established whether the dropped write is a RADV NAVI31 issue with
VK_EXT_fragment_shader_interlock(pixelInterlockOrdered) or an AnyPS5 interlock-scoping gap that only NAVI31 exposes — lavapipe and RDNA2 both serialize correctly on this build. Happy to run further diagnostics on this hardware.