From debb4e88a6329500ccf0f71924c402b6fac0e6cf Mon Sep 17 00:00:00 2001 From: BlueInterlude <180455074+BlueInterlude@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:08:06 -0400 Subject: [PATCH] Grant access to Gamescope socket for Steam Deck OLED * See https://github.com/flathub/org.DolphinEmu.dolphin-emu/pull/178#issuecomment-1905194043 for more information * Bug only occurs on the Steam Deck OLED. To replicate the error, on a Steam Deck OLED, install the Flatpak, launch the recomp in Game Mode, see error. Gamescope Flatpak is primarily used for HDR in other Flatpaks (Dolphin, PrimeHack, Heroic, etc.). ![image](https://github.com/user-attachments/assets/745b9487-b8ed-4d3f-bb55-6e02c152ba92) --- flatpak/io.github.hedge_dev.unleashedrecomp.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatpak/io.github.hedge_dev.unleashedrecomp.json b/flatpak/io.github.hedge_dev.unleashedrecomp.json index 5821bad2..3fc56402 100644 --- a/flatpak/io.github.hedge_dev.unleashedrecomp.json +++ b/flatpak/io.github.hedge_dev.unleashedrecomp.json @@ -13,7 +13,8 @@ "--filesystem=host", "--filesystem=/media", "--filesystem=/run/media", - "--filesystem=/mnt" + "--filesystem=/mnt", + "--filesystem=xdg-run/gamescope-0:ro" ], "modules": [ {