Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an option to limit framerate to certain frame limit? #88

Closed
aznlir88 opened this issue Aug 17, 2022 · 2 comments
Closed

Is there an option to limit framerate to certain frame limit? #88

aznlir88 opened this issue Aug 17, 2022 · 2 comments
Labels

Comments

@aznlir88
Copy link

Is there a possibility to limit framerate to for example 60 FPS? I get best results while recording when I set frame limit to frames i record at and it is also recommended. I looked in the wrapper's config file and cannot find such option.

Is there any way to do it or if now, is there a chance it will get implemented?

@zaps166
Copy link
Owner

zaps166 commented Aug 17, 2022

You can use OpenGL's V-Sync feature. You change the line #VSync=-1 to:

  • VSync=1 - it's a regular V-Sync,
  • VSync=2 - it's half of the refresh rate,
  • VSync=3 - it's 1/3 of the refresh rate,

Example: If you have 60 Hz screen and you set VSync to 2, you'll get 30 FPS.


Alternatively you can use external OpenGL frame limiter, e.g. libstrangle for Linux or RTSS for Windows. libstrangle is available in AUR.

@aznlir88
Copy link
Author

Thanks, VSync solution is just fine I suppose. I am on Linux, but surely not on Arch Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants