Bug 109764

Summary: [radv] Enable framerate capping
Product: Mesa Reporter: Shmerl <shtetldik>
Component: Drivers/Vulkan/radeonAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: fdsfgs, john.ettedgui
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Shmerl 2019-02-24 22:49:46 UTC
It can be beneficial to enable framerate capping, to reduce power consumption and hardware wear out in case when user can be satisfied with certain max framerate.

There is a similar DRI bug: https://bugs.freedesktop.org/show_bug.cgi?id=100389
But not sure what the right place is for such capping to occur, so opening one for radv.
Comment 1 Samuel Pitoiset 2019-04-10 07:18:08 UTC
'export MESA_VK_WSI_PRESENT_MODE=fifo' is probably what you need. This is only available in mesa 19.1-git.

*** This bug has been marked as a duplicate of bug 107391 ***
Comment 2 Shmerl 2019-04-10 11:09:40 UTC
(In reply to Samuel Pitoiset from comment #1)
> 'export MESA_VK_WSI_PRESENT_MODE=fifo' is probably what you need.

But how exactly do you set the cap using that method?
Comment 3 Samuel Pitoiset 2019-04-10 11:52:07 UTC
What do you mean by 'cap'? Be able to limit to N FPS?
Comment 4 Shmerl 2019-04-10 13:32:13 UTC
(In reply to Samuel Pitoiset from comment #3)
> What do you mean by 'cap'? Be able to limit to N FPS?

Yes, that's the idea of the proposal.

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.