agc_driver_image_table_reuse fails on Windows since #6346: the Windows-only CpuWriteResolutions is stale #7710

Closed
opened 2026-10-19 02:08:34 +00:00 by MaxLikesCode · 0 comments
MaxLikesCode commented 2026-10-19 02:08:34 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MaxLikesCode on 2026-10-19T02:08:34Z.


What

agc_driver_image_table_reuse fails on Windows on main since #6346:

AGC graphics: image table reuse: a CPU write collected in a new epoch, then two dispatches: 2 reused and 1 resolved tables, expected 1 and 2

The Windows CI job builds only three execution tests (ANYPS5_AGC_EXECUTION_TESTS), so CI does not run this one.

Cause

The test expects one more table resolution on Windows than on Linux:

#ifdef _WIN32
constexpr std::uint64_t CpuWriteResolutions = 2;
#else
constexpr std::uint64_t CpuWriteResolutions = 1;
#endif

The extra Windows resolution came from a CPU write elsewhere in the table's 64 KiB block failing the block-wide unchanged proof. #6346 answers those proofs per page, so on Windows the write beside the table no longer fails it, and the count is now the Linux one.

  • A first-parent bisect between 763ad20fc (the merge that added the test, which passes) and ad502d717 ends at 8f49a8995, the merge of #6346. Its parent 84c1a4d9a passes 2 of 2 and the merge fails 2 of 2.
  • On ad502d717 with CpuWriteResolutions = 1 on Windows too, the whole test passes 4 of 4.
  • #6273 makes the same change to the test, but it conflicts with main now.

Environment

NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, ANYPS5_AGC_EXECUTION_TESTS empty.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5916578477 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7710). Originally posted by [MaxLikesCode](https://github.com/MaxLikesCode) on 2026-10-19T02:08:34Z. --- ### What `agc_driver_image_table_reuse` fails on Windows on `main` since #6346: ``` AGC graphics: image table reuse: a CPU write collected in a new epoch, then two dispatches: 2 reused and 1 resolved tables, expected 1 and 2 ``` The Windows CI job builds only three execution tests (`ANYPS5_AGC_EXECUTION_TESTS`), so CI does not run this one. ### Cause The test expects one more table resolution on Windows than on Linux: ```cpp #ifdef _WIN32 constexpr std::uint64_t CpuWriteResolutions = 2; #else constexpr std::uint64_t CpuWriteResolutions = 1; #endif ``` The extra Windows resolution came from a CPU write elsewhere in the table's 64 KiB block failing the block-wide unchanged proof. #6346 answers those proofs per page, so on Windows the write beside the table no longer fails it, and the count is now the Linux one. - A first-parent bisect between `763ad20fc` (the merge that added the test, which passes) and `ad502d717` ends at `8f49a8995`, the merge of #6346. Its parent `84c1a4d9a` passes 2 of 2 and the merge fails 2 of 2. - On `ad502d717` with `CpuWriteResolutions = 1` on Windows too, the whole test passes 4 of 4. - #6273 makes the same change to the test, but it conflicts with `main` now. ### Environment NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON`, `ANYPS5_AGC_EXECUTION_TESTS` empty. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#7710
No description provided.