3b1b / 3b1b/manim

Embed appears to cause manim to peg an entire CPU core

Open
#2,471 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
93.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

### Describe the bug
From what I can tell, compared to the typical event loop during scene playback, after the `embed` event loop kicks in, `manim` will start to completely peg a core, resulting in elevated CPU usage, battery usage (on laptop) or thermal throttling.

### Additional context
I only did a brief investigation but am not yet sure what might be causing the event loop sleep timer or vsync to get disrupted by the embed. I decided to file the issue first and investigate more later -- pointers appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.