Skip to content

halmark freezes #2297

@caiiiycuk

Description

@caiiiycuk

The halmark test starts but show broken window and I can't close it (looks like it freezes). Maybe related to #2196

cargo run --example halmark 
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/examples/halmark`
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Surface caps: Some(SurfaceCapabilities { formats: [Bgra8Unorm, Bgra8UnormSrgb], swap_chain_sizes: 4..=4294967295, current_extent: None, extents: Extent3d { width: 1, height: 1, depth_or_array_layers: 1 }..=Extent3d { width: 16384, height: 16384, depth_or_array_layers: 1 }, usage: COPY_SRC | COPY_DST | RESOURCE | COLOR_TARGET | STORAGE_READ | STORAGE_WRITE, present_modes: [Mailbox, Fifo], composite_alpha_modes: [Opaque, PreMultiplied] })
[2021-12-16T18:49:58Z ERROR wgpu_hal::vulkan::instance] VALIDATION [VUID-VkSwapchainCreateInfoKHR-minImageCount-01271 (0xe18476f3)]
        Validation Error: [ VUID-VkSwapchainCreateInfoKHR-minImageCount-01271 ] Object 0: handle = 0x55cf4cc6c280, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xe18476f3 | vkCreateSwapchainKHR() called with minImageCount = 3, which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR() (i.e. minImageCount = 4, maxImageCount = 0). The Vulkan spec states: minImageCount must be greater than or equal to the value returned in the minImageCount member of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://github.com/KhronosGroup/Vulkan-Docs/search?q=)VUID-VkSwapchainCreateInfoKHR-minImageCount-01271)
[2021-12-16T18:49:58Z ERROR wgpu_hal::vulkan::instance]         objects: (type: DEVICE, hndl: 0x55cf4cc6c280, name: ?)

изображение

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions