Vkcube segfault with signal SIGFPE, Arithmetic exception in libnvidia-eglcore.so

Usually test this upon any driver upgrade, but it may have been broken since 575.64 original release.

vkcube launches and spins for a couple of frames before crashing with:

Jul 10 09:35:29 kernel: traps: vkcube[23718] trap divide error ip:7fca15d8a5bf sp:7ffef93dde00 error:0 in libnvidia-eglcore.so.575.64.03[58a5bf,7fca15a3f000+cb0000]
Core was generated by `/usr/bin/vkcube --wsi wayland --width 2560 --height 1440'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  0x00007fed24b8a5bf in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
$ vulkaninfo --summary
'DISPLAY' environment variable not set... skipping surface info
==========
VULKANINFO
==========

Vulkan Instance Version: 1.4.313


Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
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_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1
VK_NV_display_stereo                   : extension revision 1

Instance Layers: count = 2
--------------------------
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.4.303  version 1
VK_LAYER_NV_present NVIDIA GR2608 layer  1.4.303  version 1

Devices:
========
GPU0:
	apiVersion         = 1.4.303
	driverVersion      = 575.64.3.0
	vendorID           = 0x10de
	deviceID           = 0x1c82
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1050 Ti
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 575.64.03
	conformanceVersion = 1.4.1.0
	deviceUUID         = 3973861e-23b6-6c51-70e7-60235a3f1ebf
	driverUUID         = bc3026c2-9553-594d-9556-64cc156ab6f9
GPU1:
	apiVersion         = 1.4.303
	driverVersion      = 575.64.3.0
	vendorID           = 0x10de
	deviceID           = 0x1c82
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1050 Ti
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 575.64.03
	conformanceVersion = 1.4.1.0
	deviceUUID         = 3973861e-23b6-6c51-70e7-60235a3f1ebf
	driverUUID         = bc3026c2-9553-594d-9556-64cc156ab6f9

  • kernel 6.15.6
  • wlroots 0.19 (Vulkan Backend) (-D xwayland=disabled)
  • sway 1.11 (Native Wayland)
  • vulkan-icd-loader 1.4.313
  • nVidia 575.64.03

Full Backtrace (Click to expand)
``` (gdb) bt full #0 0x00007fed24b8a5bf in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #1 0x00007fed24b8aac5 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #2 0x00007fed24b8ab77 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #3 0x00007fed252964cc in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #4 0x00007fed25335df4 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #5 0x00007fed25338496 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03 No symbol table info available. #6 0x0000565029fa8f03 in demo_prepare_depth (demo=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1664 image = {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags = 0, imageType = VK_IMAGE_TYPE_2D, format = VK_FORMAT_D16_UNORM, extent = {width = 4294967295, height = 4294967295, depth = 1}, mipLevels = 1, arrayLayers = 1, samples = VK_SAMPLE_COUNT_1_BIT, tiling = VK_IMAGE_TILING_OPTIMAL, usage = 32, sharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED} view = {sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, pNext = 0x0, flags = 0, image = 0x0, viewType = VK_IMAGE_VIEW_TYPE_2D, format = VK_FORMAT_D16_UNORM, components = {r = VK_COMPONENT_SWIZZLE_IDENTITY, g = VK_COMPONENT_SWIZZLE_IDENTITY, b = VK_COMPONENT_SWIZZLE_IDENTITY, a = VK_COMPONENT_SWIZZLE_IDENTITY}, subresourceRange = {aspectMask = 2, baseMipLevel = 0, levelCount = 1, baseArrayLayer = 0, layerCount = 1}} mem_reqs = {size = 140734953232332, alignment = 0, memoryTypeBits = 0} err = pass = #7 demo_prepare_swapchain (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1620 err = oldSwapchain = surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159} presentModeCount = 4 presentModes = 0x565037038340 swapchainExtent = swapchainPresentMode = desiredNumOfSwapchainImages = preTransform = compositeAlpha = compositeAlphaFlags = swapchain_ci = {sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, pNext = 0x0, flags = 0, surface = 0x565036cd9b10, minImageCount = 3, imageFormat = VK_FORMAT_B8G8R8A8_UNORM, imageColorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, imageExtent = {width = 16384, height = 16384}, imageArrayLayers = 1, imageUsage = 16, imageSharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, presentMode = VK_PRESENT_MODE_FIFO_KHR, clipped = 1, oldSwapchain = 0x56503704d5d0} i = swapchainImages = 0x56503708fe90 semaphoreCreateInfo = {sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, pNext = 0x0, flags = 0} #8 0x0000565029faab4f in demo_resize (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2706 i = #9 0x0000565029fabbfb in demo_resize (demo=) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2673 i = #10 demo_draw (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1356 surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159} err = current_submission = {fence = 0x56503704c920, image_acquired_semaphore = 0x56503677bb60, cmd = 0x565037157630, graphics_to_present_cmd = 0x0, uniform_buffer = 0x565036cebbe0, uniform_memory = 0x565036cebd60, uniform_memory_ptr = 0x7fed1a492000, descriptor_set = 0x56503704aef8} current_swapchain_image_index = 1 current_swapchain_resource = {image = 0x56503705ff60, view = 0x565037053970, framebuffer = 0x565037144420, draw_complete_semaphore = 0x565037058ea0, image_ownership_semaphore = 0x0} pipe_stage_flags = 1024 submit_info = {sType = VK_STRUCTURE_TYPE_SUBMIT_INFO, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7fff68e51b08, pWaitDstStageMask = 0x7fff68e51a38, commandBufferCount = 1, pCommandBuffers = 0x7fff68e51b10, signalSemaphoreCount = 1, pSignalSemaphores = 0x7fff68e51aa8} present = {sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7fff68e51aa8, swapchainCount = 1, pSwapchains = 0x7fff68e536a0, pImageIndices = 0x7fff68e51a3c, pResults = 0x0} rect = {offset = {x = 0, y = 0}, extent = {width = 3072, height = 1701}, layer = 645042752} region = {rectangleCount = 650259016, pRectangles = 0x0} regions = {sType = 1143693312, pNext = 0x44d4a00044d4a000, swapchainCount = 0, pRegions = 0x7fed26cb7024 <__syscall_cancel+20>} #11 0x0000565029fa6c01 in demo_run (demo=) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:3037 No locals. #12 main (argc=, argv=) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:5156 demo = {xlib_library = 0x0, xlib_display = 0x0, xlib_window = 0, xlib_wm_delete_window = 0, xcb_library = 0x0, xcb_display = 0x0, connection = 0x0, screen = 0x0, xcb_window = 0, atom_wm_delete_window = 0x0, wayland_library = 0x565036780d60, wayland_display = 0x565036c8ed20, registry = 0x565036c8e8e0, compositor = 0x565036c8e020, window = 0x565036cbf070, xdg_wm_base = 0x565036c8f6a0, xdg_decoration_mgr = 0x565036c8e9d0, toplevel_decoration = 0x565036c91650, xdg_surface = 0x565036cd1b00, xdg_surface_has_been_configured = 1, xdg_toplevel = 0x565036cd1a90, seat = 0x565036c8f160, pointer = 0x565037077ee0, keyboard = 0x565037153e60, wsi_platform = WSI_PLATFORM_WAYLAND, surface = 0x565036cd9b10, initialized = true, swapchain_ready = false, is_minimized = false, use_staging_buffer = false, separate_present_queue = false, invalid_gpu_selection = false, gpu_number = 0, VK_KHR_incremental_present_enabled = false, VK_GOOGLE_display_timing_enabled = false, syncd_with_actual_presents = false, refresh_duration = 0, refresh_duration_multiplier = 0, target_IPD = 0, prev_desired_present_time = 0, next_present_id = 0, last_early_id = 0, last_late_id = 0, inst = 0x565036c97030, gpu = 0x565036cd25d0, device = 0x565036cfa490, graphics_queue = 0x565036f18d80, present_queue = 0x565036f18d80, graphics_queue_family_index = 0, present_queue_family_index = 0, gpu_props = {apiVersion = 4210991, driverVersion = 2412773568, vendorID = 4318, deviceID = 7298, deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, deviceName = "NVIDIA GeForce GTX 1050 Ti", '\000' , pipelineCacheUUID = "\233\037\266S\024\320u\207b\302\2028\277p\235", , limits = {maxImageDimension1D = 32768, maxImageDimension2D = 32768, maxImageDimension3D = 16384, maxImageDimensionCube = 32768, maxImageArrayLayers = 2048, maxTexelBufferElements = 134217728, maxUniformBufferRange = 65536, maxStorageBufferRange = 4294967295, maxPushConstantsSize = 256, maxMemoryAllocationCount = 4294967295, maxSamplerAllocationCount = 4000, bufferImageGranularity = 1024, sparseAddressSpaceSize = 1099511627776, maxBoundDescriptorSets = 32, maxPerStageDescriptorSamplers = 1048576, maxPerStageDescriptorUniformBuffers = 15, maxPerStageDescriptorStorageBuffers = 1048576, maxPerStageDescriptorSampledImages = 1048576, maxPerStageDescriptorStorageImages = 1048576, maxPerStageDescriptorInputAttachments = 1048576, maxPerStageResources = 4294967295, maxDescriptorSetSamplers = 1048576, maxDescriptorSetUniformBuffers = 90, maxDescriptorSetUniformBuffersDynamic = 15, maxDescriptorSetStorageBuffers = 1048576, maxDescriptorSetStorageBuffersDynamic = 16, maxDescriptorSetSampledImages = 1048576, maxDescriptorSetStorageImages = 1048576, maxDescriptorSetInputAttachments = 1048576, maxVertexInputAttributes = 32, maxVertexInputBindings = 32, maxVertexInputAttributeOffset = 2047, maxVertexInputBindingStride = 2048, maxVertexOutputComponents = 128, maxTessellationGenerationLevel = 64, maxTessellationPatchSize = 32, maxTessellationControlPerVertexInputComponents = 128, maxTessellationControlPerVertexOutputComponents = 128, maxTessellationControlPerPatchOutputComponents = 120, maxTessellationControlTotalOutputComponents = 4216, maxTessellationEvaluationInputComponents = 128, maxTessellationEvaluationOutputComponents = 128, maxGeometryShaderInvocations = 32, maxGeometryInputComponents = 128, maxGeometryOutputComponents = 128, maxGeometryOutputVertices = 1024, maxGeometryTotalOutputComponents = 1024, maxFragmentInputComponents = 128, maxFragmentOutputAttachments = 8, maxFragmentDualSrcAttachments = 1, maxFragmentCombinedOutputResources = 4294967295, maxComputeSharedMemorySize = 49152, maxComputeWorkGroupCount = {2147483647, 65535, 65535}, maxComputeWorkGroupInvocations = 1536, maxComputeWorkGroupSize = {1536, 1024, 64}, subPixelPrecisionBits = 8, subTexelPrecisionBits = 8, mipmapPrecisionBits = 8, maxDrawIndexedIndexValue = 4294967295, maxDrawIndirectCount = 4294967295, maxSamplerLodBias = 15, maxSamplerAnisotropy = 16, maxViewports = 16, maxViewportDimensions = {32768, 32768}, viewportBoundsRange = {-65536, 65536}, viewportSubPixelBits = 8, minMemoryMapAlignment = 64, minTexelBufferOffsetAlignment = 16, minUniformBufferOffsetAlignment = 256, minStorageBufferOffsetAlignment = 16, minTexelOffset = -8, maxTexelOffset = 7, minTexelGatherOffset = -32, maxTexelGatherOffset = 31, minInterpolationOffset = -0.5, maxInterpolationOffset = 0.4375, subPixelInterpolationOffsetBits = 4, maxFramebufferWidth = 32768, maxFramebufferHeight = 32768, maxFramebufferLayers = 2048, framebufferColorSampleCounts = 15, framebufferDepthSampleCounts = 15, framebufferStencilSampleCounts = 31, framebufferNoAttachmentsSampleCounts = 31, maxColorAttachments = 8, sampledImageColorSampleCounts = 15, sampledImageIntegerSampleCounts = 15, sampledImageDepthSampleCounts = 15, sampledImageStencilSampleCounts = 31, storageImageSampleCounts = 15, maxSampleMaskWords = 1, timestampComputeAndGraphics = 1, timestampPeriod = 1, maxClipDistances = 8, maxCullDistances = 8, maxCombinedClipAndCullDistances = 8, discreteQueuePriorities = 2, pointSizeRange = {1, 2047.9375}, lineWidthRange = {1, 64}, pointSizeGranularity = 0.0625, lineWidthGranularity = 0.0625, strictLines = 1, standardSampleLocations = 1, optimalBufferCopyOffsetAlignment = 1, optimalBufferCopyRowPitchAlignment = 1, nonCoherentAtomSize = 64}, sparseProperties = {residencyStandard2DBlockShape = 1, residencyStandard2DMultisampleBlockShape = 1, residencyStandard3DBlockShape = 1, residencyAlignedMipSize = 0, residencyNonResidentStrict = 1}}, queue_props = 0x565036cbf160, memory_properties = { memoryTypeCount = 11, memoryTypes = {{propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 1, heapIndex = 0}, { propertyFlags = 6, heapIndex = 1}, {propertyFlags = 14, heapIndex = 1}, {propertyFlags = 7, heapIndex = 2}, {propertyFlags = 0, heapIndex = 0} }, memoryHeapCount = 3, memoryHeaps = {{size = 4294967296, flags = 1}, {size = 101131293696, flags = 0}, {size = 257949696, flags = 1}, {size = 0, flags = 0} }}, submission_resources = {{fence = 0x5650371551b0, image_acquired_semaphore = 0x5650371415b0, cmd = 0x565037179b50, graphics_to_present_cmd = 0x0, uniform_buffer = 0x565036ceb460, uniform_memory = 0x565036ceb5e0, uniform_memory_ptr = 0x7fed1a493000, descriptor_set = 0x56503704ab80}, { fence = 0x56503704c920, image_acquired_semaphore = 0x56503677bb60, cmd = 0x565037157630, graphics_to_present_cmd = 0x0, uniform_buffer = 0x565036cebbe0, uniform_memory = 0x565036cebd60, uniform_memory_ptr = 0x7fed1a492000, descriptor_set = 0x56503704aef8}}, current_submission_index = 0, enabled_extension_count = 1, enabled_layer_count = 0, extension_names = {0x565029faea51 "VK_KHR_swapchain", 0x0 }, enabled_layers = {0x0 }, width = -1, height = -1, format = VK_FORMAT_B8G8R8A8_UNORM, color_space = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, swapchainImageCount = 3, swapchain = 0x565037038470, swapchain_resources = {{image = 0x565037043820, view = 0x5650370370a0, framebuffer = 0x0, draw_complete_semaphore = 0x565037182ed0, image_ownership_semaphore = 0x0}, {image = 0x565037159bb0, view = 0x565037053970, framebuffer = 0x0, draw_complete_semaphore = 0x565037047a40, image_ownership_semaphore = 0x0}, { image = 0x565037154b90, view = 0x56503704cdb0, framebuffer = 0x0, draw_complete_semaphore = 0x5650370597f0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}}, presentMode = VK_PRESENT_MODE_FIFO_KHR, first_swapchain_frame = false, cmd_pool = 0x5650370284e0, present_cmd_pool = 0x0, depth = {format = VK_FORMAT_D16_UNORM, image = 0x0, mem_alloc = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0}, textures = {{sampler = 0x565036ceb2b0, image = 0x565036ce9e80, buffer = 0x0, imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, mem_alloc = {sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, pNext = 0x0, allocationSize = 262144, memoryTypeIndex = 8}, mem = 0x565036cead10, view = 0x565036cd5540, tex_width = 256, tex_height = 256}}, staging_texture = {sampler = 0x0, image = 0x0, buffer = 0x0, imageLayout = VK_IMAGE_LAYOUT_UNDEFINED, mem_alloc = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0, tex_width = 0, tex_height = 0}, cmd = 0x0, pipeline_layout = 0x565036cec8a0, desc_layout = 0x565036cec360, pipelineCache = 0x56503708d3f0, render_pass = 0x565037079570, pipeline = 0x565037053e00, projection_matrix = {{2.41421342, 0, 0, 0}, {0, -2.41421342, 0, 0}, {0, 0, -1.002002, -1}, {0, 0, -0.2002002, 0}}, view_matrix = {{1, 0, -0, 0}, {-0, 0.857492983, 0.51449579, 0}, {0, -0.51449579, 0.857492983, 0}, {0, 0, -5.83095264, 1}}, model_matrix = {{0.961261749, 0, -0.275637329, 0}, {0, 1, 0, 0}, {0.275637329, 0, 0.961261749, 0}, {0, 0, 0, 1}}, spin_angle = 4, spin_increment = 0.200000003, pause = false, vert_shader_module = 0x5650370736e0, frag_shader_module = 0x565036c960b0, desc_pool = 0x565037160570, quit = false, curFrame = 3, frameCount = 2147483647, validate = false, use_break = false, suppress_popups = false, force_errors = false, dbg_messenger = 0x0, queue_family_count = 5} ```

