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

[New Feature]: FPS Limiter #137

Open
RubyMaelstrom opened this issue Sep 29, 2024 · 2 comments
Open

[New Feature]: FPS Limiter #137

RubyMaelstrom opened this issue Sep 29, 2024 · 2 comments
Labels
enhancement New feature or request triage Waiting for review

Comments

@RubyMaelstrom
Copy link

Environment

Alchemy Viewer

Description

Alchemy is currently lacking an FPS limit option outside of enabling vsync. Currently, the only direct method to limit FPS is by utilizing the YieldTime debug flag, but this limits all FPS by a percentage not by a set framerate, causing single-digit FPS in many situations rather than the targeted FPS.

This is a feature which exists in other viewers but not Alchemy, and it has utility for a lot of systems. From high-end systems who who be maxing out their GPUs needlessly on high refresh-rate monitors to older systems which may run into cooling or power issues while keeping up with vsync.

This was an open request on the old requests system, but did not migrate when switching to Github issue tracking.

@RubyMaelstrom RubyMaelstrom added enhancement New feature or request triage Waiting for review labels Sep 29, 2024
@Zanibar
Copy link
Contributor

Zanibar commented Sep 29, 2024

Most approaches require monitoring the latest frametime to determine the appropriate yield duration. However, given Second Life's unpredictability, this often results in less stable framerates than anticipated. Additionally, there have been instances where viewer-based frame limiters significantly missed the target framerate, creating an impression of subpar performance when, in fact, it was the frame limiter adversely affecting performance.

While I'm not dismissing the idea, I would recommend considering some alternatives for now until we come to a decision:

  • File a SL Canny Feedback to have it as an official feature of Second Life, they do extensive QA testing to ensure any feature they add does not result in performance regressions.
  • Windows + nVidia: Use the nVidia Control Panel to set a framerate limit. This is usually much more reliable than a viewer-based limiter.
  • Windows + Other GPUs: RivaTuner Statistics Server. Well known and widely used overlay tool for benchmarkers that has extensive frame limiting features. Highly accurate. If you have MSI Afterburner, you likely already have it.
  • Linux: MangoHud

@nopjmp
Copy link

nopjmp commented Sep 29, 2024

I'd also highly recommend using Special K for advanced frame rate limiting capabilities on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Waiting for review
Projects
None yet
Development

No branches or pull requests

3 participants