-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Thank you for creating the Python Vulkan Bindings.
I am just now trying to become more familiar with Vulkan on Python. For some reason I am having an issue running the example.
I installed SDL2 and PYSDL2 on my computer and placed the binary in my venv's site-packages directory, prepending the following line above import sdl2:
os.environ["PYSDL2_DLL_PATH"] = "C:\\Users\\TGubs\\Code\\Python\\vulkan_py_playground\\venv\\Lib\\site-packages"I then tried running the example using the latest SDL2.dll I could find and the most recent Windows build of Vulkan. Here are my results:
(venv) PS C:\Users\TGubs\Code\Python\vulkan_py_playground> python vulkan/example/example_sdl2.py
availables extensions: ['VK_KHR_device_group_creation', 'VK_KHR_external_fence_capabilities', 'VK_KHR_external_memory_capabilities', 'VK_KHR_external_semaphore_capabilities', 'VK_KHR_get_physical_device_properties2', 'VK_KHR_get_surface_capabilities2', 'VK_KHR_surface', 'VK_KHR_surface_protected_capabilities', 'VK_KHR_win32_surface', 'VK_EXT_debug_report', 'VK_EXT_debug_utils', 'VK_EXT_swapchain_colorspace', 'VK_NV_external_memory_capabilities']
availables layers: ['VK_LAYER_NV_optimus', 'VK_LAYER_NV_nsight', 'VK_LAYER_VALVE_steam_overlay', 'VK_LAYER_VALVE_steam_fossilize', 'VK_LAYER_LUNARG_api_dump', 'VK_LAYER_LUNARG_assistant_layer', 'VK_LAYER_LUNARG_core_validation', 'VK_LAYER_LUNARG_device_simulation', 'VK_LAYER_KHRONOS_validation', 'VK_LAYER_LUNARG_monitor', 'VK_LAYER_LUNARG_object_tracker', 'VK_LAYER_LUNARG_screenshot', 'VK_LAYER_LUNARG_standard_validation', 'VK_LAYER_LUNARG_parameter_validation', 'VK_LAYER_GOOGLE_threading', 'VK_LAYER_GOOGLE_unique_objects', 'VK_LAYER_LUNARG_vktrace']
Create windows surface
availables devices: ['GeForce GTX 1080 Ti']
selected device: GeForce GTX 1080 Ti
3 available queue family
DEBUG: Validation [ VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter ] Object: 0x7d4bd4000000002 (Type = 26) | Invalid VkSurfaceKHR Object 0x7d4bd4000000002. The Vulkan spec states: surface must be a valid VkSurfaceKHR handle (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter)
DEBUG: Validation [ UNASSIGNED-Threading-Info ] Object: 0x7d4bd4000000002 (Type = 0) | Couldn't find VkNonDispatchableHandle Object 0x7d4bd4000000002. This should not happen and may indicate a bug in the application.
I am on Windows10, Python 3.7-32. Wondering if there is something wrong with my configuration.
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels