pixel's deck debugging
Alright, so, I've installed 0.1.0 gnome-deck, and I'm now just going to run yofti with the default options picked--this does include Gamescope Autologin and Auto-Start Steam
I'm not going to install any Flatpaks right now either
Change my Gnome theme, finish setup
Steam automatically opens, lets let that finish installing
going to thread this to keep from flooding channel
93 Replies
before I reboot, I did check--gnome-autologin is enabled, gamescope-autologin is disabled. I didn't make changes here, just
systemctl status
now let's shut down from the menu and see if Gnome loads. Power off and Plymouth looks good...correct orientation
yotil...doubled the number of grub entries... Plymouth doesn't seem to be working? grey 3 dots sideways, not fancy Steam logo and ring. But hey, Gnome...but now it's doing the thing the installer was doing? The system can see the display is there but isn't able to use it? amdgpu loaded... odd
mind, I think yotil didn't actually do anything, since I think the sub-menu items are left unchecked / inactive by default even though the toggles are On? This has only broken rebooting when I explicitly turned each toggle off, then on
seems the display issues are related to the hub I'm using, actually
I'm also having issues hitting the ethernet chipset
odd--pulled power out of the hub and reconnected it all and it seems to have sorted that?
yotil didn't do anything by defaultmind, the console log was empty
This is all so weird. Can you get me rpm-ostree status and the contents of /etc/grub/default?
yeah give me a few minutes to get discord on the deck and whatnot
Awesome. Thank you
plymouth working this time?
odd
and it initialized the external display this boot
fuckin linux man
I didn't want to send this as text but it won't let me attach this
oh cool, pasting it just---whatever
Drag grub.cfg.txt in and it's like HOW DARE YOU but copy the contents of grub.cfg into your pasteboard and try to send it as a code block and it's like "that's too much text here's a text file snippit" make up your MIND discord
@EyeCantCU as you requested
the first part is likely just flatpak permissions
ah true yeah
I was surprised drag and drop even worked
Interesting--Yofti is only in the Activities button menu? and when not in OOBE mode, it tries to install the Arch container?
lets see
cool, yeah that was flatpak permissions
ah, helps to spell yafti right
still, launching it gives me the Arch variant, which wasn't the same as what it presented during OOBE, and I'm just unsure if that's intentional or not
disabling that and continuing gets me to the typical configuration page
Oh, no, this is different. Less.
This is intended. Yafti should work with the latest release. Maybe that's why the options never took effect. I look at your grub config and it looks vanilla without the changes that are supposed to be made
Now that Yafti is actually displaying properly give it a go and see what happens
Wait... Why do you have the desktop yafti config on the Deck image
Or are you using both?
No yeah that's what I was saying
downloaded 0.1.0, booted gnome-deck
oobe was yafti for deck
now yafti is showing the desktop config
I have ran rpm-ostree update but that's it
and it said no updates available
I figured once you realized that you'd be confused too, yeah
OH I know why
One second
GitHub
fix(deck): Copy yafti config to /etc by EyeCantCU · Pull Request #1...
We had been doing this for desktop but not the Deck so the Deck would launch the right config at boot but not by the shortcut
Found out why you get a black screen @pixelperfect1
This junk ^
Don't need it
Only used for Plasma Wayland
Will retain it in KDE, remove it for GNOME
But short term, you can try removing that
From /etc/sddm.conf.d/steamos.conf
It’s there in stock steamOS X11 plasma too, actually. It’s for game scope since it’s Wayland
It normally isn’t there for plasma, yeah, but is there for gamescope
Check steamos-session-select
The script writes to the sddm configuration last I checked
This is unrelated. I swear if you remove that from your conf, it will work. I just tested it. It's only used for Plasma, and isn't dependent on session select
Or does Plasma have the same problem?
The file explicitly breaks down KWin
I had a similar black screen when trying to boot into autostarted gamescope from bazzite kde.
that line is only present in the gamescope stopcommand on vanilla
stock, sorry
Hmm...
It turns out now I have a black scren when trying to boot
That’s why I’m telling you to review session select
I didn't change anything there but I'll look
It worked up to today
Even last night
I picked the worst time to do a reinstall 😄
Yeah one of the start scripts is probably rebuilding that file on boot if you’re keeping any steamOS internals
Looking into it
It looks like gamescope-session is broke
Might have an idea
Hold on
Latest build has this fixed @termdisc @pixelperfect1
Just ostree update and open…yafti?
yeah, you might not even need to do the latter
black screen is fixed
grabbing layers. Couple gigs oof.
nice thanks! time to reinstall bazzite-deck-gnome
downgraded gamescope-session, it claims. rebooted and my dongle is being weird again, but it'll probably be fine next boot
it launched Yofti automatically, in the Deck OOBE
I'mma laugh when "hide GRUB" and "update kernel parameters" just adds two more grub entries without actuallly hiding GRUB
I'm still confused what's going on here with this one
Rebooted after all that and I’m in Gamescope now
and it’s actually installing unlike Nobara
Any weird problems with GRUB or are those gone too?
That's great to hear btw!
Silent, Plymouth worked
Sweeeet
I think this wraps it 🙂
After gamescope installed it rebooted again and Plymouth is still working as is my dock ¯\_(ツ)_/¯
switch to desktop and I'm in GNOME 🥰
beautiful
perfect
Now, just to enable gnome-wayland-session steam keyboard be damned
Unfortunately I don't think you're going to have a nice time with that. One shot has been configured to use X11
because like, right now, waydroid is kinda useless?
I guess you could bootstrap it through weston?
Waydroid is there just to be there, eventually we'll have it set up to do exactly what you mentioned via weston
and run native in gamescope
until valve can finish wayland support
To expand on that, Steam Input on the desktop is broken under Wayland
I mean like, I could just modify the script that updates the session file
You'd need to change the session selector
/usr/bin/steamos-session-select
But not possible
hmm. I might put something in like, my xsession then?
basically tell x to kill itself
If you don't care to use gamescope session, you can just outright disable gamescope-autologin and boot to the DM
I like using gamescope session, though
You're stuck with X11 :/
I will hack this together
I will get this working damnit
I guess I could source a conf file somewhere in /etc
usr/local?
No
That's not editable
>.>
Bazzite is immutable
GitHub
GitHub - open-sd/opensd: An open-source Linux userspace driver for ...
An open-source Linux userspace driver for Valve's Steam Deck hardware. This is a mirror from gitlab. Please submit issues and PRs @ https://gitlab.com/open-sd/opensd - GitHub - open-sd/op...
Meaning it wouldn't be possible for a user to change it there
You'd have to fork it and manage your own image
Very easy to do
There's an open source driver for input on sd
You'll need it for a Wayland session
And you'll likely need to set up something that unloads it in gamescope
I'm literally in wayland rn
Either that or make a new image that is FROM bazzite-gnome-deck
Switching back and forth won't be seamless but it's there
it won't persist once that script is ran, yeah, but that's why I'm considering adding something to my .xsession file since that should be started with x but not wayland
so I could tell x to rewrite the config when it starts, then restart into wayland--couple extra seconds but not a huge deal and it stays in userspace
we won't talk about the security implications of my .xsession file having sudo access or whatever
it's ugly but for now
Lol
I'm not sure if that would work or not but it's worth a try
You know... It wouldn't be hard to make this configurable
Could introduce /etc/default/desktop_session and have DESKTOP_SESSION=gnome-xorg by default with an option in Yafti to use Wayland if the user wants
Feel free to make that change but let's keep it out of yafti until it's stable upstream
All right. I'll go for it
just started a fresh install and have a few errors in the yafti console that may be worth checking out
I'll upload after I get webcord installed
@pixelperfect1 update to the latest image and use
sudo just --unstable _toggle_wayland
Works perfectly. Don't even need to reboot
You do need to switch back to gamescope and back to the desktop though (or I guess reboot - either way)Man I was just sitting down and digging into rpm-ostree and how to bake my own overlay image
thank you lol
the steamos-session-select file almost looks like setting up ~/.config/steamos-session-type would just...make it work, but I don't think so?
grabbing that new update now
Nah, that file temporarily stores the session name
just noticed on deck
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree rpmfusion-nonfree-steam google-chrome copr:copr.fedorainfracloud.org:phracek:PyCharm rpmfusion-nonfree-nvidia-driver updates-archive
nvidia repo is enabled?
there's two files in .config, one is created, the other is readYup, but the one you mentioned gets removed by oneshot binary (or at least it does for Plasma)
Oddly, that just...always forces me into Gnome Wayland?
even when I try to switch to gamescope
The toggle or changing the file?
rpm-ostree update; reboot
sudo just; reboot
switch to desktop
can't switch out of desktop running steamos-session-select, despite it claiming it's switching the session to gamescope
Oh you shouldn't run that file directly
It gets called by Steam as your user
With elevated perms
The desktop shortcut to return to game mode just runs it directly?
Interesting? I thought the shortcut just logged you out of your session like it does in KDE
Try rebooting
running the script should update autologin.conf, then log you out
without parameters it defaults to gamescope
with parameters, it changes to plasma, plasmawayland, plasma-persistant
So I'm just trying to understand. Is this something custom you're doing or after running the toggle?
n-no
I applied your update, ran the toggle
for the unstable wayland support
then, no matter the method I use to try and enter gamescope-session, it just resets to gnome-wayland
Right after you should have been able to return to Gamescope
nope, logs out and back into gnome
fresh session
So after a reboot?
I'll reboot a third time
I've got it working right here on my Deck right now. Same image. No changes to the tree
well that's weird--rebooting did drop me into gamescope, and yeah entering desktop mode works
and now the extension that adds the menu is gone?
ah extensions just...disabled themselves
That's... Odd
I'm baffled, confused, but satisfied
it works
Gamemode > Gnome > Gamemode
Did you reboot after initially updating?
systemctl reboot as suggested by ostree; then a full reboot when it didn't initialize my external display again
so, yes
hence being even more confused
ostree update > tried just. just had no idea of the update
systemctl restart > just knew about the new recipe
reboot > plymouth worked this time, external display worked, straight into gnome
"Switch to Game Mode" just didn't work. would reset into gnome. updating zz.autologin.conf would also just automatically get reset on sddm restart
but reboot and it's just like "ok"
This is odd behavior. It's possible a bug exists with session switching somewhere but at the same time I've been using the same implementation since we rolled out GNOME and it's been all right. But I will definitely try to replicate this and fix it. Thank you so much for all your help with this today
Yeah I'm just going to assume something was being weird and just not think too hard about it
and thank me? nah thank you