-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From fc4a051049caa71695883be12b9fc409c48d0c44 Mon Sep 17 00:00:00 2001 | ||
From: Nekoh <[email protected]> | ||
Date: Fri, 21 Jun 2024 16:04:51 -0400 | ||
Subject: [PATCH] Add exports for steam decks | ||
|
||
--- | ||
usr/share/gamescope-session-plus/device-quirks | 8 ++++++++ | ||
1 file changed, 8 insertions(+) | ||
|
||
diff --git a/usr/share/gamescope-session-plus/device-quirks b/usr/share/gamescope-session-plus/device-quirks | ||
index 91f4077..703a262 100644 | ||
--- a/usr/share/gamescope-session-plus/device-quirks | ||
+++ b/usr/share/gamescope-session-plus/device-quirks | ||
@@ -85,12 +85,20 @@ fi | ||
if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then | ||
DRM_MODE=fixed | ||
export STEAM_DISPLAY_REFRESH_LIMITS=40,60 | ||
+ export STEAM_ENABLE_DYNAMIC_BACKLIGHT=1 | ||
+ export STEAM_ENABLE_FAN_CONTROL=1 | ||
+ export WINE_CPU_TOPOLOGY=8:0,1,2,3,4,5,6,7 | ||
fi | ||
|
||
# OLED Steam Deck | ||
if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then | ||
DRM_MODE=fixed | ||
export STEAM_DISPLAY_REFRESH_LIMITS=45,90 | ||
+ export STEAM_ENABLE_DYNAMIC_BACKLIGHT=1 | ||
+ export STEAM_ENABLE_FAN_CONTROL=1 | ||
+ export WINE_CPU_TOPOLOGY=8:0,1,2,3,4,5,6,7 | ||
+ export STEAM_GAMESCOPE_FORCE_HDR_DEFAULT=1 | ||
+ export STEAM_GAMESCOPE_FORCE_OUTPUT_TO_HDR10PQ_DEFAULT=1 | ||
fi | ||
|
||
# ROG Ally |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From f5054350c3676b96fe1a0ce6d4dc17b88d30c315 Mon Sep 17 00:00:00 2001 | ||
From: Bouke Sybren Haarsma <[email protected]> | ||
Date: Sun, 14 Jan 2024 15:03:13 +0100 | ||
Subject: [PATCH] force WSI | ||
|
||
--- | ||
usr/share/gamescope-session-plus/gamescope-session-plus | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/usr/share/gamescope-session-plus/gamescope-session-plus b/usr/share/gamescope-session-plus/gamescope-session-plus | ||
index d8739b2..1bdf7bf 100755 | ||
--- a/usr/share/gamescope-session-plus/gamescope-session-plus | ||
+++ b/usr/share/gamescope-session-plus/gamescope-session-plus | ||
@@ -21,6 +21,10 @@ post_gamescope_start () { | ||
export INTEL_DEBUG=norbc | ||
export mesa_glthread=true | ||
|
||
+# This should be used by default by gamescope. Cannot hurt to force it anyway. | ||
+# Reported better framelimiting with this enabled | ||
+export ENABLE_GAMESCOPE_WSI=1 | ||
+ | ||
# Some environment variables by default (taken from Deck session) | ||
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 | ||
|