Attaching nvidia bug report.
nvidia-bug-report.log.gz (2.0 MB)

Ugh, mangled formatting on my backtrace and I can no longer edit.

> bt full

#0  0x00007fed24b8a5bf in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#1  0x00007fed24b8aac5 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#2  0x00007fed24b8ab77 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#3  0x00007fed252964cc in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#4  0x00007fed25335df4 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#5  0x00007fed25338496 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#6  0x0000565029fa8f03 in demo_prepare_depth (demo=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1664
        image = {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags = 0, imageType = VK_IMAGE_TYPE_2D, format = VK_FORMAT_D16_UNORM, extent = {
            width = 4294967295, height = 4294967295, depth = 1}, mipLevels = 1, arrayLayers = 1, samples = VK_SAMPLE_COUNT_1_BIT, 
          tiling = VK_IMAGE_TILING_OPTIMAL, usage = 32, sharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, 
          initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}
        view = {sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, pNext = 0x0, flags = 0, image = 0x0, viewType = VK_IMAGE_VIEW_TYPE_2D, 
          format = VK_FORMAT_D16_UNORM, components = {r = VK_COMPONENT_SWIZZLE_IDENTITY, g = VK_COMPONENT_SWIZZLE_IDENTITY, 
            b = VK_COMPONENT_SWIZZLE_IDENTITY, a = VK_COMPONENT_SWIZZLE_IDENTITY}, subresourceRange = {aspectMask = 2, baseMipLevel = 0, levelCount = 1, 
            baseArrayLayer = 0, layerCount = 1}}
        mem_reqs = {size = 140734953232332, alignment = 0, memoryTypeBits = 0}
        err = <optimized out>
        pass = <optimized out>
#7  demo_prepare_swapchain (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1620
        err = <optimized out>
        oldSwapchain = <optimized out>
        surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, 
            height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, 
          currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159}
        presentModeCount = 4
        presentModes = 0x565037038340
        swapchainExtent = <optimized out>
        swapchainPresentMode = <optimized out>
        desiredNumOfSwapchainImages = <optimized out>
        preTransform = <optimized out>
        compositeAlpha = <optimized out>
        compositeAlphaFlags = <optimized out>
        swapchain_ci = {sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, pNext = 0x0, flags = 0, surface = 0x565036cd9b10, minImageCount = 3, 
          imageFormat = VK_FORMAT_B8G8R8A8_UNORM, imageColorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, imageExtent = {width = 16384, height = 16384}, 
          imageArrayLayers = 1, imageUsage = 16, imageSharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, 
          preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, presentMode = VK_PRESENT_MODE_FIFO_KHR, 
          clipped = 1, oldSwapchain = 0x56503704d5d0}
        i = <optimized out>
        swapchainImages = 0x56503708fe90
        semaphoreCreateInfo = {sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, pNext = 0x0, flags = 0}
#8  0x0000565029faab4f in demo_resize (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2706
        i = <optimized out>
#9  0x0000565029fabbfb in demo_resize (demo=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2673
        i = <optimized out>
#10 demo_draw (demo=demo@entry=0x7fff68e52b70) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1356
        surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, 
            height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, 
          currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159}
        err = <optimized out>
        current_submission = {fence = 0x56503704c920, image_acquired_semaphore = 0x56503677bb60, cmd = 0x565037157630, graphics_to_present_cmd = 0x0, 
          uniform_buffer = 0x565036cebbe0, uniform_memory = 0x565036cebd60, uniform_memory_ptr = 0x7fed1a492000, descriptor_set = 0x56503704aef8}
        current_swapchain_image_index = 1
        current_swapchain_resource = {image = 0x56503705ff60, view = 0x565037053970, framebuffer = 0x565037144420, draw_complete_semaphore = 0x565037058ea0, 
          image_ownership_semaphore = 0x0}
        pipe_stage_flags = 1024
        submit_info = {sType = VK_STRUCTURE_TYPE_SUBMIT_INFO, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7fff68e51b08, 
          pWaitDstStageMask = 0x7fff68e51a38, commandBufferCount = 1, pCommandBuffers = 0x7fff68e51b10, signalSemaphoreCount = 1, 
          pSignalSemaphores = 0x7fff68e51aa8}
        present = {sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7fff68e51aa8, swapchainCount = 1, 
          pSwapchains = 0x7fff68e536a0, pImageIndices = 0x7fff68e51a3c, pResults = 0x0}
        rect = {offset = {x = 0, y = 0}, extent = {width = 3072, height = 1701}, layer = 645042752}
        region = {rectangleCount = 650259016, pRectangles = 0x0}
        regions = {sType = 1143693312, pNext = 0x44d4a00044d4a000, swapchainCount = 0, pRegions = 0x7fed26cb7024 <__syscall_cancel+20>}
