vkback: the lost-device line carries the driver's fault report #164

Manually merged
github merged 1 commit from github-bot/gh-164 into gh-pr/164/base 2026-12-02 19:44:31 +00:00 AGit
Owner

@⁠360900 on GitHub · 2026-12-01 23:12 UTC · original
360900:feat/device-fault-report → main · +52 −1 · 4 files · 1 commits · merged 2026-12-02 19:34 UTC

What

The "DEVICE LOST" line carries what the driver says of the loss (VK_EXT_device_fault, enabled where the driver offers it): fault kind and address, the driver's own codes. "the driver gives no account" otherwise.

The reference

vkd3d-proton d3d12_device_report_fault (device.c) reads the same counts and info; the vendor binary is left out here.

Evidence

  • RTX 5080, NVIDIA 620.73.04, Linux 7.3: a lost device read "ADDRESS_FAULT ... 0x40e7000", the page after a buffer vkback's own overlay read past. That address found the draw.
  • A loss without an account reads "the driver gives no account" (seen once).
  • Not run on RADV: no AMD card here.
  • docs/tools.md has the entry.
  • In-game and validation results are from the build with all nine NVIDIA pull requests: the title does not start on this driver without the umem one.

Checklist (docs/AGENTS.md)

  • One topic (rule 31); docs/TASKS.md not edited (rule 29)
  • "Allow edits by maintainers" on; after review, no force-push and no close-and-reopen
  • No fallback or second path for a case that can't happen (rule 33); unexpected input fails loudly (rule 9)
  • Constants come from the console, the hardware or the title's data (rule 9b)
  • Every switch is listed, read in one place, and a bad value stops the start (rule 2): no new switches
  • Queues and other externally synchronized Vulkan objects are used under their lock (rule 35)
  • Every unsafe block has a // SAFETY: comment (rule 36): the one new block has it
  • Clippy clean; tests call the production code; TRANSLATOR_VERSION: the translator is not touched (rule 27)
  • Comments say what is true now and name functions, not line numbers (rule 3)
  • Nothing from the title, and no pointers to where non-free data can be found
**@⁠360900** on GitHub · 2026-12-01 23:12 UTC · [original](https://github.com/vktory6/VKtory/pull/164) `360900:feat/device-fault-report` → `main` · +52 −1 · 4 files · 1 commits · merged 2026-12-02 19:34 UTC ## What The "DEVICE LOST" line carries what the driver says of the loss (`VK_EXT_device_fault`, enabled where the driver offers it): fault kind and address, the driver's own codes. "the driver gives no account" otherwise. ## The reference vkd3d-proton `d3d12_device_report_fault` (device.c) reads the same counts and info; the vendor binary is left out here. ## Evidence - RTX 5080, NVIDIA 620.73.04, Linux 7.3: a lost device read "ADDRESS_FAULT ... 0x40e7000", the page after a buffer vkback's own overlay read past. That address found the draw. - A loss without an account reads "the driver gives no account" (seen once). - Not run on RADV: no AMD card here. - docs/tools.md has the entry. - In-game and validation results are from the build with all nine NVIDIA pull requests: the title does not start on this driver without the umem one. ## Checklist (docs/AGENTS.md) - [x] One topic (rule 31); `docs/TASKS.md` not edited (rule 29) - [x] "Allow edits by maintainers" on; after review, no force-push and no close-and-reopen - [x] No fallback or second path for a case that can't happen (rule 33); unexpected input fails loudly (rule 9) - [x] Constants come from the console, the hardware or the title's data (rule 9b) - [x] Every switch is listed, read in one place, and a bad value stops the start (rule 2): no new switches - [x] Queues and other externally synchronized Vulkan objects are used under their lock (rule 35) - [x] Every `unsafe` block has a `// SAFETY:` comment (rule 36): the one new block has it - [x] Clippy clean; tests call the production code; `TRANSLATOR_VERSION`: the translator is not touched (rule 27) - [x] Comments say what is true now and name functions, not line numbers (rule 3) - [x] Nothing from the title, and no pointers to where non-free data can be found
VK_EXT_device_fault where the driver offers it: fault kind and address, the driver's codes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 23:15:57 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 19:34 UTC · original

Merged, thanks. Checked together with the rest of the NVIDIA set on the reference card (RX 9070 XT): unit tests pass, and a house validation run with all six applied showed no new validation errors, no device loss and the expected counters. RADV does not lose the device in that run, so the fault line itself was not exercised here; on NVIDIA it is what named the page past the panel buffer in #162.

**@⁠vktory6** on GitHub · 2026-12-02 19:34 UTC · [original](https://github.com/vktory6/VKtory/pull/164#issuecomment-7356401165) Merged, thanks. Checked together with the rest of the NVIDIA set on the reference card (RX 9070 XT): unit tests pass, and a house validation run with all six applied showed no new validation errors, no device loss and the expected counters. RADV does not lose the device in that run, so the fault line itself was not exercised here; on NVIDIA it is what named the page past the panel buffer in #162.
github-bot changed target branch from main to gh-pr/164/base 2026-12-02 19:44:29 +00:00
github manually merged commit b6a8dec387 into gh-pr/164/base 2026-12-02 19:44:31 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.