Fix vulkan-1.dll crash in gpu info collection
Due to some bad versions of Vulkan Runtime/Loader, there are crashes when Vulkan is called for the GPU supported Vulkan versions and extensions. From the logs, most vulkan-1.dll crashs are from the following versions. As of 7/23/2018, 0.0.0.0 - # of crashes: 6556 1.0.26.0 - # of crashes: 5890 1.0.33.0 - # of crashes: 12271 1.0.42.0 - # of crashes: 35749 1.0.42.1 - # of crashes: 68214 1.0.51.0 - # of crashes: 5152 The GPU could be from any vendors, but only some certain models would crash. For those that don't crash, they usually return failures upon GPU Vulkan support querying even though the GPU drivers can support it. The solution of this CL is to skip the Vulkan GPU info collection if bad Vulkan versions are detected. Bug:850384,863546 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I80cf1f7a45d6d501db678bdf18d98f5e95930e1d Reviewed-on: https://chromium-review.googlesource.com/1146984Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#577208}
Showing
Please register or sign in to comment