graphics: add --gpu-assisted-validation and report fatal VkResults #268

Manually merged
github merged 3 commits from gh-pr/268/head into gh-pr/268/base 2026-11-26 09:15:47 +00:00
Owner

@⁠shadowbeat070 on GitHub · 2026-08-15 20:19 UTC · original
shadowbeat070:pr/diagnostics → main · +72 −24 · 5 files · 3 commits · merged 2026-08-18 12:44 UTC

Two diagnostic improvements for Vulkan failures.

Summary

  • Report the VkResult when a queue submit or fence wait fails. The result code is the whole
    diagnosis, since device lost and out-of-device-memory need opposite investigations, and LOGF
    alone goes to the sink --printf-direction selects, which is Silent by default. Mirrored to stdout
    and flushed so it survives a force-kill, and vkResetFences is now covered too.
  • Add a --gpu-assisted-validation flag, separate from --vulkan-validation because it is very slow,
    and folded into it because the implementing layer only loads when validation is on. Requires
    bufferDeviceAddress outright, since the layer otherwise disables itself with only a warning and
    leaves you running a slow build that checks nothing.

PR follows contribution guidelines and the Windows build is verified.

**@⁠shadowbeat070** on GitHub · 2026-08-15 20:19 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/268) `shadowbeat070:pr/diagnostics` → `main` · +72 −24 · 5 files · 3 commits · merged 2026-08-18 12:44 UTC Two diagnostic improvements for Vulkan failures. ## Summary - Report the VkResult when a queue submit or fence wait fails. The result code is the whole diagnosis, since device lost and out-of-device-memory need opposite investigations, and LOGF alone goes to the sink --printf-direction selects, which is Silent by default. Mirrored to stdout and flushed so it survives a force-kill, and vkResetFences is now covered too. - Add a --gpu-assisted-validation flag, separate from --vulkan-validation because it is very slow, and folded into it because the implementing layer only loads when validation is on. Requires bufferDeviceAddress outright, since the layer otherwise disables itself with only a warning and leaves you running a slow build that checks nothing. PR follows contribution guidelines and the Windows build is verified.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:15:46 +00:00
github manually merged commit e55568d910 into gh-pr/268/base 2026-11-26 09:15:47 +00:00
Author
Owner

@⁠Nmzik on GitHub · 2026-08-18 12:44 UTC · original

@⁠shadowbeat070 Nice PR

**@⁠Nmzik** on GitHub · 2026-08-18 12:44 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/268#issuecomment-5328334620) @⁠shadowbeat070 Nice PR
This discussion has been locked. Commenting is limited to contributors.
No description provided.