-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
When running the example_sdl2.py I have issues with any 32 bit version of Python.
Using Python 3.10 32 bit I get this error:
File "C:\Testing\example_sdl2.py", line 179, in <module>
support_present = vkGetPhysicalDeviceSurfaceSupportKHR(
File "C:\Python\Python310-32\lib\site-packages\vulkan\_vulkan.py", line 13364, in vkGetPhysicalDeviceSurfaceSupportKHR
raise exception_codes[result]
KeyError: 228
After Upgrading to Python 3.12 32bit, I get further, but it still ends up crashing.
DEBUG | DRIVER | LAYER: NULL pointer passed into vkGetPhysicalDeviceSurfaceFormatsKHR for pSurfaceFormatCount!
Logical device and graphic queue successfully created
DEBUG: Loader Message NULL pointer passed into vkGetPhysicalDeviceSurfaceFormatsKHR for pSurfaceFormatCount!
Process finished with exit code -1073740791 (0xC0000409)
Swapping to Python 3.12 64 bit, there are no issues present, and it renders fine.
I was using an older version of Vulkan, upgraded to latest 1.3.283.0 and same issue. I suspect there is some misconfigured typings/pointers somewhere in the bindings. Platform is Windows 10 Pro.
Metadata
Metadata
Assignees
Labels
No labels