games-on-whales / wolf

Stream virtual desktops and games running in Docker
https://games-on-whales.github.io/wolf/stable/
MIT License
640 stars 43 forks source link

FPS Limiting in sway #102

Open dhofer opened 2 months ago

dhofer commented 2 months ago

Wolf currently sets the environment variable GAMESCOPE_REFRESH to maxFPS from the Moonlight client. To have something similar in the new default sway setup we could set DXVK_FRAME_RATE to the same value. This would allow automatic FPS limiting in DXVK and recent versions of VKD3D.

ABeltramo commented 2 months ago

Just found out also https://github.com/milaq/libstrangle which might be worth a shot