Bug 109764 - [radv] Enable framerate capping
Summary: [radv] Enable framerate capping
Status: RESOLVED DUPLICATE of bug 107391
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-24 22:49 UTC by Shmerl
Modified: 2019-04-10 13:32 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.