Bug 101552 - Make GALLIUM_HUD lower the grid max value if metric stays much lower all the time
Summary: Make GALLIUM_HUD lower the grid max value if metric stays much lower all the ...
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 02:20 UTC by Shmerl
Modified: 2019-03-06 08:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shmerl 2017-06-22 02:20:31 UTC
Currently, if metrics shoot to some very high value, grid adjusts to it to address that spike, but then it stays that way, even if metric later drops and never grows that much again. Which basically can make the graph appear practically at zero all the time after that happens.

It makes sense for grid to adjust to something lower as well, once all spikes are over. This auto-adjustment feature can be optional with some parameter which enables it.
Comment 1 Michel Dänzer 2017-06-22 02:23:52 UTC
There's already a modifier for that, from GALLIUM_HUD=help:

  'd' activates dynamic Y axis readjustment to set the value of
      the Y axis to match the highest value still visible in the graph.

(Maybe this should be the default though, at least for some graphs)
Comment 2 Shmerl 2017-06-22 02:39:11 UTC
Thanks for the pointer! That helps indeed. I think for something like FPS metric, it can be a useful default. But then I guess you might want to have a negative modifier (counterpart to d).
Comment 3 naimaathar.na@gmail.com (Spammer; Account disabled) 2019-03-06 07:59:50 UTC
System is crashing


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.