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

vkcubeapp WSI DisplayKHR segfaults #1056

Open
jwinarske opened this issue Dec 2, 2024 · 1 comment
Open

vkcubeapp WSI DisplayKHR segfaults #1056

jwinarske opened this issue Dec 2, 2024 · 1 comment

Comments

@jwinarske
Copy link

Running vkcubeapp on Ubuntu 20 TTY, I get

/home/tcna/workspace-automation/app/Vulkan-Tools/cmake-build-debug-clang/cube/vkcubepp
Selected WSI platform: display
Signal: SIGSEGV (Segmentation fault)

Call stack

vkGetPhysicalDeviceDisplayPropertiesKHR 0x00007ffff7b42894
Demo::create_display_surface cube.cpp:3366
Demo::create_surface cube.cpp:1869
main cube.cpp:3830

gpu is NULL

Which indicates the gpu is not selected prior to calling create_display_surface

The problem with select_physical_device is that it expects surface to be initialized; circular dependency.

So in main vkcubeapp DisplayKHR WSI is broken. Other WSI platforms work fine.

Note that I did need to make a number of CMake mods in order to build it.

@water-chika
Copy link
Contributor

#1060 should fix this issue.

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

No branches or pull requests

2 participants