You are not logged in.
Original subject: Updating gnome-shell to 42.5.1 crashes the boot with laptop lid closed
After the update today of gnome-shell to 1:42.5.1 and mutter to 42.5.1 - when booting laptop (Dell XPS 9570) with closed lid, with external monitor over HDMI - getting a black screen. The system is fully updated, as of today on kernel 5.19.8-hardened2-1-hardened
journalctl -b -1
...
arch systemd-coredump[1799]: [?] Process 1658 (gnome-shell) of user 120 dumped core.
arch gnome-session-binary[1612]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
arch gnome-session-binary[1612]: Unrecoverable failure in required component org.gnome.Shell.desktop
arch gdm[1242]: Gdm: GdmDisplay: Session never registered, failing
With open laptop lid the system is booting fine.
Thanks in advance for your help! JFYI for others.
Last edited by Gendalf@Arch (2022-11-10 02:48:41)
Offline
I updated my system today and found out *all* gnome (gdm as well) was unusable.
At the end The problem was with the gnome42 upgrade, that for some reasons omitted to install at least JS libraries needed by gnome-shell, gnome-session.
In the specific I had to manually install js91 that was supposed to be part of gjs but didnt kicked in, and all GTK4 packages (at least gnome-desktop-4 was needed for gnome settings to start
If this is the case for you, it is possible to spot missing libraries from the "journalctl" looking for entries:
/usr/bin/gnome-shell: error while loading shared libraries: libmozjs.so-91.so: cannot open shared object file: No such file or directory
installing the missing js91 fixed the problem and I had gdm and gnome back
then I had to manually install the gtk4 dependencies to have other apps working correctly
hope it helps!
Offline
Thanks! I've checked I already had the latest version of js91.
By running "coredumpctl debug $PID" I see a lot of warnings like this:
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
I saw somewhere else about possible racing conditions for i915. Placed the module first in the list in /etc/mkinitcpio.conf, ran mkinitcpio -P, but with no effect.
Update: It appears something is wrong only with gnome-session / GDM, as the black screen is only on TTY1. I can login on other consoles in text mode.
Last edited by Gendalf@Arch (2022-09-18 20:35:37)
Offline
If you have any problem in userspace (e.g. gnome-session) you should be able to login to the text console and spot for hints in the output of
journalctl -b -g gnome-session -g gdm
Offline
Solved with gnome-shell 43.1-1 or earlier.
Offline