Gamescope wont open
i think i messed up smth on bazzite , when trying out hyprland (didnt work out for me at all), and gamescope just stopped working, start return-to-gamemode.service is not working , i just getting back to kde desktop again
72 Replies
maybe you still have something layered that is breaking things. What do you get if you run
rpm-ostree status
does it show any layered packages?Let me check

👀
rpm-ostree reset
:dispair:
would it delete stuff ?
it'll remove your layered packages
It will just remove what is layered so you can see if it's something that you layered that is breaking stuff
but will it break my waydroid ?
i dont wanna reinstall a lot of stuff
waydroid is included in Bazzite, you don't have that layered
before you reset, just copy the text of all your layered stuff for if you want to re-layer anything again later
Same stuff
Reboot straight to KDE
Something wrong with configs
can you show your complete
rpm-ostree status
?
it was doubled
now i have the list of layered packages still but it is written once
it was written twice before resetting
the deployment with ● is the current deployment. you currently have no layered packages
oh
still no gamescope mode tho
I can’t even run it manually
you could try re-install steam with
ujust fix-reset-steam
then see if you can get into gamemode
It keeps the games but forces steam to re-installI don’t think it will keep the games that are not from steam
I have a lot of non steam games with custom configurations
Steam work, big picture mode works, inside KDE
why do you say it won't keep the games?
the point of the command is to keep the content but reset the Steam app
I meant shortcuts
Non steam games shortcuts
do you have a reason to believe that they will be removed?
I have the previous experience
When u re-install steam they all gone, shortcuts , not the games tho
with this specific command or just in general?
Just in general
Deleting steam and installing it
⤴️
I was talking about shortcuts.
I am talking about games for emulators etc, that are in steam as shortcuts
shortcuts.vdf
is in the userdata
folderDidn’t resolve the issue still
if you run
/usr/bin/return-to-gamemode
in the terminal you might be able to see something useful in the logs why it's not workingYeah I tried it earlier
Was trying out thing with chat gpt
Nothing resolved
That’s why I’m here
deck@fedora:~$ ~/return-to-gamemode.sh
/home/deck/return-to-gamemode.sh: line 18: /etc/sddm.conf.d/zz-steamos-autologin.conf: Permission denied
Something like that
oh right try
sudo /usr/bin/return-to-gamemode
the script runs as a service as a priviledged userNothing happens
lol
Do you have a custom sddm.conf file? e.g. do you get output if you run this?
cat /etc/sddm.conf
yes
That might be your problem then what is the content of your /etc/sddm.conf
If it's set to auto login it will overwrite the steam one and always log you into a single session
cand send it
text limit
click "upload as file" then
one sec
You lack
Session=gamescope-session.desktop
see more here: https://discord.com/channels/1072614816579063828/1334405906246537236/1334551579914932418trying to edit it so its starts in gamescope
will see after reboot
Oh. Interesting
After reboot it’s goes straight to gamescope
But now it can’t go back to desktop
:dispair:
lol what
I put this in sddm.conf
[Autologin]
Relogin=true
Session=gamescope-session.desktop
User=(my user name)
Do I need to make Relogin=false ?
I would just rename the file to be
sddm.conf.bak
and let it be recreated
To reset everything just clear the /etc/sddm.conf file to go back to the defaults of auto logging into gamemode.
Oh. I hope it will work. This is my my only machine
you should always have a bootable usb live drive that you can use to gain access and rename the file back
I mean I have
Clear or delete the file?
I deleted file with rm after backing up
Now it boots same to desktop again
maybe have it just an empty file
Hm
otherwise, you'll need to wait for @wolfyreload to become available to provide more insight
Yeah sure I guess
He is here
I’ll try to reboot with just cleared sddm.conf
Didn’t work. Goes back to desktop
Did not recreate contents of sddm.conf
If you set relogin as false and user as blank then you'll get a login screen where the default is gamescope. if you log out you can log into desktop mode by selecting it and logging in again. I'm guessing there might be some extra files in your /etc/sddm.conf.d folder that is causing the issue
if I run
ll /etc/sddm.conf.d
I have the following 3 files, what do you have?
-rw-r--r--. 1 root root 165 Jan 30 17:31 kde_settings.conf
-rw-r--r--. 1 root root 290 Apr 22 18:32 steamos.conf
-rw-r--r--. 1 root root 40 Apr 18 22:43 virtualkbd.conftotal 40
-rw-r--r-- 1 root root 29 Apr 21 18:29 00-default.conf
-rw-r--r-- 1 root root 2763 Apr 21 13:58 sddm.conf
-rw-r--r-- 1 root root 2761 Apr 21 13:58 sddm.conf.bak
-rw-r--r-- 1 root root 289 Apr 22 17:59 steamos.conf
-rw-r--r-- 1 root root 289 Apr 21 13:58 steamos.conf.bak
-rw-r--r-- 1 root root 28 Apr 21 13:58 theme.conf.user
-rw-r--r--. 1 root root 40 Apr 21 18:10 virtualkbd.conf
-rw-r--r-- 1 root root 40 Apr 21 13:58 virtualkbd.conf.bak
-rw-r--r-- 1 root root 46 Apr 22 17:59 zz-steamos-autologin.conf
-rw-r--r-- 1 root root 59 Apr 21 13:58 zz-ste
yeah i guess a bit much
I'm guessing that this file might be to blame
00-default.conf
what's in it?nothing
its empty
i checked steamos.conf and virtualkbd.conf
also empty
should it be like that ?
no they shouldn't be https://github.com/ublue-os/bazzite/tree/674cf6ecfb508bf1f0f7c9a613e781caceb41324/system_files/deck/shared/etc/sddm.conf.d
GitHub
bazzite/system_files/deck/shared/etc/sddm.conf.d at 674cf6ecfb508bf...
Bazzite makes gaming and everyday use smoother and simpler across desktop PCs, handhelds, tablets, and home theater PCs. - ublue-os/bazzite
okay i will copy it one sec
Maybe I should copy also default sddm.conf
Just don’t know where is it in repository
the default for
/etc
are in /usr/etc
i mean yeah
sddm.conf should be there if undestand correctly
yes
oops
i meant should not be there
if i have it with
[Autologin]
Relogin=false
Session=gamescope-session.desktop
User=(my user name)
i can boot in gamescope
cant go back to desktop
you could just copy
/usr/etc/sddm.conf.d
to /etc/sddm.conf.d
u mean from repository ?
on github
no
from your drive
deck@fedora:~$ ll /usr/etc/sddm.conf.d
total 8
-rw-r--r--. 1 root root 286 Jan 1 1970 steamos.conf
-rw-r--r--. 1 root root 40 Jan 1 1970 virtualkbd.conf
deck@fedora:~$ ll /etc/sddm.conf.d
total 32
-rw-r--r-- 1 root root 2761 Apr 21 13:58 sddm.conf.bak
-rw-r--r-- 1 root root 289 Apr 22 18:18 steamos.conf
-rw-r--r-- 1 root root 289 Apr 21 13:58 steamos.conf.bak
-rw-r--r-- 1 root root 28 Apr 21 13:58 theme.conf.user
-rw-r--r--. 1 root root 40 Apr 21 18:10 virtualkbd.conf
-rw-r--r-- 1 root root 40 Apr 21 13:58 virtualkbd.conf.bak
-rw-r--r-- 1 root root 46 Apr 22 18:44 zz-steamos-autologin.conf
-rw-r--r-- 1 root root 59 Apr 21 13:58 zz-steamos-autologin.conf.bak
deck@fedora:~$
this is what i have
i did copy it to /etc/sddm.conf.d
does not work
all the random stuff you have added to
/etc/sddm.conf.d
is probably throwing it off
like why is zz-steamos-autologin.conf
there? the first google result for that file is on /r/holoisoEssentially backup what you currently have in /etc/sddm.conf.d and put it somewhere else, then copy the files from /usr/etc/sddm.conf.d/ to /etc/sddm.conf.d/ and rename the current /etc/sddm.conf file. See if that fixes it. Effectively a factory reset of the sddm files to see if that's the problem
will do
one sec
Boots to gamescope by default ✅
Able to return to desktop ✅
Returns to gamescope from desktop ✅
sweet 🙂
now don't mess with your sddm files again!
Damn
Now I learned the lesson
I was just trying to hyprland make work
lol
What a journey
Thx guys, appreciate it 😭
hyprland probably would be better served with a custom image than layering everything yourself
Or probably just using it without gamescope I guess
Or writing custom sddm files properly