You are not logged in.

#1 2023-10-21 17:03:58

afader
Member
Registered: 2013-09-12
Posts: 205

[SOLVED] latestgnome/gdm/nvidia/wayland race condition starts xorg

For some reason, I have to login to gdm about 5 times because half the time it starts xorg instead of wayland
This just started happening after Gnome 45 upgrade

Last edited by afader (2023-10-23 16:46:23)

Offline

#2 2023-10-21 19:25:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,029

Re: [SOLVED] latestgnome/gdm/nvidia/wayland race condition starts xorg

You don't "login" to GDM - do you mean that GDM starts using X11 or that you undesiredly start an X11 session from GDM?
Probably please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#3 2023-10-23 00:00:28

afader
Member
Registered: 2013-09-12
Posts: 205

Re: [SOLVED] latestgnome/gdm/nvidia/wayland race condition starts xorg

I log in to the gdm ui with my username and password, and then sometimes it crashes, sometimes it starts X11, and sometimes it starts wayland. It used to always start wayland. I've also deleted the lines in the nvidia rules files in udev.

Oct 22 18:52:15 archlinux kernel: microcode: updated early: 0xe2 -> 0

stacktrace removed to protect the innocent.

Last edited by afader (2023-10-23 16:46:53)

Offline

#4 2023-10-23 06:04:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,029

Re: [SOLVED] latestgnome/gdm/nvidia/wayland race condition starts xorg

GDM starts fine, your gnome login fails b/c

Oct 22 18:52:42 obsidian systemd[14726]: org.gnome.Shell@wayland.service: Main process exited, code=killed, status=9/KILL
Oct 22 18:52:42 obsidian systemd[14726]: org.gnome.Shell@wayland.service: Failed with result 'signal'.

https://gitlab.gnome.org/GNOME/mutter/-/issues/3037
Try to export "MUTTER_DEBUG_KMS_THREAD_TYPE=user", https://wiki.archlinux.org/title/Environment_Variables

Edit: it's unclear whether it may or not be required to (also) disable the experimental gnome settings.

Last edited by seth (2023-10-23 06:05:33)

Online

#5 2023-10-23 16:45:51

afader
Member
Registered: 2013-09-12
Posts: 205

Re: [SOLVED] latestgnome/gdm/nvidia/wayland race condition starts xorg

Thanks for your help as usual. The new MUTTER_DEBUG_KMS_THREAD_TYPE=user seems to have solved it.

Offline

Board footer

Powered by FluxBB