User Tools

Site Tools


ubuntu:gpu:vulkan:troubleshooting:vulkan_segmentation_error

Ubuntu - GPU - Vulkan - Troubleshooting - Vulkan Segmentation Error

vulkaninfo

returns:

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0.  Skipping ICD.
Segmentation fault (core dumped)

Fix

Rename the file /usr/share/vulkan/icd.d/lvp_icd.x86_64.json

NOTE: Find out which package provide this file:

dpkg -S /usr/share/vulkan/icd.d/lvp_icd.x86_64.json
 
returns:
 
mesa-vulkan-drivers:amd64: /usr/share/vulkan/icd.d/lvp_icd.x86_64.json

and…

export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json

and retest:

vulkaninfo

returns:

ERROR: [../src/amd/vulkan/radv_device.c:766] Code 0 : This version of RADV does not support RDNA3 yet. (VK_ERROR_INCOMPATIBLE_DRIVER)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_tramp_phys_devs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
ERROR at ./vulkaninfo/vulkaninfo.h:230:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

Set Environment Variables

export VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json

NOTE: if amdgpu-pro is not installed then use this:

export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json

and retest:

vulkaninfo
ubuntu/gpu/vulkan/troubleshooting/vulkan_segmentation_error.txt · Last modified: 2023/06/17 15:30 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki