AGC (NVIDIA, Windows): agc_driver_lds_tree_reduction reads a partial sum in wave 1 #10758

Closed
opened 2026-10-24 22:54:48 +00:00 by ElysiaAlarien · 0 comments
ElysiaAlarien commented 2026-10-24 22:54:48 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by ElysiaAlarien on 2026-10-24T22:54:48Z.


What happens

agc_driver_lds_tree_reduction fails on every run: LDS tree reduction over eight wave32 waves, round 0: thread 32 (wave 1) read 904, expected 32896.

Title, test or build step

ctest agc_driver_lds_tree_reduction

AnyPS5 commit

main c8d34aa8f4, no pull requests on top.

System

Windows 10 22H2 (19045), RTX 3060 (NVIDIA 560.94), WinLibs GCC 15.2.0 r7, Release.

Steps to reproduce

ctest --test-dir build -R "^agc_driver_lds_tree_reduction$" -V

Stops in round 0 after about 0.5 s.

Log

Selected GPU name=NVIDIA GeForce RTX 3060 vendor=0x10de device=0x2503 subgroup=32
Wave32 programs run on subgroups of 32: compute 1, mesh 1
AGC graphics: LDS tree reduction over eight wave32 waves, round 0: thread 32 (wave 1) read 904, expected 32896

What was checked

  • Same value on all six runs. Threads 0-31 read the correct total.
  • With SubgroupControlBarrierUsable returning false for VK_DRIVER_ID_NVIDIA_PROPRIETARY too, the subgroup OpMemoryBarrier path that 243925113 added for AMD's proprietary driver, the test passes 3 of 3 runs, and the other tests matching lds|barrier|subgroup|wave pass apart from agc_subgroup_barrier, which asserts the edited table. Not tested as a fix; the compiled code was not inspected.
  • Not tried: the validation layer, other NVIDIA drivers, Linux.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6018510093 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10758). Originally posted by [ElysiaAlarien](https://github.com/ElysiaAlarien) on 2026-10-24T22:54:48Z. --- ### What happens `agc_driver_lds_tree_reduction` fails on every run: `LDS tree reduction over eight wave32 waves, round 0: thread 32 (wave 1) read 904, expected 32896`. ### Title, test or build step ctest `agc_driver_lds_tree_reduction` ### AnyPS5 commit `main` c8d34aa8f4, no pull requests on top. ### System Windows 10 22H2 (19045), RTX 3060 (NVIDIA 560.94), WinLibs GCC 15.2.0 r7, Release. ### Steps to reproduce ``` ctest --test-dir build -R "^agc_driver_lds_tree_reduction$" -V ``` Stops in round 0 after about 0.5 s. ### Log ```text Selected GPU name=NVIDIA GeForce RTX 3060 vendor=0x10de device=0x2503 subgroup=32 Wave32 programs run on subgroups of 32: compute 1, mesh 1 AGC graphics: LDS tree reduction over eight wave32 waves, round 0: thread 32 (wave 1) read 904, expected 32896 ``` ### What was checked - Same value on all six runs. Threads 0-31 read the correct total. - With `SubgroupControlBarrierUsable` returning false for `VK_DRIVER_ID_NVIDIA_PROPRIETARY` too, the subgroup `OpMemoryBarrier` path that 243925113 added for AMD's proprietary driver, the test passes 3 of 3 runs, and the other tests matching `lds|barrier|subgroup|wave` pass apart from `agc_subgroup_barrier`, which asserts the edited table. Not tested as a fix; the compiled code was not inspected. - Not tried: the validation layer, other NVIDIA drivers, Linux. AI-assisted (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#10758
No description provided.