Received signal 22 (SIGABRT)

我在使用

window_res = (600, 600)
window = ti.ui.Window("Waves",window_res)

遇到了Received signal 22 (SIGABRT)的问题:

Assertion failed: pCreateInfo->vulkanApiVersion == 0 || (((uint32_t)(pCreateInfo->vulkanApiVersion) >> 22) == 1 && (((uint32_t)(pCreateInfo->vulkanApiVersion) >> 12) & 0x3FFU) <= 2), file D:/a/taichi/taichi/external/VulkanMemoryAllocator/include\vk_mem_alloc.h, line 16290

请问我该如何解决?
谢谢

Hi @weiqiang , 请问你的Vulkan环境装好了么?能够运行vulkan自带的vkcube程序么?

GGUI is currently supported on the x64 and CUDA backends for the system Windows and Linux.
You also need to install the Vulkan environment: LunarXchange.

或者能发一下代码么?我在自己机器上试一下。

您好 谢谢您的回复 我能够运行vkcube程序


我在运行例如
taichi/python/taichi/examples/ggui_examples at master · taichi-dev/taichi (github.com)
里的 mpm3d_ggui.py 时,就会有这个错误

我之前并不会遇到这个错误,我最近安装了GeForce Game Ready 版本为511.79的驱动程序 可能是这个原因吗?

有可能是驱动的问题。不过,你能更新一下太极的版本之后再试一下么?

我通过安装旧版本的驱动程序解决了问题 十分感谢

2 个赞