AGC (Windows, NVIDIA): agc_driver_msaa_dcc_clear_2/4/8 and agc_driver_native_depth_publication fail since #15967 #18113

Closed
opened 2026-11-10 13:31:23 +00:00 by NathanFahey23 · 0 comments
NathanFahey23 commented 2026-11-10 13:31:23 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by NathanFahey23 on 2026-11-10T13:31:23Z.


What happens

Four AGC tests fail on Windows since #15967: agc_driver_msaa_dcc_clear_2/_4/_8 ("a same-value CPU color store did not invalidate multisampled DCC residency") and agc_driver_native_depth_publication ("a native depth publication overwrote a byte the guest stored").

Title, test or build step

ctest: agc_driver_msaa_dcc_clear_2, agc_driver_msaa_dcc_clear_4, agc_driver_msaa_dcc_clear_8, agc_driver_native_depth_publication

AnyPS5 commit

main 356bf9296b (also b12b49a6e7); passed on d03beaf110

System

Windows 11 Home 10.0.26300, WinLibs GCC 15.2.0 UCRT posix-seh r7 (Release), RTX 4080 (NVIDIA 32.0.16.2101)

Host report


Steps to reproduce

With ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1 (and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, which reports no VUID- errors):

ctest --test-dir build -R "^(agc_driver_msaa_dcc_clear_[248]|agc_driver_native_depth_publication)$" -V

Each test stops in about a second. All four fail, one test at a time.

Log

1987: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency
1990: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency
1993: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency
2315: [gpu] native multisample depth 0x200000000+0x30000 aliases multisampled colour target 0x200000000+0x20000 (vk format 9, 4 samples), newest drawn
2315: AGC graphics: a native depth publication overwrote a byte the guest stored

What was checked

  • Reverting the #15967 merge (7162a53177, "skip never-written guest pages in Windows heap mirror zero scans") on 356bf9296b with git revert -m 1 makes all four pass, 4 of 4, same build directory and machine.
  • Reverting the #16411 merge (60b58322c0) instead does not help: the same four still fail.
  • They passed on main d03beaf110 (2026-11-09) and fail on b12b49a6e7 and 356bf9296b (2026-11-10).
  • Both failing checks are about a guest CPU store that the driver did not see, which fits a page being treated as never written. I have not looked for the exact path.
  • Each state was run once (four tests each). I have not tried another GPU vendor or Windows build.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6307868668 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/18113). Originally posted by [NathanFahey23](https://github.com/NathanFahey23) on 2026-11-10T13:31:23Z. --- ### What happens Four AGC tests fail on Windows since #15967: agc_driver_msaa_dcc_clear_2/_4/_8 ("a same-value CPU color store did not invalidate multisampled DCC residency") and agc_driver_native_depth_publication ("a native depth publication overwrote a byte the guest stored"). ### Title, test or build step ctest: agc_driver_msaa_dcc_clear_2, agc_driver_msaa_dcc_clear_4, agc_driver_msaa_dcc_clear_8, agc_driver_native_depth_publication ### AnyPS5 commit main 356bf9296b (also b12b49a6e7); passed on d03beaf110 ### System Windows 11 Home 10.0.26300, WinLibs GCC 15.2.0 UCRT posix-seh r7 (Release), RTX 4080 (NVIDIA 32.0.16.2101) ### Host report ```text ``` ### Steps to reproduce With `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1` (and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, which reports no `VUID-` errors): `ctest --test-dir build -R "^(agc_driver_msaa_dcc_clear_[248]|agc_driver_native_depth_publication)$" -V` Each test stops in about a second. All four fail, one test at a time. ### Log ```text 1987: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency 1990: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency 1993: AGC graphics: a same-value CPU color store did not invalidate multisampled DCC residency 2315: [gpu] native multisample depth 0x200000000+0x30000 aliases multisampled colour target 0x200000000+0x20000 (vk format 9, 4 samples), newest drawn 2315: AGC graphics: a native depth publication overwrote a byte the guest stored ``` ### What was checked - Reverting the #15967 merge (7162a53177, "skip never-written guest pages in Windows heap mirror zero scans") on 356bf9296b with `git revert -m 1` makes all four pass, 4 of 4, same build directory and machine. - Reverting the #16411 merge (60b58322c0) instead does not help: the same four still fail. - They passed on main d03beaf110 (2026-11-09) and fail on b12b49a6e7 and 356bf9296b (2026-11-10). - Both failing checks are about a guest CPU store that the driver did not see, which fits a page being treated as never written. I have not looked for the exact path. - Each state was run once (four tests each). I have not tried another GPU vendor or Windows build. AI-assisted: yes.
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#18113
No description provided.