SteamOS session on any distro!
This repository aims to add required SteamDeck's binaries for Gamescope Wayland session with full "Switch to Desktop", "Game Mode" support and other required components on any distro.
This adds almost all of the required SteamOS dependencies, as well as FPS limiting, flyouts, performance overlay and so on.
This works on distros running Hyprland and SDDM as display manager. But can be edit to work with other DE/WM (explain bellow)
It also available a kde branch that use the plasma desktop
For lightdm user use the lightdm branch (not forget to change the DE/WM if needed)
For greetd user use the Hyprland-greetd branch (not forget to change the DE/WM if needed)
TODO: An gbm branch (If someone what to do a PR also welcome)
Before installing, make sure you have mangohud install (both 64 and 32 bits), ChimeraOS gamescope fork and steam.
The Gentoo Ebuild link is hosted here
If you are using kde pls use the kde branch, if you are using other DE/WM fork the project and create a patch in the rootfs/usr/lib/os-session-select
file (by changing the session_launcher names)
git clone https://github.com/MrDuartePT/deckifier-hyprland.git && cd deckifier-hyprland
cp -rf rootfs/usr/* /usr
cp -rf rootfs/etc/* /etc
chmod 777 /usr/bin/steamos-session-select
gio set /usr/share/applications/org.valve.gamescope.desktop metadata::trusted true
chmod a+x /usr/share/applications/org.valve.gamescope.desktop
systemctl --user enable steam-powerbutton.service
nano /usr/lib/os-session-select
At line 50-66 replace session_launcher what is needed
At line 94 replace mrduarte with your username
ctrl+O and Enter to Save
ctrl+X to exit
reboot
Using Nvidia Laptop My need to add DRI_PRIME=1 %command% to launch the game with NVIDIA dGPU (I don't need on my laptop pls tested) 1st Note: Dont do nested gamescope on SteamOS session the game will crash on launch. 2st Note: If you laptop have the hdmi conneted to the dGPU you loose that output
Using Laptop in dGPU Mode[MUX] or Nvidia GPU on desktop my cause graphical glitches
Pls double check /usr/lib/os-session-select you my need to edit things
To Joaquín Ignacio Aramendía and ChimeraOS's Team. To Adam Jafarov. To Gamescope, Valve and Steam developers. To everyone involved on these amazing projects.