anyc / steam-overlay

Gentoo overlay for Valve's Steam client and Steam-based games
GNU General Public License v2.0
200 stars 44 forks source link

Gamescope Session #348

Closed monsterbitar closed 10 months ago

monsterbitar commented 10 months ago

Now that the steam deck and steam os for the deck has been out for quite some time, I'd like gentoo to have a good way to set up a gamescope session similar to how it's done on the deck.

By puzzling together various things from other distros like chimera I've managed to get mangohud/app working and can manually start a gamescope session if I stop my desktop environment and run it by hand.

Would this repo be a good place for gamescope, mangohud and other ebuilds that are needed to set up a steam game session, similar to how it's done in "game mode" on the steam deck?

chewi commented 10 months ago

We already have Gamescope in the main Gentoo repo, and I maintain it. MangoHud is welcome too. I've seen ebuilds floating around. Submit one through https://bugs.gentoo.org and I'll take ownership.

monsterbitar commented 10 months ago

New accounts cannot post links, so I'll drop the direct link here: https://github.com/xarblu/xarblu-overlay/tree/master/games-util/mangohud

here's the request to add the package: https://bugs.gentoo.org/920563

monsterbitar commented 10 months ago

Where would be the correct place to add support for the gamescope session, that is required for steam to operate in game mode?

The equivalent of this: https://github.com/ChimeraOS/gamescope-session

I would assume that making the session a separate ebuild and then depend on it through a gamescope use flag on steam would be the sensible way here. While I have managed to get steam to start up in gamemode with that session script, and got mangohud/app to work as intended with it, I am still unable to exit back to a desktop, or selecting the session from a long manager like sddm.