Both of my Gnome/Arch laptops no longer boot into Wayland
However, if I log in and immediately log out, Wayland is available on the login screen and you log in to a Wayland session.
This is identical on both my laptops, they are very different in hardware and performance. This started happening after updates about 3 weeks ago.
I have looked at logs and I can see the subsystems trying Wayland and falling back to X but I can't see an obvious reason (probably my lack of experience at this).
I have not experienced this and no direct solution. You should probably check your logs to see what's wrong. So on boot, try to log in into Wayland, then open up a shell and run these to see which errors pop up.
journalctl -b | grep wayland
journalctl -b | grep gnome
journalctl -b | grep gdm
# and for more general errors
journalctl -b -p 3
It's very difficult for me to work through these logs as they are missing new lines.
But there is plenty of stuff giving errors:
Aug 20 14:07:08 blackcloud gnome-session-binary[635]: Unrecoverable failure in required component org.gnome.Shell.desktop
Aug 20 14:07:08 blackcloud org.gnome.Shell.desktop[646]: Failed to setup: No GPUs found
Aug 20 14:07:08 blackcloud gdm[398]: Gdm: GdmDisplay: Session never registered, failing
Aug 20 14:07:08 blackcloud gdm[398]: Gdm: Child process -628 was already dead.
Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 14:08:25 blackcloud gnome-shell[2483]: Connection to xwayland lost
Aug 20 14:08:25 blackcloud gnome-shell[2483]: Xwayland terminated, exiting since it was mandatory
Aug 20 14:08:25 blackcloud org.gnome.Shell.desktop[2483]: GNOME Shell terminated with an error: Xwayland exited unexpectedly
You might want to try (in no specific order) to check why xwayland is failing, reinstall gnome, clean up old configuration, do a system upgrade, try pacdiff.
Aug 20 14:06:51 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS], AE_NOT_FOUND (20230331/dswload2-162) Aug 20 14:06:51 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230331/psobject-220) Aug 20 14:06:51 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS], AE_NOT_FOUND (20230331/dswload2-162) Aug 20 14:06:51 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230331/psobject-220) Aug 20 14:06:51 archlinux kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xbd0c3000-0xbd0c3fff flags 0x200] vs bd0c3000 4000 Aug 20 14:06:51 archlinux kernel: tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xbd0c7000-0xbd0c7fff flags 0x200] vs bd0c7000 4000 Aug 20 14:06:56 blackcloud kernel: amd_gpio AMDI0030:00: Invalid config param 0014 Aug 20 14:07:04 blackcloud bluetoothd[420]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03) Aug 20 14:07:08 blackcloud bluetoothd[420]: Failed to clear UUIDs: Failed (0x03) Aug 20 14:07:08 blackcloud bluetoothd[420]: Failed to add UUID: Failed (0x03) Aug 20 14:07:08 blackcloud bluetoothd[420]: Failed to add UUID: Failed (0x03) Aug 20 14:07:08 blackcloud bluetoothd[420]: Failed to add UUID: Failed (0x03) Aug 20 14:07:08 blackcloud kernel: ACPI BIOS Error (bug): Attempt to CreateField of length zero (20230331/dsopcode-133) Aug 20 14:07:08 blackcloud kernel: ACPI Error: Aborting method \_SB.PCI0.GP17.VGA.ATRM due to previous error (AE_AML_OPERAND_VALUE) (20230331/psparse-529) Aug 20 14:07:08 blackcloud gnome-session-binary[635]: Unrecoverable failure in required component org.gnome.Shell.desktop Aug 20 14:07:18 blackcloud bluetoothd[420]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 54:B7:E5:00:F4:33: Host is down (112) Aug 20 14:07:30 blackcloud gdm-password][1308]: gkr-pam: unable to locate daemon control file Aug 20 14:07:34 blackcloud systemd[1328]: Failed to start Application launched by gnome-session-binary. Aug 20 14:07:34 blackcloud systemd[1328]: Failed to start Application launched by gnome-session-binary. Aug 20 14:07:35 blackcloud systemctl[1706]: Failed to start gesture_improvements_gesture_daemon.service: Unit gesture_improvements_gesture_daemon.service not found. Aug 20 14:08:15 blackcloud bluetoothd[420]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 54:B7:E5:00:F4:33: Host is down (112) Aug 20 14:08:20 blackcloud gdm-password][2863]: gkr-pam: unable to locate daemon control file
Aug 20 14:07:08 blackcloud /usr/lib/gdm-wayland-session[634]: dbus-daemon[634]: [session uid=120 pid=634] Activating service name='ca.desrt.dconf' requested by ':1.2' (uid=120 pid=635 comm="/usr/lib/gnome-session-binary --autostart /usr/sha") Aug 20 14:07:08 blackcloud /usr/lib/gdm-wayland-session[634]: dbus-daemon[634]: [session uid=120 pid=634] Successfully activated service 'ca.desrt.dconf' Aug 20 14:07:34 blackcloud systemd[1328]: org.gnome.Shell@wayland.service: Skipped due to 'exec-condition'. Aug 20 14:08:07 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=120 pid=2483 comm="/usr/bin/gnome-shell") Aug 20 14:08:07 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Successfully activated service 'org.a11y.Bus' Aug 20 14:08:07 blackcloud gnome-shell[2483]: Using Wayland display name 'wayland-0' Aug 20 14:08:07 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.gnome.Shell.Screencast' requested by ':1.3' (uid=120 pid=2483 comm="/usr/bin/gnome-shell") Aug 20 14:08:07 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=120 pid=2483 comm="/usr/bin/gnome-shell") Aug 20 14:08:07 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.gnome.Shell.Notifications' requested by ':1.3' (uid=120 pid=2483 comm="/usr/bin/gnome-shell") Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2524]: dbus-daemon[2524]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=120 pid=2483 comm="/usr/bin/gnome-shell") Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2524]: dbus-daemon[2524]: Successfully activated service 'org.a11y.atspi.Registry' Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2603]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Successfully activated service 'org.gnome.Shell.Notifications' Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=120 pid=2614 comm="/usr/lib/gsd-sharing") Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Successfully activated service 'org.gnome.Shell.Screencast' Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.gnome.ScreenSaver' requested by ':1.24' (uid=120 pid=2698 comm="/usr/lib/gsd-power") Aug 20 14:08:08 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Successfully activated service 'org.gnome.ScreenSaver' Aug 20 14:08:23 blackcloud gnome-shell[3015]: Using Wayland display name 'wayland-0' Aug 20 14:08:25 blackcloud gnome-shell[2483]: Connection to xwayland lost Aug 20 14:08:25 blackcloud gnome-shell[2483]: Xwayland terminated, exiting since it was mandatory Aug 20 14:08:25 blackcloud org.gnome.Shell.desktop[2483]: GNOME Shell terminated with an error: Xwayland exited unexpectedly Aug 20 14:08:25 blackcloud /usr/lib/gdm-wayland-session[2472]: dbus-daemon[2472]: [session uid=120 pid=2472] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=120 pid=2614 comm="/usr/lib/gsd-sharing") Aug
Aug 20 14:07:00 blackcloud dbus-daemon[376]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.4' (uid=0 pid=398 comm="/usr/bin/gdm") Aug 20 14:07:04 blackcloud systemd-logind[377]: New session 1 of user gdm. Aug 20 14:07:04 blackcloud (systemd)[471]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[gdm] ruser=[] rhost=[] Aug 20 14:07:04 blackcloud (systemd)[471]: pam_unix(systemd-user:session): session opened for user gdm(uid=120) by gdm(uid=0) Aug 20 14:07:08 blackcloud systemd[1]: Started Session 1 of User gdm. Aug 20 14:07:08 blackcloud /usr/lib/gdm-wayland-session[634]: dbus-daemon[634]: [session uid=120 pid=634] Activating service name='ca.desrt.dconf' requested by ':1.2' (uid=120 pid=635 comm="/usr/lib/gnome-session-binary --autostart /usr/sha") Aug 20 14:07:08 blackcloud /usr/lib/gdm-wayland-session[634]: dbus-daemon[634]: [session uid=120 pid=634] Successfully activated service 'ca.desrt.dconf' Aug 20 14:07:08 blackcloud gdm[398]: Gdm: GdmDisplay: Session never registered, failing Aug 20 14:07:08 blackcloud gdm[398]: Gdm: Child process -628 was already dead. Aug 20 14:07:08 blackcloud gdm[398]: Gdm: GdmDisplay: Session never registered, failing Aug 20 14:07:08 blackcloud gdm[398]: Gdm: Child process -628 was already dead. Aug 20 14:07:08 blackcloud systemd-logind[377]: New session 3 of user gdm. Aug 20 14:07:08 blackcloud systemd[1]: Started Session 3 of User gdm. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (--) Log file renamed from "/var/log/Xorg.pid-687.log" to "/var/log/Xorg.0.log" Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X.Org X Server 1.21.1.8 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X Protocol Version 11, Revision 0 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Current Operating System: Linux blackcloud 6.4.11-arch2-1 #1 SMP PREEMPT_DYNAMIC Sat, 19 Aug 2023 15:38:34 +0000 x86_64 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=e2d8acd3-118b-496e-8a6b-90ee7deaf208 zswap.enabled=0 rw rootfstype=ext4 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Current version of pixman: 0.42.2 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Before reporting problems, check http://wiki.x.org Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: to make sure that you have the latest version. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Markers: (--) probed, (**) from config file, (==) default setting, Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (++) from command line, (!!) notice, (II) informational, Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 20 14:07:08 2023 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Using config directory: "/etc/X11/xorg.conf.d" Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Using system config directory "/usr/share/X11/xorg.conf.d" Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) No Layout section. Using the first Screen section. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) No screen section available. Using defaults. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (**) |-->Screen "Default Screen Section" (0) Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (**) | |-->Monitor "" Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) No monitor specified for screen "Default Screen Section". Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Using a default monitor configuration. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Automatically adding devices Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Automatically enabling devices Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Automatically adding GPU devices Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Automatically binding GPU devices Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) Max clients allowed: 256, resource mask: 0x1fffff Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/misc" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/TTF" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/OTF" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/Type1" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/100dpi" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (WW) The directory "/usr/share/fonts/75dpi" does not exist. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Entry deleted from font path. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) FontPath set to: Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (==) ModulePath set to "/usr/lib/xorg/modules" Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (II) The server relies on udev to provide the list of input devices. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: If no devices become available, reconfigure udev or disable AutoAddDevices. Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: (II) Module ABI versions: Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X.Org ANSI C Emulation: 0.4 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X.Org Video Driver: 25.2 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X.Org XInput driver : 24.4 Aug 20 14:07:08 blackcloud /usr/lib/gdm-x-session[687]: X.Org Server Extension : 10.0
Yes, that happens a lot after updates to the nvidia packages. If you have nvidia GPUs, log in directly on a tty without a GUI session and roll them back to the version you had before.