diff --git a/gamescope-session/debian/patches/0001-change-wayland-session-name-to-something-distro-agno.patch b/gamescope-session/debian/patches/0001-change-wayland-session-name-to-something-distro-agno.patch deleted file mode 100644 index 6286e2b..0000000 --- a/gamescope-session/debian/patches/0001-change-wayland-session-name-to-something-distro-agno.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 55e7d0c200f21d6d0d4b858b8ca8a42a2558426d Mon Sep 17 00:00:00 2001 -From: GloriousEggroll -Date: Wed, 11 Jan 2023 10:13:04 -0700 -Subject: [PATCH] change wayland session name to something distro-agnostic - ---- - usr/share/wayland-sessions/zwayland-gamescope-session.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/usr/share/wayland-sessions/zwayland-gamescope-session.desktop b/usr/share/wayland-sessions/zwayland-gamescope-session.desktop -index a6c1746..ee48bfa 100644 ---- a/usr/share/wayland-sessions/zwayland-gamescope-session.desktop -+++ b/usr/share/wayland-sessions/zwayland-gamescope-session.desktop -@@ -1,6 +1,6 @@ - [Desktop Entry] - Encoding=UTF-8 --Name=ChimeraOS (gamescope) -+Name=Steam Deck Mode - Comment=Steam Big Picture session - Exec=zwayland-gamescope-session - Type=Application --- -2.39.0 - diff --git a/gamescope-session/debian/patches/0001-update-to-work-on-nobara-with-hdr.patch b/gamescope-session/debian/patches/0001-update-to-work-on-nobara-with-hdr.patch deleted file mode 100644 index 731a037..0000000 --- a/gamescope-session/debian/patches/0001-update-to-work-on-nobara-with-hdr.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 9611d3d68b659a1328836f77fc209eb6db534320 Mon Sep 17 00:00:00 2001 -From: GloriousEggroll -Date: Wed, 11 Jan 2023 10:08:19 -0700 -Subject: [PATCH] update to work on nobara with hdr - ---- - usr/share/gamescope-session/gamescope-session-script | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/usr/share/gamescope-session/gamescope-session-script b/usr/share/gamescope-session/gamescope-session-script -index fddf7a2..bdba432 100755 ---- a/usr/share/gamescope-session/gamescope-session-script -+++ b/usr/share/gamescope-session/gamescope-session-script -@@ -1,4 +1,7 @@ --#!/bin/bash -+#!/usr/bin/bash -+ -+export ENABLE_GAMESCOPE_WSI=1 -+export DXVK_HDR=1 - - # Some environment variables by default (taken from Deck session) - export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 -@@ -154,7 +157,7 @@ fi - - # Define session if not overriden - if [ -z "$STEAMCMD" ] ; then -- STEAMCMD="steam -gamepadui -steamos3 -steampal -steamdeck" -+ STEAMCMD="steam -gamepadui -newbigpicture -steamdeck -steamos3" - fi - - if [ -z "$GAMESCOPECMD" ] ; then -@@ -164,6 +167,7 @@ if [ -z "$GAMESCOPECMD" ] ; then - fi - GAMESCOPECMD="/usr/bin/gamescope \ - $CURSOR \ -+ --hdr-enabled \ - -e \ - $RESOLUTION \ - --xwayland-count 2 \ --- -2.39.0 -diff --git a/usr/share/gamescope-session/gamescope-session-script b/usr/share/gamescope-session/gamescope-session-script -index bdba432..68ff633 100755 ---- a/usr/share/gamescope-session/gamescope-session-script -+++ b/usr/share/gamescope-session/gamescope-session-script -@@ -168,6 +168,7 @@ if [ -z "$GAMESCOPECMD" ] ; then - GAMESCOPECMD="/usr/bin/gamescope \ - $CURSOR \ - --hdr-enabled \ -+ --hdr-itm-enable \ - -e \ - $RESOLUTION \ - --xwayland-count 2 \ - diff --git a/gamescope-session/debian/patches/fedora.patch b/gamescope-session/debian/patches/fedora.patch deleted file mode 100644 index a5da11b..0000000 --- a/gamescope-session/debian/patches/fedora.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -ur a/usr/bin/steam-http-loader b/usr/bin/steam-http-loader ---- a/usr/bin/steam-http-loader 2023-01-03 13:25:18.155825373 -0800 -+++ b/usr/bin/steam-http-loader 2023-01-03 13:29:58.125988565 -0800 -@@ -1,4 +1,4 @@ --#!/bin/env python -+#!/bin/env python3 - import urllib.parse - import os.path - import argparse diff --git a/gamescope-session/debian/patches/series b/gamescope-session/debian/patches/series deleted file mode 100644 index fd2a7fd..0000000 --- a/gamescope-session/debian/patches/series +++ /dev/null @@ -1,4 +0,0 @@ -fedora.patch -0001-update-to-work-on-nobara-with-hdr.patch -0001-change-wayland-session-name-to-something-distro-agno.patch - diff --git a/gamescope-session/debian/source/format b/gamescope-session/debian/source/format index 163aaf8..89ae9db 100644 --- a/gamescope-session/debian/source/format +++ b/gamescope-session/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native) diff --git a/gamescope-session/usr/bin/steam-http-loader b/gamescope-session/usr/bin/steam-http-loader index 1d45c93..21beb2c 100755 --- a/gamescope-session/usr/bin/steam-http-loader +++ b/gamescope-session/usr/bin/steam-http-loader @@ -1,4 +1,4 @@ -#!/bin/env python +#!/bin/env python3 import urllib.parse import os.path import argparse diff --git a/gamescope-session/usr/share/gamescope-session/gamescope-session-script b/gamescope-session/usr/share/gamescope-session/gamescope-session-script index fddf7a2..2613dac 100755 --- a/gamescope-session/usr/share/gamescope-session/gamescope-session-script +++ b/gamescope-session/usr/share/gamescope-session/gamescope-session-script @@ -1,4 +1,7 @@ -#!/bin/bash +#!/usr/bin/bash + +export ENABLE_GAMESCOPE_WSI=1 +export DXVK_HDR=1 # Some environment variables by default (taken from Deck session) export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 @@ -154,7 +157,7 @@ fi # Define session if not overriden if [ -z "$STEAMCMD" ] ; then - STEAMCMD="steam -gamepadui -steamos3 -steampal -steamdeck" + STEAMCMD="steam -gamepadui -newbigpicture -steamdeck -steamos3" fi if [ -z "$GAMESCOPECMD" ] ; then @@ -164,6 +167,8 @@ if [ -z "$GAMESCOPECMD" ] ; then fi GAMESCOPECMD="/usr/bin/gamescope \ $CURSOR \ + --hdr-enabled \ + --hdr-itm-enable \ -e \ $RESOLUTION \ --xwayland-count 2 \ diff --git a/gamescope-session/usr/share/wayland-sessions/zwayland-gamescope-session.desktop b/gamescope-session/usr/share/wayland-sessions/zwayland-gamescope-session.desktop index a6c1746..ee48bfa 100644 --- a/gamescope-session/usr/share/wayland-sessions/zwayland-gamescope-session.desktop +++ b/gamescope-session/usr/share/wayland-sessions/zwayland-gamescope-session.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Encoding=UTF-8 -Name=ChimeraOS (gamescope) +Name=Steam Deck Mode Comment=Steam Big Picture session Exec=gamescope-session Type=Application