asitop icon indicating copy to clipboard operation
asitop copied to clipboard

Issues with running in MacOS Ventura Beta

Open xiaoqianWX-alt opened this issue 3 years ago • 4 comments
trafficstars

% sudo asitop Password:

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...

Assertion failed: (num_resids == (uint32_t)IOReportStateGetCount(sample)), function read_cluster_power_stats_sample, file cpu_power_arm.c, line 245.

xiaoqianWX-alt avatar Jul 28 '22 16:07 xiaoqianWX-alt

I have exactly the same problem, and I'm also running asitop in MacOS Ventura Beta. Hope the developer can solve the issue...

samuelhe52 avatar Jul 29 '22 01:07 samuelhe52

@xiaoqianWX @samuelhe864 This is an issue with the command asitop calls, powermetrics; not asitop itself. I can tell as the error ties to the IOReport (a private api used by powermetrics) and a file called cpu_power_arm.c (a part of powermetrics).

This issue is nothing the developer can fix and is a problem with macOS/IOReport.

dehydratedpotato avatar Jul 31 '22 20:07 dehydratedpotato

% sudo asitop Password:

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...

Assertion failed: (num_resids == (uint32_t)IOReportStateGetCount(sample)), function read_cluster_power_stats_sample, file cpu_power_arm.c, line 245.

@xiaoqianWX @samuelhe864 This is an issue with the command asitop calls, powermetrics; not asitop itself. I can tell as the error ties to the IOReport (a private api used by powermetrics) and a file called cpu_power_arm.c (a part of powermetrics).

This issue is nothing the developer can fix and is a problem with macOS/IOReport.

This has now been fixed in the latest beta update and is now working correctly

bazley82 avatar Aug 10 '22 02:08 bazley82

Happened again with Sonoma beta, really wondering what is Apple doing with powermetrics

(MacBook Pro 16 M2 Pro)

Assertion failed: (num_resids == (uint32_t)IOReportStateGetCount(sample)), function read_cluster_power_stats_sample, file cpu_power_arm.m, line 256.

some extra lines there 👀

simon300000 avatar Jun 10 '23 02:06 simon300000