kIOGPUCommandBufferCallbackErrorSubmissionsIgnored in the Sample Code

The sample code Capturing Depth Using the Lidar Camera works fine on my phone with iOS 15.6. But after upgraded the phone to iOS 16 and the Xcode to 14.0, now the sample code can only run for a few minutes on the phone and start to show the following error:

LiDARDepth[1454:256343] Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)

Did anyone get the same error after upgrade to Xcode 14 or iOS 16. Can an expert take a look of the sample code and point out a possible solution? Thanks!

Post not yet marked as solved Up vote post of idle2q Down vote post of idle2q
928 views

Replies

Same here. Has anyone found a solution to this error?

same here. Wondering if Apple could update their Sample to work better on iOS 17