美文网首页
iOS中gpus_ReturnGuiltyForHardware

iOS中gpus_ReturnGuiltyForHardware

作者: _compass | 来源:发表于2020-07-20 10:40 被阅读0次

    最近做了一个项目,在打开某模型时,会报gpus_ReturnGuiltyForHardwareRestart,然后退出。在断点中加入OpenGL ES Error Breakpoint,以及libGPUSupportMercury.dylib等Breakpoint,打印如下错误:

    2020-07-20 10:34:01.751422+0800 MYAPP[9121:1145438] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)
    2020-07-20 10:34:01.753973+0800 MYAPP[9121:1145438] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
    2020-07-20 10:34:01.755404+0800 MYAPP[9121:1145438] Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)
    

    先记录错误,后续记录解决方法。

    相关文章

      网友评论

          本文标题:iOS中gpus_ReturnGuiltyForHardware

          本文链接:https://www.haomeiwen.com/subject/kujekktx.html