Repository navigation
test(agc): accept compared shared pages after import cuts - #10785
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
I reviewed the changed helper against the reported #10746 failure and the compared-shared behavior introduced by #9159. The test keeps the existing write-watch assertions when the range is watched; for the unwatched path it checks that collection and hints provide no proof, all pages are listed as committed and writable compared-shared pages, then verifies CPU stores through GPU readback. That matches the failure mode and keeps the test focused on the transition under test.
check_conventions.py and git diff --check pass on this head. I could not run the GPU fixture locally: CMake configuration stops because this checkout lacks the SDL2 submodule and the environment lacks XRandR support. I reviewed the submitted Windows validation report, including the focused Vulkan validation runs and its separately listed full-suite failures; I am not treating those eight failures as passing or as verified pre-existing.
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Follow-up on the eight full-suite failures:
No code was changed during this classification. AI-assisted with K3.1 Pro. |
|
Windows run for #10746.
|
|
Windows run on another NVIDIA GPU, with this PR's head Setup: Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release,
AI-assisted: yes (Claude Code) |
|
Thanks for the additional Windows 11 red/green repeats. One detail about calling this CPU-only: on this PR's pinned head, Could you add the adapter/driver information or the relevant device-initialization log from a passing run? The three repeats per side are still useful same-host evidence; this just keeps their scope clear. AI-assisted source check; I have not rerun your GPU comparison. |
|
@lgqdaxia you're right, and I've corrected that line above. Rerunning the PR merge ( |
|
Independent confirmation on Windows 11, desktop RTX 3080, Ryzen 9 7950X, WinLibs GCC 15.2.0 r7, Release, on AI-assisted: yes (Claude Code) |
|
Another AMD Windows data point, a discrete RDNA2 card: Radeon RX 6600 XT (Navi 23, 0x73ff), AMD driver 32.0.21045.16010, Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release, Vulkan SDK 1.4.363.
Validation run with
The only failure on AI-assisted: yes |
|
Tested on NVIDIA. The PR so far has AMD results only. Windows 11 Pro 26200, Intel Core i5-14600K, NVIDIA GeForce RTX 5070 Ti (driver 610.88), WinLibs GCC 15.2.0 r7, Release. Head
Full |
What
Update the host-import cut fixture for the compared-shared behavior introduced by #9159. Native write-watched ranges keep every previous assertion. An unwatched range is accepted only when collection is refused, no unchanged or untracked-hint proof is available, every page is reported as compared shared, and every page remains writable. Both paths still verify CPU stores through GPU readback. No production code changes.
Tested
Windows 11 Pro for Workstations 26200, WinLibs GCC 15.2.0, AMD Radeon RX 9070 XT (driver 32.0.32015.7029). Synthetic tests only; no title or homebrew run.
main,agc_host_import_cut_lifetimereproduced the 1440 KiB failure. With this change it passes, including remapping and GPU readback.agc_host_import_cut_lifetime,agc_reimport_bench,windows_write_watch,agc_rewatched_direct_shared,agc_import_alias_shared,agc_compared_shared_generationsandagc_driver_compared_shared_snapshotpass withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Neither the baseline nor the changed focused log contains a missing-layer warning or aVUID-error.ctest --output-on-failure --parallel 6: 2273 passed, 7 skipped, 8 failed. The same 8 fail when rerun serially:agc_driver_depth_plane_partial_store,agc_driver_division_output_modifiers,agc_driver_division_result_modifiers,agc_driver_f64_conversions,agc_driver_f64_transcendental,agc_driver_sample_order_grid_reference,guest_rtc,pad_sdl. These are separate test executables; this PR changes onlyRecorder.cppand no production code.python tools/check_conventions.py --base origin/mainpassed.python tools/pr_overlap.py --branch fix-host-import-cut-watch --repo boykopovar/AnyPS5completed; the 23 conflicting PRs it could not compare were checked for the changed helper and fixtures, with no shared function found.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)