Vulkan surface creation error
See original GitHub issueusing glfw.create_window_surface
I get an error:
ctypes.ArgumentError: argument 1: <class ‘TypeError’>: wrong type
argument 1 is the vulkan instance and mine was created as it should : <cdata 'struct VkInstance_T *' 0x0000022EF5F83520>
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Vulkan create VK_KHR_surface error - Stack Overflow
I have created window with GLFW and initialized Vulkan instance without errors. But Vulkan fails to create VKSurfaceKHR. bool ...
Read more >GLFW / Vulkan init error - dev
If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use...
Read more >Trouble creating surface with SDL2 : r/vulkan - Reddit
It looks like the surface creation fails if vkCreateWin32SurfaceKHR fails to load using vkGetInstanceProcAddr . When you call this function ...
Read more >Window surface - Vulkan Tutorial
The window surface needs to be created right after the instance creation, because it can actually influence the physical device selection. The reason...
Read more >1134001 - ozone/wayland: Failed to create vulkan surface.
Issue 1134001: ozone/wayland: Failed to create vulkan surface. ... vulkan surface is created and compositing is hardware accelerated
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes it works now! Thank you for addressing this so quickly!
I have just released pyGLFW1.12.0 which contains some utilities for working with CFFI based Vulkan wrappers. You can now do the following:
and pyGLFW will automatically convert the CFFI pointers to ctypes pointers.