Repository navigation
docs/testing.md: Known problems row for vk_predicated_copy on Intel ANV (#4709) - #4716
junaydirfan wants to merge 6 commits into
Conversation
…NV (ItsNotRexed#4709) On Mesa ANV 26.3.1 (Raptor Lake, Xe-LP), vk_predicated_copy fails at line 138: the empty pipeline-statistics query reads 32 CS invocations. ANV performs vkCmdCopyBuffer, vkCmdFillBuffer and vkCmdUpdateBuffer with its own compute shaders once the command buffer has recorded a dispatch, and counts them in the application's COMPUTE_SHADER_INVOCATIONS (ItsNotRexed#4709 has a standalone Vulkan repro). The row says how to read the failure and where the layer-side fix is tracked.
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 6f3847b81 on Windows 11: test_docs_table_rows.py 2 OK, test_docs_links.py 6 OK; git diff --check clean.
The new Known-problems row references #4709 for vk_predicated_copy on Intel ANV; the table and links validate. I cannot reproduce the Intel driver case here. No blocking issue.
|
Tested 6f3847b merged with main 98fa503 on Linux (Python 3.12.16): pass - docs-only; tests/test_docs_*.py 10 files, 30 tests OK. No new tests, so no negative control. Checked the claims against the repo: |
|
Verified on Linux: the new Known-problems row is a single docs/testing.md change; test_docs_repo_paths, test_docs_links and the table tests all pass under python -I (the vk_predicated_copy ANV behaviour itself is hardware, unverifiable here). Two heads-ups: no CI checks had been scheduled on the branch yet, and the diff carries the whole round-43 stacked base (~915 commits) in front of your commit — consider rebasing onto main. Also #4212 edits the same file in other sections. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). Correction (2026-11-23): the rebase/integration-stack note above was wrong — our verifier tracked a stale main ref. Those base commits are current main; this head contains main and merge-trees cleanly against de67135. No rebase needed; the tests-pass verdict stands unchanged. See the correction note on #4421. |
|
Docs facts check out; one link to fix before merge. All 10
ANV behaviour is GPU-only here and not reproduced. AI-assisted review, docs only. |
… at ItsNotRexed#313 and says what to do Review on ItsNotRexed#4716: ItsNotRexed#4709 is the report, not where the fix is tracked; the layer change is an open question for ItsNotRexed#313 with no PR. The What-to-do cell now tells a tester how to read the failure, and the Cause cell notes that Mesa 26.3's fix (750db2444a26) disables the count only on newer GPUs.
|
@tupacfan04 thanks, fair point. Fixed in
Docs tests still pass. @memorypressure, the branch is one commit on top of |
|
Reviewed 505e3a2: docs-only, merges cleanly with main af70fc7, and the docs tests pass (30). The row matches #4709: |
|
Tested 505e3a2 merged with main 3faac55 on Linux (WSL2), Python 3.12.16: pass. |
…for the layer workaround
|
@KkelebekK thanks, good catch. Fixed in |
…ransfer # Conflicts: # docs/testing.md
|
Updated in |
|
Tested dcaec96115 merged with main d327ddf on Linux (WSL2), Python 3.12.16: pass |
…ransfer # Conflicts: # docs/testing.md
|
Merged |
|
Tested b4ab971 on Linux, Python 3.14.4: pass
|
Claimed in the coordination issue as: #4683 (comment) (new TEST item)
Refs #4709
What and why
vk_predicated_copyfails on cleanmainon an Intel GPU with Mesa ANV (line 138: value==0), and nothing indocs/testing.mdexplains why. This adds one Known problems row.The cause is in the driver, not the layer (#4709 has the details and a standalone repro). Once a command buffer has recorded a dispatch, ANV performs
vkCmdCopyBuffer,vkCmdFillBufferandvkCmdUpdateBufferwith its own compute shaders, and counts their invocations in the application'sCOMPUTE_SHADER_INVOCATIONS. The test's 17-byteCopyBufferRegionafterSetPredication(nullptr)reads 32, and the count follows the copy size (1 → 16, 100 → 112, 1000 → 1008). I logged the layer's command stream and read back each statistics segment. Every helper dispatch is outside the segments; the 32 is in the last segment, which holds only that copy.The row doesn't change or skip the test ("fix, don't disable"). The layer-side fix, splitting statistics segments around transfer commands, is posted as a finding for #313 to decide.
Tested
vk_predicated_copy_testonmain98fa503f:d0835dd9: 47 pass + 1 fail on Intel, 48 pass on NVIDIA (shader_library_corpusandvk_sync_validationskip on both).tests/test_docs_*.py(all 10),tests/test_i18n_index.py,tests/test_check_no_game_data.py,scripts/check_no_game_data.pyandgit diff --checkpass.Docs only. AI-assisted (Claude Code).
Checklist
docs/design.md, with how it was confirmed. (Not applicable: no translator change.)