-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
WindowServer-2025-12-03-222518.txt
Describe the bug
Using Taichi with GPU backend on macOS (Metal) causes a full system freeze.
The Mac completely locks up, requiring a forced reboot.
After rebooting, macOS reports that WindowServer was terminated by watchdog due to GPU hang.
Device info
- macOS version: 15.6 (24G84)
- Machine: Apple Silicon (M4 Pro)
- Python version: 3.10.19
- Taichi version: ([Taichi] version 1.7.4, llvm 15.0.7, commit b4b956f, osx, python 3.10.19)
- Backend: ti.gpu (Metal)
- Resolution: 1512 × 982
Minimal reproduction
from taichi.math import *
import taichi as ti
ti.init(arch=ti.gpu)
image_resolution = (1512, 982)
image_pixels = ti.Vector.field(3, float, image_resolution)
@ti.kernel
def render():
for i, j in image_pixels:
image_pixels[i, j] = vec3(1, 0, 1)
window = ti.ui.Window("Taichi Renderer", image_resolution)
canvas = window.get_canvas()
while window.running:
render()
canvas.set_image(image_pixels)
window.show()
[WindowServer-2025-12-03-222518.txt](https://github.com/user-attachments/files/23921701/WindowServer-2025-12-03-222518.txt)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Untriaged