AGC (NVIDIA RTX 4060, Windows): agc_storage_write_back_host_retile fails: watched linear write-backs take the scratch route #23942

Closed
opened 2026-11-19 22:33:53 +00:00 by ShootanoJumper · 0 comments
ShootanoJumper commented 2026-11-19 22:33:53 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by ShootanoJumper on 2026-11-19T22:33:53Z.


What happens

agc_storage_write_back_host_retile, added in #21536, fails on every run (3 of 3 alone, and in the full parallel run) on main:

[gpu] storage image 0xfc83f50000: guest memory changed while GPU results were pending; keeping the CPU's blocks
[gpu] storage image 0x200000000: guest memory changed while GPU results were pending; keeping the CPU's blocks
[libc] unhandled exception 'St13runtime_error' thrown from ...
host imports are compared, not watched: storage refresh in watched memory runs as unwatched
write-back padding: ok
(watched) linear 200x150: the linear write-back went through its scratch instead of retiling into the import
(watched) linear 240x135, 2 mips: the linear write-back went through its scratch instead of retiling into the import

With APS5_LINEAR_IMPORT_RETILE_HOST=1, the watched linear cases still take the scratch route here. #21536 was measured on RADV (RX 9060 XT, Linux). This is the NVIDIA proprietary driver on Windows, where the test reports that host imports of write-watched memory are compared rather than watched. The test's route expectations may not account for that path.

AnyPS5 commit

main ed1def4dd4

System

Windows 11 Education 23H2 (10.0.22631), AMD Ryzen 7 5700X, NVIDIA GeForce RTX 4060 (driver 616.56), WinLibs GCC 15.2.0 r7 (x86_64-ucrt-posix-seh), CMake 4.4.4, Ninja 1.13.2, Release. No validation layer.

Steps to reproduce

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
cmake --build build
ctest --test-dir build -R "^agc_storage_write_back_host_retile$" --output-on-failure

agc_storage_write_back (the same executable without the switch) passes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6500420231 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/23942). Originally posted by [ShootanoJumper](https://github.com/ShootanoJumper) on 2026-11-19T22:33:53Z. --- ### What happens `agc_storage_write_back_host_retile`, added in #21536, fails on every run (3 of 3 alone, and in the full parallel run) on main: ``` [gpu] storage image 0xfc83f50000: guest memory changed while GPU results were pending; keeping the CPU's blocks [gpu] storage image 0x200000000: guest memory changed while GPU results were pending; keeping the CPU's blocks [libc] unhandled exception 'St13runtime_error' thrown from ... host imports are compared, not watched: storage refresh in watched memory runs as unwatched write-back padding: ok (watched) linear 200x150: the linear write-back went through its scratch instead of retiling into the import (watched) linear 240x135, 2 mips: the linear write-back went through its scratch instead of retiling into the import ``` With `APS5_LINEAR_IMPORT_RETILE_HOST=1`, the watched linear cases still take the scratch route here. #21536 was measured on RADV (RX 9060 XT, Linux). This is the NVIDIA proprietary driver on Windows, where the test reports that host imports of write-watched memory are compared rather than watched. The test's route expectations may not account for that path. ### AnyPS5 commit `main` `ed1def4dd4` ### System Windows 11 Education 23H2 (10.0.22631), AMD Ryzen 7 5700X, NVIDIA GeForce RTX 4060 (driver 616.56), WinLibs GCC 15.2.0 r7 (x86_64-ucrt-posix-seh), CMake 4.4.4, Ninja 1.13.2, Release. No validation layer. ### Steps to reproduce ``` cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON cmake --build build ctest --test-dir build -R "^agc_storage_write_back_host_retile$" --output-on-failure ``` `agc_storage_write_back` (the same executable without the switch) passes.
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#23942
No description provided.