Repository navigation
Conversation
|
Heads-up from a Linux/RADV run at
Both failures are the same assertion: i.e. on RADV these two paths submit 2 PM4 batches where the test expects the recheck to coalesce to 1; AI-assisted: yes. |
|
@tablefrogpillow, I am checking this report. These assertions count host Please attach the exact CTest/binary commands and verbose logs, the loaded The fixture currently inherits these switches; disabling label batching intentionally enables immediate packet submission and can invalidate its young-label expectation. I have queued a controlled default-versus-disabled-label-mode comparison on the same frozen |
|
Thanks — the switch question is the useful part, so to answer it directly: none of Details you asked for, all at a clean build of
If a batch/epoch trace would help isolate it, point me at an env toggle or a one-line probe and I'll rerun on any/all three gens on the frozen AI-assisted: yes. |
|
@tablefrogpillow, the controlled check reproduces your exact two assertions on the same fixed I refreshed the CTest registration in
All sixteen controlled case executions, full logs and registration/provider-equivalence proof; downloaded archive and all 21 members verified, SHA-256 This establishes an environment dependency in the original fixture; it does not establish which provider or environment your runs used. Please retry with |
|
An NVIDIA run, next to the AMD runs: RTX 3070 (8 GB), NVIDIA 610.57.04, Ryzen 5 5600X, Debian 13, kernel 6.12.115, GCC 13.3.0 Release, validation layer 1.4.335, On this head 68aee33 the four new mode tests ( Negative control, this PR's So on this NVIDIA machine AI-assisted: yes |
|
Windows check of head How it ran:
Checks across all three arms:
The head's extra commit only adds Conclusion: the parent fails exactly the two stale cases, with the extra fresh-batch submit, and this PR fixes both without changing the other two. AI-assisted: yes. |
|
@Doorriiaann, confirmed: the generic execution-test loop registers a fifth, no-argument invocation. My original suffix-only CTest selector missed it. I pushed The corrected broad selection is Patch, actual registrations, complete logs and frozen-provider proofs; archive and every member downloaded/verified, SHA-256 The Windows worker has also posted its independent four-mode baseline/fix/head |
|
Test report, NVIDIA on Windows: the four new mode tests pass; the bare
if(agcTest STREQUAL "agc_driver_constant_store_tests" OR ... OR agcTest STREQUAL "agc_driver_rcp_hardware_tests" OR agcTest STREQUAL "agc_driver_stale_packet_flush_tests")or to let
Single run each. AI-assisted (Claude Code). |
|
@hamdanpor-ctrl, your pinned After updating and rebuilding ctest --test-dir build -R '^agc_driver_stale_packet_flush($|_)' -VThe complete selection passes 5/5 on the physical RX 6650 XT with validation 1.4.363 and zero skips/VUIDs. The original production provider fails default/stale-cap/stale-deadline and passes both positive controls. Patch, full logs, actual registrations and frozen-provider proofs are attached in the previous reply. Your Windows/NVIDIA report is useful additional coverage of the four explicit modes; the updated fifth invocation still needs a run on that setup. |
|
Re-verified on the updated head
So the default-invocation change and the recheck behave correctly across RDNA2 and RDNA3 as well, matching your RX 6650 XT run; 0 AI-assisted: yes. |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
|
Update for the current head At this head,
All three failures show the same Correction: my earlier "passes, 3 of 3" for The other three cases still separate the fix cleanly: AI-assisted: yes. |
|
Rechecked b3178f4 on the RTX 3070, same setup as above, On the intermittent AI-assisted: yes |
|
The fix reads right to me: One thing blocks it: |
… coming due The stale-deadline case used a 100 ms label flush deadline so that its old batch's label went stale during the 250 ms sleep, but its queued label was stamped with the current time, so when the drain took longer than the deadline that label came due as well and a second batch was submitted. The queued label is now stamped in the future in every case but queued-overdue, so only the old label's age decides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, fixed in Cause. Reproduced deterministically. With a temporary 150 ms sleep at the start of the test's committer lambda (not committed), the previous head fails 5 of 5 with exactly that message. Fix. The queued label is now stamped an hour in the future in every mode except Tested. Linux 7.2.14, RX 6650 XT, RADV, Release:
AI-assisted: yes |
|
A regression check on six titles at this head (
No failure, refusal or stop. PPSA03659's lower count is a loading pause at about 32 s that lasted longer in that run. Alternating it with current AI-assisted: yes |
|
Ran the focused tests with the Khronos validation layer on Linux and an NVIDIA GPU, since CI runs the GPU tests only on lavapipe, and the earlier RTX 3070 Linux runs were of Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor
The five Repeat: Negative control: with main's No new AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The change at head 111521419a1c3c34216b5dedc870af46973eb21b rechecks current packet flush reasons after the pipeline drain and adds regression coverage for stale and current flush conditions.
What I ran
Read the prepared diff and all changed lines, then inspected the relevant label recording, pending-label snapshot, test registration, and CMake inclusion code. No local test command was run; test results in the PR description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Changed-line review | passed | All three changed files read |
| Targeted context | passed | Flush, label, recorder, and CMake paths checked |
| Local tests | not run | No test execution performed |
Findings
Blocking
None.
Non-blocking
None.
Sources
Behavior claims are based on the pinned head 111521419a1c3c34216b5dedc870af46973eb21b, including PacketFlush.cpp, DeferredLabels.cpp, PacketMemory.cpp, and Recorder.cpp.
Not verified
No build, CTest, Windows run, or console behavior was verified locally. The PR description reports Linux GPU test runs and an independent Windows run; these were not reproduced here. files.json was not present in the review folder, so excluded-by-rule files could not be itemized; the prepared manifest lists three changed files, and all three were read.
To get this to a good state
Nothing is required.
|
Windows runs of the current head Setup: Windows 11 Enterprise 10.0.26300, Ryzen 7 9800X3D, WinLibs GCC 15.2.0, Release. GPUs: NVIDIA GeForce RTX 5090 (
Red fails with Every layered run logs GPUs tested: NVIDIA GeForce RTX 5090, driver 617.42, Windows 11; AMD Radeon(TM) Graphics (gfx1036 iGPU), driver 32.0.21045.29003, Windows 11 AI-assisted: yes |
|
Windows follow-up on the failing That run predates the fix: it started before #22388 merged at 16:47 UTC on 2026-11-17, reverting the LibreSSL 3 guest-pointer change that broke exactly these two tests on Windows. They pass now:
So the red Setup: Windows 11 Enterprise 22621, AMD Ryzen 9 5950X, WinLibs GCC 15.2 UCRT r7, Release. AI-assisted: yes. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged current Linux/RADV, RX 6650 XT, Mesa 26.3.1, Release, merged head, with the Khronos validation layer inserted: all five AI-assisted: yes |
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
|
Windows/AMD GPU run at this head ( The test's three
Setup:
AI-assisted: yes. |
Plyxen
left a comment
There was a problem hiding this comment.
I read the diff at d78f37de32. Windows 11, GCC 15.2, merged into main at c1593e4e1dd together with other open PRs (so not an isolated build), with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 and VK_LAYER_KHRONOS_validation on an RTX 5080 (621.24) and a Radeon iGPU (26.11.2).
- the
agc_driver_stale_packet_flushtests, with the other label and flush tests (90 in all): pass on both GPUs. The loader log shows the layer inserted and no "was not found" line, and neither run has aVUID-orSYNC-HAZARDline. - Control (the same tree with only this PR's source change taken out): three of the five fail, for example "stale packet flush: stale-cap submitted 2 batches, expected 1".
Not checked: the frame rate of a title.
AI-assisted: yes (Claude Code)
ligmaSec
left a comment
There was a problem hiding this comment.
I tested d78f37de32 against main at 9d362fb088 on Linux with Mesa lavapipe. agc_driver_gcn_scalar_buffer_base and agc_host_import_retirement passed on both revisions. On the change, all five agc_driver_stale_packet_flush* cases passed, covering the default invocation, stale cap, stale deadline, current cap, and overdue queued label. Every run required Vulkan and disabled the shader cache. The logs show the loader inserting Khronos validation 1.4.369, with no missing-layer warnings or VUID- messages. This comparison used software Vulkan.
AI-assisted: yes.
What
A packet worker can decide to flush for an old batch's cap or pending-label deadline, then drain the draw pipeline before taking the GPU mutex. The committer can submit that batch during the drain. Main's final guard accepts any newly pending label, so it also submits the fresh, below-cap batch for the obsolete decision.
Recheck the live work count and pending-label deadline after drain/lock. Preserve the queued label's age before recording resets its pending timestamp, so an overdue queued label still forces submission. Keep cap/deadline defaults unchanged. No title unblock or FPS gain is claimed.
The CTest registration clears inherited label-mode switches for these cases while preserving Windows PATH handling.
The regression uses an actual queued callback and the existing drain-request counter to force this ordering, without new production hooks. Explicit idle verifies the GPU label bytes after retained work is submitted.
Tested
Default-invocation review fix (
b3178f44678): the execution-test discovery loop also registersagc_driver_stale_packet_flushwithout arguments. The original suffix-only selector missed that invocation. It now runsstale-capby default; the generic test receives the same cap/deadline/pipeline settings and inherited label-mode unsets as the explicit cases. ProductionPacketFlush.cppis byte-identical to the qualified68aee334provider.Using actual CMake registrations and
ctest -R '^agc_driver_stale_packet_flush($|_)' -V, with all six label-mode switches deliberately set in the parent:Full logs, registrations, source patch and provider proofs, downloaded archive and all 18 members verified, SHA-256
93b35fa0505a01fcea6ddd8843f488a9b3cd512851f612590b06da877c4fbb25.Linux 7.2.14, AMD Radeon RX 6650 XT, RADV Mesa 26.2.6, validation 1.4.363. Complete SDK/relinker builds pass on both arms. Same fixture on pure-main production
d261fa6f5665plus test-only commitc4a44dd2c777, versus correction68aee334dd29:Matched 15-case gate: main 11 pass / 2 expected fail / 2 skip; correction 13 pass / 0 fail / 2 identical skip. All four new cases execute on the physical RX 6650 XT and individually log actual validation-layer insertion. The 13 non-skipped cases include seven physical-GPU cases and six CPU/order regressions. Existing
copied_writer_label_orderand_drainrequire storage-buffer alignment above 4; this device reports 4, so their forced-copy assertions are not claimed as coverage.Both arms use
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layerwith verbose CTest, serialized through the host GPU FIFO. Zero VUIDs, no missing layer, no new skips; SDK and fixture hashes unchanged. Conventions, declaration audit (413 libraries / 34,519 unique reachable exports), and built-source registration checks pass.Overlap: the official scan probed 1,524 open PRs and failed closed on #6186's shared file. Every merge base was checked manually: it changes only a profiling report line here; preserve that line independently. #18717 changes the default cap and #18809 changes HeldReads/HLE clear ordering; neither implements this recheck and this branch needs neither. Local merge-tree against main
135da47a9cb4is clean.Patch, full logs, per-case hardware/layer reviews, build proofs and checks — SHA-256
07c82d00bfae76b91016c306026ddc52cb59493431053376a8bc52a557c8ad29; downloaded archive and all 33 members verified.Windows: the independent worker reports all four explicit cases passing three repetitions on head
89f8cacand fixed68aee334, with the two expected baseline failures: Windows 11 Enterprise 22621, AMD RX 6700 XT / driver 26.10.1, GCC 15.2 UCRT Release, validation 1.4.363, own Windows FIFO, zero skips or validation IDs. The newer default-invocation fixture correction below has Linux qualification only so far. No native title or performance comparison is claimed for this fix.Test-environment refresh
89f8cac67da6changes only the CTest registration. Production and fixture C++ remain byte-identical to the qualified providers above. With all six label-mode switches deliberately set in the parent, the refreshed CMake-generated registrations retain both main negative failures and pass all four fixed-provider cases, with actual GPU/layer insertion and zero skips/VUIDs. The old registration reproduces the two negative-case failures on the fixed provider when label batching is disabled; the new registration isolates the intended policy. Controlled logs and equivalence proof, SHA-2563a1b8291dc9eefc64f54ae821b8e1e2c55b196fc44f62247a1f139e1b20b255d. Existing SDK binaries were deliberately reused for this CMake-only refresh.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)Summary by CodeRabbit