chore: Increase game mode hz to 90

This commit is contained in:
Kyle Gospodnetich 2024-10-25 17:09:43 -07:00
parent e4fdd6b352
commit 67f99a14b5
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Name: gamescope
Version: 100.%{gamescope_tag}
Release: 9.bazzite
Release: 10.bazzite
Summary: Micro-compositor for video games on Wayland
License: BSD

View File

@ -826,9 +826,9 @@ index 7dacfe7..f4446f0 100644
int nTargetFPS = g_nSteamCompMgrTargetFPS;
- if ( g_nSteamCompMgrTargetFPS && bShouldLimitFPS && nRefreshHz > nTargetFPS )
+
+ if ( nRefreshHz > 60 && g_refreshHalve )
+ if ( nRefreshHz > 90 && g_refreshHalve )
+ {
+ // Refresh halve above 60Hz if steamui is active
+ // Refresh halve above 90Hz if steamui is active
+ if ( vblank_idx % 2 != 0 )
+ return false;
+ }