Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axion demos # gdb ./vulkaninfo
- GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
- Copyright (C) 2017 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-pc-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://bugs.gentoo.org/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./vulkaninfo...done.
- (gdb) run
- Starting program: /usr/share/vulkan/demos/vulkaninfo
- warning: File "/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
- To enable execution of this file add
- add-auto-load-safe-path /lib64/libthread_db-1.0.so
- line to your configuration file "/root/.gdbinit".
- To completely disable this security protection add
- set auto-load safe-path /
- line to your configuration file "/root/.gdbinit".
- For more information about this security protection see the
- "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
- info "(gdb)Auto-loading safe path"
- warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
- ===========
- VULKAN INFO
- ===========
- Vulkan API Version: 1.0.39
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_image.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version "1.0.0"
- INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0"
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.i686.json, version "1.0.0"
- ERROR: [loader] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.i686.json, version "1.0.0"
- ERROR: [loader] Code 0 : /usr/lib32/libvulkan_intel.so: wrong ELF class: ELFCLASS32
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0"
- Program received signal SIGSEGV, Segmentation fault.
- 0x0000000000020356 in ?? ()
- (gdb) bt
- #0 0x0000000000020356 in ?? ()
- #1 0x00007ffff6b429fb in radv_lookup_entrypoint (name=0x7ffff7fa064c "vkCreateInstance") at radv_entrypoints.c:1013
- #2 0x00007ffff6b4e601 in radv_GetInstanceProcAddr (instance=0x0, pName=0x7ffff7fa064c "vkCreateInstance") at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/vulkan/radv_device.c:1590
- #3 0x00007ffff6b4e626 in vk_icdGetInstanceProcAddr (instance=0x0, pName=0x7ffff7fa064c "vkCreateInstance") at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/vulkan/radv_device.c:1606
- #4 0x00007ffff7f77fb7 in loader_scanned_icd_add (inst=0x466f60, icd_tramp_list=0x466fa0, filename=0x7fffffffdbe0 "/usr/lib64/libvulkan_radeon.so", api_version=4194307)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:1565
- #5 0x00007ffff7f7cf22 in loader_icd_scan (inst=0x466f60, icd_tramp_list=0x466fa0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:3177
- #6 0x00007ffff7f8591d in vkCreateInstance (pCreateInfo=0x7fffffffe150, pAllocator=0x0, pInstance=0x7fffffffe2c0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/trampoline.c:329
- #7 0x00000000004026c6 in AppCreateInstance (inst=0x7fffffffe2c0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:667
- #8 0x00000000004050b9 in main (argc=1, argv=0x7fffffffe478) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:1454
- (gdb) bt full
- #0 0x0000000000020356 in ?? ()
- No symbol table info available.
- #1 0x00007ffff6b429fb in radv_lookup_entrypoint (name=0x7ffff7fa064c "vkCreateInstance") at radv_entrypoints.c:1013
- prime_factor = 5024183
- prime_step = 19
- e = 0x7ffff6c1bb00 <entrypoints>
- hash = 950370726
- h = 950370745
- i = 0
- p = 0x7ffff7fa065c ""
- #2 0x00007ffff6b4e601 in radv_GetInstanceProcAddr (instance=0x0, pName=0x7ffff7fa064c "vkCreateInstance") at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/vulkan/radv_device.c:1590
- No locals.
- #3 0x00007ffff6b4e626 in vk_icdGetInstanceProcAddr (instance=0x0, pName=0x7ffff7fa064c "vkCreateInstance") at /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/vulkan/radv_device.c:1606
- No locals.
- #4 0x00007ffff7f77fb7 in loader_scanned_icd_add (inst=0x466f60, icd_tramp_list=0x466fa0, filename=0x7fffffffdbe0 "/usr/lib64/libvulkan_radeon.so", api_version=4194307)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:1565
- handle = 0x45aa40
- fp_create_inst = 0x45aa00
- fp_get_inst_ext_props = 0x300000000
- fp_get_proc_addr = 0x7ffff6b4e603 <vk_icdGetInstanceProcAddr>
- fp_get_phys_dev_proc_addr = 0x0
- fp_negotiate_icd_version = 0x7ffff6b50855 <vk_icdNegotiateLoaderICDInterfaceVersion>
- new_scanned_icd = 0x7fffffffd9e0
- interface_vers = 3
- res = VK_SUCCESS
- __PRETTY_FUNCTION__ = "loader_scanned_icd_add"
- #5 0x00007ffff7f7cf22 in loader_icd_scan (inst=0x466f60, icd_tramp_list=0x466fa0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:3177
- temp = 0x45aa00 ""
- library_path = 0x7fffffffda50 "/usr/lib64/libvulkan_radeon.so"
- fullpath = "/usr/lib64/libvulkan_radeon.so", '\000' <repeats 993 times>
- vers = 4194307
- item = 0x45a9b0
- itemICD = 0x40ecb0
- file_vers = 0x45aa00 ""
- i = 3
- file_str = 0x40d630 "/usr/share/vulkan/icd.d/radeon_icd.x86_64.json"
- file_major_vers = 1
- file_minor_vers = 0
- file_patch_vers = 0
- vers_tok = 0x45aa05 ""
- manifest_files = {count = 4, filename_list = 0x40d420}
- res = VK_SUCCESS
- lockedMutex = true
- json = 0x4156f0
- num_good_icds = 3
- #6 0x00007ffff7f8591d in vkCreateInstance (pCreateInfo=0x7fffffffe150, pAllocator=0x0, pInstance=0x7fffffffe2c0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/trampoline.c:329
- ptr_instance = 0x466f60
- created_instance = 0x0
- loaderLocked = true
- res = VK_ERROR_INITIALIZATION_FAILED
- ici = {sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pNext = 0x7fffffffe120, flags = 0, pApplicationInfo = 0x7fffffffe190, enabledLayerCount = 0, ppEnabledLayerNames = 0x0, enabledExtensionCount = 2, ppEnabledExtensionNames = 0x7fffffffe1c0}
- layerErr = VK_SUCCESS
- #7 0x00000000004026c6 in AppCreateInstance (inst=0x7fffffffe2c0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:667
- i = 6
- ext_count = 2
- ext_names = {0x406cbe "VK_KHR_surface", 0x406ccd "VK_KHR_xcb_surface", 0x409860 "Vulkan API Version: %d.%d.%d\n\n", 0x7ffff7f6b2c0 "\300\262\366\367\377\177"}
- app_info = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, pApplicationName = 0x406ce0 "vulkaninfo", applicationVersion = 1, pEngineName = 0x406ce0 "vulkaninfo", engineVersion = 1, apiVersion = 4194304}
- inst_info = {sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pNext = 0x7fffffffe120, flags = 0, pApplicationInfo = 0x7fffffffe190, enabledLayerCount = 0, ppEnabledLayerNames = 0x0, enabledExtensionCount = 2,
- ppEnabledExtensionNames = 0x7fffffffe1c0}
- dbg_info = {sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT, pNext = 0x0, flags = 11, pfnCallback = 0x4015c6 <DbgCallback>, pUserData = 0x0}
- err = VK_SUCCESS
- #8 0x00000000004050b9 in main (argc=1, argv=0x7fffffffe478) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:1454
- vulkan_major = 1
- vulkan_minor = 0
- vulkan_patch = 39
- ---Type <return> to continue, or q <return> to quit---
- gpus = 0x1
- objs = 0x405775 <__libc_csu_init+69>
- gpu_count = 32767
- err = VK_SUCCESS
- inst = {instance = 0x7ffff7ffa268, global_layer_count = 8, global_layers = 0x41ba40, global_extension_count = 6, global_extensions = 0x420000, vkGetPhysicalDeviceSurfaceSupportKHR = 0x7ffff7ffd000 <_rtld_local>,
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0x7ffff7ffd908 <_rtld_local+2312>, vkGetPhysicalDeviceSurfaceFormatsKHR = 0x7ffff7b39199 <__libc_pthread_init+25>, vkGetPhysicalDeviceSurfacePresentModesKHR = 0xffffffff,
- surface = 0x7ffff7629ff4 <__pthread_initialize_minimal_internal+836>, width = 0, height = 0, xcb_connection = 0x40, xcb_screen = 0x800000, xcb_window = 15775231}
- format_count = -7056
- present_mode_count = 0
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment