Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
96retsamboon opened this issue Jul 2, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@96retsamboon
Copy link

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
@96retsamboon 96retsamboon added the bug Something isn't working label Jul 2, 2024
@CarterLi
Copy link
Member

CarterLi commented Jul 2, 2024

You connected an external AMD card?

@96retsamboon
Copy link
Author

96retsamboon commented Jul 2, 2024

You connected an external AMD card?

Nope, it's not connected to anything.

@CarterLi
Copy link
Member

CarterLi commented Jul 2, 2024

fastfetch 2.17.1 (x86_64)

Why use the x86_64 version?

@96retsamboon
Copy link
Author

fastfetch 2.17.1 (x86_64)

Why use the x86_64 version?

I assumed homebrew's "brew install fastfetch" would work like how it did for other users?

@CarterLi
Copy link
Member

CarterLi commented Jul 2, 2024

You are using macOS Sequoia, which is not supported by brew because it's currently in beta.

@96retsamboon
Copy link
Author

You are using macOS Sequoia, which is not supported by brew because it's currently in beta.

I see, so the problem will probably resolves itself when macOS 15 is supported by brew, yeah?

@CarterLi
Copy link
Member

CarterLi commented Jul 2, 2024

CarterLi added a commit that referenced this issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants