You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@realitix I noticed an issue with creating a xcb surface. My function to create such a surface is given below. However, vkGetInstanceProcAddr gives a ProcedureNotFoundError.
I can create a xlib surface. Also, previously I had tested the same code to make a xcb surface a year ago and that worked. Can you point me the cause of the issue as I can't figure it out? I have checked for the presence of vkCreateXcbSurfaceKHR in _vulkan.py and vulkan.cdef.h and found it mentioned there. The libx11 packages on my system are shown below too. So what gives?
File "~/Vulkan/MyProject/triangle_example/triangle11.py", line 160, in surface_xlib
vkCreateXlibSurfaceKHR = vkGetInstanceProcAddr(instance, "vkCreateXlibSurfaceKHR")
File "~/.local/lib/python3.5/site-packages/vulkan/_vulkan.py", line 6856, in vkGetInstanceProcAddr
raise ProcedureNotFoundError()
vulkan._vulkan.ProcedureNotFoundError
$ dpkg -l | grep libx11
ii libx11-6:amd64 2:1.6.3-1ubuntu2 amd64 X11 client-side library
ii libx11-data 2:1.6.3-1ubuntu2 all X11 client-side library
ii libx11-dev:amd64 2:1.6.3-1ubuntu2 amd64 X11 client-side library (development headers)
ii libx11-doc 2:1.6.3-1ubuntu2 all X11 client-side library (development documentation)
ii libx11-protocol-perl 0.56-7 all Perl module for the X Window System Protocol, version 11
ii libx11-xcb-dev:amd64 2:1.6.3-1ubuntu2 amd64 Xlib/XCB interface library (development headers)
ii libx11-xcb1:amd64 2:1.6.3-1ubuntu2 amd64 Xlib/XCB interface library
The text was updated successfully, but these errors were encountered:
@realitix I noticed an issue with creating a xcb surface. My function to create such a surface is given below. However,
vkGetInstanceProcAddr
gives aProcedureNotFoundError
.I can create a xlib surface. Also, previously I had tested the same code to make a xcb surface a year ago and that worked. Can you point me the cause of the issue as I can't figure it out? I have checked for the presence of
vkCreateXcbSurfaceKHR
in_vulkan.py
andvulkan.cdef.h
and found it mentioned there. The libx11 packages on my system are shown below too. So what gives?The text was updated successfully, but these errors were encountered: