KhronosGroup/Vulkan-Loader

Vulkan-ICD-Loader update causes all games to crash

wodger1912 opened this issue · 3 comments

Hi Guys,

Hope this is the right place to post this

Describe the bug
Updating Vulkan-ICD-Loader and lib32-Vulkan-ICD-Loader to latest on Arch repo (1.3.273) causes all games to crash out with C++ assertion error for vkgetphysicaldevicesurfaceformatskhr.
Downgrading to 1.3.269 for both packages resolves the error.

Environment (please complete the following information):

  • OS: Arch Linux
  • Bitdepth: 64 Bit
  • GPU: Nvidia GTX 1080Ti
  • Graphics Driver: Nvidia 545.29.06
  • SDK or header version if building from repo: N/A
  • Enabled layers: default from Arch repo

To Reproduce
Steps to reproduce the behavior:
Update to version 1.3.273

VK_LOADER_DEBUG output
Game Log
Error from Heroic launcher:
Warning: loader_get_json: Failed to open JSON file intel_hasvk_icd.x86_64.json Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0 Error: Loader Message: setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config Warning: vkEnumeratePhysicalDevices at GatherPhysicalDevices (../../third_party/dawn/src/dawn/native/vulkan/VulkanInfo.cpp:131) at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:353) at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266) at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Additional context
None

Also on Arch, I got the same launching Elite Dangerous via Steam. My hardware: Nvidia 3070 Ti, AMD 7800X3D

Assertion failed: !status && "vkGetPhysicalDeviceSurfaceCapabilitiesKHR", file ../src-wine/dlls/winevulkan/loader_thunks.c, line 4912

Other workarounds besides downgrading:

  1. Launch with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json (or whatever loader you want to use)
  2. Uninstall other vulkan drivers (in my case I had vulkan-intel left over from older hardware)

The bad commit has already been reverted.

Since the 1.3.274 header update #1414 is occurring now, I suggest waiting for it to pass & be merged before updating.

Because the revert is in and there is a new header update tag to use, I'm going to go ahead and close the issue.
https://github.com/KhronosGroup/Vulkan-Loader/tree/v1.3.274