flutter / flutter/flutter

`impeller_frame` makes debugging gpu usage on ios difficult

Open
#156,116 2 comments 0 reactions 0 assignees View on GitHub
e: impeller P3 team-engine triaged-engine
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

At some point we changed the way we handle frames in impeller on Metal. This broke the "Graphics Overlay" (it just doesn't show up) and broke the gpu probes inside of xcode when executing an app. You can sometimes profile with the frame debugger to get a sense but the "impeller_frame" boundary doesn't always show up making it impossible to measure.

xcode's gpu probe is empty
Screenshot 2024-10-02 at 2 28 40 PM

`impeller_frame` option not available
Screenshot 2024-10-02 at 2 33 21 PM

seen on: xcode 15.4

My understanding is that this was related to a change in [`displaySyncEnabled`](https://developer.apple.com/documentation/quartzcore/cametallayer/2887087-displaysyncenabled). I think there is a plist argument to avoid it.

cc @jonahwilliams

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.