#11 0x0000565029fa6c01 in demo_run (demo=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:3037
No locals.
#12 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:5156
        demo = {xlib_library = 0x0, xlib_display = 0x0, xlib_window = 0, xlib_wm_delete_window = 0, xcb_library = 0x0, xcb_display = 0x0, connection = 0x0, 
          screen = 0x0, xcb_window = 0, atom_wm_delete_window = 0x0, wayland_library = 0x565036780d60, wayland_display = 0x565036c8ed20, 
          registry = 0x565036c8e8e0, compositor = 0x565036c8e020, window = 0x565036cbf070, xdg_wm_base = 0x565036c8f6a0, 
          xdg_decoration_mgr = 0x565036c8e9d0, toplevel_decoration = 0x565036c91650, xdg_surface = 0x565036cd1b00, xdg_surface_has_been_configured = 1, 
          xdg_toplevel = 0x565036cd1a90, seat = 0x565036c8f160, pointer = 0x565037077ee0, keyboard = 0x565037153e60, wsi_platform = WSI_PLATFORM_WAYLAND, 
          surface = 0x565036cd9b10, initialized = true, swapchain_ready = false, is_minimized = false, use_staging_buffer = false, 
          separate_present_queue = false, invalid_gpu_selection = false, gpu_number = 0, VK_KHR_incremental_present_enabled = false, 
          VK_GOOGLE_display_timing_enabled = false, syncd_with_actual_presents = false, refresh_duration = 0, refresh_duration_multiplier = 0, 
          target_IPD = 0, prev_desired_present_time = 0, next_present_id = 0, last_early_id = 0, last_late_id = 0, inst = 0x565036c97030, 
          gpu = 0x565036cd25d0, device = 0x565036cfa490, graphics_queue = 0x565036f18d80, present_queue = 0x565036f18d80, graphics_queue_family_index = 0, 
          present_queue_family_index = 0, gpu_props = {apiVersion = 4210991, driverVersion = 2412773568, vendorID = 4318, deviceID = 7298, 
            deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, deviceName = "NVIDIA GeForce GTX 1050 Ti", '\000' <repeats 229 times>, 
            pipelineCacheUUID = "\233\037\266S\024\320u\207b\302\2028\277p\235", <incomplete sequence \305>, limits = {maxImageDimension1D = 32768, 
              maxImageDimension2D = 32768, maxImageDimension3D = 16384, maxImageDimensionCube = 32768, maxImageArrayLayers = 2048, 
              maxTexelBufferElements = 134217728, maxUniformBufferRange = 65536, maxStorageBufferRange = 4294967295, maxPushConstantsSize = 256, 
              maxMemoryAllocationCount = 4294967295, maxSamplerAllocationCount = 4000, bufferImageGranularity = 1024, 
              sparseAddressSpaceSize = 1099511627776, maxBoundDescriptorSets = 32, maxPerStageDescriptorSamplers = 1048576, 
              maxPerStageDescriptorUniformBuffers = 15, maxPerStageDescriptorStorageBuffers = 1048576, maxPerStageDescriptorSampledImages = 1048576, 
              maxPerStageDescriptorStorageImages = 1048576, maxPerStageDescriptorInputAttachments = 1048576, maxPerStageResources = 4294967295, 
              maxDescriptorSetSamplers = 1048576, maxDescriptorSetUniformBuffers = 90, maxDescriptorSetUniformBuffersDynamic = 15, 
              maxDescriptorSetStorageBuffers = 1048576, maxDescriptorSetStorageBuffersDynamic = 16, maxDescriptorSetSampledImages = 1048576, 
              maxDescriptorSetStorageImages = 1048576, maxDescriptorSetInputAttachments = 1048576, maxVertexInputAttributes = 32, 
              maxVertexInputBindings = 32, maxVertexInputAttributeOffset = 2047, maxVertexInputBindingStride = 2048, maxVertexOutputComponents = 128, 
              maxTessellationGenerationLevel = 64, maxTessellationPatchSize = 32, maxTessellationControlPerVertexInputComponents = 128, 
              maxTessellationControlPerVertexOutputComponents = 128, maxTessellationControlPerPatchOutputComponents = 120, 
              maxTessellationControlTotalOutputComponents = 4216, maxTessellationEvaluationInputComponents = 128, 
              maxTessellationEvaluationOutputComponents = 128, maxGeometryShaderInvocations = 32, maxGeometryInputComponents = 128, 
              maxGeometryOutputComponents = 128, maxGeometryOutputVertices = 1024, maxGeometryTotalOutputComponents = 1024, 
              maxFragmentInputComponents = 128, maxFragmentOutputAttachments = 8, maxFragmentDualSrcAttachments = 1, 
              maxFragmentCombinedOutputResources = 4294967295, maxComputeSharedMemorySize = 49152, maxComputeWorkGroupCount = {2147483647, 65535, 65535}, 
              maxComputeWorkGroupInvocations = 1536, maxComputeWorkGroupSize = {1536, 1024, 64}, subPixelPrecisionBits = 8, subTexelPrecisionBits = 8, 
              mipmapPrecisionBits = 8, maxDrawIndexedIndexValue = 4294967295, maxDrawIndirectCount = 4294967295, maxSamplerLodBias = 15, 
              maxSamplerAnisotropy = 16, maxViewports = 16, maxViewportDimensions = {32768, 32768}, viewportBoundsRange = {-65536, 65536}, 
              viewportSubPixelBits = 8, minMemoryMapAlignment = 64, minTexelBufferOffsetAlignment = 16, minUniformBufferOffsetAlignment = 256, 
              minStorageBufferOffsetAlignment = 16, minTexelOffset = -8, maxTexelOffset = 7, minTexelGatherOffset = -32, maxTexelGatherOffset = 31, 
              minInterpolationOffset = -0.5, maxInterpolationOffset = 0.4375, subPixelInterpolationOffsetBits = 4, maxFramebufferWidth = 32768, 
              maxFramebufferHeight = 32768, maxFramebufferLayers = 2048, framebufferColorSampleCounts = 15, framebufferDepthSampleCounts = 15, 
              framebufferStencilSampleCounts = 31, framebufferNoAttachmentsSampleCounts = 31, maxColorAttachments = 8, sampledImageColorSampleCounts = 15, 
              sampledImageIntegerSampleCounts = 15, sampledImageDepthSampleCounts = 15, sampledImageStencilSampleCounts = 31, storageImageSampleCounts = 15, 
              maxSampleMaskWords = 1, timestampComputeAndGraphics = 1, timestampPeriod = 1, maxClipDistances = 8, maxCullDistances = 8, 
              maxCombinedClipAndCullDistances = 8, discreteQueuePriorities = 2, pointSizeRange = {1, 2047.9375}, lineWidthRange = {1, 64}, 
              pointSizeGranularity = 0.0625, lineWidthGranularity = 0.0625, strictLines = 1, standardSampleLocations = 1, 
              optimalBufferCopyOffsetAlignment = 1, optimalBufferCopyRowPitchAlignment = 1, nonCoherentAtomSize = 64}, sparseProperties = {
              residencyStandard2DBlockShape = 1, residencyStandard2DMultisampleBlockShape = 1, residencyStandard3DBlockShape = 1, 
              residencyAlignedMipSize = 0, residencyNonResidentStrict = 1}}, queue_props = 0x565036cbf160, memory_properties = {memoryTypeCount = 11, 
            memoryTypes = {{propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, 
                heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {
                propertyFlags = 1, heapIndex = 0}, {propertyFlags = 6, heapIndex = 1}, {propertyFlags = 14, heapIndex = 1}, {propertyFlags = 7, 
                heapIndex = 2}, {propertyFlags = 0, heapIndex = 0} <repeats 21 times>}, memoryHeapCount = 3, memoryHeaps = {{size = 4294967296, flags = 1}, {
                size = 101131293696, flags = 0}, {size = 257949696, flags = 1}, {size = 0, flags = 0} <repeats 13 times>}}, submission_resources = {{
              fence = 0x5650371551b0, image_acquired_semaphore = 0x5650371415b0, cmd = 0x565037179b50, graphics_to_present_cmd = 0x0, 
              uniform_buffer = 0x565036ceb460, uniform_memory = 0x565036ceb5e0, uniform_memory_ptr = 0x7fed1a493000, descriptor_set = 0x56503704ab80}, {
              fence = 0x56503704c920, image_acquired_semaphore = 0x56503677bb60, cmd = 0x565037157630, graphics_to_present_cmd = 0x0, 
              uniform_buffer = 0x565036cebbe0, uniform_memory = 0x565036cebd60, uniform_memory_ptr = 0x7fed1a492000, descriptor_set = 0x56503704aef8}}, 
          current_submission_index = 0, enabled_extension_count = 1, enabled_layer_count = 0, extension_names = {0x565029faea51 "VK_KHR_swapchain", 
            0x0 <repeats 63 times>}, enabled_layers = {0x0 <repeats 64 times>}, width = -1, height = -1, format = VK_FORMAT_B8G8R8A8_UNORM, 
          color_space = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, swapchainImageCount = 3, swapchain = 0x565037038470, swapchain_resources = {{
              image = 0x565037043820, view = 0x5650370370a0, framebuffer = 0x0, draw_complete_semaphore = 0x565037182ed0, image_ownership_semaphore = 0x0}, {
              image = 0x565037159bb0, view = 0x565037053970, framebuffer = 0x0, draw_complete_semaphore = 0x565037047a40, image_ownership_semaphore = 0x0}, {
              image = 0x565037154b90, view = 0x56503704cdb0, framebuffer = 0x0, draw_complete_semaphore = 0x5650370597f0, image_ownership_semaphore = 0x0}, {
              image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, 
              framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, 
              draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, 
              image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, 
              image_ownership_semaphore = 0x0}}, presentMode = VK_PRESENT_MODE_FIFO_KHR, first_swapchain_frame = false, cmd_pool = 0x5650370284e0, 
          present_cmd_pool = 0x0, depth = {format = VK_FORMAT_D16_UNORM, image = 0x0, mem_alloc = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, 
              allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0}, textures = {{sampler = 0x565036ceb2b0, image = 0x565036ce9e80, buffer = 0x0, 
              imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, mem_alloc = {sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, pNext = 0x0, 
                allocationSize = 262144, memoryTypeIndex = 8}, mem = 0x565036cead10, view = 0x565036cd5540, tex_width = 256, tex_height = 256}}, 
          staging_texture = {sampler = 0x0, image = 0x0, buffer = 0x0, imageLayout = VK_IMAGE_LAYOUT_UNDEFINED, mem_alloc = {
              sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0, tex_width = 0, 
            tex_height = 0}, cmd = 0x0, pipeline_layout = 0x565036cec8a0, desc_layout = 0x565036cec360, pipelineCache = 0x56503708d3f0, 
          render_pass = 0x565037079570, pipeline = 0x565037053e00, projection_matrix = {{2.41421342, 0, 0, 0}, {0, -2.41421342, 0, 0}, {0, 0, -1.002002, 
              -1}, {0, 0, -0.2002002, 0}}, view_matrix = {{1, 0, -0, 0}, {-0, 0.857492983, 0.51449579, 0}, {0, -0.51449579, 0.857492983, 0}, {0, 0, 
              -5.83095264, 1}}, model_matrix = {{0.961261749, 0, -0.275637329, 0}, {0, 1, 0, 0}, {0.275637329, 0, 0.961261749, 0}, {0, 0, 0, 1}}, 
          spin_angle = 4, spin_increment = 0.200000003, pause = false, vert_shader_module = 0x5650370736e0, frag_shader_module = 0x565036c960b0, 
          desc_pool = 0x565037160570, quit = false, curFrame = 3, frameCount = 2147483647, validate = false, use_break = false, suppress_popups = false, 
          force_errors = false, dbg_messenger = 0x0, queue_family_count = 5}

> t a a bt full

Thread 6 (Thread 0x7f68479fe6c0 (LWP 28128)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
No locals.
#1  0x00007f686138ffda in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=0, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f686139064c in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f683c000d40, expected=0, op=<optimized out>, abstime=0x7f68479fde00, cancel=true) at futex-internal.c:57
No locals.
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f683c000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68479fde00, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = <optimized out>
        op = <optimized out>
#4  0x00007f68613906af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f683c000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68479fde00, private=private@entry=0) at futex-internal.c:139
No locals.
#5  0x00007f6861392f28 in __pthread_cond_wait_common (cond=0x7f683c000d20, mutex=0x55d75a1301e0, clockid=<optimized out>, abstime=0x7f68479fde00) at pthread_cond_wait.c:426
        signals = 0
        g1_start = <optimized out>
        buffer = {__routine = 0x7f6861392b40 <__condvar_cleanup_waiting>, __arg = 0x7f68479fdd90, __canceltype = 1201659328, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x7f683c000d20, mutex = 0x55d75a1301e0, private = 0}
        err = <optimized out>
        result = 0
        wseq = <optimized out>
        g = <optimized out>
        seq = 0
        flags = <optimized out>
        private = 0
#6  ___pthread_cond_timedwait64 (cond=0x7f683c000d20, mutex=0x55d75a1301e0, abstime=0x7f68479fde00) at pthread_cond_wait.c:483
        flags = <optimized out>
        clockid = <optimized out>
#7  0x00007f685f612140 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#8  0x00007f685f9a8de9 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#9  0x00007f685f6159ea in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#10 0x00007f68613937eb in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140085854987968, 7612270499464839910, 140085854987968, 140726948471200, 2, 140726948471463, 7612270499439674086, 7612344500896236262}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#11 0x00007f686141718c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Thread 5 (Thread 0x7f68471fd6c0 (LWP 28129)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
No locals.
#1  0x00007f686138ffda in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f686139064c in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f6838000d40, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
No locals.
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6838000d40, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = <optimized out>
        op = <optimized out>
#4  0x00007f68613906af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6838000d40, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
No locals.
#5  0x00007f6861392d1e in __pthread_cond_wait_common (cond=0x7f6838000d20, mutex=0x55d75a2a8170, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
        signals = <optimized out>
        g1_start = <optimized out>
        buffer = {__routine = 0x7f6861392b40 <__condvar_cleanup_waiting>, __arg = 0x7f68471fcd70, __canceltype = 1193266592, __prev = 0x0}
        cbuffer = {wseq = 4, cond = 0x7f6838000d20, mutex = 0x55d75a2a8170, private = 0}
        err = <optimized out>
        result = 0
        wseq = 4
        g = <optimized out>
        seq = 2
        flags = <optimized out>
        private = 0
#6  ___pthread_cond_wait (cond=0x7f6838000d20, mutex=0x55d75a2a8170) at pthread_cond_wait.c:458
No locals.
#7  0x00007f685f6120df in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#8  0x00007f685f99b758 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#9  0x00007f685f6159ea in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#10 0x00007f68613937eb in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140085846595264, 7612269400490083046, 140085846595264, 140726948471168, 2, 140726948471431, 7612269400464917222, 7612344500896236262}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#11 0x00007f686141718c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Thread 4 (Thread 0x7f68481ff6c0 (LWP 28127)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
No locals.
#1  0x00007f686138ffda in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=0, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f686139064c in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f6840000d40, expected=0, op=<optimized out>, abstime=0x7f68481fedc0, cancel=true) at futex-internal.c:57
No locals.
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6840000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68481fedc0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = <optimized out>
        op = <optimized out>
#4  0x00007f68613906af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6840000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68481fedc0, private=private@entry=0) at futex-internal.c:139
No locals.
#5  0x00007f6861392f28 in __pthread_cond_wait_common (cond=0x7f6840000d20, mutex=0x55d75a145dc0, clockid=<optimized out>, abstime=0x7f68481fedc0) at pthread_cond_wait.c:426
        signals = 0
--Type <RET> for more, q to quit, c to continue without paging--c
        g1_start = <optimized out>
        buffer = {__routine = 0x7f6861392b40 <__condvar_cleanup_waiting>, __arg = 0x7f68481fed50, __canceltype = 1210051968, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x7f6840000d20, mutex = 0x55d75a145dc0, private = 0}
        err = <optimized out>
        result = 0
        wseq = <optimized out>
        g = <optimized out>
        seq = 0
        flags = <optimized out>
        private = 0
#6  ___pthread_cond_timedwait64 (cond=0x7f6840000d20, mutex=0x55d75a145dc0, abstime=0x7f68481fedc0) at pthread_cond_wait.c:483
        flags = <optimized out>
        clockid = <optimized out>
#7  0x00007f685f612140 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#8  0x00007f685f97cdda in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#9  0x00007f685f6159ea in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#10 0x00007f68613937eb in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140085863380672, 7612254008401036006, 140085863380672, 140726948471120, 2, 140726948471383, 7612254008375870182, 7612344500896236262}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#11 0x00007f686141718c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Thread 3 (Thread 0x7f68467fc6c0 (LWP 28131)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
No locals.
#1  0x00007f686138ffda in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=0, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f686139064c in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f6830000d90, expected=0, op=<optimized out>, abstime=0x7f68467fbde0, cancel=true) at futex-internal.c:57
No locals.
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6830000d90, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68467fbde0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = <optimized out>
        op = <optimized out>
#4  0x00007f68613906af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6830000d90, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f68467fbde0, private=private@entry=0) at futex-internal.c:139
No locals.
#5  0x00007f6861392f28 in __pthread_cond_wait_common (cond=0x7f6830000d70, mutex=0x55d75a388bf0, clockid=<optimized out>, abstime=0x7f68467fbde0) at pthread_cond_wait.c:426
        signals = 0
        g1_start = <optimized out>
        buffer = {__routine = 0x7f6861392b40 <__condvar_cleanup_waiting>, __arg = 0x7f68467fbd70, __canceltype = 0, __prev = 0x0}
        cbuffer = {wseq = 8, cond = 0x7f6830000d70, mutex = 0x55d75a388bf0, private = 0}
        err = <optimized out>
        result = 0
        wseq = <optimized out>
        g = <optimized out>
        seq = 4
        flags = <optimized out>
        private = 0
#6  ___pthread_cond_timedwait64 (cond=0x7f6830000d70, mutex=0x55d75a388bf0, abstime=0x7f68467fbde0) at pthread_cond_wait.c:483
        flags = <optimized out>
        clockid = <optimized out>
#7  0x00007f685f612140 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#8  0x00007f685f979b24 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#9  0x00007f685f6159ea in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#10 0x00007f68613937eb in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140085836105408, 7612266929273275110, 140085836105408, 140726948471296, 2, 140726948471559, 7612266929248109286, 7612344500896236262}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#11 0x00007f686141718c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Thread 2 (Thread 0x7f6845e7b6c0 (LWP 28133)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
No locals.
#1  0x00007f686138ffda in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=0, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
        result = <optimized out>
        pd = <optimized out>
        ch = <optimized out>
#2  0x00007f686139064c in __futex_abstimed_wait_common64 (private=0, futex_word=0x7f6834000d40, expected=0, op=<optimized out>, abstime=0x7f6845e7add0, cancel=true) at futex-internal.c:57
No locals.
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6834000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f6845e7add0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
        err = <optimized out>
        clockbit = <optimized out>
        op = <optimized out>
#4  0x00007f68613906af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6834000d40, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x7f6845e7add0, private=private@entry=0) at futex-internal.c:139
No locals.
#5  0x00007f6861392f28 in __pthread_cond_wait_common (cond=0x7f6834000d20, mutex=0x55d75a145e30, clockid=<optimized out>, abstime=0x7f6845e7add0) at pthread_cond_wait.c:426
        signals = 0
        g1_start = <optimized out>
        buffer = {__routine = 0x7f6861392b40 <__condvar_cleanup_waiting>, __arg = 0x7f6845e7ad60, __canceltype = 1172811152, __prev = 0x0}
        cbuffer = {wseq = 4, cond = 0x7f6834000d20, mutex = 0x55d75a145e30, private = 0}
        err = <optimized out>
        result = 0
        wseq = <optimized out>
        g = <optimized out>
        seq = 2
        flags = <optimized out>
        private = 0
#6  ___pthread_cond_timedwait64 (cond=0x7f6834000d20, mutex=0x55d75a145e30, abstime=0x7f6845e7add0) at pthread_cond_wait.c:483
        flags = <optimized out>
        clockid = <optimized out>
#7  0x00007f685f612140 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#8  0x00007f685fadbdb1 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#9  0x00007f685face4de in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#10 0x00007f685f6159ea in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#11 0x00007f68613937eb in start_thread (arg=<optimized out>) at pthread_create.c:448
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140085826139840, 7612265624140088038, 140085826139840, 140726948470832, 2, 140726948471095, 7612265624114922214, 7612344500896236262}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#12 0x00007f686141718c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Thread 1 (Thread 0x7f68612fb740 (LWP 28124)):
#0  0x00007f685f18a5bf in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#1  0x00007f685f18aac5 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#2  0x00007f685f18ab77 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#3  0x00007f685f8964cc in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#4  0x00007f685f935df4 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#5  0x00007f685f938496 in ?? () from /usr/lib/libnvidia-eglcore.so.575.64.03
No symbol table info available.
#6  0x000055d72cefbf03 in demo_prepare_depth (demo=0x7ffd8bc63ab0) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1664
        image = {sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, pNext = 0x0, flags = 0, imageType = VK_IMAGE_TYPE_2D, format = VK_FORMAT_D16_UNORM, extent = {width = 4294967295, height = 4294967295, depth = 1}, mipLevels = 1, arrayLayers = 1, samples = VK_SAMPLE_COUNT_1_BIT, tiling = VK_IMAGE_TILING_OPTIMAL, usage = 32, sharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, initialLayout = VK_IMAGE_LAYOUT_UNDEFINED}
        view = {sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, pNext = 0x0, flags = 0, image = 0x0, viewType = VK_IMAGE_VIEW_TYPE_2D, format = VK_FORMAT_D16_UNORM, components = {r = VK_COMPONENT_SWIZZLE_IDENTITY, g = VK_COMPONENT_SWIZZLE_IDENTITY, b = VK_COMPONENT_SWIZZLE_IDENTITY, a = VK_COMPONENT_SWIZZLE_IDENTITY}, subresourceRange = {aspectMask = 2, baseMipLevel = 0, levelCount = 1, baseArrayLayer = 0, layerCount = 1}}
        mem_reqs = {size = 140726948472588, alignment = 0, memoryTypeBits = 0}
        err = <optimized out>
        pass = <optimized out>
#7  demo_prepare_swapchain (demo=demo@entry=0x7ffd8bc63ab0) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1620
        err = <optimized out>
        oldSwapchain = <optimized out>
        surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159}
        presentModeCount = 4
        presentModes = 0x55d75a4df6d0
        swapchainExtent = <optimized out>
        swapchainPresentMode = <optimized out>
        desiredNumOfSwapchainImages = <optimized out>
        preTransform = <optimized out>
        compositeAlpha = <optimized out>
        compositeAlphaFlags = <optimized out>
        swapchain_ci = {sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, pNext = 0x0, flags = 0, surface = 0x55d75a14d050, minImageCount = 3, imageFormat = VK_FORMAT_B8G8R8A8_UNORM, imageColorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, imageExtent = {width = 16384, height = 16384}, imageArrayLayers = 1, imageUsage = 16, imageSharingMode = VK_SHARING_MODE_EXCLUSIVE, queueFamilyIndexCount = 0, pQueueFamilyIndices = 0x0, preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, presentMode = VK_PRESENT_MODE_FIFO_KHR, clipped = 1, oldSwapchain = 0x55d75a4e37b0}
        i = <optimized out>
        swapchainImages = 0x55d75a4dbe00
        semaphoreCreateInfo = {sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, pNext = 0x0, flags = 0}
#8  0x000055d72cefdb4f in demo_resize (demo=demo@entry=0x7ffd8bc63ab0) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2706
        i = <optimized out>
#9  0x000055d72cefebfb in demo_resize (demo=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:2673
        i = <optimized out>
#10 demo_draw (demo=demo@entry=0x7ffd8bc63ab0) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:1356
        surfCapabilities = {minImageCount = 2, maxImageCount = 8, currentExtent = {width = 4294967295, height = 4294967295}, minImageExtent = {width = 1, height = 1}, maxImageExtent = {width = 16384, height = 16384}, maxImageArrayLayers = 1, supportedTransforms = 1, currentTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, supportedCompositeAlpha = 3, supportedUsageFlags = 159}
        err = <optimized out>
        current_submission = {fence = 0x55d75a49a300, image_acquired_semaphore = 0x55d75a4d9330, cmd = 0x55d75a4d6300, graphics_to_present_cmd = 0x0, uniform_buffer = 0x55d75a15f150, uniform_memory = 0x55d75a15f2d0, uniform_memory_ptr = 0x7f685779e000, descriptor_set = 0x55d75a4c6e08}
        current_swapchain_image_index = 1
        current_swapchain_resource = {image = 0x55d75a4dc460, view = 0x55d75a4e06c0, framebuffer = 0x55d75a4dbe70, draw_complete_semaphore = 0x55d75a4dea80, image_ownership_semaphore = 0x0}
        pipe_stage_flags = 1024
        submit_info = {sType = VK_STRUCTURE_TYPE_SUBMIT_INFO, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7ffd8bc62a48, pWaitDstStageMask = 0x7ffd8bc62978, commandBufferCount = 1, pCommandBuffers = 0x7ffd8bc62a50, signalSemaphoreCount = 1, pSignalSemaphores = 0x7ffd8bc629e8}
        present = {sType = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, pNext = 0x0, waitSemaphoreCount = 1, pWaitSemaphores = 0x7ffd8bc629e8, swapchainCount = 1, pSwapchains = 0x7ffd8bc645e0, pImageIndices = 0x7ffd8bc6297c, pResults = 0x0}
        rect = {offset = {x = 0, y = 0}, extent = {width = 1532, height = 1699}, layer = 1625281088}
        region = {rectangleCount = 1630517832, pRectangles = 0x0}
        regions = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x44bf800044bf8000, swapchainCount = 0, pRegions = 0x7f6861390024 <__syscall_cancel+20>}
