Vulkan on X11: vkGetPhysicalDeviceSurfaceCapabilitiesKHR error
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to get Vulkan running under X11. I have (apparently) successfully created an instance, device and surface, and several calls relating to the surface also succeed, and even return reasonable values (for example vkGetPhysicalDeviceSurfaceFormatsKHR returns two formats). However, when I call vkGetPhysicalDeviceSurfaceCapabilitiesKHR , I get the following: X Error of failed request : BadDrawable ( invalid Pixmap or Window parameter ) Major opcode of failed request : 14 ( X_GetGeometry ) Resource id in failed request :