Skip to content

[BUG] fastfetch[xxxxx:xxxxxxx] getMetalPluginClassForService: Failed to find bundle for accelerator bundle named: AGXMetalA12 errno: 0 #1066

Closed
@96retsamboon

Description

@96retsamboon

General description of bug:

  • What happened: error message displayed before gpu stats when enabling "gpu" modules, can be intrusive when displayed in full
  • What should happen: that shouldn't happen
  • Fastfetch version used: fastfetch 2.17.1 (x86_64)
  • Did it work in an older version: no
  • Where did you get the binary: homebrew - "brew install fastfetch"
  • Does this issue still occur in the latest dev build? yes

Often helpful information:

Screenshot:

Screenshot 2024-07-02 at 17 08 30 Screenshot 2024-07-02 at 17 42 12

The content of the configuration file you use (if any):

{
  "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
  "modules": [
    {
      "type": "title",
      "format": "{6}"
    },
    "separator",
    "os",
    "host",
    "kernel",
    "uptime",
    "packages",
    "shell",
    {
      "type": "display",
      "format": "{1}x{2} ({4}x{5}) @ {3}Hz"
    },
    // "de",
    // "wm",
    // "wmtheme",
    "theme",
    "icons",
    "font",
    // "cursor",
    "terminal",
    // "terminalfont",
    // "cpu",
    "gpu",
    "memory",
    "swap",
    {
      "type": "disk",
      "format": " {1} / {2} ({3})"
    },
    "localip",
    // "battery",
    {
      "type": "poweradapter",
      "format": "{3} {2}"
    },
    "locale",
    "break",
    // "colors"
  ]
}

Output of fastfetch -c ci.jsonc --format json:

2024-07-02 17:22:25.625 fastfetch[65558:2068675] getMetalPluginClassForService: Failed to find bundle for accelerator bundle named: AGXMetalA12 errno: 0
[
{
    "type": "OS",
    "result": {
      "buildID": "24A5279h",
      "codename": "Sequoia",
      "id": "macos",
      "idLike": "",
      "name": "macOS",
      "prettyName": "macOS",
      "variant": "",
      "variantID": "",
      "version": "15.0",
      "versionID": "15.0"
    },
    "stat": 1
  },
  {
    "type": "Host",
    "result": {
      "family": "Mac14,2",
      "name": "MacBook Air (M2, 2022)",
      "version": "",
      "sku": "",
      "vendor": "Apple Inc.",
      "serial": "TCP2QVQYJ6",
      "uuid": "74C11FB9-BA76-558F-859C-7F46151E584C"
    },
    "stat": 0
  },
{
    "type": "OS",
    "result": {
      "buildID": "24A5279h",
      "codename": "Sequoia",
      "id": "macos",
      "idLike": "",
      "name": "macOS",
      "prettyName": "macOS",
      "variant": "",
      "variantID": "",
      "version": "15.0",
      "versionID": "15.0"
    },
    "stat": 1
  },
  {
    "type": "Host",
    "result": {
      "family": "Mac14,2",
      "name": "MacBook Air (M2, 2022)",
      "version": "",
      "sku": "",
      "vendor": "Apple Inc.",
      "serial": "TCP2QVQYJ6",
      "uuid": "74C11FB9-BA76-558F-859C-7F46151E584C"
    },
    "stat": 0
  },
{
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Darwin",
      "release": "24.0.0",
      "version": "Darwin Kernel Version 24.0.0: Thu Jun 20 20:38:33 PDT 2024; root:xnu-11215.0.115.501.3~1/RELEASE_ARM64_T8112",
      "displayVersion": ""
    },
    "stat": 0
  },
  {
    "type": "Shell",
    "result": {
      "exe": "zsh",
      "exeName": "zsh",
      "exePath": "/bin/zsh",
      "pid": 65504,
      "ppid": 65502,
      "processName": "zsh",
      "prettyName": "zsh",
      "version": "5.9",
      "tty": 0
    },
  {
    "type": "CPU",
    "result": {
      "cpu": "Apple M2",
      "vendor": "Apple",
      "cores": {
        "physical": 8,
        "logical": 8,
        "online": 8
      },
      "frequency": {
        "base": 2.4,
        "max": 2.4,
        "min": 2.4,
        "biosLimit": null
      },
      "coreTypes": [
        {
          "count": 4,
          "freq": 2
        },
        {
          "count": 4,
          "freq": 1
        }
      ],
      "temperature": 46.619131905691965
    },
    "stat": 3
 {
    "type": "GPU",
    "result": [
      {
        "coreCount": 8,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": 5726633984,
            "used": 65536
          }
        },
        "driver": "com.apple.AGXG14G",
        "name": "Apple M2",
        "temperature": 44.568336486816406,
        "type": "Integrated",
        "vendor": "Apple",
        "platformApi": "Metal 3",
        "frequency": null,
        "deviceId": 4294968315
      },
      {
        "coreCount": null,
        "memory": {
          "dedicated": {
            "total": null,
            "used": null
          },
          "shared": {
            "total": null,
            "used": null
          }
        },
        "driver": "com.unknown.bundle",
        "name": "Unknown Unknown",
        "temperature": null,
        "type": "Discrete",
        "vendor": "AMD",
        "platformApi": "Metal",
        "frequency": null,
        "deviceId": 4294968125
      }
    ],
    "stat": 32
  },
  {
    "type": "Locale",
    "result": "C",
    "stat": 0
  },
  {
    "type": "Vulkan",
    "error": "dlopen libvulkan.dylib failed",
    "stat": 0
  },
  {
    "type": "OpenGL",
    "result": {
      "version": "4.1 Metal - 89",
      "renderer": "Apple M2",
      "vendor": "Apple",
      "slv": "4.10",
      "library": "CGL"
    },
    "stat": 24
  },
  {
    "type": "OpenCL",
    "result": {
      "version": "1.2 (Jun 12 2024 11:37:51)",
      "name": "Apple",
      "vendor": "Apple",
      "gpus": [
        {
          "type": "Integrated",
          "vendor": "Apple",
          "name": "Apple M2",
          "driver": "1.0",
          "platformApi": "OpenCL 1.2",
          "coreCount": 8,
          "frequency": 1.0,
          "memory": {
            "dedicated": {
              "total": null,
              "used": null
            },
            "shared": {
              "total": 5726633984,
              "used": null
            }
          },
          "deviceId": 16940800
        }
      ]
    },
    "stat": 1
  },
 {
"type": "Version",
    "result": {
      "projectName": "fastfetch",
      "architecture": "x86_64",
      "version": "2.17.1",
      "versionTweak": "",
      "cmakeBuiltType": "Release",
      "compileTime": "Jun 29 2024, 00:20:39",
      "compiler": "Apple clang 15.0.0 (15000309)",
      "debugMode": false,
      "libc": "libSystem 1345.100.2"
    },
    "stat": 0
  },
 {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0
  }
]

Output of fastfetch --list-features:

threads
vulkan
imagemagick7
chafa
zlib
sqlite3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions