-
Notifications
You must be signed in to change notification settings - Fork 367
Open
Description
Description
An intermittent GPU TDR (Timeout Detection and Recovery) and an intermittent assertion failure occurs in the Vulkan backend when exiting the application. This has been observed using the official Tutorial00_HelloWin32 sample when configured to use the Vulkan API. The issue appears sporadically after several runs and is triggered during the final cleanup phase as the window is closed(via the "X" button).
Environment
- Graphics API/Card: Vulkan/Nvidia T400 4G (latest driver)
- Sample: Tutorial00_HelloWin32
- OS: Windows 11
- Diligent Engine Version: Latest Master
Steps to Reproduce
- Build and run
Tutorial00_HelloWin32with backend changed to Vulkan. - Close the application (e.g., via the "X" button, not the 'Esc' key).
- Repeat the process several times.
- Observe the sporadic crash during the destruction of the global DeviceContext.
Potential Cause ?
The crash does not occur when exiting via the Esc key, as it allows g_pTheApp.reset() to execute while the HWND is still valid. However, clicking the X button dispatches window destruction messages before the DeviceContext is destroyed, leading to a mandatory Flush() on an invalidated surface.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels