asitop icon indicating copy to clipboard operation
asitop copied to clipboard

Not showing total GPU count on M1 Mac mini

Open kode54 opened this issue 2 years ago • 0 comments

The CPU info line shows "Apple M1 (cores: 4E+4P+?GPU)"

Edit: Running the line the script uses:

system_profiler -detailLevel basic SPDisplaysDataType

Shows:

Graphics/Displays:

    Apple M1:

      Chipset Model: Apple M1
      Type: GPU
      Bus: Built-In
      sppci_cores: 8
      Vendor: Apple (0x106b)
      Metal Family: Supported, Metal GPUFamily Apple 7
      Displays:
        LG Ultra HD:
          Resolution: 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition)
          UI Looks like: 1920 x 1080 @ 60.00Hz
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: Yes
        DELL P2414H:
          Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
          UI Looks like: 1920 x 1080 @ 60.00Hz
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: Yes

So it appears to emit the relevant field tagged sppci_cores and not Total Number of Cores.

kode54 avatar Nov 29 '21 06:11 kode54