Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

halmark freezes #2297

Closed
caiiiycuk opened this issue Dec 16, 2021 · 3 comments · Fixed by #2298
Closed

halmark freezes #2297

caiiiycuk opened this issue Dec 16, 2021 · 3 comments · Fixed by #2298
Assignees

Comments

@caiiiycuk
Copy link
Contributor

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: ?)

изображение

@caiiiycuk
Copy link
Contributor Author

Now there is no errors but windows borders are rendered very strange )) Maybe it's an winit problem.

изображение
изображение

@kvark
Copy link
Member

kvark commented Dec 17, 2021

Do you see the same on other examples?

@caiiiycuk
Copy link
Contributor Author

bunnymark and hello-world works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants