Skip to content

docs/testing.md: Known problems row for crashes under the Vulkan SDK's API dump layer on AMD (TEST-843) - #3830

Merged
ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
Sc4ros:test-843-api-dump-amd
Nov 23, 2026
Merged

ItsNotRexed merged 1 commit into
ItsNotRexed:mainfrom
Sc4ros:test-843-api-dump-amd

Conversation

@Sc4ros

@Sc4ros Sc4ros commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Claim: #3796 (comment) (TEST-843; my own finding from #3652's report)

AI-assisted (Claude Code). Docs only; counts and exit codes, no game files. Measured on Windows 11 build 26300, AMD Radeon RX 9060 XT (RDNA4, driver 32.0.32029.2010), Vulkan SDK 1.4.363.0, base f847748c.

Change

docs/testing.md, "Known problems": one row for a test that exits with 3221225477 (0xC0000005) on AMD only when VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dump is set (d3d12_sparse_queue_family_contract from #3652 sets it itself), with what was measured and what to do.

What was measured (and what I could not establish)

  • d3d12_buffer_tiles_test and d3d12_queue_wait_test under the layer (the settings check_sparse_queue_family.py writes): 1 of 8 and 4 of 8 runs passed in one session; 27 of 30 and 29 of 30 passed in another, an hour later and with less other load on the machine. So the crash is intermittent and its rate changes a lot between sessions.
  • The layer's detailed and pre_dump settings make no difference: with both off, 26 of 30 and 27 of 30 passed (json output: 10 of 10, too few runs to say).
  • Without the layer: no crash in 24 runs of those tests. With the layer, the SDK's own vkcube --c 30 and vulkaninfoSDK --summary passed 8 of 8 each, so it is not simply the layer on that driver; something in how these tests use Vulkan triggers it. I did not find what, and the row says "now and then" rather than "most runs", which my first report on Runtime: share reserved sparse buffers across queues and select sparse-capable families #3652 said after the bad session.
  • Not reported upstream: it does not reproduce outside Leonida, so there is nothing to hand to LunarG or AMD yet.

Tested

  • tests/test_docs_links.py, test_docs_list_items.py, test_docs_repo_paths.py, test_docs_design_rows.py: OK.

🤖 Generated with Claude Code

…s API dump layer on AMD (TEST-843)

d3d12_buffer_tiles and d3d12_queue_wait exit with 0xC0000005 in some runs when VK_LAYER_LUNARG_api_dump is enabled on an
RX 9060 XT (1 and 4 of 8 runs in one session, 3 and 1 of 30 in another), whatever its detailed and pre_dump settings; none
in 24 runs without the layer, nor in 8 runs each of vkcube and vulkaninfo with it. The row says so, and what to do.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Sc4ros
Sc4ros force-pushed the test-843-api-dump-amd branch from bc070a0 to 927db13 Compare November 22, 2026 22:00
@shdann

shdann commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Read bc070a0 against the code (documentation-only change; nothing built or run, no GPU).

One statement cannot be followed on main: the new row says "d3d12_sparse_queue_family_contract sets it itself", but no test of that name exists there. git grep -n d3d12_sparse_queue_family_contract -- runtime and git grep -n VK_LAYER_LUNARG_api_dump -- runtime both return nothing on this head; the add_test(NAME d3d12_sparse_queue_family_contract ...) and the environment assignment are in open #3652, as the PR description says. If this row lands first, a reader looking for that test will not find it. Either a "(#3652)" next to the name in the row, or a Depends on: #3652 line here, would cover it.

I did not check the crash counts, which need the GPU. AI-assisted.

@Sc4ros

Sc4ros commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Pushed 927db13: rebased onto main 4c52ce2; another PR had added a Known problems row at the same spot, so I kept both rows. Docs tests (test_docs_links, test_docs_list_items, test_docs_repo_paths, test_docs_design_rows) OK.

@sds-228 sds-228 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review of 927db13: no issues found. The added known-problems row matches the surrounding table structure.

AI-assisted (OpenCode).

@memorypressure

Copy link
Copy Markdown

Reviewed on Linux: the Known problems row matches the table format and the crash-count detail is well documented. One thing I could not confirm in the current tree: d3d12_sparse_queue_family_contract is referenced in docs/testing.md but I could not find the test source on main, so "sets VK_INSTANCE_LAYERS itself" I take on the author's word; VK_INSTANCE_LAYERS does appear in runtime/test/check_texture_readback_sync.cmake. AI-assisted: yes.

@ItsNotRexed
ItsNotRexed merged commit 3beddb7 into ItsNotRexed:main Nov 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants