Skip to content

Behaviour on M1, M4 and Win #1

@C0DECYCLE

Description

@C0DECYCLE

Hi, i checked out and ran the demo on both my older M1 and my newer M4 (Pro) Macbook. Both times in Chrome 143 and macOS Tahoe 26.2.

On the M4: Everything works flawless with 120fps and 3-4ms gpu time.
On the M1: Stutter, alternating between running with very few fps and freezing completely. Eventually the GPU crashes and shortly afterwards the entire Mac (kernel panic).

Questions:

  • What chip, etc. did you test it on?
  • Do you know what might cause this?
  • What additional debug infos would you need?

I have the following thoughts on this:

  • Not implausible since the M1 chip was the first iteration and the M4 is obviously way more refined
  • M4 has better cache coherence(?) and more robust scheduling(?)
  • Behaviour could indicate infinite loops / runaway or deadlocks
  • Maybe high contention on the M1. Would the now removed backoff help?

PS: Thanks again for the amazing implementation!

Edit: I will try it out later on my windows machine (RTX3080).

Edit2: Weirdly on Win, nothing at all happens, together with a reference warning. See attached screenshot.
Image

Edit3: I successfully ported the queue to an old project of mine and there it works on the M1 too (although very very rare occasional glitches), but i get the same invalid reference warning on Win.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions