Open DevinBayly opened 3 years ago
ls /usr/share/vulkan/icd.d/
nvidia_icd.json nvidia_layers.json
exouser@multiply-awaited-cricket:~$
Nothing else is in there though...
Removing the nvidia_layers.json
causes other error
ERROR at /build/vulkan-tools-1.2.162.1~rc1-1lunarg18.04/vulkaninfo/vulkaninfo.h:248:vkGetPhysicalDeviceSurfaceFormats2KHR failed with ERROR_INITIALIZATION_FAILED
removing vulkan and re-installing version 1.1.121 using the tar file actually gets output from the vulkan info command now.
but its the same error I've seen for when vulkaninfo prints until segfault. Not even vglrun changes the result.
exouser@multiply-awaited-cricket:~$ vglrun vulkaninfo
==========
VULKANINFO
==========
Vulkan Instance Version: 1.1.121
Instance Extensions:
====================
Instance Extensions count = 17
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 9
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities: extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2: extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities: extension revision 1
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
Layers: count = 14
=======
VK_LAYER_GOOGLE_threading (Google Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 1
VK_EXT_debug_report : extension revision 6
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_GOOGLE_unique_objects (Google Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_KHRONOS_validation (LunarG Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 3
VK_EXT_debug_report : extension revision 9
VK_EXT_debug_utils : extension revision 1
VK_EXT_validation_features : extension revision 2
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 2
VK_EXT_debug_marker : extension revision 4
VK_EXT_validation_cache : extension revision 1
VK_LAYER_LUNARG_api_dump (LunarG API dump layer) Vulkan version 1.1.121, layer version 2
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_LUNARG_assistant_layer (LunarG Validation Layer Factory Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 1
VK_EXT_debug_report : extension revision 6
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 1
VK_EXT_debug_marker : extension revision 4
VK_LAYER_LUNARG_core_validation (LunarG Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 1
VK_EXT_debug_report : extension revision 6
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 2
VK_EXT_debug_marker : extension revision 4
VK_EXT_validation_cache : extension revision 1
VK_LAYER_LUNARG_device_simulation (LunarG device simulation layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_LUNARG_monitor (Execution Monitoring Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_LUNARG_object_tracker (LunarG Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 1
VK_EXT_debug_report : extension revision 6
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 1
VK_EXT_debug_marker : extension revision 4
VK_LAYER_LUNARG_parameter_validation (LunarG Validation Layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 1
VK_EXT_debug_report : extension revision 6
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 1
VK_EXT_debug_marker : extension revision 4
VK_LAYER_LUNARG_screenshot (LunarG image capture layer) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_LUNARG_standard_validation (LunarG Standard Validation) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 3
VK_EXT_debug_report : extension revision 9
VK_EXT_debug_utils : extension revision 1
VK_EXT_validation_features : extension revision 2
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 2
VK_EXT_debug_marker : extension revision 4
VK_EXT_validation_cache : extension revision 1
VK_LAYER_LUNARG_vktrace (Vktrace tracing library) Vulkan version 1.1.121, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
VK_LAYER_NV_optimus (NVIDIA Optimus layer) Vulkan version 1.2.155, layer version 1
Layer Extensions count = 0
Devices count = 1
GPU id : 0 (GRID V100X-4Q)
Layer-Device Extensions count = 0
Presentable Surfaces:
=====================
GPU id : 0 (GRID V100X-4Q)
Surface type : VK_KHR_xlib_surface
/root/sdk-build/1.1.121.1/source/Vulkan-Tools/vulkaninfo/vulkaninfo.c:1587: failed with VK_ERROR_INITIALIZATION_FAILED
Segmentation fault (core dumped)
I believe this is related to https://github.com/gfx-rs/wgpu-rs/issues/673 ?
https://dev.getsol.us/T6335 suggests modifying the
/usr/share/vulkan/icd.d/
to only have nvidia listed?