Can I install gamescope-session on Bazzite desktop?

Hi, sorry if this question was already answered before but I can't find any documentation anywhere. So, I installed bazzite on my friend's PC with a plasma session and he's enjoing it. I have a fedora install with gnome but since I have an HDR monitor, I installed gamescope-session-steam from the terra repos and I can select it from sdm without any problems. My friend now asked me if it's possible to do the same on his bazzite install, because he wants a distraction-free gaming experience, like a console and wants to skip the desktop entirely but with the option at login. I cloudn't find any info on the matter so I added the terra repo and installed gamescope-session-steam with rpm-ostree. Obviously it doesn't boot because I realized the home folder in fedora atomic is in another directory. Is there a way to boot a gamescope-session from the login screen on bazzite?
Solution:
yep and if you dont want that then you need to currently make a custom image where you remove the autologin file (steamos.conf) from /etc/sddm.conf.d as if you remove it on an installed system it will go "hmm but this file is on the image, i will restore it" since you deleted it....
Jump to solution
31 Replies
wolfyreload
wolfyreload•3w ago
You could rebase to the -deck image of bazzite and have full gamemode (where you can switch to desktop). Have a look at https://docs.bazzite.gg/Installing_and_Managing_Software/Updates_Rollbacks_and_Rebasing/bazzite_rollback_helper/ and the available images https://docs.bazzite.gg/General/FAQ/?h=image+chart#bazzite-image-chart Just make sure that you do not rebase between desktop environments (i.e. don't switch from KDE to GNOME)
Bazzite Rollback Helper - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
FAQ - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
Saise
SaiseOP•3w ago
Wouldn't the -deck image automatically launch the gamescope-session without asking first, like on steam deck?
Solution
HikariKnight
HikariKnight•3w ago
yep and if you dont want that then you need to currently make a custom image where you remove the autologin file (steamos.conf) from /etc/sddm.conf.d as if you remove it on an installed system it will go "hmm but this file is on the image, i will restore it" since you deleted it.
Saise
SaiseOP•3w ago
I see, thank you very much for all the info. I hope it will be considered a feature to be added in the future to desktop bazzite.
HikariKnight
HikariKnight•3w ago
removing the autologin breaks the steamos-session manager so unlikely
HikariKnight
HikariKnight•3w ago
it means the "switch to desktop" and "return to gamemode" buttons become "logout" buttons, there is no steamless transition and you would still need a keyboard and mouse to just login so to stop people from footgunning themselves we do not support it (as in we wont make a switch for you, not that we wont give you support in this case)
Saise
SaiseOP•3w ago
I understand, for consoles and htpc this is the best solution of course.
HikariKnight
HikariKnight•3w ago
https://github.com/HikariKnight/Deckstation/blob/main/files/scripts/sddm/enable-sddm.sh this is the change needed for a custom image please do not use this image for your friend as this is my own personal image tailored to my threadripper system and its also my test playground (so shit breaks at times)
GitHub
Deckstation/files/scripts/sddm/enable-sddm.sh at main · HikariKnigh...
A personal development and test build of Bazzite-deck with Qemu and SDDM enabled - HikariKnight/Deckstation
Saise
SaiseOP•3w ago
Thank you very much, I'll give it a shot. If I can't get it to work I'll just tell him that he has to use plasma and launch big picture from steam.
HikariKnight
HikariKnight•3w ago
one thing you can do though on the deck image which we noticed by chance when i tested the nvidia deck image you can change the login session in the steamos.conf from gamescope-session to lets say plasma (or gnome) and it will boot you directly into desktop and you can use the logout button (or return to gamemode shortcut) to go into gamemode essentially inverse deck image still no login screen though
Saise
SaiseOP•3w ago
Huh, this is interesting, I'll give it a go on a VM first, I don't want to waste time rebasing his actual install
HikariKnight
HikariKnight•3w ago
gamemode does not work in a VM unless you pass through a supported gpu (and use sunshine to stream the ui while using a dummy plug or hook the gpu into a monitor)
Saise
SaiseOP•3w ago
Dang, I didn't know. I'll do a quick install on a usb ssd
HikariKnight
HikariKnight•3w ago
as long as you edit the steamos.conf file, it wont get restored by ostree since it will be user modified hence why deleting it will not work since it will then think the file is missing 🙂
Saise
SaiseOP•3w ago
Thank you for your time and all the informations!
HikariKnight
HikariKnight•3w ago
np
Aru
Aru•3w ago
I've disabled auto login with the old ujust toggle, and I've yet to encounter any issues 🤔 It's been months since I toggled it off What exactly is broken? I can switch between gamescope-session and desktop mode no problem. And I default boot into desktop mode.
HikariKnight
HikariKnight•3w ago
we removed the toggle completely because people kept managing to softbrick their handhelds with it
Aru
Aru•3w ago
Hrm, I wonder why I haven't encountered issues But makes sense if that's happening
HikariKnight
HikariKnight•3w ago
because you have a keyboard for one 😛 other reasons have mostly been that they had done dumb stuff in home making a toggle to switch which is default though, gamemode or desktop that should be feasable though in the future 🤔
Aru
Aru•3w ago
Not sure why the keyboard makes a difference, I haven't needed to drop down to tty But dumb stuff in home makes sense, haha In my opinion, the ideal would be to allow you to just select the session in the desktop images Installing bazzite-deck + defaulting to desktop works, but feels a bit hacky
HikariKnight
HikariKnight•3w ago
think the plan is to include the session once nvidia gets their driver in a good or rather reliable state definitively but it works when i tested it (by accident) on my nvidia test vm 🤣
Kyle Gospo
Kyle Gospo•3w ago
I've taken a look into it a few times and it simply won't Game scope requires a special version of Steam that has to be reinstalled every time you switch between the two We might give you some option on the deck images to drop valve's session model, but that is supremely low priority compared to everything else we need to do
Whom
Whom•3w ago
Is there something in particular I'm supposed to do to keep it from being reset? Mine reverts each time I reboot
HikariKnight
HikariKnight•3w ago
What did you do to it
wolfyreload
wolfyreload•3w ago
Doesn't the bazzite-autologin.service service change it back on restart?
HikariKnight
HikariKnight•3w ago
unsure
Whom
Whom•3w ago
Edited it to plasma.desktop
HikariKnight
HikariKnight•3w ago
hmm let me check something @Whom try this then change it to plasma.desktop in the conf file sudo touch /etc/bazzite/desktop_autologin
Whom
Whom•3w ago
works now! thank you seems odd that it would though lol
HikariKnight
HikariKnight•3w ago
bazzite-autologin service as wolfy mentioned will prevent people footgunning themselves with the config so it need that file to exist for you to set the session to desktop

Did you find this page helpful?