asitop icon indicating copy to clipboard operation
asitop copied to clipboard

not working on M1 Mac Mini

Open bveiseh opened this issue 3 years ago • 13 comments

`user@Mac-Mini ~ % asitop

ASITOP - Performance monitoring CLI tool for Apple Silicon You can update ASITOP by running pip install asitop --upgrade Get help at https://github.com/tlkh/asitop P.S. You are recommended to run ASITOP with sudo asitop

[1/3] Loading ASITOP

[2/3] Starting powermetrics process

[3/3] Waiting for first reading...

Password: powermetrics: unrecognized sampler: bandwidth`

everything is up to date

bveiseh avatar Sep 30 '22 18:09 bveiseh

This is an issue specifically related to the macos ventura beta, right?

Are you running it?

lbibass avatar Oct 04 '22 02:10 lbibass

Yeah beta 7

bveiseh avatar Oct 04 '22 02:10 bveiseh

M1 Pro on macOS Ventura beta (22A5358e) also get the same error

Sped0n0ld avatar Oct 04 '22 21:10 Sped0n0ld

M1 Air on macOS 13.0 beta (22A5365d) also gets the same error.

liliu0916 avatar Oct 08 '22 23:10 liliu0916

Me too. M1 Air on macOS 13.0 22a5365d.

SuperKenVery avatar Oct 11 '22 15:10 SuperKenVery

Me too. M1 air on macOS 13.0

Xaiat avatar Oct 21 '22 01:10 Xaiat

These samplers were removed with Ventura. Bandwidth is what’s giving the error. Asitop has to remove it to get it working again.

    int_sources       interrupt sources information
    devices           device power states
   *bandwidth         amc bandwidth counters

It does add ane_power though. It was previously guesstimating the “neural engine” usage so that can be improved.

    ane_power         ane power and frequency info

dvessel avatar Oct 21 '22 22:10 dvessel

These samplers were removed with Ventura. Bandwidth is what’s giving the error. Asitop has to remove it to get it working again.

    int_sources       interrupt sources information
    devices           device power states
   *bandwidth         amc bandwidth counters

It does add ane_power though. It was previously guesstimating the “neural engine” usage so that can be improved.

    ane_power         ane power and frequency info

I was just wondering why Apple removed this, and whether we can get that data somewhere else.

SuperKenVery avatar Oct 22 '22 04:10 SuperKenVery

Still a problem on latest RC macOS 13.0 (22A380). M1 Ultra

shailesh001 avatar Oct 22 '22 14:10 shailesh001

I made a pr.

The pull request

SuperKenVery avatar Oct 24 '22 06:10 SuperKenVery

Is there a way to fix this?

hyposlasher avatar Jul 08 '23 03:07 hyposlasher

Hi All, I hope this adds to the conversation. I am running a 2021 MacBook Pro M1 Ventura and ran into the same issue.

To piggy back off of @SuperKenVery , with the M1, there were various features that were removed; this being one of them.

If you can get by with activity levels for CPU/GPU, here is a good answer that will give lots of relevant data.

Happy Hacking!

oconnorir avatar Aug 16 '23 16:08 oconnorir

@oconnorir Thanks for the link, but I don’t think it solves our problem because what we are lacking is the memory bandwidth information…

SuperKenVery avatar Aug 17 '23 02:08 SuperKenVery