Bug 109747 - Add framerate to vulkan-overlay-layer
Summary: Add framerate to vulkan-overlay-layer
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/Common (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-22 18:24 UTC by Shmerl
Modified: 2019-02-24 13:11 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shmerl 2019-02-22 18:24:15 UTC
Framerate can be very useful for benchmarks.
Comment 1 Shmerl 2019-02-22 18:26:38 UTC
Also, frametimes meter seems to be always on without any option to control it. May be it should be behind an option as well.
Comment 2 oschowa 2019-02-24 00:02:28 UTC
fps is implemented with: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/303
Comment 3 Shmerl 2019-02-24 02:09:21 UTC
Thanks!

Is there some way to also add graphs similar to GALLIUM_HUD, or it needs more features to implement first?
Comment 4 Shmerl 2019-02-24 02:44:27 UTC
Also, it would be good to be able to control what to display with a parameter, same as it's done for submit, draw and etc. rather than display anything unconditionally.
Comment 5 oschowa 2019-02-24 12:07:58 UTC
Adding more graphs should be relatively straight forward but someone would need to implement querying the relevant information first, preferably in a cross-platform manner. I might give adding a cpu-usage graph a go next week.

Personally I don't see much value in reducing the information displayed by default.

Anyways, this bug should be either renamed or closed.
Comment 6 Lionel Landwerlin 2019-02-24 13:11:57 UTC
FPS counter added in :

commit f91654120b6ce4b2ff413f1b02ced965000c0bc3 
Author: Matthias Lorenz <oschowa@web.de>
Date:   Sat Feb 23 00:08:28 2019 +0100

    vulkan/overlay: Add fps counter


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.