Skip to content

Embed appears to cause manim to peg an entire CPU core #2471

Description

@scuff3drook

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions