Skip to content

The GPU usage is very high #137

@MenThu

Description

@MenThu

My device:
iOS 17.5.1, iPhone 11 Pro Max, with a capture resolution of 1920*1080.
Using the Saturation example from GPUImage3's FilterShowcase, I noticed that the GPU proportion in Energy Impact is very high.

After discovering this issue, I tried several methods to reduce GPU usage:

1、Removing the filter and rendering only the video frames from the camera to the view.
2、Calling makeBuffer only when the data changes.
3、Setting the ImageOrientation of RenderView to .noRotation.

However, none of these methods were effective, and the GPU usage remained high, reaching up to 69%.

Using Xcode's Capture GPU Workload to analyze performance bottlenecks (compared to 720P), I found no significant differences in shader time or counter data.

Has anyone encountered this issue? How can I reduce GPU usage?
Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions