Skip to content

GPU Address Faults and std::bad_alloc on iPhone 12 #3

Description

@demonsh

Hi.
When running ExampleApp on iPhone 12 (A14 GPU), the command buffer is repeatedly aborted with GPU Address Fault errors.
Maybe device is not supported?

Logs f
MainMenuView appeared
Available examples:

  • Sha256: Sha256
    ProofGenerationView initializing with example: Sha256
    ProofGenerationView initializing with example: Sha256
    ProofGenerationView body appeared
    Example details:
  • Name: Sha256
  • Directory: sha256
  • ZKey path: Examples/sha256/circuit_final.zkey
  • Witness path: Examples/sha256/witness.wtns
  • Verification key path: Examples/sha256/verification_key.json
    Found zkey file at: /private/var/containers/Bundle/Application/A032E7B6-CCCF-4C33-A7B2-79A360605D4B/IMP1FrameworkExample.app/Examples/sha256/circuit_final.zkey
    Found witness file at: /private/var/containers/Bundle/Application/A032E7B6-CCCF-4C33-A7B2-79A360605D4B/IMP1FrameworkExample.app/Examples/sha256/witness.wtns
    Found verification key file at: /private/var/containers/Bundle/Application/A032E7B6-CCCF-4C33-A7B2-79A360605D4B/IMP1FrameworkExample.app/Examples/sha256/verification_key.json
    Starting proof generation for Sha256
    [INFO] Metal device 'Apple A14 GPU' initialized successfully.
    [WARNING] Metal backend doesn't support async calls when using host memory.
    [WARNING] Metal backend doesn't support async calls when using host memory.
    Execution of the command buffer was aborted due to an error during execution. Caused GPU Address Fault Error (0000000b:kIOGPUCommandBufferCallbackErrorPageFault)
    Execution of the command buffer was aborted due to an error during execution. Caused GPU Address Fault Error (0000000b:kIOGPUCommandBufferCallbackErrorPageFault)
    Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)
    Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions