Skip to content

Sky still has some surprising cost on some devices #1658

Open
@illwieckz

Description

@illwieckz

Sky has much much smaller cost than before, which is very good.

But it looks we still have some curious cost from it.

I did some comparison on a Raspebrry Pi 5 (VideoCore 7), with low and lowest presets and disabling sky, on the plat23 default spectator scene.

lowest low
no sky (implies clear) 75 fps 73 fps
sky with clear 63 fps 61 fps
sky 60 fps 58 fps

I'm surprised that enabling sky costs 10fps for displaying a handful of surfaces.

Also, it looks like clearing is still faster on some devices, it brings a gain of 3 fps. I remember it was explicitly mentioned on the Raspberry PI 3 Mesa documentation (VideoCore 4), but that looks still true on the Raspberry Pi 5 (VideoCore 7).

So basically, switching from lowest to low preset makes the framerate goes from 75 fps to 58 fps, but all that 22% cost is lost in sky rendering and side effect of absence of clearing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions