Bug 101552

Summary: Make GALLIUM_HUD lower the grid max value if metric stays much lower all the time
Product: Mesa Reporter: Shmerl <shtetldik>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.