#11 0x000055d72cef9c01 in demo_run (demo=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:3037
No locals.
#12 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/vulkan-tools/Vulkan-Tools/cube/cube.c:5156
        demo = {xlib_library = 0x0, xlib_display = 0x0, xlib_window = 0, xlib_wm_delete_window = 0, xcb_library = 0x0, xcb_display = 0x0, connection = 0x0, screen = 0x0, xcb_window = 0, atom_wm_delete_window = 0x0, wayland_library = 0x55d759bf6df0, wayland_display = 0x55d75a102460, registry = 0x55d75a101df0, compositor = 0x55d75a101530, window = 0x55d75a1322b0, xdg_wm_base = 0x55d75a102ba0, xdg_decoration_mgr = 0x55d75a101ee0, toplevel_decoration = 0x55d75a104b60, xdg_surface = 0x55d75a145040, xdg_surface_has_been_configured = 1, xdg_toplevel = 0x55d75a144fd0, seat = 0x55d75a102670, pointer = 0x55d75a4e3240, keyboard = 0x55d75a4e33b0, wsi_platform = WSI_PLATFORM_WAYLAND, surface = 0x55d75a14d050, initialized = true, swapchain_ready = false, is_minimized = false, use_staging_buffer = false, separate_present_queue = false, invalid_gpu_selection = false, gpu_number = 0, VK_KHR_incremental_present_enabled = false, VK_GOOGLE_display_timing_enabled = false, syncd_with_actual_presents = false, refresh_duration = 0, refresh_duration_multiplier = 0, target_IPD = 0, prev_desired_present_time = 0, next_present_id = 0, last_early_id = 0, last_late_id = 0, inst = 0x55d75a10a420, gpu = 0x55d75a145b10, device = 0x55d75a16da00, graphics_queue = 0x55d75a38bd10, present_queue = 0x55d75a38bd10, graphics_queue_family_index = 0, present_queue_family_index = 0, gpu_props = {apiVersion = 4210991, driverVersion = 2412773568, vendorID = 4318, deviceID = 7298, deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, deviceName = "NVIDIA GeForce GTX 1050 Ti", '\000' <repeats 229 times>, pipelineCacheUUID = "\233\037\266S\024\320u\207b\302\2028\277p\235", <incomplete sequence \305>, limits = {maxImageDimension1D = 32768, maxImageDimension2D = 32768, maxImageDimension3D = 16384, maxImageDimensionCube = 32768, maxImageArrayLayers = 2048, maxTexelBufferElements = 134217728, maxUniformBufferRange = 65536, maxStorageBufferRange = 4294967295, maxPushConstantsSize = 256, maxMemoryAllocationCount = 4294967295, maxSamplerAllocationCount = 4000, bufferImageGranularity = 1024, sparseAddressSpaceSize = 1099511627776, maxBoundDescriptorSets = 32, maxPerStageDescriptorSamplers = 1048576, maxPerStageDescriptorUniformBuffers = 15, maxPerStageDescriptorStorageBuffers = 1048576, maxPerStageDescriptorSampledImages = 1048576, maxPerStageDescriptorStorageImages = 1048576, maxPerStageDescriptorInputAttachments = 1048576, maxPerStageResources = 4294967295, maxDescriptorSetSamplers = 1048576, maxDescriptorSetUniformBuffers = 90, maxDescriptorSetUniformBuffersDynamic = 15, maxDescriptorSetStorageBuffers = 1048576, maxDescriptorSetStorageBuffersDynamic = 16, maxDescriptorSetSampledImages = 1048576, maxDescriptorSetStorageImages = 1048576, maxDescriptorSetInputAttachments = 1048576, maxVertexInputAttributes = 32, maxVertexInputBindings = 32, maxVertexInputAttributeOffset = 2047, maxVertexInputBindingStride = 2048, maxVertexOutputComponents = 128, maxTessellationGenerationLevel = 64, maxTessellationPatchSize = 32, maxTessellationControlPerVertexInputComponents = 128, maxTessellationControlPerVertexOutputComponents = 128, maxTessellationControlPerPatchOutputComponents = 120, maxTessellationControlTotalOutputComponents = 4216, maxTessellationEvaluationInputComponents = 128, maxTessellationEvaluationOutputComponents = 128, maxGeometryShaderInvocations = 32, maxGeometryInputComponents = 128, maxGeometryOutputComponents = 128, maxGeometryOutputVertices = 1024, maxGeometryTotalOutputComponents = 1024, maxFragmentInputComponents = 128, maxFragmentOutputAttachments = 8, maxFragmentDualSrcAttachments = 1, maxFragmentCombinedOutputResources = 4294967295, maxComputeSharedMemorySize = 49152, maxComputeWorkGroupCount = {2147483647, 65535, 65535}, maxComputeWorkGroupInvocations = 1536, maxComputeWorkGroupSize = {1536, 1024, 64}, subPixelPrecisionBits = 8, subTexelPrecisionBits = 8, mipmapPrecisionBits = 8, maxDrawIndexedIndexValue = 4294967295, maxDrawIndirectCount = 4294967295, maxSamplerLodBias = 15, maxSamplerAnisotropy = 16, maxViewports = 16, maxViewportDimensions = {32768, 32768}, viewportBoundsRange = {-65536, 65536}, viewportSubPixelBits = 8, minMemoryMapAlignment = 64, minTexelBufferOffsetAlignment = 16, minUniformBufferOffsetAlignment = 256, minStorageBufferOffsetAlignment = 16, minTexelOffset = -8, maxTexelOffset = 7, minTexelGatherOffset = -32, maxTexelGatherOffset = 31, minInterpolationOffset = -0.5, maxInterpolationOffset = 0.4375, subPixelInterpolationOffsetBits = 4, maxFramebufferWidth = 32768, maxFramebufferHeight = 32768, maxFramebufferLayers = 2048, framebufferColorSampleCounts = 15, framebufferDepthSampleCounts = 15, framebufferStencilSampleCounts = 31, framebufferNoAttachmentsSampleCounts = 31, maxColorAttachments = 8, sampledImageColorSampleCounts = 15, sampledImageIntegerSampleCounts = 15, sampledImageDepthSampleCounts = 15, sampledImageStencilSampleCounts = 31, storageImageSampleCounts = 15, maxSampleMaskWords = 1, timestampComputeAndGraphics = 1, timestampPeriod = 1, maxClipDistances = 8, maxCullDistances = 8, maxCombinedClipAndCullDistances = 8, discreteQueuePriorities = 2, pointSizeRange = {1, 2047.9375}, lineWidthRange = {1, 64}, pointSizeGranularity = 0.0625, lineWidthGranularity = 0.0625, strictLines = 1, standardSampleLocations = 1, optimalBufferCopyOffsetAlignment = 1, optimalBufferCopyRowPitchAlignment = 1, nonCoherentAtomSize = 64}, sparseProperties = {residencyStandard2DBlockShape = 1, residencyStandard2DMultisampleBlockShape = 1, residencyStandard3DBlockShape = 1, residencyAlignedMipSize = 0, residencyNonResidentStrict = 1}}, queue_props = 0x55d75a1323a0, memory_properties = {memoryTypeCount = 11, memoryTypes = {{propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 0, heapIndex = 1}, {propertyFlags = 1, heapIndex = 0}, {propertyFlags = 6, heapIndex = 1}, {propertyFlags = 14, heapIndex = 1}, {propertyFlags = 7, heapIndex = 2}, {propertyFlags = 0, heapIndex = 0} <repeats 21 times>}, memoryHeapCount = 3, memoryHeaps = {{size = 4294967296, flags = 1}, {size = 101131290624, flags = 0}, {size = 257949696, flags = 1}, {size = 0, flags = 0} <repeats 13 times>}}, submission_resources = {{fence = 0x55d75a49a1f0, image_acquired_semaphore = 0x55d75a4d9080, cmd = 0x55d75a4c9300, graphics_to_present_cmd = 0x0, uniform_buffer = 0x55d75a15e9d0, uniform_memory = 0x55d75a15eb50, uniform_memory_ptr = 0x7f685779f000, descriptor_set = 0x55d75a4c6a90}, {fence = 0x55d75a49a300, image_acquired_semaphore = 0x55d75a4d9330, cmd = 0x55d75a4d6300, graphics_to_present_cmd = 0x0, uniform_buffer = 0x55d75a15f150, uniform_memory = 0x55d75a15f2d0, uniform_memory_ptr = 0x7f685779e000, descriptor_set = 0x55d75a4c6e08}}, current_submission_index = 0, enabled_extension_count = 1, enabled_layer_count = 0, extension_names = {0x55d72cf01a51 "VK_KHR_swapchain", 0x0 <repeats 63 times>}, enabled_layers = {0x0 <repeats 64 times>}, width = -1, height = -1, format = VK_FORMAT_B8G8R8A8_UNORM, color_space = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, swapchainImageCount = 3, swapchain = 0x55d75a4e3f60, swapchain_resources = {{image = 0x55d75a4db020, view = 0x55d75a4e0570, framebuffer = 0x0, draw_complete_semaphore = 0x55d75a4e0d40, image_ownership_semaphore = 0x0}, {image = 0x55d75a4da7d0, view = 0x55d75a4e06c0, framebuffer = 0x0, draw_complete_semaphore = 0x55d75a4e3630, image_ownership_semaphore = 0x0}, {image = 0x55d75a4de500, view = 0x55d75a4e0a00, framebuffer = 0x0, draw_complete_semaphore = 0x55d75a4dbca0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}, {image = 0x0, view = 0x0, framebuffer = 0x0, draw_complete_semaphore = 0x0, image_ownership_semaphore = 0x0}}, presentMode = VK_PRESENT_MODE_FIFO_KHR, first_swapchain_frame = false, cmd_pool = 0x55d75a49b170, present_cmd_pool = 0x0, depth = {format = VK_FORMAT_D16_UNORM, image = 0x0, mem_alloc = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0}, textures = {{sampler = 0x55d75a15e820, image = 0x55d75a15d3f0, buffer = 0x0, imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, mem_alloc = {sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, pNext = 0x0, allocationSize = 262144, memoryTypeIndex = 8}, mem = 0x55d75a15e280, view = 0x55d75a148a80, tex_width = 256, tex_height = 256}}, staging_texture = {sampler = 0x0, image = 0x0, buffer = 0x0, imageLayout = VK_IMAGE_LAYOUT_UNDEFINED, mem_alloc = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, allocationSize = 0, memoryTypeIndex = 0}, mem = 0x0, view = 0x0, tex_width = 0, tex_height = 0}, cmd = 0x0, pipeline_layout = 0x55d75a15fe10, desc_layout = 0x55d75a15f8d0, pipelineCache = 0x55d75a163ea0, render_pass = 0x55d75a169320, pipeline = 0x55d75a164ef0, projection_matrix = {{2.41421342, 0, 0, 0}, {0, -2.41421342, 0, 0}, {0, 0, -1.002002, -1}, {0, 0, -0.2002002, 0}}, view_matrix = {{1, 0, -0, 0}, {-0, 0.857492983, 0.51449579, 0}, {0, -0.51449579, 0.857492983, 0}, {0, 0, -5.83095264, 1}}, model_matrix = {{0.961261749, 0, -0.275637329, 0}, {0, 1, 0, 0}, {0.275637329, 0, 0.961261749, 0}, {0, 0, 0, 1}}, spin_angle = 4, spin_increment = 0.200000003, pause = false, vert_shader_module = 0x55d75a108b40, frag_shader_module = 0x55d75a109f10, desc_pool = 0x55d75a4c68c0, quit = false, curFrame = 3, frameCount = 2147483647, validate = false, use_break = false, suppress_popups = false, force_errors = false, dbg_messenger = 0x0, queue_family_count = 5}

This is interesting / frustrating given:

  1. Sway itself is running on Vulkan via wlroots built with only the Vulkan backend available.
  2. GTK4 Vulkan backend is functional
  3. Other Vulkan tools work fine:
$ vkgears 
305 frames in 5.0 seconds = 60.989 FPS
300 frames in 5.0 seconds = 59.993 FPS
300 frames in 5.0 seconds = 59.999 FPS
$ vkmark 
=======================================================
    vkmark 2025.01
=======================================================
    Vendor ID:      0x10DE
    Device ID:      0x1C82
    Device Name:    NVIDIA GeForce GTX 1050 Ti
    Driver Version: 2412773568
    Device UUID:    9b1fb65314d0758762c28238bf709dc5
=======================================================
[vertex] device-local=true: FPS: 10456 FrameTime: 0.096 ms
[vertex] device-local=false: FPS: 11048 FrameTime: 0.091 ms
[texture] anisotropy=0: FPS: 8862 FrameTime: 0.113 ms
[texture] anisotropy=16: FPS: 8803 FrameTime: 0.114 ms
[shading] shading=gouraud: FPS: 9254 FrameTime: 0.108 ms
[shading] shading=blinn-phong-inf: FPS: 9214 FrameTime: 0.109 ms
[shading] shading=phong: FPS: 8910 FrameTime: 0.112 ms
[shading] shading=cel: FPS: 8957 FrameTime: 0.112 ms
[effect2d] kernel=edge: FPS: 14155 FrameTime: 0.071 ms
[effect2d] kernel=blur: FPS: 7624 FrameTime: 0.131 ms
[desktop] <default>: FPS: 8781 FrameTime: 0.114 ms
[cube] <default>: FPS: 38008 FrameTime: 0.026 ms
[clear] <default>: FPS: 35965 FrameTime: 0.028 ms
=======================================================
                                   vkmark Score: 13849
