AGC: agc_driver_scratch_pool wave64 isolation fails on a Ryzen 7700X integrated Radeon on Windows #15566

Closed
opened 2026-11-03 19:04:05 +00:00 by Superseabas · 0 comments
Superseabas commented 2026-11-03 19:04:05 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-03T19:04:05Z.


What happens

agc_driver_scratch_pool, added in #12764, fails on the integrated Radeon of a Ryzen 7 7700X on Windows: AGC graphics: scratch pool isolation wave64: round 0 lane 0 dword 0 read 0xdeadbeef, expected 0x00000000.

Title, test or build step

agc_driver_scratch_pool

AnyPS5 commit

main 1e658521a0, nothing merged on top. It also fails, 0 of 2 runs, at 1f272537eb, the #12764 merge, so it has failed on this GPU since the test was added.

System

Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Ninja, Release, BUILD_TESTING=ON. AMD Radeon Graphics of a Ryzen 7 7700X (1002:164e, RDNA 2 integrated, subgroup=64), AMD 26.10.1 (32.0.21045.16010). The NVIDIA GeForce RTX 5070 Ti (10de:2c05, driver 621.01, subgroup=32) in the same machine passes.

Steps to reproduce

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ANYPS5_GPU=Radeon ctest --test-dir build -R '^agc_driver_scratch_pool$' -V

It fails on every run, in about 5 s.

Log

Selected GPU name=AMD Radeon(TM) Graphics vendor=0x1002 device=0x164e subgroup=64
Wave32 programs run on subgroups of 32: compute 1, mesh 0
single-wave wave64 compute spans two full 32-lane subgroups: 1
AGC graphics: scratch pool isolation wave64: round 0 lane 0 dword 0 read 0xdeadbeef, expected 0x00000000

What was checked

  • Run alone, 5 of 5 runs stop at the same check. 0xdeadbeef is the fill the test writes before the dispatch, so lane 0 did not store at all.
  • In a parallel full-suite run (ctest -j 8), the same check stopped at a different lane instead: round 0 lane 64 dword 0 read 0x00000000, expected 0x00000100.
  • Everything before it passes on this GPU, including the wave32 isolation and divergent exit checks, the alias and callee checks, and the wave64 alias and callee checks.
  • RTX 5070 Ti, same build: scratch pool tests passed.
  • In the PR's reviews, the test passed at ee700f7235 on an RX 9070 XT (amdvlk, Windows) and an RX 6300 (RADV, Linux). This is an integrated RDNA 2 GPU on AMD's Windows driver, which the PR's reviews did not cover.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6189294090 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/15566). Originally posted by [Superseabas](https://github.com/Superseabas) on 2026-11-03T19:04:05Z. --- ### What happens `agc_driver_scratch_pool`, added in #12764, fails on the integrated Radeon of a Ryzen 7 7700X on Windows: `AGC graphics: scratch pool isolation wave64: round 0 lane 0 dword 0 read 0xdeadbeef, expected 0x00000000`. ### Title, test or build step `agc_driver_scratch_pool` ### AnyPS5 commit `main` `1e658521a0`, nothing merged on top. It also fails, 0 of 2 runs, at `1f272537eb`, the #12764 merge, so it has failed on this GPU since the test was added. ### System Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (`x86_64-ucrt-posix-seh`, r3), Ninja, Release, `BUILD_TESTING=ON`. AMD Radeon Graphics of a Ryzen 7 7700X (`1002:164e`, RDNA 2 integrated, `subgroup=64`), AMD 26.10.1 (32.0.21045.16010). The NVIDIA GeForce RTX 5070 Ti (`10de:2c05`, driver 621.01, `subgroup=32`) in the same machine passes. ### Steps to reproduce ``` ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ANYPS5_GPU=Radeon ctest --test-dir build -R '^agc_driver_scratch_pool$' -V ``` It fails on every run, in about 5 s. ### Log ``` Selected GPU name=AMD Radeon(TM) Graphics vendor=0x1002 device=0x164e subgroup=64 Wave32 programs run on subgroups of 32: compute 1, mesh 0 single-wave wave64 compute spans two full 32-lane subgroups: 1 AGC graphics: scratch pool isolation wave64: round 0 lane 0 dword 0 read 0xdeadbeef, expected 0x00000000 ``` ### What was checked - Run alone, 5 of 5 runs stop at the same check. `0xdeadbeef` is the fill the test writes before the dispatch, so lane 0 did not store at all. - In a parallel full-suite run (`ctest -j 8`), the same check stopped at a different lane instead: `round 0 lane 64 dword 0 read 0x00000000, expected 0x00000100`. - Everything before it passes on this GPU, including the wave32 `isolation` and `divergent exit` checks, the alias and callee checks, and the wave64 alias and callee checks. - RTX 5070 Ti, same build: `scratch pool tests passed`. - In the PR's reviews, the test passed at `ee700f7235` on an RX 9070 XT (amdvlk, Windows) and an RX 6300 (RADV, Linux). This is an integrated RDNA 2 GPU on AMD's Windows driver, which the PR's reviews did not cover. 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#15566
No description provided.