Repository navigation
Add rudimentary GPU hang debugging - #5790
Merged
Merged
Conversation
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Aug 17, 2026
https://build.opensuse.org/request/show/1371428 by user msmeissn + anag_factory - Update to version 3.0.2: * Hang debugging In case of a GPU hang or driver crash resulting in VK_ERROR_DEVICE_LOST errors, the environment variable DXVK_DEBUG=hang can now be used to help narrow down the crash location. Resulting log files may provide useful information in bug reports. This works best on AMD and Nvidia GPUs. See PR gh#doitsujin/dxvk#5790 for details. * Bug fixes and Improvements * Worked around a performance regression in games that create a new DXGI factory every single frame. * This affects Dying Light: The Beast with FSR enabled, and potentially other D3D12 games. * Granblue Fantasy Relink: Fixed spurious GPU hangs on Nvidia, may affect other games. (gh#doitsujin/dxvk#5785) * Halo CE: Worked around a game bug causing rendering issues. (PR gh#doits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fallout from #5785.
TL;DR setting
DXVK_DEBUG=hangwill enableVK_NV_device_diagnostic_checkpointsorVK_AMD_buffer_markerto track which commands are executed on the GPU, and once aDEVICE_LOSTerror is detected, print stuff to the log:Not nearly as sophisticated as the vkd3d-proton equivalent, but this can at least give us an idea which command and which shader might be hanging, without adding much overhead when it's not needed. Also uses
KHR_device_faultif supported, but Nvidia (on Linux) currently doesn't.