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

60 FPS cap #363

Open
Zilibobka-S opened this issue Nov 3, 2024 · 2 comments
Open

60 FPS cap #363

Zilibobka-S opened this issue Nov 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Zilibobka-S
Copy link

swayfx version 0.4-5f42307 (Sep 26 2024, branch 'master') (based on sway 1.9.0)
Config: https://gist.github.com/Zilibobka-S/3dc11b22270e699f6264578914bd9e08

I tried in games, because they start lag. So:
When the game is windowed, there is no FPS cap.

But when the game is in fullscreen FPS suddenly starts capping

@Zilibobka-S Zilibobka-S added the bug Something isn't working label Nov 3, 2024
@linavixx
Copy link

linavixx commented Nov 29, 2024

It's default Wayland behavior to avoid tearing. Sway 1.10 lets you enable tearing (and thus unlock your FPS) with allow_tearing option, but swayFX is currently 1.9-based and you can't really do anything on it. There is the max_render_time option that you can set to a lower value like 6 to increase your FPS but it's not a substitute for tearing, most games won't run smoothly with it.

@adamrokickirns
Copy link

swayfx version 0.4-5f42307 (Sep 26 2024, branch 'master') (based on sway 1.9.0) Config: https://gist.github.com/Zilibobka-S/3dc11b22270e699f6264578914bd9e08

I tried in games, because they start lag. So: When the game is windowed, there is no FPS cap.

But when the game is in fullscreen FPS suddenly starts capping

If your monitor is 60Hz then you don't really benefit from software running at more than 60 FPS all that much from what I'm aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants