I have problem of rendering on latest iOS 11. screen hanging on last frame which was succesfully rendered before errors:
2017-09-30 21:22:18.174062+0100 AppName[7500:1748760] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)
2017-09-30 21:22:18.174223+0100 AppName[7500:1748760] G-buffer commandBuffer Error Domain=MTLCommandBufferErrorDomain Code=2 "Caused GPU Hang Error (IOAF code 3)" UserInfo={NSLocalizedDescription=Caused GPU Hang Error (IOAF code 3)}
2017-09-30 21:22:18.174611+0100 AppName[7500:1748760] Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)
2017-09-30 21:22:18.174688+0100 AppName[7500:1748760] Post Processing commandBuffer Error Domain=MTLCommandBufferErrorDomain Code=1 "Discarded (victim of GPU error/recovery) (IOAF code 5)" UserInfo={NSLocalizedDescription=Discarded (victim of GPU error/recovery) (IOAF code 5)}
2017-09-30 21:22:18.174749+0100 AppName[7500:1748760] Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)
2017-09-30 21:22:18.174816+0100 AppName[7500:1748760] result commandBuffer Error Domain=MTLCommandBufferErrorDomain Code=1 "Discarded (victim of GPU error/recovery) (IOAF code 5)" UserInfo={NSLocalizedDescription=Discarded (victim of GPU error/recovery) (IOAF code 5)}
App was doing some calculations and changes to metal buffers before re render.
One thing, in debug mode evereting works just fine, but in release getting those messages.
How to profile more or any sugestion what to check? Documentation about those errors very poor..