Survive a graphics device loss: rebuild the Vulkan renderer instead of logging out #1069
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#1069
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
On
VK_ERROR_DEVICE_LOSTthe viewer writes the device-loss report, logs out and closes (onGraphicsDeviceLost). A device loss is often not our fault: on Linux a GPU reset caused by ANY process (#1063: Chromium's GPU process in the media plugin faulted, amdgpu did a mode1 reset, "VRAM is lost") kills every Vulkan device on the card. Windows TDRs from other apps behave similarly.Goal
Recover in-session: tear down the lost VkDevice and everything created from it, create a new device, re-upload/rebuild GPU state, and keep the session (no logout).
Scope sketch