=======================================================

This is a driver issue and not a Sway issue.

Ruled out sway by switching to nouveau drivers:

GPU0:
	apiVersion         = 1.3.311
	driverVersion      = 25.1.6
	vendorID           = 0x10de
	deviceID           = 0x1c82
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce GTX 1050 Ti (NVK GP107)
	driverID           = DRIVER_ID_MESA_NVK
	driverName         = NVK
	driverInfo         = Mesa 25.1.6-arch1.1
	conformanceVersion = 1.4.1.3
	deviceUUID         = 3701de10-821c-0000-0100-000100000000
	driverUUID         = e5191830-0fe3-e436-ea8a-b9ba1a00fb48

vkcube runs without issue on Sway with Nouveau + Mesa NVK.


GDB Backtrace
nvidia-bug-report.log.gz

EDIT: vkcube also crashes with the same backtrace on Weston

Message: Process 25037 (vkcube) of user 1000 dumped core.
                
                Stack trace of thread 25037:
                #0  0x00007f8a5838a5bf n/a (libnvidia-eglcore.so.575.64.05 + 0x58a5bf)
                #1  0x00007f8a5838aac5 n/a (libnvidia-eglcore.so.575.64.05 + 0x58aac5)
                #2  0x00007f8a5838ab77 n/a (libnvidia-eglcore.so.575.64.05 + 0x58ab77)
                #3  0x00007f8a58a964cc n/a (libnvidia-eglcore.so.575.64.05 + 0xc964cc)
                #4  0x00007f8a58b35df4 n/a (libnvidia-eglcore.so.575.64.05 + 0xd35df4)
                #5  0x00007f8a58b38496 n/a (libnvidia-eglcore.so.575.64.05 + 0xd38496)
                #6  0x0000564edb4a9ee3 n/a (/usr/bin/vkcube + 0x5ee3)
                #7  0x0000564edb4acbbb n/a (/usr/bin/vkcube + 0x8bbb)
                #8  0x0000564edb4a7c01 n/a (/usr/bin/vkcube + 0x3c01)
                #9  0x00007f8a60f366b5 n/a (libc.so.6 + 0x276b5)
                #10 0x00007f8a60f36769 __libc_start_main (libc.so.6 + 0x27769)
                #11 0x0000564edb4a7fa5 n/a (/usr/bin/vkcube + 0x3fa5)

Hi @Tekstryder
We have filed a bug 5412470 internally for tracking purpose.
Shall keep you updated on the progress.

Thank you!

After investigating the issue, we found that this is actually a bug in the vkcube application, which has already been fixed with this change cube: Fix wayland resize broken when extent is 0xFFFFFFFF · KhronosGroup/Vulkan-Tools@36f2e75 · GitHub.
vkcube should start working properly on your system after updating vkcube to a version that contains this fix.

Good find. Thanks for the heads-up!

I’ll build/verify the 1.4.323 tag.

Verified fixed on Sway with vulkan-tools 1.4.323.

Marking as SOLVED.