agc_driver_store_over_untracked is flaky on Windows: the second-store case sometimes finds no saved guest bytes #22670
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 MichonGoddijn231849 on 2026-11-18T01:14:05Z.
On Windows the
agc_driver_store_over_untrackedexecution test fails intermittently onmain(378945815f) in its "a second store over a surface outside the write watch" case (RunSecondStore):After the first store is flushed and read back,
image->GuestSnapshotValid()is sometimes false, so the case returnsOutcome::Lostand the finalRequire(kept, ...)fails.agc_driverrun (ctest -j 8)ctest)It is not a completion race the test can wait out: calling
AgcDriverWaitIdle_nid_postfix()between the first read-back and theGuestSnapshotValid()check did not help (8 of 40 NVIDIA runs and 2 of 40 AMD runs still failed, all with the same message), so the saved bytes are sometimes not taken at all rather than taken late.Also on Windows, four other cases of the same test always print
not run, the surface is not write-watched(a surface that left the write watch,... written before it left the write watch,... whose import left the write watch,... whose first block left the write watch with the page before it), so they do not run there.Reproduce: build
tests/agc_driver_store_over_untracked_tests.exe, putbuild/core/libs/libs/unpatchedonPATHand run it in a loop withANYPS5_GPU=NVIDIA ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1.AI-assisted: yes (Claude Code)