runelite / launcher

Launcher for RuneLite
https://runelite.net
BSD 2-Clause "Simplified" License
65 stars 95 forks source link

Implement macOS Sonoma Game Mode #118

Closed jeremybahadirli closed 11 months ago

jeremybahadirli commented 11 months ago

Closes #117

macOS Sonoma introduced Game Mode, which "optimizes your gaming experience by giving your game the highest priority access to your CPU and GPU, lowering usage for background tasks." Game Mode is enabled when a supported application enters fullscreen.

Game Mode documentation is virtually nonexistant. However, an application will be recognized as a game by setting LSApplicationCategoryType to public.app-category.games in the app's Info.plist.

Testing on my 2021 M1 Pro MBP yielded negligible FPS increases. However, I believe this macOS feature should be supported regardless.

macOS Game Mode

More information on Game Mode: https://eclecticlight.co/2023/10/17/what-does-game-mode-do/ https://eclecticlight.co/2023/10/18/how-game-mode-manages-cpu-and-gpu/