add layer env var to hide present wait ext #1671
Open
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.
This adds a workaround for #1592 which removes the
VkPhysicalDevicePresentWaitFeaturesKHR
extension in the layer if the environment variableGAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT
is set. This resolves the current freezing issue on nVidia in dx12 (without having to setVKD3D_DISABLE_EXTENSIONS
), dx11 (without having to patch DXVK not to use the extension) and in native vulkan games.