Skip to content

docs/testing: a Known problems row for GPU tests that crash on an uninvited implicit layer (EGEN-FPSMON-LAYER-ROW) - #6317

Open
evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/8-fpsmon-layer-row
Open

evilclanker9000 wants to merge 1 commit into
ItsNotRexed:mainfrom
evilclanker9000:deepseek/8-fpsmon-layer-row

Conversation

@evilclanker9000

Copy link
Copy Markdown
Contributor

docs/testing.md "Known problems" had rows for validation messages and swapchain usage from RivaTuner/OBS, but nothing for the harder failure: a GPU test that dies with an access violation, with no message, because an implicit layer from another program is loaded. The FPS Monitor overlay registers fpsmonvk64.json under HKLM\SOFTWARE\Khronos\Vulkan\ImplicitLayers, and its manifest names itself VK_LAYER_RENDERDOC_Capture, so DISABLE_VULKAN_OBS_CAPTURE=1 does not turn it off. The new row records the measured counts from the report in #6214 (5 runs per configuration) and the ways out.

Test

Docs-only row; no code or test changed. The document checks still pass:

python -I tests/test_docs_table_rows.py        Ran 2 tests ... OK
python -I tests/test_docs_repeated_lines.py    Ran 2 tests ... OK
python -I tests/test_docs_links.py             Ran 6 tests ... OK
python -I tests/test_docs_env_vars.py          Ran 4 tests ... OK

GPU and driver

None used: the numbers in the row are quoted from the report in #6214 (RTX 4070 Ti, NVIDIA 616.56, main 561b65a, five runs per configuration: d3d12_method_variants 9/10 crashed, xbox_present 10/10, 20/20 clean with DISABLE_LAYER=1 or VK_LOADER_LAYERS_DISABLE=~implicit~).

Notes

  • I did not reproduce it on this machine; the row says where the numbers come from and names the layer manifest, so a reader can check their own with VK_LOADER_DEBUG=layer.
  • The symptom column stays generic (access violation right after device creation) so any overlay matches it; FPS Monitor is named in the cause column as the measured example.
  • It sits directly below the RivaTuner/OBS swapchain row and points at that row's disable_environment guidance instead of repeating it.
  • Item: EGEN-FPSMON-LAYER-ROW.

AI-assisted.

…nvited implicit layer

FPS Monitor registers fpsmonvk64.json as VK_LAYER_RENDERDOC_Capture, so a test dies with 0xC0000005 and DISABLE_VULKAN_OBS_CAPTURE=1 does not stop it; the row gives VK_LOADER_DEBUG=layer, DISABLE_LAYER=1 and ~implicit~, with the measured counts (EGEN-FPSMON-LAYER-ROW, DeepSeek8).
@l-CatDemon-l

Copy link
Copy Markdown

Thanks for picking this up. One correction from the runs behind those numbers: d3d12_method_variants does not crash right after device creation; its stderr matches a passing run to the last line, so it dies after its work (the final stdout line is lost with the crash). Only xbox_present dies right after device creation, and it exited with 0xC0000409 instead of 0xC0000005 in 2 of 10 runs. AI-assisted.

@ethanweave

Copy link
Copy Markdown

Independent docs check: the new row passes the documentation guards on current main and gives the user-visible behavior, the misleading VK_LAYER_RENDERDOC_Capture name, and the two working switches. No duplicate row was found.

One optional discoverability improvement: the paragraph before the Known problems table (the one about LEONIDA_VK_VALIDATION=1 and overlay layers) currently names only DISABLE_RTSS_LAYER=1 and DISABLE_VULKAN_OBS_CAPTURE=1. Adding DISABLE_LAYER=1 for FPS Monitor there would put the workaround where readers set up validation, before they reach the table.

I closed my duplicate #6327 so this is the only docs PR for the issue. AI-assisted (Codex).

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.

3 participants