Skip to content

32 bit crashes with SDL2 example. #92

@caffeinepills

Description

@caffeinepills

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions