Description

When users rotate to landscape in QAARApp the apple device will encounter a GPU Hang error and crash.

Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)
LogMetal: Warning: Command Buffer 0x10f049600 Frame 857:Command Buffer 0x10f049600 Frame 857:
DebugGroup: SendAllEndOfFrameUpdates
DebugGroup: InitViews
DebugGroup: GPUParticles_PreRender
DebugGroup: ShadowDepths
DebugGroup: BeginRenderingSceneColor
DebugGroup: Frame 857
DebugGroup: BeginRenderingSceneColor
DebugGroup: MobileBasePass
DebugGroup: DynamicEd
DebugGroup: Translucency
DebugGroup: BeginRenderingSceneColor
DebugGroup: PrimaryUpscale quality=1 1334x750 -> 1334x750
DebugGroup: Frame 857
DebugGroup: PrimaryUpscale quality=1 1334x750 -> 1334x750
DebugGroup: RenderFinish
DebugGroup: WorldTick
DebugGroup: SendAllEndOfFrameUpdates
DebugGroup: InitViews
DebugGroup: GPUParticles_PreRender
DebugGroup: ShadowDepths
DebugGroup: Frame 857
DebugGroup: MobileBasePass
DebugGroup: DynamicEd
DebugGroup: Translucency
DebugGroup: RenderFinish
DebugGroup: SlateUI
DebugGroup: Frame 857
DebugGroup: SlateUI
DebugGroup: DrawDebugCanvas
DebugGroup: CanvasFlush
2018-10-11 12:05:53.368990-0400 QAARApp[683:482214] Fatal error: [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalCommandList.cpp] [Line: 72] 
Command Buffer Frame 857 Failed with Timeout Error! Error Domain: MTLCommandBufferErrorDomain Code: 2 Description Caused GPU Hang Error (IOAF code 3) Unknown Unknown
2018-10-11 12:05:53.369176-0400 QAARApp[683:482214] [2018.10.11-16.05.53:369][860]LogMetal: Warning: Command Buffer 0x10f049600 Frame 857:Command Buffer 0x10f049600 Frame 857:
DebugGroup: SendAllEndOfFrameUpdates
DebugGroup: InitViews
DebugGroup: GPUParticles_PreRender
DebugGroup: ShadowDepths
DebugGroup: BeginRenderingSceneColor
DebugGroup: Frame 857
DebugGroup: BeginRenderingSceneColor
DebugGroup: MobileBasePass
DebugGroup: DynamicEd
DebugGroup: Translucency
DebugGroup: BeginRenderingSceneColor
DebugGroup: PrimaryUpscale quality=1 1334x750 -> 1334x750
DebugGroup: Frame 857
DebugGroup: PrimaryUpscale quality=1 1334x750 -> 1334x750
DebugGroup: RenderFinish
DebugGroup: WorldTick
DebugGroup: SendAllEndOfFrameUpdates
DebugGroup: InitViews
DebugGroup: GPUParticles_PreRender
DebugGroup: ShadowDepths
DebugGroup: Frame 857
DebugGroup: MobileBasePass
DebugGroup: DynamicEd
DebugGroup: Translucency
DebugGroup: RenderFinish
DebugGroup: SlateUI
DebugGroup: Frame 857
DebugGroup: SlateUI
DebugGroup: DrawDebugCanvas
DebugGroup: CanvasFlush
Steps to Reproduce
  1. Open QAARApp 
  2. Ensure it is set up for Apple ArKit testing(Enable Plugin and iOS version to 11)
  3. Ensure Landscape and portrait orientation are enabled
  4. Package for iOS
  5. Deploy to device
  6. Run app in portrait mode
  7. Enable AR
  8. Rotate to Landscape mode

result: Gpu hang and crash

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-65091 in the post.

5
Login to Vote

Fixed
ComponentPlatform - Mobile
Affects Versions4.21
Target Fix4.22
CreatedOct 11, 2018
ResolvedMar 14, 2019
UpdatedMar 14, 2019