App renders as a black on screen

Hello, I am creating an application that is cross-platform with Flutter, the problem is that when I launch my application on my Macbook there is only a black page displayed. This is a recurring problem with all Flutter applications on this Mac.

When I debug my application, this is what appears in the console.

Error submitting command buffer.
2023-12-27 15:58:12.468 tranzic[2333:21044] Error Domain=MTLCommandBufferErrorDomain Code=4 "Ignored (for causing prior/excessive GPU errors) (00000004:kIOAccelCommandBufferCallbackErrorSubmissionsIgnored)" UserInfo={NSLocalizedDescription=Ignored (for causing prior/excessive GPU errors) (00000004:kIOAccelCommandBufferCallbackErrorSubmissionsIgnored), MTLCommandBufferEncoderInfoErrorKey=(
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>",
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>",
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>"
)}
Error submitting command buffer.
2023-12-27 15:58:18.455 tranzic[2333:21044] Error Domain=MTLCommandBufferErrorDomain Code=4 "Ignored (for causing prior/excessive GPU errors) (00000004:kIOAccelCommandBufferCallbackErrorSubmissionsIgnored)" UserInfo={NSLocalizedDescription=Ignored (for causing prior/excessive GPU errors) (00000004:kIOAccelCommandBufferCallbackErrorSubmissionsIgnored), MTLCommandBufferEncoderInfoErrorKey=(
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>",
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>",
    "<errorState: MTLCommandEncoderErrorStatePending, label: (null), debugSignposts: (null)>"
)}

I have a Macbook Pro mid-2012 running macOS Monterey and here's an issue I opened on the flutter repo for more details. https://github.com/flutter/flutter/issues/137859

Post not yet marked as solved Up vote post of el2zay Down vote post of el2zay
413 views

Replies

Please post all questions related to Google's flutter on their respective forums or Github repo for them to fix.

  • I have the impression that this problem is caused by Metal and not by flutter. Is it possible to check this?

Add a Comment