AGC: agc_driver_direct_write_completion fails on Windows since #13159 #15564
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-03T19:04:03Z.
What happens
Since #13159,
agc_driver_direct_write_completionfails on Windows, on a discrete and on an integrated GPU:AGC graphics: direct write completion: the completion of a buffer write dropped image results recorded after it.Title, test or build step
agc_driver_direct_write_completionAnyPS5 commit
main1e658521a0, nothing merged on top. Bisected over first-parent merges fromb28bb77217(passes):a32a527f2c(first parent of the #13159 merge)8009be68d7(#13159 merge)1e658521a0System
Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (
x86_64-ucrt-posix-seh, r3), Ninja, Release,BUILD_TESTING=ON. NVIDIA GeForce RTX 5070 Ti (10de:2c05, discrete), driver 621.01. AMD Radeon Graphics of a Ryzen 7 7700X (1002:164e, integrated), AMD 26.10.1. Both are in the same machine, andANYPS5_GPUpicks one (confirmed bySelected GPU).Steps to reproduce
The same with
ANYPS5_GPU=Radeon. It fails on every run, in under 2 s.Log
The Radeon prints
15 dropped them. In one parallel full-suite run, the Radeon stopped instead withreplace guest placeholder with private memory: Attempt to access invalid address.What was checked
RequestImportableGds(false). Even so, theVulkanDeviceconstructor now callsPm4::GdsImportable()in the line that probes the GDS host import, and that call maps the GDS (GdsAddress()) while the device is being created, not on first use as before. Locally guarding that line withPm4::ImportableGdsRequested() &&beforePm4::GdsImportable()makes the test pass on the RTX, 3 of 3. So on a discrete GPU, the failure follows the earlier GDS mapping, not the GPU DMA_DATA path.APS5_NO_SHARED_GDS=1.git revert -m 1 8009be68d7does not apply cleanly on1e658521a0, so there is no red check against today'smain.AI-assisted: yes (Claude Code)