GDM no wayland option
Hello I use the bazzite-gnome-nvidia image but the wayland option doesnt appear in GDM after boot and the session used is X11. I know that on generic distros you can tinker a bit with the GDM configuration however that didnt completely work for me even then. Is it possible to tinker with some configs to enable Wayland in GDM on an immutable distro like Bazzite or is there another way to do it?
Thanks
21 Replies
I thought that just the default was changed to X11 for the nvidia images (because wayland was giving a huge number of issues for people), let me see if I can reproduce not being able to switch.
It also only happens sometimes
For example logging in to X11 and out, sometimes I can switch to wayland then
But then Wayland Just Sets me Back to GDM so its pretty rare that I'm actually able to use it
Struggling to reproduce. Could you please run
rpm-ostree status | fpaste
and paste the link, I'd like to see exactly what version of bazzite you have runningokay thanks for trying to reproduce
https://paste.centos.org/view/cec37de2
I'm rebasing to bazzite-gnome-nvidia:40-stable-20240502 and I'll see if I can reproduce. I'm on 40-stable-20240505
Okay thanks
I've rebased to your version, and I can switch between wayland and x11 without issue.
journalctl -n 100 --no-pager
have a look at the last 100 items in your event log when it fails to log you into a wayland session, hopefully there is an error message to go onI think it doesnt even try to load wayland sometimes.
I hope thats the right part of the log
Guessing here but looking at the log, it looks like gnome shell is getting a fatal error and then you getting booted back to the login screen. Maybe try disable all the gnome extensions and see if you can get into a wayland session
Loading into the wayland session works most of the time when there's the option in the login screen, however, sometimes, the option for wayland isn't even displayed in the login screen. The problem also existed on other distros (Arch, OpenSUSE,...), however, I was not able to find a solution to it yet. Maybe it's a problem with GDM or NVIDIA in general and there's nothing to be done about it
I found this link https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008296 it looks the wayland option isn't available in certain scenarios based on this file /etc/udev/rules.d/61-gdm.rules. What hardware are you using?
I have an RTX 4060Ti, a Ryzen 5 5600x and two monitors, one connected via HDMIand one connected with a DP to HDMI cable
Solution
I don't know why or how but I think it's kinda solved now
π That's weird... but in a good way π . Good news, did you do an update?
Yes but I'm still surprised because it worked equally bad on every distro before π
π
Thanks for your help
Probably worth pinning your current image with
sudo ostree admin pin 0
then if it breaks again you always have a saved image to return togood idea, thanks
If gdm runs in Xorg, it will only show Xsessions. In /run/gdm you should be able to see how udev determined your hardware support. If the file no-wayland gets created gdm will run in X. If gdm crashes it will also fallback to X.
Okay. Thanks for the info