Windows: agc_driver_linear_target_import_creation fails every run since #10443 (private gate expects a 1 MiB settle floor) #26650

Closed
opened 2026-11-24 13:33:42 +00:00 by Plyxen · 0 comments
Plyxen commented 2026-11-24 13:33:42 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-11-24T13:33:42Z.


What happens

agc_driver_linear_target_import_creation fails every run on Windows with AGC graphics: private gate: a color target's import of direct memory under the settle floor was made where it would be compared.

Title, test or build step

ctest agc_driver_linear_target_import_creation

AnyPS5 commit

main e68be05111, nothing merged on top. It fails the same way at eb4300802c with only the fix for #26649 on top.

System

Windows 11 Pro 10.0.26200, WinLibs GCC 15.2.0 r7. Both GPUs of the machine: AMD Radeon gfx1036 iGPU 1002:13c0 (Adrenalin 26.11.2, Vulkan driver 2.0.353) and NVIDIA RTX 5080 (621.24).

Steps to reproduce

$env:ANYPS5_REQUIRE_VULKAN = '1'
$env:ANYPS5_NO_SHADER_CACHE = '1'
ctest --test-dir build -R '^agc_driver_linear_target_import_creation$' -V

It stops within 3 s.

Log

[write-watch] host imports of write-watched memory keep the write watch: yes (...); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking
linear target import reuse passed
AGC graphics: private gate: a color target's import of direct memory under the settle floor was made where it would be compared

What was checked

Radeon RTX 5080
e68be05111 fails fails
e68be05111 with APS5_SETTLE_FLOOR_KIB=1024 passes passes
  • PrivateGate in tests/execution/LinearTargetImportCreation.cpp forces ImportWatch::Unwatch, asks for a colour target import inside a 512 KiB block of direct memory (ResidentBytes / 4) and requires that none is made, because an import under the settle floor would be compared.
  • Since 71dad17b46 (#10443) the floor is 64 KiB plus one byte in place of 1 MiB, and 512 KiB lies between the two. As I read it, the import of that block now settles at the import and is made; I confirmed only that the old floor makes the test pass, not the size of the import.
  • #10443 gave agc_import_settle_retire, agc_import_settle_initial_dcc and agc_import_settle_initial_dcc_committer APS5_SETTLE_FLOOR_KIB=1024; this test was not among them.

I have not sent a fix: whether the test should keep the old floor through the environment, as those three do, or move its target under the new floor is a choice about what the gate should cover now. I can send either.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6582965224 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/26650). Originally posted by [Plyxen](https://github.com/Plyxen) on 2026-11-24T13:33:42Z. --- ### What happens `agc_driver_linear_target_import_creation` fails every run on Windows with `AGC graphics: private gate: a color target's import of direct memory under the settle floor was made where it would be compared`. ### Title, test or build step ctest `agc_driver_linear_target_import_creation` ### AnyPS5 commit `main` `e68be05111`, nothing merged on top. It fails the same way at `eb4300802c` with only the fix for #26649 on top. ### System Windows 11 Pro 10.0.26200, WinLibs GCC 15.2.0 r7. Both GPUs of the machine: AMD Radeon gfx1036 iGPU `1002:13c0` (Adrenalin 26.11.2, Vulkan driver 2.0.353) and NVIDIA RTX 5080 (621.24). ### Steps to reproduce ``` $env:ANYPS5_REQUIRE_VULKAN = '1' $env:ANYPS5_NO_SHADER_CACHE = '1' ctest --test-dir build -R '^agc_driver_linear_target_import_creation$' -V ``` It stops within 3 s. ### Log ``` [write-watch] host imports of write-watched memory keep the write watch: yes (...); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking linear target import reuse passed AGC graphics: private gate: a color target's import of direct memory under the settle floor was made where it would be compared ``` ### What was checked | | Radeon | RTX 5080 | |---|---|---| | `e68be05111` | fails | fails | | `e68be05111` with `APS5_SETTLE_FLOOR_KIB=1024` | passes | passes | - `PrivateGate` in `tests/execution/LinearTargetImportCreation.cpp` forces `ImportWatch::Unwatch`, asks for a colour target import inside a 512 KiB block of direct memory (`ResidentBytes / 4`) and requires that none is made, because an import under the settle floor would be compared. - Since `71dad17b46` (#10443) the floor is 64 KiB plus one byte in place of 1 MiB, and 512 KiB lies between the two. As I read it, the import of that block now settles at the import and is made; I confirmed only that the old floor makes the test pass, not the size of the import. - #10443 gave `agc_import_settle_retire`, `agc_import_settle_initial_dcc` and `agc_import_settle_initial_dcc_committer` `APS5_SETTLE_FLOOR_KIB=1024`; this test was not among them. I have not sent a fix: whether the test should keep the old floor through the environment, as those three do, or move its target under the new floor is a choice about what the gate should cover now. I can send either. 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#26650
No description provided.