Skip to content

[Bug]: failed to run Genesis on AMD 9070xt GPU #2228

@zhangnju

Description

@zhangnju

Bug Description

HI, I have installed Genesis successfully on AMD 9070xt GPU, but when I tried to launch the smoke example, I met the below issue. I have run it using Vulkan backend.
Thanks

python3 smoke.py 
[GsTaichi] version 4.6.0, llvm 20.1.0, commit 72f02b06, linux, python 3.10.12
[Genesis] [17:33:27] [INFO] ╭───────────────────────────────────────────────╮
[Genesis] [17:33:27] [INFO] │┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈ Genesis ┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈│
[Genesis] [17:33:27] [INFO] ╰───────────────────────────────────────────────╯
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
amdgpu: unknown (family_id, chip_external_rev): (152, 81)
[Genesis] [17:33:27] [INFO] Running on [AMD Radeon RX 9070 XT] with backend gs.vulkan. Device memory: 15.92 GB.
[Genesis] [17:33:27] [INFO] 🚀 Genesis initialized. 🔖 version: 0.3.11, 🎨 theme: dark, 🌱 seed: None, 🐛 debug: False, 📏 precision: 32, 🔥 performance: False, 💬 verbose: INFO
[Genesis] [17:33:28] [INFO] Scene <eebb394> created.
[Genesis] [17:33:28] [INFO] Building scene <eebb394>...
[E 01/14/26 17:33:29.441 26832] [runtime.cpp:launch_kernel@514] Dispatch error : RhiResult(not_supported)


Traceback (most recent call last):
  File "/home/nzhang/source_codes/Genesis/examples/smoke.py", line 147, in <module>
    main()
  File "/home/nzhang/source_codes/Genesis/examples/smoke.py", line 132, in main
    scene.build()
  File "/home/nzhang/.local/lib/python3.10/site-packages/genesis/utils/misc.py", line 140, in wrapper
    return method(self, *args, **kwargs)
  File "/home/nzhang/.local/lib/python3.10/site-packages/genesis/engine/scene.py", line 775, in build
    self._sim.build()
  File "/home/nzhang/.local/lib/python3.10/site-packages/genesis/engine/simulator.py", line 202, in build
    solver.build()
  File "/home/nzhang/.local/lib/python3.10/site-packages/genesis/engine/solvers/sf_solver.py", line 69, in build
    self.init_fields()
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/_gstaichi_callable.py", line 111, in __call__
    return self.wrapper(self.instance, *args, **kwargs)
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/kernel_impl.py", line 153, in wrapped_classkernel
    return wrapped_func(*args, **kwargs)
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/kernel_impl.py", line 136, in wrapped_func
    return primal(*args, **kwargs)
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/kernel.py", line 563, in __call__
    ret = self.launch_kernel(kernel_cpp, compiled_kernel_data, *py_args)
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/kernel.py", line 496, in launch_kernel
    raise e from None
  File "/home/nzhang/.local/lib/python3.10/site-packages/gstaichi/lang/kernel.py", line 491, in launch_kernel
    prog.launch_kernel(compiled_kernel_data, launch_ctx)
RuntimeError: [runtime.cpp:launch_kernel@514] Dispatch error : RhiResult(not_supported)

[Genesis] [17:33:29] [ERROR] RuntimeError: [runtime.cpp:launch_kernel@514] Dispatch error : RhiResult(not_supported)
[Genesis] [17:33:29] [INFO] 💤 Exiting Genesis and caching compiled kernels...

Expected Behavior

Successfully run an example on AMD 9070xt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions