KhronosGroup / KhronosGroup/Vulkan-Samples

HWCPipeStatsProvider provides misleading performance data

Open
#1,427 0 comments 0 reactions 1 assignee Claimed by @SaschaWillems View on GitHub
bug
Dominant language
C++
Stars
5.4k
Forks
835
Avg merge
2h 16m
Merged PRs (30d)
1

Description

During initialization, some data collected from hwcpipe sets `HWCPipeStatsProvider::StatData::StatScaling` to `None`, This causes the output data to be the raw data polled each frame, rather than data scaled by delta time.

https://github.com/KhronosGroup/Vulkan-Samples/blame/b2e36947309459295eeb0040e2df6a3bfb590304/framework/stats/hwcpipe_stats_provider.cpp#L60

Image

I observed bandwidth of 10+ MB/s in the Subpasses case, which is clearly erroneous. After comparing with Streamline data, I realized the displayed figures here differ from Streamline's by a factor of FPS.

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.