AGC (Windows, AMD Vega): agc_driver_recorded_draw_staging crashes in amdvlk64.dll on main #18480

Closed
opened 2026-11-11 17:48:39 +00:00 by Ethan-Hainline · 0 comments
Ethan-Hainline commented 2026-11-11 17:48:39 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Ethan-Hainline on 2026-11-11T17:48:39Z.


What happens

agc_driver_recorded_draw_staging crashes on Windows with the AMD proprietary driver, on unmodified main. It does not skip there; the Vega driver supports the host write-watch the test needs, so the test runs and faults.

Title, test or build step

agc_driver_recorded_draw_staging (agc_driver_recorded_draw_staging_tests).

AnyPS5 commit

main f57c971559, nothing merged on top.

System

Windows 11 Pro 10.0.26300, Ryzen 5 7530U, Radeon Vega 15e7 (GCN), AMD proprietary driver 23.19.24.04, WinLibs GCC 16.2.0 UCRT, Release, BUILD_TESTING=ON.

Steps to reproduce

$env:ANYPS5_GPU = "AMD"
$env:ANYPS5_REQUIRE_VULKAN = "1"
$env:ANYPS5_NO_SHADER_CACHE = "1"
$env:APS5_NO_PIPELINE_JOURNAL = "1"
ctest --test-dir build -R '^agc_driver_recorded_draw_staging$' --output-on-failure

It faults within a few seconds. Repeating it is enough; no title is involved.

Log

FATAL: unhandled exception 0xc0000005 on thread 8380 ''
  rip 0x00007ffbe8fb1fd4 amdvlk64.dll+0x21d1fd4
  read of 0x00000230a92a3000

The process then sometimes hangs after the fatal report (a direct run with a 180 s cap had to be killed). One repeat exited 0xC0000374 (heap corruption) after the same amdvlk64.dll fault area; another repeat hung after the 0xc0000005 report.

What was checked

  • The crash is not from a pending PR: unmodified main f57c971559 reproduces it (3 runs: 0xC0000005, 0xC0000374, and a hang after the fault).
  • agc_driver_overlap_staged_copies, agc_driver_partially_resident_snapshot, agc_driver_prepared_publication, agc_driver_resident_heap_mirror, agc_driver_recorder, agc_buffer_pool and agc_adaptive_staging all pass 3/3 on the same machine, so the device and the rest of the AGC suite work.
  • On lavapipe this test is skipped (lavapipe does not keep host imports write-watched), which is why CI and the PR that touched it could not see this path. The fault is in amdvlk64.dll during the write-watch/staging work, not in the test's argument handling.
  • I have not tried another AMD driver or another AMD GPU, so whether it is driver-version-specific is unknown.

AI-assisted.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6334095758 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/18480). Originally posted by [Ethan-Hainline](https://github.com/Ethan-Hainline) on 2026-11-11T17:48:39Z. --- ### What happens `agc_driver_recorded_draw_staging` crashes on Windows with the AMD proprietary driver, on unmodified `main`. It does not skip there; the Vega driver supports the host write-watch the test needs, so the test runs and faults. ### Title, test or build step `agc_driver_recorded_draw_staging` (`agc_driver_recorded_draw_staging_tests`). ### AnyPS5 commit `main` `f57c971559`, nothing merged on top. ### System Windows 11 Pro 10.0.26300, Ryzen 5 7530U, Radeon Vega 15e7 (GCN), AMD proprietary driver 23.19.24.04, WinLibs GCC 16.2.0 UCRT, Release, `BUILD_TESTING=ON`. ### Steps to reproduce ``` $env:ANYPS5_GPU = "AMD" $env:ANYPS5_REQUIRE_VULKAN = "1" $env:ANYPS5_NO_SHADER_CACHE = "1" $env:APS5_NO_PIPELINE_JOURNAL = "1" ctest --test-dir build -R '^agc_driver_recorded_draw_staging$' --output-on-failure ``` It faults within a few seconds. Repeating it is enough; no title is involved. ### Log ``` FATAL: unhandled exception 0xc0000005 on thread 8380 '' rip 0x00007ffbe8fb1fd4 amdvlk64.dll+0x21d1fd4 read of 0x00000230a92a3000 ``` The process then sometimes hangs after the fatal report (a direct run with a 180 s cap had to be killed). One repeat exited `0xC0000374` (heap corruption) after the same `amdvlk64.dll` fault area; another repeat hung after the `0xc0000005` report. ### What was checked - The crash is **not** from a pending PR: unmodified `main` `f57c971559` reproduces it (3 runs: `0xC0000005`, `0xC0000374`, and a hang after the fault). - `agc_driver_overlap_staged_copies`, `agc_driver_partially_resident_snapshot`, `agc_driver_prepared_publication`, `agc_driver_resident_heap_mirror`, `agc_driver_recorder`, `agc_buffer_pool` and `agc_adaptive_staging` all pass 3/3 on the same machine, so the device and the rest of the AGC suite work. - On lavapipe this test is skipped (`lavapipe does not keep host imports write-watched`), which is why CI and the PR that touched it could not see this path. The fault is in `amdvlk64.dll` during the write-watch/staging work, not in the test's argument handling. - I have not tried another AMD driver or another AMD GPU, so whether it is driver-version-specific is unknown. AI-assisted.
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#18480
No description provided.