ShadowBlip / OpenGamepadUI

Open source gamepad-native game launcher and overlay
https://opengamepadui.readthedocs.io
GNU General Public License v3.0
398 stars 16 forks source link

fix(LaunchManager): disable STEAM_OVERLAY while game is running and overlay is not focused for performance-sensitive devices #324

Closed ShadowApex closed 7 months ago

ShadowApex commented 7 months ago

This change changes how we set the STEAM_OVERLAY atom while games are running. I found that there can be a drastic performance hit on low-spec devices if STEAM_OVERLAY is set to 1 while the game is running, so we now set STEAM_OVERLAY to 0 unless the user opens up a menu. On the Loki Zero, I saw a 2x performance improvement.

pastaq commented 7 months ago

Did you test this against overlay mode? A lot of the removed code was specifically added to address issues in that mode that aren't present in the full session.

Tested on ROG Ally. Everything is good to go.

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 0.30.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: