ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.31k stars 1.06k forks source link

Framerate (FPS) Limiter, we desperately need this... #1347

Open jarrard opened 6 years ago

jarrard commented 6 years ago

Feature Request

FPS Limiter

I confirm:

Description

A framerate limiter that works would be nice because vsync type limiting solutions can cause massive lag when enabled, so limiting fps without the overhead is preferred.

Justification

Proton is focused on Vulkan, vulkan as of yet has no unified fps limiter which is a preferred method of reducing FPS in order to save GPU's from overheating and also reduce tearing, it works like vsync but without the horrendous overheads that is sometimes seen with sync methods (ie. fps cost or control lag).

There is libstrangle which needs updating to work with newer vulkan functions like vKGetInstanceProcAddr (assuming). https://gitlab.com/torkel104/libstrangle

Risks

Proton would be at risk of becoming awesome :)

minisori commented 5 years ago

Also it would be helpful to workaround those games without any fps limiter which are never fixed by the developers, like Randal's Monday.

dubigrasu commented 5 years ago

I would like to also add https://github.com/pchome/VkGHL as an alternative to keep in mind.

GrigoriyCH commented 5 years ago

it will be good for battery(power) saving, also.

shytzedaka commented 3 years ago

What is the status of this? I Really need to lower down the FPS of a game. and i have no way of doing it almost.

minisori commented 3 years ago

What is the status of this? I Really need to lower down the FPS of a game. and i have no way of doing it almost.

Have you tried libstrangle? You can use it in the steam launch parameters of any game.

Newbytee commented 3 years ago

We have this now for DirectX 9, 10, and 11 games as of Proton 6.3-5 as it includes DXVK 1.9: https://github.com/doitsujin/dxvk/#frame-rate-limit

coreybruce commented 1 year ago

Put this launch command into the games launch options

DXVK_FRAME_RATE=60 %command%

Change 60 to whatever you want. :)